31.08.2017, 12:23
Quote:
uhh i am so tired with this codes cant anyone make me the code without giving me examples? i want a list of my admin commands everytime i do /acmds i want my cmds to be shown my commands are
// Moderator (Level 1) /ban /slap /kick /warn /mute /unmute /jail /unjail /mutelist /announce /spec /specoff /asay /ip // Administrator (Level 2) /tempban /unban /clearchat /cweapons /worldtime /gotoxyz (+All level 1 commands) // Head Administrator (Level 3) /setlevel /setvip /removevip /setexp /resetgod (+All level 1 & 2 commands) (Head admins cannot set anyone server owner) // Server Owner (Level 4) /setlevelviarcon /kickall /toglostaccmsg /saveallstats (+All level 1, 2 & 3 commands) if anyone could help me it would be great |
Код:
CMD:acmds(playerid) { if(pAdmin[playerid] < 1) return Error(playerid, "You are not authorized to use this command!"); new line3[2200]; strcat(line3, ""WHITE_E"Moderator Commands:"LB2_E"\n\ /ban /slap /kick /warn /mute /unmute /jail /unjail /mutelist /announce /spec /specoff /asay /ip"); strcat(line3, "\n\n"WHITE_E"Administrator Commands:"LB2_E"\n\ /tempban /unban /clearchat /cweapons /worldtime /gotoxyz (+All level 1 commands)"); strcat(line3, ""WHITE_E"\n\nHead Admin Commands:"LB2_E"\n\ /setlevel /setvip /removevip /setexp /resetgod (+All level 1 & 2 commands) (Head admins cannot set anyone server owner)"); strcat(line3, "\n\n"WHITE_E"Owner Commands:"LB2_E"\n\ /setlevelviarcon /kickall /toglostaccmsg /saveallstats (+All level 1, 2 & 3 commands) \n"BLUE_E"HCv4 "WHITE_E"- Type /check to perform an anti-cheat check on the server.\n\ "PINK_E"Click on any player on the tab menu to open up the admin panel."); ShowPlayerDialog(playerid, NO_DIALOG, DIALOG_STYLE_MSGBOX, ""ORANGE_E"Server Name: "YELLOW_E"Staff Commands", line3, "OK",""); return true; }