[Include] MasterJoker's Useful Function v1.0 (Current 8 Available Items)
#5

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)