Advertisement
Guest User

Untitled

a guest
Oct 29th, 2015
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. CMD:help(playerid, params[])
  2. {
  3. new input[50];
  4. if(sscanf(params, "s[50]", input))
  5. {
  6. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : Help List : : .");
  7. SendClientMessage(playerid, COLOR_NICEBLUE, "TIP: /help [name]");
  8. SendClientMessage(playerid, COLOR_NICEBLUE, "Names: General, Account, Vehicle, Business, House , Property, Helper, Admin");
  9. }
  10. if (!strcmp(input, "general", true))
  11. {
  12. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : General commands : : .");
  13. SendClientMessage(playerid, COLOR_NICEBLUE, "/stats, /report, /helpme, /acc, /me, /do, /(s)hout, /(o)oc, /inventory, /switch.");
  14. SendClientMessage(playerid, COLOR_NICELBLUE, "/approve, /faq, /sell, /paint, /drink, /bank, /cook, /vest, /ammo, /usekit, /phone.");
  15. SendClientMessage(playerid, COLOR_NICEBLUE, "/id, /call, /hangup, /text, /drop, /flist, /crates, /fill, /pay, /gps, /open, /usedrug.");
  16. SendClientMessage(playerid, COLOR_NICELBLUE, "/animcmds, /backpack, /boombox, /channel, /jobcmds, /supporters, /disablecp, /stopanim.");
  17. SendClientMessage(playerid, COLOR_NICEBLUE, "/shakehand, /showlicense, /frisk, /toghud, /passwep, /setradio, /picklock, /resetvw. /factionhelp.");
  18. }
  19. if (!strcmp(input, "account", true))
  20. {
  21. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : Account Commands : : .");
  22. SendClientMessage(playerid, COLOR_NICEBLUE, "/changepass, /lastlogged, /username, /properties.");
  23. }
  24. if (!strcmp(input, "vehicle", true))
  25. {
  26. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : Vehicle Commands : : .");
  27. SendClientMessage(playerid, COLOR_NICEBLUE, "/park, /lock, /abandon, /refuel, /unmod, /trunk, /listcars, /engine, /lights, /hood, /tow.");
  28. }
  29. if (!strcmp(input, "business", true))
  30. {
  31. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : Business Commands : : .");
  32. SendClientMessage(playerid, COLOR_NICEBLUE, "/buy, /abandon, /lock, /vault, /products, /binfo, /bname, /bmessage, /bshipment.");
  33. }
  34. if (!strcmp(input, "house", true))
  35. {
  36. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : House Commands : : .");
  37. SendClientMessage(playerid, COLOR_NICEBLUE, "/buy, /abandon, /lock, /storage, /furniture, /buyrack, /gunrack, /deleterack.");
  38. SendClientMessage(playerid, COLOR_NICEBLUE, "/doorbell, /switch.");
  39. }
  40. if (!strcmp(input, "property", true))
  41. {
  42. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : Property Commands : : .");
  43. SendClientMessage(playerid, COLOR_NICEBLUE, "/buy, /abandon, /lock, /housecmds, /products, /vault, /binfo, /bizcmds.");
  44. }
  45. if (!strcmp(input, "Helper", true))
  46. {
  47. if (!PlayerData[playerid][pTester]) { return SendClientMessage(playerid, COLOR_NICEBLUE, "SERVER: You cannot use this command");
  48. }
  49. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : Helper Commands : : .");
  50. SendClientMessage(playerid, COLOR_NICEBLUE, "/t, /tduty, /ah, /dh, /kick");
  51. }
  52. else if (!strcmp(input, "admin", true))
  53. {
  54. if (!PlayerData[playerid][pAdmin]) { return SendClientMessage(playerid, COLOR_NICEBLUE, "SERVER: You cannot use this command");
  55. }
  56. SendClientMessage(playerid, COLOR_NICEYELLOW, ". : : Administrator Commands : : .");
  57. if (PlayerData[playerid][pAdmin] >= 1) {
  58. SendClientMessage(playerid, COLOR_NICEBLUE, "/a, /reports, /spectate, /ajail, /release, /kick, /mute, /unmute, /freeze, /unfreeze.");
  59. SendClientMessage(playerid, COLOR_NICELBLUE, "/aduty, /ban, /skin /goto /aremovecall");
  60. }
  61. if (PlayerData[playerid][pAdmin] >= 2) {
  62. SendClientMessage(playerid, COLOR_NICEBLUE, "/respawn, /warn, /checkstats, /shooter, /goto, /bring, /setinterior, /setvw.");
  63. SendClientMessage(playerid, COLOR_NICELBLUE, "/sendto, /clearchat, /spawn, /refill, /revive, /aslap, /acceptname, /declinename, /atalk.");
  64. SendClientMessage(playerid, COLOR_NICEBLUE, "/masked, /listguns, /respawncar, /respawncars, /respawnnear, /heal, /bringcar, /gotocar.");
  65. SendClientMessage(playerid, COLOR_NICELBLUE, "/x /y /z");
  66. }
  67. if (PlayerData[playerid][pAdmin] >= 3) {
  68. SendClientMessage(playerid, COLOR_NICEBLUE, "/unban, /blacklist, /getip, /togooc, /health, /armor, /resetweps, /arepair, /listwarns.");
  69. SendClientMessage(playerid, COLOR_NICELBLUE, "/entercar, /flipcar, /veh, /destroyveh, /near, /healall, /tracenumber, /bleeding.");
  70. SendClientMessage(playerid, COLOR_NICEBLUE, "/atune, /acolorcar, /apaintjob, /afire, /akillfire, /adestroybox.");
  71. }
  72. if (PlayerData[playerid][pAdmin] >= 4) {
  73. SendClientMessage(playerid, COLOR_NICEBLUE, "/givewep, /settester, /baninfo, /setname, /asetfaction, /asetrank, /setitem.");
  74. SendClientMessage(playerid, COLOR_NICELBLUE, "/asellhouse, /asellbiz, /jetpack, /setweather, /setfuel, /setcarhp, /spawnitem.");
  75. SendClientMessage(playerid, COLOR_NICEBLUE, "/setquantity, /destroyitem, /setplayer, /setleader, /setinventory, /givecar.");
  76. }
  77. if (PlayerData[playerid][pAdmin] >= 5) {
  78. SendClientMessage(playerid, COLOR_NICELBLUE, "/dynamichelp, /givecash, /clearinventory, /clearwarns, /saveall, /restart.");
  79. }
  80. if (PlayerData[playerid][pAdmin] >= 6) {
  81. SendClientMessage(playerid, COLOR_NICEBLUE, "/makeadmin, /deleteaccount, /deletechar, /factionmod, /panel.");
  82. }
  83. }
  84. return 1;
  85. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement