29.11.2013, 09:53
Sup guys.
I have a problem in my script, i want to make that the armour builds up.
For example when you use an item you get 5 armour, next time to you ues it you get another 5.
5+5=10 easy right? but all you can do is to set a constant variable like
Next time he going to use it, it will stay on 5....
How can i make something like this to work:
Thanks!
I have a problem in my script, i want to make that the armour builds up.
For example when you use an item you get 5 armour, next time to you ues it you get another 5.
5+5=10 easy right? but all you can do is to set a constant variable like
pawn Код:
SetPlayerArmour(playerid, 5);
How can i make something like this to work:
pawn Код:
SetPlayerArmour(playerid, +5);