30.03.2010, 23:43
How to make command to not work if you have over 150$? I have the whole command scripted.
if(GetPlayerMoney >= 150)
{
SendClientMessage(playerid, COLOR, "You don't have enough money!");
}
if(GetPlayerMoney(playerid) >= 150) { SendClientMessage(playerid,COLOR\, "You don't have enogh money."); }
if(!strcmp(cmdtext,"/name",true)) { if(GetPlayerMoney(playerid) > 150 ) return SendClientMessage(playerid,COLOR,"You got to much cash"); SendClientMessage(playerid,COLOR,"Oh look ..."); return 1;}