buying in dialog problem
#4

Try this.

pawn Код:
if(listitem == 1)
{
if(GetPlayerMoney(playerid) < 15000) return SendClientMessage(playerid,COLOR_RED, "You do not have enough money.");
new money = GetPlayerMoney(playerid);
GivePlayerMoney(playerid, money-[Put Amount Of Money It Costs Here]);
GivePlayerWeapon(playerid, 27, 300);
SendClientMessage(playerid,COLOR_GREEN,"You bought a Combat Shotgun for 100000$");
return 1;
}
}
return 1;
}
Reply


Messages In This Thread
buying in dialog problem - by Swisher - 13.02.2014, 02:18
Re: buying in dialog problem - by CuervO - 13.02.2014, 02:47
Re: buying in dialog problem - by xo - 13.02.2014, 03:18
Re: buying in dialog problem - by zacklogan - 13.02.2014, 03:21
Re: buying in dialog problem - by CuervO - 13.02.2014, 03:25
Re: buying in dialog problem - by itsCody - 13.02.2014, 07:22
Re: buying in dialog problem - by Swisher - 13.02.2014, 12:26
Re: buying in dialog problem - by CuervO - 13.02.2014, 13:41

Forum Jump:


Users browsing this thread: 5 Guest(s)