abuse money
#2

You should check the player's money to see whether he can afford the price or not.
If not, send him a message or something that he doesn't have enough money.

For example:
pawn Код:
if(GetPlayerMoney(playerid) < price)
{
    return SendClientMessage(playerid, /*COLOR*/, "You don't have enough money to pay the price.");
}
Reply


Messages In This Thread
abuse money - by KingPersona - 03.10.2014, 22:00
Re: abuse money - by AndySedeyn - 03.10.2014, 22:02
Re: abuse money - by KingPersona - 03.10.2014, 22:34
Re: abuse money - by Quickie - 04.10.2014, 05:40
Re: abuse money - by KingPersona - 04.10.2014, 11:12
Re: abuse money - by Quickie - 04.10.2014, 12:01
Re: abuse money - by KingPersona - 04.10.2014, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)