Command Saying not enough cash
#2

pawn Код:
if(GetPlayerCash(playerid < params[0]*10))
{
            if(sscanf(params, "i", params[0])) return SendClientMessageEx(playerid, COLOR_GRAD3, "USAGE: /buyproducts [amount]");
Wrong order, and wrong bracket

pawn Код:
if(sscanf(params, "i", params[0])) return SendClientMessageEx(playerid, COLOR_GRAD3, "USAGE: /buyproducts [amount]");
if(GetPlayerCash(playerid) < params[0]*10)
{
Reply


Messages In This Thread
Command Saying not enough cash - by San1 - 15.07.2013, 18:02
Re: Command Saying not enough cash - by Misiur - 15.07.2013, 18:09
Re: Command Saying not enough cash - by JimmyCh - 15.07.2013, 18:10
Re: Command Saying not enough cash - by San1 - 15.07.2013, 18:42
Re: Command Saying not enough cash - by JimmyCh - 15.07.2013, 19:08
Re: Command Saying not enough cash - by San1 - 15.07.2013, 19:14
Re: Command Saying not enough cash - by Boolean - 15.07.2013, 19:17
Re: Command Saying not enough cash - by Misiur - 15.07.2013, 19:18

Forum Jump:


Users browsing this thread: 4 Guest(s)