buying in dialog problem
#6

I don't know what the 2 extra }'s are for.. so try

pawn Код:
if(listitem == 1)
{
    if(GetPlayerMoney(playerid) < 15000)
        return SendClientMessage(playerid,COLOR_RED, "You do not have enough money.");
       
    GivePlayerMoney(playerid, -15000);
    GivePlayerWeapon(playerid, 27, 300);
    SendClientMessage(playerid,COLOR_GREEN,"You bought a Combat Shotgun for $15000.");
    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: 1 Guest(s)