15.05.2012, 17:51
inside each case make it like
pawn Код:
case 0:
{
if(GetPlayerMoney(playerid) > 500) return SendClientMessage(playerid,-1,"Not enough money");
GivePlayerWeapon(playerid, 4, 1);
GivePlayerMoney(playerid,-500);
}