Guest User

Untitled

a guest
Oct 11th, 2019
731
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.33 KB | None | 0 0
  1. /*
  2. [=========================================================================================]
  3.  
  4. Admin Panel by Volter
  5.  
  6. [=========================================================================================]
  7. */
  8. #include <a_samp> //Include
  9. #pragma tabsize 0 // warning 217: loose indentation Fixano sa Ovom Linijom ( Mozes obrisati ).
  10. #define strcpy(%0,%1,%2) strcat((%0[0] = '\0', %0), %1, %2)
  11. #define Message SendClientMessage // Definiste " Message " umesto SendClientMessage.
  12. #define COLOR_RED 0xFF0000FF // Crvena Boja Def.
  13. #define COLOR_GREEN 0x00FF00FF // Zelena.
  14. #define COLOR_WHITE 0xFFFFFFFF // Bela.
  15. #define COLOR_USAGE 0x5D7E8D77 // Definicija boje za Upotrebu.
  16. // Sta ce sve trebati :
  17. new ServerName[MAX_PLAYERS][128];
  18. new ServerPassword[MAX_PLAYERS][128];
  19. new BanIP[MAX_PLAYERS][128];
  20. new Say[MAX_PLAYERS][128];
  21. new Gamemodetext[MAX_PLAYERS][128];
  22. new Language[MAX_PLAYERS][128];
  23. new Custom[MAX_PLAYERS][128];
  24. new WantName[MAX_PLAYERS];
  25. new WantPass[MAX_PLAYERS];
  26. new WantGMX[MAX_PLAYERS];
  27. new WantSay[MAX_PLAYERS];
  28. new WantBanIP[MAX_PLAYERS];
  29. new WantGMText[MAX_PLAYERS];
  30. new WantLang[MAX_PLAYERS];
  31. new WantUnBanIP[MAX_PLAYERS];
  32. new WantCustom[MAX_PLAYERS];
  33. // Kraj.
  34. public OnFilterScriptInit()
  35. {
  36. print("\n------------------------------------------");
  37. print(" Control Panel Za Ownera/Vlasnika ");
  38. print(" By: Volter ");
  39. print("--------------------------------------------\n");
  40. return 1;
  41. }
  42. // Publici
  43. public OnPlayerConnect(playerid)
  44. {
  45. WantName[playerid] = 0;
  46. WantPass[playerid] = 0;
  47. WantGMX[playerid] = 0;
  48. WantSay[playerid] = 0;
  49. WantUnBanIP[playerid] = 0;
  50. WantBanIP[playerid] = 0;
  51. WantGMText[playerid] = 0;
  52. WantLang[playerid] = 0;
  53. WantCustom[playerid] = 0;
  54. return 1;
  55. }
  56. public OnPlayerDisconnect(playerid)
  57. {
  58.  
  59. WantName[playerid] = 0;
  60. WantPass[playerid] = 0;
  61. WantGMX[playerid] = 0;
  62. WantSay[playerid] = 0;
  63. WantUnBanIP[playerid] = 0;
  64. WantBanIP[playerid] = 0;
  65. WantGMText[playerid] = 0;
  66. WantLang[playerid] = 0;
  67. WantCustom[playerid] = 0;
  68. return 1;
  69. }
  70. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  71. {
  72. if(dialogid == 267)
  73. {
  74. if(response)
  75. {
  76. new googool[144];
  77. format(googool, sizeof(googool), "[C-P]: Ime Servera Promenjano u:{ff0000} %s.", ServerName[playerid]);
  78. Message(playerid, COLOR_WHITE, googool);
  79. }
  80. }
  81. if(dialogid == 268)
  82. {
  83. if(response)
  84. {
  85. if(!strcmp(ServerPassword[playerid],"0",true))
  86. {
  87. Message(playerid, COLOR_WHITE, "[C-P]: Sifra Servera Sklonjena.");
  88. return 1;
  89. }
  90. new googool[144];
  91. format(googool, sizeof(googool), "[C-P]: Sifra Servera je Postavljena/Promenjena u:{ff0000} %s.", ServerPassword[playerid]);
  92. Message(playerid, COLOR_WHITE, googool);
  93. }
  94. }
  95. if(dialogid == 270)
  96. {
  97. if(response)
  98. {
  99. new googool[144];
  100. format(googool, sizeof(googool), "[C-P]: BanIP{ff0000} %s{ffffff} je banovan ( IP ).", BanIP[playerid]);
  101. Message(playerid, COLOR_WHITE, googool);
  102. }
  103. }
  104. if(dialogid == 271)
  105. {
  106. if(response)
  107. {
  108. new googool[144];
  109. format(googool, sizeof(googool), "[C-P]: UnBanIP{ff0000} %s{ffffff} je unbanovan ( IP ).", BanIP[playerid]);
  110. Message(playerid, COLOR_WHITE, googool);
  111. }
  112. }
  113. if(dialogid == 272)
  114. {
  115. if(response)
  116. {
  117. new googool[144];
  118. format(googool, sizeof(googool), "[OOC]:{ff0000} %s.", Say[playerid]);
  119. Message(playerid, COLOR_WHITE, googool);
  120. }
  121. }
  122. if(dialogid == 273)
  123. {
  124. if(response)
  125. {
  126. new googool[144];
  127. format(googool, sizeof(googool), "[C-P]: GameModeText je postavljen na:{ff0000} %s.", Gamemodetext[playerid]);
  128. Message(playerid, COLOR_WHITE, googool);
  129. }
  130. }
  131. if(dialogid == 274)
  132. {
  133. if(response)
  134. {
  135. new googool[144];
  136. format(googool, sizeof(googool), "[C-P]: Jezik GameModa je postavljen na:{ff0000} %s.", Language[playerid]);
  137. Message(playerid, COLOR_WHITE, googool);
  138. }
  139. }
  140. if(dialogid == 279)
  141. {
  142. if(response)
  143. {
  144. new googool[144];
  145. format(googool, sizeof(googool), "[C-P]: Koristio si{ff0000} %s{ffffff} sa prilagodjenim odeljkom u Panelu.", Custom[playerid]);
  146. Message(playerid, COLOR_WHITE, googool);
  147. }
  148. }
  149. if(dialogid == 312)
  150. {
  151. if(response)
  152. {
  153. if(listitem == 0)
  154. {
  155. ShowPlayerDialog(playerid, 313,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi novo ime servera ispod:", "Done", "Back");
  156. }
  157. if(listitem == 1)
  158. {
  159. ShowPlayerDialog(playerid, 314,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi novu Sifru servera ispod:", "Done", "Back");
  160. }
  161. if(listitem == 2)
  162. {
  163. ShowPlayerDialog(playerid, 315,DIALOG_STYLE_MSGBOX, "Panel", "[C-P]: Ako si siguran klikni YES, server ce se Restartovati za 2 sec.", "YES", "NO");
  164. }
  165. if(listitem == 3)
  166. {
  167. ShowPlayerDialog(playerid, 316,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi IPAddressu koju zelis da UnBan-ujes ispod:", "Done", "Back");
  168. }
  169. if(listitem == 4)
  170. {
  171. ShowPlayerDialog(playerid, 317,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi IpAddressu koju zelis banovati ispod:", "Done", "Back");
  172. }
  173. if(listitem == 5)
  174. {
  175. ShowPlayerDialog(playerid, 318,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi Bilo Sta sto zelis da kazes ispod:", "Done", "Back");
  176. }
  177. if(listitem == 6)
  178. {
  179. ShowPlayerDialog(playerid, 319,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi sta zelis da bude u GameText-u ispod:", "Done", "Back");
  180. }
  181. if(listitem == 7)
  182. {
  183. ShowPlayerDialog(playerid, 320,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi bilo koji Jezik koji ce stajati u Language ispod:", "Done", "Back");
  184. }
  185. if(listitem == 8)
  186. {
  187. ShowPlayerDialog(playerid, 321,DIALOG_STYLE_INPUT, "Panel", "[C-P]: Unesi Bilo koji RCON ispod:", "Done", "Back");
  188. }
  189. }
  190. }
  191. if(dialogid == 313)
  192. {
  193. if(response)
  194. {
  195. new length = strlen(inputtext);
  196. if(length==0)
  197. {
  198. ShowPlayerDialog(playerid, 313,DIALOG_STYLE_INPUT, "Panel", "{FF0000}Molim te, ispuni ovo.\n{A9C4E4}[C-P]: Novo ime servera ukucaj ispod:", "Done", "Back");
  199. return 1;
  200. }
  201. WantName[playerid] = 1;
  202. new string[128];
  203. format(string,sizeof(string),"hostname %s", inputtext);
  204. SendRconCommand(string);
  205. strcpy(ServerName[playerid],inputtext,128);
  206. new Dialog[1024];
  207. format(Dialog, sizeof(Dialog), "[C-P]: Uspesno si{FF0000} promenio{A9C4E4} ime servera u:\n{FF0000} %s{A9C4E4}.", inputtext);
  208. ShowPlayerDialog(playerid, 267, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  209. WantName[playerid] = 0;
  210. }
  211. else
  212. {
  213. new panel[1024];
  214. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  215. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  216. }
  217. }
  218. if(dialogid == 314)
  219. {
  220. if(response)
  221. {
  222. new length = strlen(inputtext);
  223. if(length==0)
  224. {
  225. ShowPlayerDialog(playerid, 314,DIALOG_STYLE_INPUT, "Panel", "{FF0000}[C-P]: Molim te, ispuni ovo. (Da sklonis Sifru, kucaj 0)\n{A9C4E4}[C-P]: Ukucaj novu sifru servera ispod:", "Done", "Back");
  226. return 1;
  227. }
  228. if(!strcmp(inputtext,"0",true))
  229. {
  230. new DG[1024];
  231. format(DG, sizeof(DG), "[C-P]: Uspesno si{FF0000} uklonio{A9C4E4} sifru servera.", inputtext);
  232. ShowPlayerDialog(playerid, 268, DIALOG_STYLE_MSGBOX,"Panel", DG,"Done", "");
  233. new pass[128];
  234. format(pass,sizeof(pass),"password %s", inputtext);
  235. SendRconCommand(pass);
  236. strcpy(ServerPassword[playerid],inputtext,128);
  237. return 1;
  238. }
  239. WantPass[playerid] = 1;
  240. new string[128];
  241. format(string,sizeof(string),"password %s", inputtext);
  242. SendRconCommand(string);
  243. strcpy(ServerPassword[playerid],inputtext,128);
  244. new Dialog[1024];
  245. format(Dialog, sizeof(Dialog), "[C-P]: Uspesno si{FF0000} promenio{A9C4E4} sifru servera na:\n{FF0000} %s{A9C4E4}.", inputtext);
  246. ShowPlayerDialog(playerid, 268, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  247. WantPass[playerid] = 0;
  248. }
  249. else
  250. {
  251. new panel[1024];
  252. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  253. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  254. }
  255. }
  256. if(dialogid == 315)
  257. {
  258. if(response)
  259. {
  260. WantGMX[playerid] = 1;
  261. SetTimer("fss",2000,0);
  262. new Dialog[1024];
  263. format(Dialog, sizeof(Dialog), "[C-P]: Server ce se Restartovati za 2 sekunde.");
  264. ShowPlayerDialog(playerid, 269, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  265. WantGMX[playerid] = 0;
  266. }
  267. else
  268. {
  269. new panel[1024];
  270. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  271. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  272. }
  273. }
  274. if(dialogid == 316)
  275. {
  276. if(response)
  277. {
  278. new length = strlen(inputtext);
  279. if(length==0)
  280. {
  281. ShowPlayerDialog(playerid, 317,DIALOG_STYLE_INPUT, "Panel", "{FF0000}[C-P]: Molim te, popuni ovo.\n{A9C4E4}[C-P]: Unesi IpAddressu koju zelis da UnBanujes ispod :", "Done", "Back");
  282. return 1;
  283. }
  284. WantUnBanIP[playerid] = 1;
  285. new string[128];
  286. format(string,sizeof(string),"unbanip %s", inputtext);
  287. SendRconCommand(string);
  288. strcpy(BanIP[playerid],inputtext,128);
  289. new Dialog[1024];
  290. format(Dialog, sizeof(Dialog), "[C-P]: IpAddressa %s je UnBanovana.", inputtext);
  291. ShowPlayerDialog(playerid, 271, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  292. WantUnBanIP[playerid] = 0;
  293. }
  294. else
  295. {
  296. new panel[1024];
  297. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  298. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  299. }
  300. }
  301. if(dialogid == 317)
  302. {
  303. if(response)
  304. {
  305. new length = strlen(inputtext);
  306. if(length==0)
  307. {
  308. ShowPlayerDialog(playerid, 317,DIALOG_STYLE_INPUT, "Panel", "{FF0000}[C-P]: Molim te, popuni ovo.\n{A9C4E4}[C-P]: Unesi IPAddressu koju zelis da Banujes Ispod:", "Done", "Back");
  309. return 1;
  310. }
  311. WantBanIP[playerid] = 1;
  312. new string[128];
  313. format(string,sizeof(string),"banip %s", inputtext);
  314. SendRconCommand(string);
  315. strcpy(BanIP[playerid],inputtext,128);
  316. new Dialog[1024];
  317. format(Dialog, sizeof(Dialog), "[C-P]: IpAddressa %s je banovana.", inputtext);
  318. ShowPlayerDialog(playerid, 270, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  319. WantBanIP[playerid] = 0;
  320. }
  321. else
  322. {
  323. new panel[1024];
  324. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  325. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  326. }
  327. }
  328. if(dialogid == 318)
  329. {
  330. if(response)
  331. {
  332. new length = strlen(inputtext);
  333. if(length==0)
  334. {
  335. ShowPlayerDialog(playerid, 318,DIALOG_STYLE_INPUT, "Panel", "{FF0000}[C-P]: Molim te, popuni ovo.\n{A9C4E4}[C-P]: Unesi sta zelis da kazes Ispod:", "Done", "Back");
  336. return 1;
  337. }
  338. WantSay[playerid] = 1;
  339. new string[128];
  340. format(string,sizeof(string),"say %s", inputtext);
  341. SendRconCommand(string);
  342. strcpy(Say[playerid],inputtext,128);
  343. new Dialog[1024];
  344. format(Dialog, sizeof(Dialog), "[C-P]: Uspesno si {FF0000}rekao{A9C4E4}:\n{FF0000} %s{A9C4E4}.", inputtext);
  345. ShowPlayerDialog(playerid, 272, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  346. WantSay[playerid] = 0;
  347. }
  348. else
  349. {
  350. new panel[1024];
  351. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  352. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  353. }
  354. }
  355. if(dialogid == 319)
  356. {
  357. if(response)
  358. {
  359. new length = strlen(inputtext);
  360. if(length==0)
  361. {
  362. ShowPlayerDialog(playerid, 319,DIALOG_STYLE_INPUT, "Panel", "{FF0000}[C-P]: Molim te, popuni ovo.\n{A9C4E4}[C-P]: Unesi sta zelis da postavis za GameModeText ispod:", "Done", "Back");
  363. return 1;
  364. }
  365. WantGMText[playerid] = 1;
  366. new string[128];
  367. format(string,sizeof(string),"gamemodetext %s", inputtext);
  368. SendRconCommand(string);
  369. strcpy(Gamemodetext[playerid],inputtext,128);
  370. new Dialog[1024];
  371. format(Dialog, sizeof(Dialog), "[C-P]: Uspesno si{FF0000} promenio{A9C4E4} GameModeText u:\n{FF0000} %s{A9C4E4}.", inputtext);
  372. ShowPlayerDialog(playerid, 273, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  373. WantGMText[playerid] = 0;
  374. }
  375. else
  376. {
  377. new panel[1024];
  378. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  379. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  380. }
  381. }
  382. if(dialogid == 320)
  383. {
  384. if(response)
  385. {
  386. new length = strlen(inputtext);
  387. if(length==0)
  388. {
  389. ShowPlayerDialog(playerid, 320,DIALOG_STYLE_INPUT, "Panel", "{FF0000}[C-P]: Molim te, popuni ovo.\n{A9C4E4}[C-P]: Unesi sta zelis da postavis u GameModeLanguage ispod:", "Done", "Back");
  390. return 1;
  391. }
  392. WantLang[playerid] = 1;
  393. new string[128];
  394. format(string,sizeof(string),"language %s", inputtext);
  395. SendRconCommand(string);
  396. strcpy(Language[playerid],inputtext,128);
  397. new Dialog[1024];
  398. format(Dialog, sizeof(Dialog), "[C-P]: Uspesno si{FF0000} promenio{A9C4E4} GameModeLanguage u:\n{FF0000} %s{A9C4E4}.", inputtext);
  399. ShowPlayerDialog(playerid, 274, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  400. WantLang[playerid] = 0;
  401. }
  402. else
  403. {
  404. new panel[1024];
  405. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  406. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  407. }
  408. }
  409. if(dialogid == 321)
  410. {
  411. if(response)
  412. {
  413. new length = strlen(inputtext);
  414. if(length==0)
  415. {
  416. ShowPlayerDialog(playerid, 321,DIALOG_STYLE_INPUT, "Panel", "{FF0000}[C-P]: Molim te, popuni ovo.\n{A9C4E4}[C-P]: Unesi sta zelis da bude RCON ispod:", "Done", "Back");
  417. return 1;
  418. }
  419. WantCustom[playerid] = 1;
  420. new string[128];
  421. format(string,sizeof(string),"%s", inputtext);
  422. SendRconCommand(string);
  423. strcpy(Custom[playerid],inputtext,128);
  424. new Dialog[1024];
  425. format(Dialog, sizeof(Dialog), "[C-P]: Uspesno si{FF0000} iskoristio{A9C4E4}:\n{FF0000} %s{A9C4E4}.", inputtext);
  426. ShowPlayerDialog(playerid, 279, DIALOG_STYLE_MSGBOX,"Panel", Dialog,"Done", "");
  427. WantCustom[playerid] = 0;
  428. }
  429. else
  430. {
  431. new panel[1024];
  432. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  433. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  434. }
  435. }
  436. return 1;
  437. }
  438. public OnPlayerCommandText(playerid, cmdtext[])
  439. {
  440. if(strcmp(cmdtext, "/panel", true) == 0)
  441. {
  442. // Ovde unesti sta vec zelis, da mora biti Admin za komandu itd.... Ja necu, napravio sam ovo da vi Radite Dalje na Komandi.
  443. new panel[1024];
  444. format(panel,sizeof(panel),"[C-P]: ImeServera. \t\n[C-P]: Sifra Servera. \t\n[C-P]: Restart Servera. \t\n[C-P]: UnBanIP Igraca. \t\n[C-P]: BanIP Igraca. \t\n[C-P]: Reci Nesto( Svima ). \t\n[C-P]: GameModeText. \t\n[C-P]: GameModeLanguage. \t\n[C-P]: Prilagodjeno.");
  445. ShowPlayerDialog(playerid,312,DIALOG_STYLE_LIST,"Panel",panel,"Select","Cancel");
  446. return 1;
  447. }
  448. return 1;
  449. }
  450. forward fss();
  451. public fss()
  452. {
  453. new string[128];
  454. format(string,sizeof(string),"gmx");
  455. SendRconCommand(string);
  456. }
Advertisement
Add Comment
Please, Sign In to add comment