Please help me to add command for health&armour to cant die!
#2

Add this to the top of your script next to your other definitions
Код:
 #define INFINITY (Float:0x7F800000)
and instead of
Код:
 SetPlayerHealth(playerid, 100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000);
 SetPlayerArmour(playerid, 100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000);
use
Код:
SetPlayerHealth(playerid, INFINITY);
SetPlayerArmour(playerid, INFINITY);
That should do the trick! (credits to ****** of course
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)