Quote:
Originally Posted by PotH3Ad
pawn Код:
if(listitem == 3) { if(PlayerInfo[playerid][pCash] < 251) return SendClientMessage(playerid,COLOR_GREY, "Not Enough Cash!"); new Float:Health; GetPlayerHealth(playerid, Health); floatround(Health); if(Health > 81) return SendClientMessage(playerid, COLOR_GREY, " You can't buy anymore You'll get fat!!"); SetPlayerHealth(playerid, Health+20); PlayerInfo[playerid][pCash] -= 250; GivePlayerCash(playerid, -250); }
|
lawl what in the world does floatround do, anyways ill try it