Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmd(acmds)
- {
- new dString[1024];
- new mString[512], aString[1792], hString[2304], cString[2560], oString[2560];
- if(playerAccount[playerid][playerAdminLevel] == 1)
- {strcat(mString, " Level 1: /slap /hammer /mute /unmute /cls ");
- strcat(mString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
- strcat(mString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
- showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "mString", "close");}
- else if(playerAccount[playerid][playerAdminLevel] == 2)
- {strcat(aString, " Level 1: /slap /hammer /mute /unmute /cls ");
- strcat(aString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
- strcat(aString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
- strcat(aString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
- strcat(aString, " \n /freeze /unfreeze /time /unjam /togglechat");
- strcat(aString, " \n /goto /get /akill /missionlist /ban /unban ");
- strcat(aString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
- showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "aString", "close");}
- else if(playerAccount[playerid][playerAdminLevel] == 3)
- {strcat(hString, " Level 1: /slap /hammer /mute /unmute /cls ");
- strcat(hString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
- strcat(hString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
- strcat(hString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
- strcat(hString, " \n /freeze /unfreeze /time /unjam /togglechat");
- strcat(hString, " \n /goto /get /akill /missionlist /ban /unban ");
- strcat(hString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
- strcat(hString, " \n\n Level 3 /missionmode /weather /maxping /shopconfig \n /maxwarns /banip /unbanip /ann2 /ytplay");
- strcat(hString, " \n /play /stop /disableshop /enableshop \n /racerecords /pmute ");
- showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "hString", "close");}
- else if(playerAccount[playerid][playerAdminLevel] == 4)
- {strcat(cString, " Level 1: /slap /hammer /mute /unmute /cls ");
- strcat(cString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
- strcat(cString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
- strcat(cString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
- strcat(cString, " \n /freeze /unfreeze /time /unjam /togglechat");
- strcat(cString, " \n /goto /get /akill /missionlist /ban /unban ");
- strcat(cString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
- strcat(cString, " \n\n Level 3 /missionmode /weather /maxping /shopconfig \n /maxwarns /banip /unbanip /ann2 /ytplay");
- strcat(cString, " \n /play /stop /disableshop /enableshop \n /racerecords /pmute ");
- strcat(cString, " \n\n Level 4 /pausetimer /enablemis /disablemis /paccess \n /givecash /givecashall ");
- showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "cString", "close");}
- else if(playerAccount[playerid][playerAdminLevel] == 5)
- {strcat(oString, " Level 1: /slap /hammer /mute /unmute /cls ");
- strcat(oString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
- strcat(oString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
- strcat(oString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
- strcat(oString, " \n /freeze /unfreeze /time /unjam /togglechat");
- strcat(oString, " \n /goto /get /akill /missionlist /ban /unban ");
- strcat(oString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
- strcat(oString, " \n\n Level 3 /missionmode /weather /maxping /shopconfig \n /maxwarns /banip /unbanip /ann2 /ytplay");
- strcat(oString, " \n /play /stop /disableshop /enableshop \n /racerecords /pmute ");
- strcat(oString, " \n\n Level 4 /pausetimer /enablemis /disablemis /paccess \n /givecash /givecashall ");
- showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", oString, "close");}
- SendClientMessage(playerid, 0xFF0000FF, "ERROR : You are not authorized to perform this operation.");
- format(dString, 1024, "%s used /acmds.", playerNick[playerid]);
- notifyAdminEvent(dString);
- }
Add Comment
Please, Sign In to add comment