11.11.2016, 08:50
Edit this depending on your admin variable as mentioned above.
Код:
CMD:acmds(playerid, params[]) { if(PlayerInfo[playerid][AdminLevel] < 1) return SendClientMessage(playerid,0xFF4444FF,"You aren't authorized to use this command"); else { SendClientMessage(playerid, COLOR_PINK, "==========Admins Commands========="); SendClientMessage(playerid, COLOR_PINK, "/level 1 : for level 1 admins cmds"); SendClientMessage(playerid, COLOR_PINK, "/level 2 : for level 2 admins cmds"); SendClientMessage(playerid, COLOR_PINK, "/level 3 : for level 3 admins cmds"); SendClientMessage(playerid, COLOR_PINK, "/level 4 : for level 4 admins cmds"); SendClientMessage(playerid, COLOR_PINK, "/level 5 : for level 5 admins cmds"); SendClientMessage(playerid, COLOR_PINK, "=================================="); } }