28.11.2017, 19:04
in my example will i be able to use this variant to process my admin commands
and i a command callback
lets say in my opinion.
This form of command will it be wrong porcessed or correctly proccessed
Код:
enum p_Info { p_Admin }; new UserInfo[MAX_PLAYERS][p_Info];
Код:
CMD:setadminlevel(playerid, params[]) { //IsPlayerAdmin will Notify me am i logged as RCON //UserInfo[playerid][p_Admin] >= 7 only a level 7 admin can use this command if(IsPlayerAdmin(playerid) || UserInfo[playerid][p_Admin] >= 7) return 1; }
This form of command will it be wrong porcessed or correctly proccessed