Water Death
#7

#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 ?
Reply


Messages In This Thread
Water Death - by muhib777 - 05.06.2011, 22:55
Re: Water Death - by Gamer_Z - 05.06.2011, 23:11
Re: Water Death - by muhib777 - 05.06.2011, 23:14
Re: Water Death - by Gamer_Z - 05.06.2011, 23:16
Re: Water Death - by muhib777 - 05.06.2011, 23:30
Re: Water Death - by Gamer_Z - 05.06.2011, 23:46
Re: Water Death - by muhib777 - 05.06.2011, 23:56
Re: Water Death - by Gamer_Z - 06.06.2011, 00:01
Re: Water Death - by muhib777 - 06.06.2011, 07:29
Re: Water Death - by muhib777 - 06.06.2011, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)