28.06.2013, 00:57
Theres a stock function around here called "IsPlayerInWater"
Use it in a 1 second timer or something
Use it in a 1 second timer or something
pawn Код:
new Wet[MAX_PLAYERS];
//stick it wherever you neeed it.
Wet[playerid] = SetTimerEx("gotwet",1000,true,"i",playerid);
//then to kill it if a player is found with the anim.
SetPlayerHealth(playerid,0); //you said kill them?
KillTimer(Wet[playerid]);