Money problem...
#2

pawn Код:
if(listitem == 0)
            {
                if(GetPlayerMoney(playerid) <= 2000)
{
                GivePlayerWeapon(playerid,22, 500);
                TogglePlayerControllable(playerid,1);
                GivePlayerMoney(playerid,-2000);
}
else
{
SendClientMessage(playerid, COLOR_BRIGHTRED, "Not enough money to buy this weapon");
}
            }
try this
(thats just for 1 item make for others youself )
Reply


Messages In This Thread
[FIXED]Money problem... - by Mean - 11.09.2010, 12:23
Re: Money problem... - by Nekrus2 - 11.09.2010, 12:25
Re: Money problem... - by Mean - 11.09.2010, 12:37
Re: Money problem... - by Retardedwolf - 11.09.2010, 12:37
Re: Money problem... - by Mean - 11.09.2010, 13:01

Forum Jump:


Users browsing this thread: 2 Guest(s)