Enum question #2!
#6

pawn Код:
if(PlayerInfo[playerid][pDeaths] < 10)
 PlayerInfo[playerid][pDeaths] ++;
Put this code inside your OnPlayerDeath callback, then save the variable to a file when the player disconnects
Reply


Messages In This Thread
Enum question #2! - by TheTerminator - 06.01.2015, 15:18
Re: Enum question #2! - by Divergent - 06.01.2015, 15:19
Re: Enum question #2! - by viddo - 06.01.2015, 15:22
Re: Enum question #2! - by TheTerminator - 06.01.2015, 15:23
Re: Enum question #2! - by Threshold - 06.01.2015, 15:29
Re: Enum question #2! - by RedFusion - 06.01.2015, 15:31
Re: Enum question #2! - by danish007 - 06.01.2015, 15:32
Re: Enum question #2! - by TheTerminator - 06.01.2015, 15:34
Re: Enum question #2! - by RedFusion - 06.01.2015, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)