13.04.2013, 09:14
The CMD doesnt work for RCON but also does not display error messages
Код:
COMMAND:setadminlevel(playerid, params[]) { if(IsPlayerAdmin(playerid)){ new targetid, level; if(sscanf(params, "ui", targetid, level)) return SendClientMessage(playerid, -1,"USAGE: /setadmin [ID] [LEVEL]"); else pInfo[targetid][Adminlevel] = level; }else SendClientMessage(playerid, -1,"ERROR: You are not permitted to use this command."); return 1; }