17.12.2015, 15:16
O melhor mйtodo й o do ipsNan, criando um "cap".
Mas se nгo estou enganado, ao invйs de
deveria ser:
Mas se nгo estou enganado, ao invйs de
PHP код:
GetPlayerHealth(playerid, health);
health += value;
SetPlayerHealth(playerid, value > 100 ? 100 : value);
PHP код:
GetPlayerHealth(playerid, health);
health += value;
SetPlayerHealth(playerid, health > 100 ? 100 : health);

