Quote:
Originally Posted by king_hual
Код:
IncreaseHealth(playerid, health); //uses getplayerhealth
DecreaseHealth(playerid, health); //uses getplayerhealth
IncreaseArmour(playerid, armour); //uses getplayerarmour
DecreaseArmour(playerid, armour); //uses getplayerarmour
Do they increase/decrease by 1 point or what?
|
Example your health is 2.0 if you do IncreaseHealth(playerid, 3.2); the Include will add the 3.2 health to your 2.0 and it will became 5.2 health. and on decreaseone example your health is 100.0 when you add the code decrease and you put the value 5.0 it would be 50.0. now got it?