03.10.2014, 22:02
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:
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.");
}