Money issue.
#5

Quote:
Originally Posted by XK
Посмотреть сообщение
Make it:
pawn Код:
if(GetPlayerMoney(playerid) >= 500)
{
    GivePlayerMoney(playerid, -500);
}
else if(GetPlayerMoney(playerid, < 500)
{
    SendClientMessage(playerid,-1,"you don't have Enough cash to buy this weapon!");
}
and as Misiur said,you are missing to close it,put )
Now that confuses me, I want to make this a command for the shotgun.. but make it so if the player doesn't have enough cash I want it to deny it to them.

NVM, I figured it out; thank you <3
Reply


Messages In This Thread
Money issue. - by Djsoulhart - 06.03.2014, 12:05
Re: Money issue. - by Pillhead2007 - 06.03.2014, 12:17
Re: Money issue. - by Misiur - 06.03.2014, 12:17
Re: Money issue. - by XK - 06.03.2014, 12:28
Re: Money issue. - by Djsoulhart - 06.03.2014, 12:35

Forum Jump:


Users browsing this thread: 1 Guest(s)