20.09.2012, 10:10
How about checking if the player has less money than he needs. Example:
This is just an example, you must change the variables with yours.
pawn Код:
new pMoney = GetPlayerMoney(playerid);
if(pMoney < vSellPrice)
return SendClientMessage(playerid, -1, "You don't have enough money to buy the vehicle.");