Hellrocker

Untitled

Mar 22nd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. cmd(acmds)
  2. {
  3.  
  4. new dString[1024];
  5. new mString[512], aString[1792], hString[2304], cString[2560], oString[2560];
  6. if(playerAccount[playerid][playerAdminLevel] == 1)
  7. {strcat(mString, " Level 1: /slap /hammer /mute /unmute /cls ");
  8. strcat(mString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
  9. strcat(mString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
  10. showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "mString", "close");}
  11. else if(playerAccount[playerid][playerAdminLevel] == 2)
  12. {strcat(aString, " Level 1: /slap /hammer /mute /unmute /cls ");
  13. strcat(aString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
  14. strcat(aString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
  15. strcat(aString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
  16. strcat(aString, " \n /freeze /unfreeze /time /unjam /togglechat");
  17. strcat(aString, " \n /goto /get /akill /missionlist /ban /unban ");
  18. strcat(aString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
  19. showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "aString", "close");}
  20. else if(playerAccount[playerid][playerAdminLevel] == 3)
  21. {strcat(hString, " Level 1: /slap /hammer /mute /unmute /cls ");
  22. strcat(hString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
  23. strcat(hString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
  24. strcat(hString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
  25. strcat(hString, " \n /freeze /unfreeze /time /unjam /togglechat");
  26. strcat(hString, " \n /goto /get /akill /missionlist /ban /unban ");
  27. strcat(hString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
  28. strcat(hString, " \n\n Level 3 /missionmode /weather /maxping /shopconfig \n /maxwarns /banip /unbanip /ann2 /ytplay");
  29. strcat(hString, " \n /play /stop /disableshop /enableshop \n /racerecords /pmute ");
  30. showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "hString", "close");}
  31. else if(playerAccount[playerid][playerAdminLevel] == 4)
  32. {strcat(cString, " Level 1: /slap /hammer /mute /unmute /cls ");
  33. strcat(cString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
  34. strcat(cString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
  35. strcat(cString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
  36. strcat(cString, " \n /freeze /unfreeze /time /unjam /togglechat");
  37. strcat(cString, " \n /goto /get /akill /missionlist /ban /unban ");
  38. strcat(cString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
  39. strcat(cString, " \n\n Level 3 /missionmode /weather /maxping /shopconfig \n /maxwarns /banip /unbanip /ann2 /ytplay");
  40. strcat(cString, " \n /play /stop /disableshop /enableshop \n /racerecords /pmute ");
  41. strcat(cString, " \n\n Level 4 /pausetimer /enablemis /disablemis /paccess \n /givecash /givecashall ");
  42. showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", "cString", "close");}
  43. else if(playerAccount[playerid][playerAdminLevel] == 5)
  44. {strcat(oString, " Level 1: /slap /hammer /mute /unmute /cls ");
  45. strcat(oString, " Level 1: \n /warn /setwarns /spec /specoff /getdata /acmds ");
  46. strcat(oString, " \n /rov /kick /ann /reconnect/ duty /banstatus ");
  47. strcat(oString, " \n\n Level 2 /explode /bslap /fmis /emis /refundbets ");
  48. strcat(oString, " \n /freeze /unfreeze /time /unjam /togglechat");
  49. strcat(oString, " \n /goto /get /akill /missionlist /ban /unban ");
  50. strcat(oString, " \n /poptires /lastips /lastaccips /ann1 /tban \n /delveh /resveh /oban");
  51. strcat(oString, " \n\n Level 3 /missionmode /weather /maxping /shopconfig \n /maxwarns /banip /unbanip /ann2 /ytplay");
  52. strcat(oString, " \n /play /stop /disableshop /enableshop \n /racerecords /pmute ");
  53. strcat(oString, " \n\n Level 4 /pausetimer /enablemis /disablemis /paccess \n /givecash /givecashall ");
  54. showDialog(playerid, 8322, DIALOG_STYLE_MSGBOX, "Admin commands", oString, "close");}
  55. SendClientMessage(playerid, 0xFF0000FF, "ERROR : You are not authorized to perform this operation.");
  56. format(dString, 1024, "%s used /acmds.", playerNick[playerid]);
  57. notifyAdminEvent(dString);
  58. }
Add Comment
Please, Sign In to add comment