buying in dialog problem
#1

Quote:

if(listitem == 1)
{
if(GetPlayerMoney(playerid) <14999) 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 100000$");
return 1;
}
}
return 1;
}

This doesnt take away money , and gives you the weapon no matter how much you have, no message comes up either
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: 6 Guest(s)