Money HELP
#5

How about checking if the player has less money than he needs. Example:
pawn Код:
new pMoney = GetPlayerMoney(playerid);

if(pMoney < vSellPrice)
    return SendClientMessage(playerid, -1, "You don't have enough money to buy the vehicle.");
This is just an example, you must change the variables with yours.
Reply


Messages In This Thread
Money HELP - by necrobg3 - 19.09.2012, 19:37
Re: Money HELP - by detter - 19.09.2012, 19:45
Re: Money HELP - by necrobg3 - 19.09.2012, 19:48
Re: Money HELP - by necrobg3 - 20.09.2012, 10:04
Re: Money HELP - by antonio112 - 20.09.2012, 10:10
Re: Money HELP - by clarencecuzz - 20.09.2012, 10:13
Re: Money HELP - by necrobg3 - 20.09.2012, 11:15

Forum Jump:


Users browsing this thread: 3 Guest(s)