check if player is alive

if( !pc_isdead(sd) ){

//PLAYER IS ALIVE

}

Alternatively you can check if Hp is 0

 
Last edited by a moderator:
Back
Top