Fratini Posted August 25, 2015 Posted August 25, 2015 (edited) Good night, So, I need a code to check if the player is dead but I didn't found or couldn't find it in 'script_commands' at doc/ I find these in atcommand.c if(pc_isdead(sd)) Can I use in script? Thank you for your time. Edited August 25, 2015 by Fratini Quote
Fratini Posted August 25, 2015 Author Posted August 25, 2015 (edited) Let me show the code: OnPCDieEvent: progressbar "0xFF0000",20; if(){ warp "que_temsky",151,140; recovery 0;} else save "prontera",150,150; } In that If, I need to check if he still dead or resurrect by another player. Edited August 25, 2015 by Fratini Quote
Fratini Posted August 27, 2015 Author Posted August 27, 2015 Yeah !! So simple ahahah Thank you ^-^ Quote
Question
Fratini
Good night,
So, I need a code to check if the player is dead but I didn't found or couldn't find it in 'script_commands' at doc/
I find these in atcommand.c
Can I use in script?
Thank you for your time.
Edited by Fratini4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.