04.10.2014, 12:01
pawn Код:
CMD:free(playerid, params[])
{
new id, amount, szDialogString[250];
if(sscanf(params, "ui", id, amount)) return SCM(playerid, -1, "Syntax: /free [playerid] [price]");
pawn Код:
if(price>4500)return SCM(playerid,-1,"Error: Price cant be above 4500");
if(GetPlayerMoney(id)<price)return SCM(playerid,-1,"Error: player doesnt have enough cash");
ang the request amount of the cop limited to 4500..