Food Dialog
#2

pawn Код:
if(listitem == 3)
 {
 if(PlayerInfo[playerid][pCash] < 251) return SendClientMessage(playerid,COLOR_GREY," Not Enough Cash!");
 if (Health > 81) return SendClientMessage(playerid, COLOR_GREY, " You can't buy anymore You'll get fat!!");
 new Float:Health;
 GetPlayerHealth(playerid,Health);
 SetPlayerHealth(playerid,Health+20);
 PlayerInfo[playerid][pCash] -= 250;
 GivePlayerCash(playerid,-250);
 }
Reply


Messages In This Thread
Food Dialog - by Anthony_Brassi - 04.06.2010, 01:50
Re: Food Dialog - by ViruZZzZ_ChiLLL - 04.06.2010, 01:55
Re: Food Dialog - by Anthony_Brassi - 04.06.2010, 01:57
Re: Food Dialog - by ViruZZzZ_ChiLLL - 04.06.2010, 01:59
Re: Food Dialog - by Anthony_Brassi - 04.06.2010, 02:04
Re: Food Dialog - by PotH3Ad - 04.06.2010, 02:16
Re: Food Dialog - by Anthony_Brassi - 04.06.2010, 02:18
Re: Food Dialog - by PotH3Ad - 04.06.2010, 02:20
Re: Food Dialog - by Anthony_Brassi - 04.06.2010, 02:22
Re: Food Dialog - by PotH3Ad - 04.06.2010, 02:43

Forum Jump:


Users browsing this thread: 5 Guest(s)