Unlimited Health, Healthbar flashing.
#1

Ok guys , im making some kinda admin script.. now i want to give the player unlimited health & armor (god mode). This is my code which i have in a command:

if(IsPlayerAdmin(playerid)) {
GivePlayerWeapon(playerid, 38, 65535);
SetPlayerHealth(playerid, 9999999);
SetPlayerArmour(playerid, 9999999);
}

This all works fine, i can never die. But the problem is, my health bar starts flashing, even though its full. Can anybody help me fix this?

Thanks!
Reply


Messages In This Thread
Unlimited Health, Healthbar flashing. - by Robbin237 - 15.02.2009, 10:01
Re: Unlimited Health, Healthbar flashing. - by yom - 15.02.2009, 10:02
Re: Unlimited Health, Healthbar flashing. - by Robbin237 - 15.02.2009, 10:03
Re: Unlimited Health, Healthbar flashing. - by rensfromrpas - 15.02.2009, 10:04
Re: Unlimited Health, Healthbar flashing. - by Robbin237 - 15.02.2009, 10:05
Re: Unlimited Health, Healthbar flashing. - by yom - 15.02.2009, 10:05
Re: Unlimited Health, Healthbar flashing. - by Robbin237 - 15.02.2009, 10:07
Re: Unlimited Health, Healthbar flashing. - by yom - 15.02.2009, 10:10
Re: Unlimited Health, Healthbar flashing. - by Pghpunkid - 15.02.2009, 19:54
Re: Unlimited Health, Healthbar flashing. - by Streetplaya - 15.02.2009, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)