06.01.2015, 15:18
When you use:
PlayerInfo[playerid][pDeaths]++;
It adds 1 more into your previous deaths in the .ini file.
How can I limit that?
I want to limit that(pDeaths) to, say, max. 10.
I.E So that in the .ini file of the user, the max number that can get reached is 10, and not more.
Oh and that it can't go down from 0, just to reach 0 and that's it.
PlayerInfo[playerid][pDeaths]++;
It adds 1 more into your previous deaths in the .ini file.
How can I limit that?
I want to limit that(pDeaths) to, say, max. 10.
I.E So that in the .ini file of the user, the max number that can get reached is 10, and not more.
Oh and that it can't go down from 0, just to reach 0 and that's it.