Advertisement
Guest User

Za D.A test server da mi dade :3

a guest
Feb 8th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. #define testing 10000
  2.  
  3. new VLWarning[MAX_PLAYERS];
  4. new VLADchat[MAX_PLAYERS];
  5. new VLGMchat[MAX_PLAYERS];
  6. new VLOWchat[MAX_PLAYERS];
  7. new VLPMchat[MAX_PLAYERS];
  8. new VLAdmin[MAX_PLAYERS];
  9. new VLVlez[MAX_PLAYERS];
  10. new VLPomos[MAX_PLAYERS];
  11. new VLReport[MAX_PLAYERS];
  12. new VLEvent[MAX_PLAYERS];
  13.  
  14.  
  15. // OnPlayerConect
  16. VLWarning[playerid] = 1;
  17. VLADchat[playerid] = 1;
  18. VLGMchat[playerid] = 1;
  19. VLOWchat[playerid] = 1;
  20. VLPMchat[playerid] = 1;
  21. VLAdmin[playerid] = 1;
  22. VLVlez[playerid] = 1;
  23. VLPomos[playerid] = 1;
  24. VLReport[playerid] = 1;
  25. VLEvent[playerid] = 1;
  26. // KAJ DIALOZI
  27. if(dialogid == testing)
  28. {
  29. if(response)
  30. {
  31. if(listitem == 0) // VL Warning Cheat
  32. {
  33. if(VLWarning[playerid] == 0)
  34. {
  35. VLWarning[playerid] = 1;
  36. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte VL Warning Cheat.");
  37. }
  38. else
  39. {
  40. VLWarning[playerid] = 0;
  41. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte VL Warning Cheat.");
  42. }
  43. }
  44. else if(listitem == 1) // VL Pomos
  45. {
  46. if(VLPomos[playerid] == 0)
  47. {
  48. VLPomos[playerid] = 1;
  49. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte VL Pomos.");
  50. }
  51. else
  52. {
  53. VLPomos[playerid] = 0;
  54. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte VL Pomos");
  55. }
  56. }
  57. else if(listitem == 2) // VL Report
  58. {
  59. if(VLReport[playerid] == 0)
  60. {
  61. VLReport[playerid] = 1;
  62. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte VL Report.");
  63. }
  64. else
  65. {
  66. VLReport[playerid] = 0;
  67. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte VL Report");
  68. }
  69. }
  70. else if(listitem == 3) // VL Event
  71. {
  72. if(VLEvent[playerid] == 0)
  73. {
  74. VLEvent[playerid] = 1;
  75. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte VL Event.");
  76. }
  77. else
  78. {
  79. VLEvent[playerid] = 0;
  80. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte VL Event");
  81. }
  82. }
  83. else if(listitem == 4) // VL Vleze na server
  84. {
  85. if(VLVlez[playerid] == 0)
  86. {
  87. VLVlez[playerid] = 1;
  88. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte Warning za Koj Vleguva na servero");
  89. }
  90. else
  91. {
  92. VLVlez[playerid] = 0;
  93. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte Warning za Koj Vleguva na servero");
  94. }
  95. }
  96. else if(listitem == 5) // VL /aa Admin/GM Chat
  97. {
  98. if(VLAdmin[playerid] == 0)
  99. {
  100. VLAdmin[playerid] = 1;
  101. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte Admin/GM Chat /aa");
  102. }
  103. else
  104. {
  105. VLAdmin[playerid] = 0;
  106. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte Admin/GM Chat /aa");
  107. }
  108. }
  109. else if(listitem == 6) // VL Admin Chat /a
  110. {
  111. if(PlayerInfo[playerid][pAdmin] >= 1)
  112. {
  113. if(VLADchat[playerid] == 0)
  114. {
  115. VLADchat[playerid] = 1;
  116. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte Admin Chat /a (SAMO ADMIN)");
  117. }
  118. else
  119. {
  120. VLADchat[playerid] = 0;
  121. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte Admin Chat /a (SAMO ADMIN)");
  122. }
  123. }else SCM(playerid, COLOR_GRAD1,"{0493E8}[VLRP] » {FF0000}Greska{C0C0C0} | Vie ne ste Admin");
  124. }
  125. else if(listitem == 7) // VL GM Chat
  126. {
  127. if(PlayerInfo[playerid][pGameMaster] >= 1)
  128. {
  129. if(VLGMchat[playerid] == 0)
  130. {
  131. VLGMchat[playerid] = 1;
  132. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte GameMaster Chat /g (SAMO GM)");
  133. }
  134. else
  135. {
  136. VLGMchat[playerid] = 0;
  137. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte GameMaster Chat /g (SAMO GM)");
  138. }
  139. }else SCM(playerid, COLOR_GRAD1,"{0493E8}[VLRP] » {FF0000}Greska{C0C0C0} | Vie ne ste GameMaster");
  140. }
  141. else if(listitem == 8) // Private Message /pm
  142. {
  143. if(VLPMchat[playerid] == 0)
  144. {
  145. VLPMchat[playerid] = 1;
  146. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go uklucivte Private Message");
  147. }
  148. else
  149. {
  150. VLPMchat[playerid] = 0;
  151. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno go isklucivte Private Message");
  152. }
  153. }
  154. else if(listitem == 9) // Cel /pm /gpm chat
  155. {
  156. if(PlayerInfo[playerid][pAdmin] == 2015)
  157. {
  158. if(VLOWchat[playerid] == 0)
  159. {
  160. VLOWchat[playerid] = 1;
  161. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno uklucivte da Citate Private Message /pm, /gpm");
  162. }
  163. else
  164. {
  165. VLOWchat[playerid] = 0;
  166. SCM(playerid,-1, "{0493E8}[VLRP] » {FF0000}Uspesno isklucivte da Citate Private Message /pm, /gpm");
  167. }
  168. }
  169. }
  170. }
  171. return 1;
  172. }
  173.  
  174.  
  175. // NAJDOLE NEKADE
  176. CMD:onoff(playerid, params[])
  177. {
  178. if(PlayerInfo[playerid][pGameMaster] >= 1 || PlayerInfo[playerid][pAdmin] >= 1)
  179. {
  180. ShowPlayerDialog(playerid, testing, DIALOG_STYLE_LIST, "On/Off", "VL Warning Cheat\nVL Pomos\nVL Report\nVL Event\nVleze na servero\nAdmin/GM Chat /aa\nAdmin Chat /a (SAMO ADMIN)\nGameMaster Chat /g (SAMO GM)\nPrivate Messages /pm, /gpm\nCitanje na /pm , /gpm (SAMO OWNER)", "On/Off", "Izlezi");
  181. }
  182. else
  183. {
  184. SendClientMessage(playerid,COLOR_GRAD1,"{0493E8}[VLRP] » {FF0000}Informacija{C0C0C0} | Nemozete da ja koristete ovaa komanda !");
  185. }
  186. return 1;
  187. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement