05.06.2011, 23:56
#define PLAYER_ANIMATION_SWIMMING (12345) // 12345 - here you need to fill in the ID of the swimming animation, I don't know what it is.forward CheckWater(playerid);public CheckWater(playerid){ if(GetPlayerAnimationIndex(playerid) == PLAYER_ANIMATION_SWIMMING) { SetPlayerHealth(playerid,0.0); } return 1;}
where does this part go ?
where does this part go ?