Player gets over 100% health
#1

pawn Код:
new Float:Leben;
                    GetPlayerHealth(playerid,Leben);
                    SetPlayerHealth(playerid,Leben +10);
                    SendClientMessage(playerid, COLOR_PLAVA, "Du hast einen Hamburger bestellt.");
                    GivePlayerCash(playerid,-10);
                    GameTextForPlayer(playerid, "~r~ -10Ђ", 3000, 1);
How can i limit it, so the player can only have 100 % health and not more
Reply


Messages In This Thread
Player gets over 100% health - by Dripac - 12.03.2012, 06:32
Re: Player gets over 100% health - by Babul - 12.03.2012, 06:48
Re: Player gets over 100% health - by Dripac - 12.03.2012, 07:06
Re: Player gets over 100% health - by Babul - 12.03.2012, 07:50

Forum Jump:


Users browsing this thread: 1 Guest(s)