Advertisement
Guest User

Inuitin

a guest
Apr 14th, 2015
618
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.33 KB | None | 0 0
  1. ///HERE WEE GOOO///
  2. ///IN PLANE TO MAKE 3D LABELS UP PLAYERS NAME FOR SCORE///
  3. ///INCLUDSI/////
  4. #include < a_samp >
  5. #include < a_objects >
  6. #include < core >
  7. #include < float >
  8. #include < time >
  9. #include < morphinc >
  10. #include < file >
  11. #include < foreach >
  12. #include < streamer >
  13. #include < sscanf2 >
  14. #include < YSI\y_ini >
  15.  
  16. #pragma tabsize 0
  17. //////////////////////
  18. #undef MAX_PLAYERS
  19. #define MAX_PLAYERS 150
  20. ///////////////////////
  21. //////Defining "new"///
  22. new spawnwall;
  23. new freeze[MAX_PLAYERS];
  24. new healthpickup;
  25. new deaglepickup;
  26. new cspickup;
  27. new m4pickup;
  28. new dglizlpickup;
  29. new m41izlpickup;
  30. new RespawnCar;
  31. new m42izlpickup;
  32. new csizlpickup;
  33. new randommessages;
  34. new nrg;
  35. new acars[40];
  36. new nrgrace[6];
  37. new cswall;
  38. new Text3D:vehicle3Dtext[MAX_VEHICLES],vehicle_id;
  39. /////////////////////////////////
  40. #define IGRACI "Igraci/%s.ini"
  41. enum pInfo
  42. {
  43. pNovac,
  44. pUbistava,
  45. pSmrti,
  46. pScore
  47.  
  48. }
  49. new PlayerInfo[MAX_PLAYERS][pInfo];
  50. ////Defining "define"///
  51. #define LBLUE "{00C0FF}"
  52. #define WHITE "{FFFFFF}"
  53. #define ORANGE "{FFAF00}"
  54. #define YELLOW "{F3FF02}"
  55. #define GREEN "{6EF83C}"
  56. #define BLACK "{030001}"
  57. #define RED "{F81414}"
  58. #define GREY "{C0C0C0}"
  59. #define TGREEN "{8A0E65}"
  60. #define SCM SendClientMessage
  61. #define SCMTA SendClientMessageToAll
  62. #define MAX_CARS 3000
  63. #define AH_DIALOG 1
  64. #define HELP_DIALOG 2
  65. #define TEAMS 3
  66. #define TEAMS1 4
  67. #define OBJECTS 5
  68. #define MUSIC 6
  69. #define WHEELS 7
  70. #define PAINTJOB 8
  71. #define VCOLOR 9
  72. #define Path "Users/%s.ini"
  73. #define FIGHTSTYLE 10
  74. ////////////////////////
  75. new RandomMessages[][] =
  76. {
  77. "{0080FF}~ Bug abusing is restricted and you will get banned for that ~",
  78. "{0080FF}~ To find help about commands, use /help ~",
  79. "{0080FF}~ Marketing other servers is totally RESTRICTED and you wil get banned for that ~",
  80. "{0080FF}~ If you saw cheater, report him with command /report ~",
  81. "{0080FF}~ If you are stucked,type /Stuck ~",
  82. "{0080FF}~ If you want some fun with objects,type /objects ~",
  83. "{0080FF}~ Play nice and fair game-ITN team ~"
  84. };
  85. ////////////////////////
  86.  
  87. main()
  88. {
  89. print("\n----------------------------------");
  90. print(" Wilco's script\n");
  91. print("----------------------------------\n");
  92. }
  93.  
  94. public OnPlayerConnect(playerid)
  95. {
  96. ////
  97. DeleteObject(playerid);
  98. ////////////////////////
  99. new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
  100. GetPlayerName(playerid, pname, sizeof(pname));
  101. format(string, sizeof(string), "%s has joined the server", pname);
  102. SendClientMessageToAll(0xFFFFAF00, string);
  103. //////////////
  104. GameTextForPlayer(playerid,"~b~Welcome to Inuition DeathMatch\nRelax with us!",5000,5);
  105. return 1;
  106. }
  107.  
  108. public OnPlayerDisconnect(playerid, reason)
  109. {
  110. new pname[MAX_PLAYER_NAME], string[39 + MAX_PLAYER_NAME];
  111. GetPlayerName(playerid, pname, sizeof(pname));
  112. switch(reason)
  113. {
  114. case 0: format(string, sizeof(string), "%s has left the server. (Crash)", pname);
  115. case 1: format(string, sizeof(string), "%s has left the server. (Gone)", pname);
  116. case 2: format(string, sizeof(string), "%s has left the server. (Kicked)", pname);
  117. }
  118. SendClientMessageToAll(0xFFFFAF00, string);
  119. return 1;
  120. }
  121.  
  122. public OnPlayerCommandText(playerid, cmdtext[])
  123. {
  124. new idx;
  125. new cmd[256];
  126.  
  127. cmd = strtok(cmdtext, idx);
  128.  
  129. if(strcmp(cmd, "/guns", true) == 0)
  130. {
  131. if(IsPlayerConnected(playerid))
  132. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin!");
  133. SetPlayerArmour(playerid, 99.0);
  134. SetPlayerHealth(playerid, 99.0);
  135. GivePlayerWeapon(playerid,5,1);
  136. GivePlayerWeapon(playerid,24,200);
  137. GivePlayerWeapon(playerid,26,200);
  138. GivePlayerWeapon(playerid,28,200);
  139. GivePlayerWeapon(playerid,31,200);
  140. return 1;
  141. }
  142. //////////////////////////////////////////
  143. if(strcmp(cmd, "/jetpack", true) == 0)
  144. {
  145. if(IsPlayerConnected(playerid))
  146. {
  147. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  148. SendClientMessage(playerid, -1, ""YELLOW"INFO | "WHITE"You took jetpack.Fly high bird! :D!");
  149. SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
  150. }
  151. return 1;
  152. }
  153. ////////////////////////////////////////
  154. if(strcmp(cmd, "/askin", true) == 0)
  155. {
  156. if(IsPlayerConnected(playerid))
  157. {
  158. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  159. SendClientMessage(playerid, -1, ""YELLOW"INFO | "WHITE"You took administrator skin!");
  160. SetPlayerSkin(playerid,98);
  161. }
  162. return 1;
  163. }
  164. /////////////////////////////////////
  165. if(strcmp(cmd, "/abase", true) == 0)
  166. {
  167. if(IsPlayerConnected(playerid))
  168. {
  169. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  170. {
  171. new idv = GetPlayerVehicleID(playerid);
  172. SetVehiclePos(idv,324.19,-1497.97,25.27);
  173. SetPlayerPos(playerid, 324.19,-1497.97,25.27);
  174. freeze[playerid] = SetTimerEx("Freeze",3000, false, "i", playerid);
  175. }
  176. }
  177. return 1;
  178. }
  179. //////////////////////////////////////
  180. if(strcmp(cmd, "/cars", true) == 0)
  181. {
  182. if(IsPlayerConnected(playerid))
  183. {
  184. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  185. {
  186. new idv = GetPlayerVehicleID(playerid);
  187. SetVehiclePos(idv,409.31,2484.51,17.16);
  188. SetPlayerPos(playerid, 409.31,2484.51,17.16);
  189. freeze[playerid] = SetTimerEx("Freeze",3000, false, "i", playerid);
  190. }
  191. }
  192. return 1;
  193. }
  194. //////////////////////////////////////
  195. if(strcmp(cmd, "/gotospawn", true) == 0)
  196. {
  197. if(IsPlayerConnected(playerid))
  198. {
  199. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  200. {
  201. SetPlayerPos(playerid, -14.0579,-2506.3613,36.6555);
  202. freeze[playerid] = SetTimerEx("Freeze",3000, false, "i", playerid);
  203. }
  204. }
  205. return 1;
  206. }
  207. //////////////////////////////////////
  208. if(strcmp(cmd, "/nitro", true) == 0)
  209. {
  210. if(IsPlayerConnected(playerid))
  211. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  212. {
  213. if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1, ""RED"[ERROR] "GREY"You have to be inside car to add nitro!");
  214. AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
  215. SCM(playerid, -1, "INFO | "YELLOW"Nitro added!");
  216. }
  217. return 1;
  218. }
  219. //////////////////////////////////////
  220. if(strcmp(cmd, "/vcolor", true) == 0)
  221. {
  222. if(IsPlayerConnected(playerid))
  223. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  224. {
  225. if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1, ""RED"[ERROR] "GREY"You have to be inside car to change color!");
  226. ShowPlayerDialog(playerid, VCOLOR, DIALOG_STYLE_LIST, ""WHITE"Choose color", ""WHITE"White\nBlue\nYellow\nRed\nGreen\nBlack", "Yes", "Don't Yes");
  227. }
  228. return 1;
  229. }
  230. //////////////////////////////////////
  231. if(strcmp(cmd, "/hydraulics", true) == 0)
  232. {
  233. if(IsPlayerConnected(playerid))
  234. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  235. {
  236. if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1, ""RED"[ERROR] "GREY"You have to be inside car to set up hydraulic!");
  237. AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
  238. SCM(playerid, -1, "INFO | "YELLOW"You added hydraulic!");
  239. }
  240. return 1;
  241. }
  242. //////////////////////////////////////
  243. if(strcmp(cmd, "/wheels", true) == 0)
  244. {
  245. if(IsPlayerConnected(playerid))
  246. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  247. {
  248. if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1, ""RED"[ERROR] "GREY"You have to be inside car to set up wheels!");
  249. ShowPlayerDialog(playerid, WHEELS, DIALOG_STYLE_LIST, ""WHITE"Tuning", ""WHITE"Offroad\nShadow\nMega\nRimshine\nWires\nClassic\nTwist\nCutter\nSwitch\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAccess", "Yes", "No");
  250. }
  251. return 1;
  252. }
  253. //////////////////////////////////////
  254. if(strcmp(cmd, "/paintjob", true) == 0)
  255. {
  256. if(IsPlayerConnected(playerid))
  257. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  258. {
  259. if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1, ""RED"[ERROR] "GREY"You have to be inside car to change paintjob!");
  260. ShowPlayerDialog(playerid, PAINTJOB, DIALOG_STYLE_LIST, ""WHITE"Choose paintjob", ""WHITE"1\n2\n3\nDelete paintjob", "Yes", "No");
  261. }
  262. return 1;
  263. }
  264. //////////////////////////////////////
  265. if(strcmp(cmd, "/fightst", true) == 0)
  266. {
  267. if(IsPlayerConnected(playerid))
  268. {
  269. ShowPlayerDialog(playerid, FIGHTSTYLE, DIALOG_STYLE_LIST, ""WHITE"Fighting style", ""WHITE"Kneehad\nKungfu\nBoxing\nGrabkick\nElbow\nNormal", "Izaberi", "Izadji");
  270. }
  271. return 1;
  272. }
  273. //////////////////////////////////////
  274. if(strcmp(cmd, "/rac", true) == 0)
  275. {
  276. if(IsPlayerConnected(playerid))
  277. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  278. {
  279. new string[512]; RespawnCar = 1;
  280. format(string,sizeof string, ""LBLUE"<<< "GREY"Admin has started cars respawning "LBLUE">>>");
  281. SendClientMessageToAll(-1, string);
  282. SetTimer("Respawn", 10000, false);
  283. }
  284. return 1;
  285. }
  286. //////////////////////////////////////
  287. if(strcmp(cmd, "/fixcar", true) == 0)
  288. {
  289. if(IsPlayerConnected(playerid))
  290. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  291. {
  292. if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1, ""WHITE"[ITN] "YELLOW"You have to be inside the car to fix it!");
  293. RepairVehicle(GetPlayerVehicleID(playerid));
  294. SCM(playerid,-1,""RED"[ITN] "WHITE"Car fixed!");
  295. }
  296. return 1;
  297. }
  298. //////////////////////////////////////
  299. if(strcmp(cmd, "/cc", true) == 0)
  300. {
  301. if(IsPlayerConnected(playerid))
  302. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  303. {
  304. new string[128]; foreach(Player,i) { ClearChat(i, 120); }
  305. format(string,sizeof(string),""LBLUE"[ITN] "GREY"Administrator has cleared chat.");
  306. SCMTA(-1,string);
  307. }
  308. return 1;
  309. }
  310. /////////////////////////////////////
  311. if(strcmp(cmd, "/moneyall", true) == 0)
  312. {
  313. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  314. for(new i = 0; i<GetMaxPlayers();i++) {
  315. GivePlayerMoney(i,50000); }
  316. GameTextForAll("~g~ADMIN GIFT-50000$",2000, 3);
  317. return 1;
  318. }
  319. ////////////////////////////////////
  320. if(strcmp(cmd, "/scoreall", true) == 0)
  321. {
  322. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  323. for(new i = 0; i<GetMaxPlayers();i++) {
  324. SetPlayerScore(i, GetPlayerScore(i) + 200); }
  325. GameTextForAll("~g~ADMIN GIFT-200 SCORE",2000, 3);
  326. return 1;
  327. }
  328. ////////////////////////////////////
  329. if(strcmp(cmd, "/healall", true) == 0)
  330. {
  331. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  332. for(new i = 0; i<GetMaxPlayers();i++) {
  333. SetPlayerHealth(i,100); }
  334. GameTextForAll("~g~ADMIN GIFT-HEALTH",2000, 3);
  335. return 1;
  336. }
  337. ////////////////////////////////////
  338. if(strcmp(cmd, "/armorall", true) == 0)
  339. {
  340. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  341. for(new i = 0; i<GetMaxPlayers();i++) {
  342. SetPlayerArmour(i,100); }
  343. GameTextForAll("~g~ADMIN GIFT-ARMOR",2000, 3);
  344. return 1;
  345. }
  346. ////////////////////////////////////
  347. if(strcmp(cmd, "/kickall", true) == 0)
  348. {
  349. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  350. GameTextForAll("~g~ADMIN GIFT-KICK(haha)",2000, 3);
  351. for (new i = 0; i < MAX_PLAYERS; i++)
  352. {
  353. Kick(i);
  354. }
  355. return 1;
  356. }
  357. //////////////////////////////////////
  358. if(strcmp(cmd, "/aduty", true) == 0)
  359. {
  360. if(IsPlayerConnected(playerid))
  361. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  362. {
  363. new string[128]; new pname[MAX_PLAYER_NAME];
  364. GetPlayerName(playerid, pname, sizeof(pname));
  365. format(string,sizeof(string),""RED"[ITN] "LBLUE"((Administrator %s is on duty.))", pname);
  366. SCMTA(-1,string);
  367. SetPlayerColor(playerid, 0xFF030001);
  368. }
  369. return 1;
  370. }
  371. //////////////////////////////////////
  372. if(strcmp(cmd, "/aoff", true) == 0)
  373. {
  374. if(IsPlayerConnected(playerid))
  375. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  376. {
  377. new string[128]; new pname[MAX_PLAYER_NAME];
  378. GetPlayerName(playerid, pname, sizeof(pname));
  379. format(string,sizeof(string),""RED"[ITN] "LBLUE"((Administrator %s is out of duty.))", pname);
  380. SCMTA(-1,string);
  381. SetPlayerColor(playerid, 0xFFFFFFFF);
  382. }
  383. return 1;
  384. }
  385. //////////////////////////////////////
  386. if(strcmp(cmd, "/objects", true) == 0)
  387. {
  388. if(IsPlayerConnected(playerid))
  389. {
  390. ShowPlayerDialog(playerid, OBJECTS, DIALOG_STYLE_LIST, ""WHITE"OBJECTS", ""WHITE"M4 on your back\nTorch\nArmour\nPennis\nDollar\nCigarette\nFire bone\nHorse iron\nMoneybag\nParrot\nKatana\nWood cutter\nTree\nHydrant\nHyppo\nPiss", "Yes", "No");
  391. }
  392. return 1;
  393. }
  394. //////////////////////////////////////
  395. if(strcmp(cmd, "/removeobjects", true) == 0)
  396. {
  397. if(IsPlayerConnected(playerid))
  398. {
  399. for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
  400. {
  401. if(IsPlayerAttachedObjectSlotUsed(playerid, i)) RemovePlayerAttachedObject(playerid, i);
  402. }
  403. }
  404. return 1;
  405. }
  406. //////////////////////////////////////
  407. if(strcmp(cmd, "/stopmusic", true) == 0)
  408. {
  409. if(IsPlayerConnected(playerid))
  410. {
  411. StopAudioStreamForPlayer(playerid);
  412. }
  413. return 1;
  414. }
  415. ///////////Commands for clock(sat mean clock,I'm lazy to change it)///////////////////////////
  416. if(strcmp("/sat1", cmdtext, true, 10) == 0) //ne radi
  417. {
  418. if(IsPlayerConnected(playerid))
  419. {
  420. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  421. SetWorldTime(1);
  422. }
  423. return 1;
  424. }
  425. if(strcmp("/sat2", cmdtext, true, 10) == 0) //ne radi
  426. {
  427. if(IsPlayerConnected(playerid))
  428. {
  429. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  430. SetWorldTime(2);
  431. }
  432. return 1;
  433. }
  434. if(strcmp("/sat3", cmdtext, true, 10) == 0) //ne radi
  435. {
  436. if(IsPlayerConnected(playerid))
  437. {
  438. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  439. SetWorldTime(3);
  440. }
  441. return 1;
  442. }
  443. if(strcmp("/sat4", cmdtext, true, 10) == 0) //ne radi
  444. {
  445. if(IsPlayerConnected(playerid))
  446. {
  447. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  448. SetWorldTime(4);
  449. }
  450. return 1;
  451. }
  452. if(strcmp("/sat5", cmdtext, true, 10) == 0) //ne radi
  453. {
  454. if(IsPlayerConnected(playerid))
  455. {
  456. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  457. SetWorldTime(5);
  458. }
  459. return 1;
  460. }
  461. if(strcmp("/sat6", cmdtext, true, 10) == 0) //ne radi
  462. {
  463. if(IsPlayerConnected(playerid))
  464. {
  465. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  466. SetWorldTime(6);
  467. }
  468. return 1;
  469. }
  470. if(strcmp("/sat7", cmdtext, true, 10) == 0) //ne radi
  471. {
  472. if(IsPlayerConnected(playerid))
  473. {
  474. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  475. SetWorldTime(7);
  476. }
  477. return 1;
  478. }
  479. if(strcmp("/sat8", cmdtext, true, 10) == 0) //ne radi
  480. {
  481. if(IsPlayerConnected(playerid))
  482. {
  483. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  484. SetWorldTime(1);
  485. }
  486. return 1;
  487. }
  488. if(strcmp("/sat9", cmdtext, true, 10) == 0) //ne radi
  489. {
  490. if(IsPlayerConnected(playerid))
  491. {
  492. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  493. SetWorldTime(9);
  494. }
  495. return 1;
  496. }
  497. if(strcmp("/sat10", cmdtext, true, 10) == 0) //ne radi
  498. {
  499. if(IsPlayerConnected(playerid))
  500. {
  501. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  502. SetWorldTime(10);
  503. }
  504. return 1;
  505. }
  506. if(strcmp("/sat11", cmdtext, true, 10) == 0) //ne radi
  507. {
  508. if(IsPlayerConnected(playerid))
  509. {
  510. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  511. SetWorldTime(11);
  512. }
  513. return 1;
  514. }
  515. if(strcmp("/sat12", cmdtext, true, 10) == 0) //ne radi
  516. {
  517. if(IsPlayerConnected(playerid))
  518. {
  519. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  520. SetWorldTime(12);
  521. }
  522. return 1;
  523. }
  524. if(strcmp("/sat13", cmdtext, true, 10) == 0) //ne radi
  525. {
  526. if(IsPlayerConnected(playerid))
  527. {
  528. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  529. SetWorldTime(13);
  530. }
  531. return 1;
  532. }
  533. if(strcmp("/sat14", cmdtext, true, 10) == 0) //ne radi
  534. {
  535. if(IsPlayerConnected(playerid))
  536. {
  537. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  538. SetWorldTime(14);
  539. }
  540. return 1;
  541. }
  542. if(strcmp("/sat15", cmdtext, true, 10) == 0) //ne radi
  543. {
  544. if(IsPlayerConnected(playerid))
  545. {
  546. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  547. SetWorldTime(15);
  548. }
  549. return 1;
  550. }
  551. if(strcmp("/sat16", cmdtext, true, 10) == 0) //ne radi
  552. {
  553. if(IsPlayerConnected(playerid))
  554. {
  555. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  556. SetWorldTime(16);
  557. }
  558. return 1;
  559. }
  560. if(strcmp("/sat17", cmdtext, true, 10) == 0) //ne radi
  561. {
  562. if(IsPlayerConnected(playerid))
  563. {
  564. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  565. SetWorldTime(17);
  566. }
  567. return 1;
  568. }
  569. if(strcmp("/sat18", cmdtext, true, 10) == 0) //ne radi
  570. {
  571. if(IsPlayerConnected(playerid))
  572. {
  573. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  574. SetWorldTime(18);
  575. }
  576. return 1;
  577. }
  578. if(strcmp("/sat19", cmdtext, true, 10) == 0) //ne radi
  579. {
  580. if(IsPlayerConnected(playerid))
  581. {
  582. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  583. SetWorldTime(19);
  584. }
  585. return 1;
  586. }
  587. if(strcmp("/sat20", cmdtext, true, 10) == 0) //ne radi
  588. {
  589. if(IsPlayerConnected(playerid))
  590. {
  591. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  592. SetWorldTime(20);
  593. }
  594. return 1;
  595. }
  596. if(strcmp("/sat21", cmdtext, true, 10) == 0) //ne radi
  597. {
  598. if(IsPlayerConnected(playerid))
  599. {
  600. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  601. SetWorldTime(21);
  602. }
  603. return 1;
  604. }
  605. if(strcmp("/sat22", cmdtext, true, 10) == 0) //ne radi
  606. {
  607. if(IsPlayerConnected(playerid))
  608. {
  609. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  610. SetWorldTime(22);
  611. }
  612. return 1;
  613. }
  614. if(strcmp("/sat23", cmdtext, true, 10) == 0) //ne radi
  615. {
  616. if(IsPlayerConnected(playerid))
  617. {
  618. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  619. SetWorldTime(23);
  620. }
  621. return 1;
  622. }
  623. if(strcmp("/sat24", cmdtext, true, 10) == 0) //ne radi
  624. {
  625. if(IsPlayerConnected(playerid))
  626. {
  627. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  628. SetWorldTime(24);
  629. }
  630. return 1;
  631. }
  632. /////////////////////////////////////
  633. if(strcmp(cmd, "/kill", true) == 0)
  634. {
  635. if(IsPlayerConnected(playerid))
  636. {
  637. SetPlayerHealth(playerid,0);
  638. SCM(playerid,-1,""RED"[ITN] "WHITE"You have killed yourself!");
  639. }
  640. return 1;
  641. }
  642. /////////////////////////////////////
  643. if(strcmp(cmd, "/stuck", true) == 0)
  644. {
  645. if(IsPlayerConnected(playerid))
  646. {
  647. new Float:slx, Float:sly, Float:slz;
  648. GetPlayerPos(playerid, slx, sly, slz);
  649. SetPlayerPos(playerid, slx, sly, slz+2);
  650. TogglePlayerControllable(playerid, 1);
  651. }
  652. return 1;
  653. }
  654. //////////////////////////////////////
  655. if(strcmp(cmd, "/ao", true) == 0)
  656. {
  657. if(IsPlayerConnected(playerid))
  658. {
  659. new sendername[MAX_PLAYER_NAME]; new string[128];
  660. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  661. GetPlayerName(playerid, sendername, sizeof(sendername));
  662. new length = strlen(cmdtext);
  663. while ((idx < length) && (cmdtext[idx] <= ' '))
  664. {
  665. idx++;
  666. }
  667. new offset = idx;
  668. new result[64];
  669. while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
  670. {
  671. result[idx - offset] = cmdtext[idx];
  672. idx++;
  673. }
  674. result[idx - offset] = EOS;
  675. format(string, sizeof(string), "[ADMIN %s IS SPEAKING]>%s" , sendername, result);
  676. SendClientMessageToAll(0xFF8A0E65, string);
  677. printf("%s", string);
  678. }
  679. return 1;
  680. }
  681. //////////////////////////////////////
  682. if(strcmp(cmd, "/music", true) == 0)
  683. {
  684. if(IsPlayerConnected(playerid))
  685. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  686. {
  687. ShowPlayerDialog(playerid, MUSIC, DIALOG_STYLE_LIST, ""WHITE"MUSIC", ""WHITE"Dr.Dre ft.Snoop Dog-STILL\nOne Republic-Counting Stars\nLife is a Highway\nBob Marley-A lala long\nAvicii-Wake me up\nEllie Goulding - Burn\nPitbull - Timber ft. Ke$ha\nJason Derulo - Wiggle feat. Snoop Dogg\nEminem - Not Afraid\nPitbull - Rain Over Me ft. Marc Anthony\nTaylor Swift - Shake It Off\nWiz Khalifa - Black And Yellow", "Yes", "No");
  688. }
  689. return 1;
  690. }
  691. //////////////////////////////////////
  692. if(strcmp(cmd, "/ah", true) == 0)
  693. {
  694. new info[2048];
  695. if(IsPlayerConnected(playerid))
  696. {
  697. if(!IsPlayerAdmin(playerid)) return SCM(playerid,-1,""RED"[ITN] "GREY"You are not the admin");
  698. {
  699. strcat(info, ""YELLOW"||===============================================[ "WHITE"Admin Commands "YELLOW"]=============================================||\n\n", sizeof(info));
  700. }
  701. {
  702. strcat(info, ""YELLOW"1 | "WHITE"/rcon cmdlist /nitro /abase /fixcar\n", sizeof(info));
  703. strcat(info, ""YELLOW"2 | "WHITE"/jetpack /gotospawn /sat(1-24-don't move number from word)\n", sizeof(info));
  704. strcat(info, ""YELLOW"3 | "WHITE"/askin /cc\n", sizeof(info));
  705. strcat(info, ""YELLOW"4 | "WHITE"/guns /moneyall\n", sizeof(info));
  706. strcat(info, ""YELLOW"5 | "WHITE"/music /scoreall\n", sizeof(info));
  707. strcat(info, ""YELLOW"6 | "WHITE"/hydraulics /healall\n", sizeof(info));
  708. strcat(info, ""YELLOW"7 | "WHITE"/Wheels /Armorall /specoff /aduty /ao\n", sizeof(info));
  709. strcat(info, ""YELLOW"8 | "WHITE"/paintjob\n", sizeof(info));
  710. strcat(info, ""YELLOW"9 | "WHITE"/kickall \n", sizeof(info));
  711. }
  712. {
  713. strcat(info, ""YELLOW"||===========================================================================================================||\n\n", sizeof(info));
  714. }
  715. ShowPlayerDialog(playerid, AH_DIALOG, DIALOG_STYLE_MSGBOX, ""GREY"Admin Commands", info, "Uredu", "");
  716. }
  717. return 1;
  718. }
  719. //////////////////////////////////////
  720. if(strcmp(cmd, "/help", true) == 0)
  721. {
  722. new info[2048];
  723. if(IsPlayerConnected(playerid))
  724. {
  725. {
  726. strcat(info, ""YELLOW"||===============================================[ "WHITE"Commands "YELLOW"]=============================================||\n\n", sizeof(info));
  727. }
  728. {
  729. strcat(info, ""YELLOW"1 | "WHITE"UPOZORENJE:When you want to enter to arena,just go to pickup and you will be teleported(no keys to enter)!\n", sizeof(info));
  730. strcat(info, ""YELLOW"2 | "WHITE"Also,you can find darts for leaving arena!\n", sizeof(info));
  731. strcat(info, ""YELLOW"3 | "WHITE"/Objects /removeobjects\n", sizeof(info));
  732. strcat(info, ""YELLOW"4 | "WHITE"/kill(da se respawnate) /stopmusic /stuck\n", sizeof(info));
  733. strcat(info, ""YELLOW"5 | "WHITE"/Will be something\n", sizeof(info));
  734. strcat(info, ""YELLOW"6 | "WHITE"/Will be something\n", sizeof(info));
  735. strcat(info, ""YELLOW"7 | "WHITE"/Will be something\n", sizeof(info));
  736. strcat(info, ""YELLOW"8 | "WHITE"/Will be something\n", sizeof(info));
  737. strcat(info, ""YELLOW"9 | "WHITE"/Will be something\n", sizeof(info));
  738. }
  739. {
  740. strcat(info, ""YELLOW"||===========================================================================================================||\n\n", sizeof(info));
  741. }
  742. ShowPlayerDialog(playerid, HELP_DIALOG, DIALOG_STYLE_MSGBOX, ""GREY"Commands", info, "Uredu", "");
  743. }
  744. return 1;
  745. }
  746. ///////////////////////////////////////
  747. return 0;
  748. }
  749.  
  750. public OnPlayerSpawn(playerid)
  751. {
  752. SetPlayerInterior(playerid,0);
  753. SetPlayerPos(playerid,-21.5727,-2494.0205,36.6484);
  754. GivePlayerMoney(playerid, 1000);
  755. SetPlayerColor(playerid, 0xFFFFFFFF);
  756. TogglePlayerClock(playerid,0);
  757. /////////////////////
  758. return 1;
  759. }
  760.  
  761. public OnPlayerDeath(playerid, killerid, reason)
  762. {
  763. GivePlayerWeapon(playerid,0,0);
  764. GameTextForPlayer(playerid,"~b~Lay down!",5000,5);
  765. PlayerInfo[killerid][pUbistava]++; PlayerInfo[playerid][pSmrti]++;
  766. if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); //If not invalid killerid (not a vehicle, etcetra), gets current score and adds one to the killer.
  767. GivePlayerMoney(killerid, 1000);//Randomizes the amount of cash the person gets, 20000 - 30000
  768. SendDeathMessage(killerid, playerid, reason);
  769. SCM(playerid,-1,""GREEN"[KILL] "GREEN"Good kill");
  770. ///////////////////////////////
  771. if(GetPlayerWantedLevel(killerid) > 6)
  772. {
  773. SetPlayerWantedLevel(killerid, 6);
  774. }
  775. ///////////////////////////
  776. return 1;
  777. }
  778.  
  779. SetupPlayerForClassSelection(playerid)
  780. {
  781. SetPlayerInterior(playerid,0);
  782. SetPlayerPos(playerid,1137.8224,-2036.7817,69.0078);
  783. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
  784. SetPlayerFacingAngle(playerid, 270.0);
  785. SetPlayerCameraPos(playerid, 1142.5664, -2037.3398, 69.0123);
  786. SetPlayerCameraLookAt(playerid, 1141.5653, -2037.3367, 68.9972);
  787. }
  788.  
  789. public OnPlayerRequestClass(playerid, classid)
  790. {
  791. SetupPlayerForClassSelection(playerid);
  792. return 1;
  793. }
  794.  
  795. public OnPlayerPickUpPickup(playerid, pickupid)
  796. {
  797. if(pickupid == healthpickup)
  798. {
  799. SetPlayerHealth(playerid, 100);
  800. }
  801. if(pickupid == deaglepickup)
  802. {
  803. GivePlayerWeapon(playerid,24,1000);
  804. SetPlayerArmour(playerid, 100);
  805. SetPlayerPos(playerid, 1299.2740,-150.0677,1001.0157);
  806. SetPlayerHealth(playerid, 100);
  807. }
  808. if(pickupid == cspickup)
  809. {
  810. ShowPlayerDialog(playerid, TEAMS, DIALOG_STYLE_LIST, ""WHITE"TEAMS", ""WHITE"Counter-Terorrist\nTerorrist", "Yes", "No");
  811. }
  812. if(pickupid == m4pickup)
  813. {
  814. ShowPlayerDialog(playerid, TEAMS1, DIALOG_STYLE_LIST, ""WHITE"TEAMS", ""WHITE"Blue tim\nRed tim", "Yes", "No");
  815. }
  816. if(pickupid == dglizlpickup)
  817. {
  818. SetPlayerPos(playerid, -21.5727,-2494.0205,36.6484);
  819. ResetPlayerWeapons(playerid);
  820. SCM(playerid,-1,""YELLOW"INFO "WHITE"You left arena!");
  821. }
  822. if(pickupid == m41izlpickup)
  823. {
  824. SetPlayerPos(playerid, -21.5727,-2494.0205,36.6484);
  825. SetPlayerColor(playerid, 0xFFFFFFFF);
  826. ResetPlayerWeapons(playerid);
  827. SCM(playerid,-1,""YELLOW"INFO "WHITE"You left arena!");
  828. }
  829. if(pickupid == m42izlpickup)
  830. {
  831. SetPlayerPos(playerid, -21.5727,-2494.0205,36.6484);
  832. SetPlayerColor(playerid, 0xFFFFFFFF);
  833. ResetPlayerWeapons(playerid);
  834. SCM(playerid,-1,""YELLOW"INFO "WHITE"You left arena!");
  835. }
  836. if(pickupid == csizlpickup)
  837. {
  838. SetPlayerPos(playerid, -21.5727,-2494.0205,36.6484);
  839. SetPlayerColor(playerid, 0xFFFFFFFF);
  840. ResetPlayerWeapons(playerid);
  841. SCM(playerid,-1,""YELLOW"INFO "WHITE"You left arena!");
  842. }
  843. if(pickupid == nrg)
  844. {
  845. SetPlayerPos(playerid, 1805.94,866.21,10.61);
  846. SetPlayerColor(playerid, 0xFFFFFFFF);
  847. ResetPlayerWeapons(playerid);
  848. SetPlayerCheckpoint(playerid, 1806.2673,1545.9546,6.7420, 3.0);
  849. SCM(playerid,-1,""YELLOW"INFO "WHITE"This is made for fucking with my friends,don't make attention on this shit!");
  850. }
  851. return 1;
  852. }
  853.  
  854. public OnGameModeInit()
  855. {
  856. //////////Maps starts here--SPAWN/////
  857. spawnwall = CreateDynamicObject(19377, -23.70327, -2492.09912, 38.02996, 0.00000, 0.00000, -58.56002);
  858. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  859. spawnwall = CreateDynamicObject(19377, -31.84576, -2497.05322, 38.02996, 0.00000, 0.00000, -58.56002);
  860. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  861. spawnwall = CreateDynamicObject(19377, -33.28515, -2503.51465, 38.02996, 0.00000, 0.00000, 33.35999);
  862. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  863. spawnwall = CreateDynamicObject(19377, -28.07204, -2511.46460, 38.02996, 0.00000, 0.00000, 33.35999);
  864. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  865. spawnwall = CreateDynamicObject(19377, -22.84856, -2519.41675, 38.02996, 0.00000, 0.00000, 33.35999);
  866. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  867. spawnwall = CreateDynamicObject(19377, -10.58775, -2513.08643, 38.02996, 0.00000, 0.00000, -58.56002);
  868. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  869. spawnwall = CreateDynamicObject(19377, -18.68118, -2518.04565, 38.02996, 0.00000, 0.00000, -58.56002);
  870. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  871. spawnwall = CreateDynamicObject(19377, -9.04161, -2506.38770, 38.02996, 0.00000, 0.00000, 31.49998);
  872. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  873. spawnwall = CreateDynamicObject(19377, -14.00517, -2498.28564, 38.02996, 0.00000, 0.00000, 31.49998);
  874. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  875. spawnwall = CreateDynamicObject(19377, -16.88221, -2493.59644, 38.02996, 0.00000, 0.00000, 31.49998);
  876. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  877. spawnwall = CreateDynamicObject(19377, -15.50278, -2487.10181, 38.02996, 0.00000, 0.00000, -58.56002);
  878. SetDynamicObjectMaterial(spawnwall, 0, 13724, "docg01_lahills", "redbrickground256");
  879. spawnwall = CreateDynamicObject(19377, -21.08869, -2513.58862, 43.20713, 0.00000, 90.00000, -58.56000);
  880. SetDynamicObjectMaterial(spawnwall, 0, 16150, "ufo_bar", "GEwhite1_64");
  881. spawnwall = CreateDynamicObject(19377, -12.98393, -2508.61597, 43.20713, 0.00000, 90.00000, -58.56000);
  882. SetDynamicObjectMaterial(spawnwall, 0, 16150, "ufo_bar", "GEwhite1_64");
  883. spawnwall = CreateDynamicObject(19377, -26.77439, -2504.83472, 43.20713, 0.00000, 90.00000, -58.56000);
  884. SetDynamicObjectMaterial(spawnwall, 0, 16150, "ufo_bar", "GEwhite1_64");
  885. spawnwall = CreateDynamicObject(19377, -18.63701, -2499.87329, 43.20713, 0.00000, 90.00000, -58.56000);
  886. SetDynamicObjectMaterial(spawnwall, 0, 16150, "ufo_bar", "GEwhite1_64");
  887. spawnwall = CreateDynamicObject(19377, -24.03520, -2490.97607, 43.20713, 0.00000, 90.00000, -58.56000);
  888. SetDynamicObjectMaterial(spawnwall, 0, 16150, "ufo_bar", "GEwhite1_64");
  889. spawnwall = CreateDynamicObject(19377, -32.27402, -2495.87451, 43.20713, 0.00000, 90.00000, -58.56000);
  890. SetDynamicObjectMaterial(spawnwall, 0, 16150, "ufo_bar", "GEwhite1_64");
  891. spawnwall = CreateDynamicObject(19377, -40.14266, -2501.37500, 43.20713, 0.00000, 90.00000, -58.56000);
  892. SetDynamicObjectMaterial(spawnwall, 0, 16150, "ufo_bar", "GEwhite1_64");
  893. /////////////Gang War Ballas vs Groove///////
  894. CreateDynamicObject(987, 2237.27612, -1466.50635, 31.74547, 0.00000, 0.00000, 0.00000);
  895. CreateDynamicObject(987, 2326.37500, -1541.86426, 24.33899, 0.00000, 0.00000, 89.99998);
  896. CreateDynamicObject(987, 2326.37085, -1529.95532, 24.33899, 0.00000, 0.00000, 89.99998);
  897. CreateDynamicObject(987, 2326.47900, -1522.93103, 24.33899, 0.00000, 0.00000, 89.99998);
  898. CreateDynamicObject(987, 2306.64990, -1542.16113, 24.33899, 0.00000, 0.00000, 89.57998);
  899. CreateDynamicObject(987, 2306.74341, -1530.20752, 24.33899, 0.00000, 0.00000, 89.57998);
  900. CreateDynamicObject(987, 2306.56519, -1522.55188, 24.33899, 0.00000, 0.00000, 89.57998);
  901. CreateDynamicObject(987, 2318.74487, -1511.10889, 24.33899, 0.00000, 0.00000, 179.39999);
  902. CreateDynamicObject(987, 2326.78320, -1510.96606, 24.33899, 0.00000, 0.00000, 179.39999);
  903. CreateDynamicObject(987, 2317.47021, -1542.26086, 24.33899, 0.00000, 0.00000, 179.39999);
  904. CreateDynamicObject(987, 2326.59985, -1542.12439, 24.33899, 0.00000, 0.00000, 181.25996);
  905. ////////////////////////Deagle Arena///////////
  906. CreateObject(14784, 1296.41211, -144.34100, 1009.41412, 0.00000, 0.00000, 0.00000);
  907. CreateObject(1431, 1272.07581, -141.06673, 1000.62384, 0.00000, 0.00000, -79.07999);
  908. CreateObject(1431, 1272.25635, -143.03511, 1000.62384, 0.00000, 0.00000, -95.69998);
  909. CreateObject(1431, 1272.22388, -142.93817, 1001.66388, 0.00000, 0.00000, -95.69998);
  910. CreateObject(1431, 1271.99841, -146.61803, 1000.62384, 0.00000, 0.00000, -95.69998);
  911. CreateObject(1431, 1272.13574, -144.71025, 1000.62384, 0.00000, 0.00000, -95.69998);
  912. CreateObject(1431, 1272.08789, -145.36852, 1001.68085, 0.00000, 0.00000, -95.69998);
  913. CreateObject(1431, 1270.49670, -139.42172, 1000.62384, 0.00000, 0.00000, -31.55999);
  914. CreateObject(2991, 1278.52344, -144.17668, 1000.55664, 0.00000, 0.00000, -114.84000);
  915. CreateObject(2991, 1278.41040, -138.49489, 1000.55664, 0.00000, 0.00000, -62.34000);
  916. CreateObject(2991, 1278.98584, -141.42516, 1001.82471, 0.00000, 0.00000, -91.98003);
  917. CreateObject(3799, 1287.07434, -140.89650, 999.43518, 0.00000, 0.00000, 0.00000);
  918. CreateObject(3799, 1286.26514, -143.79953, 999.43518, 0.00000, 0.00000, 0.00000);
  919. CreateObject(3799, 1285.00879, -139.14891, 999.48767, 0.00000, 0.00000, 0.00000);
  920. CreateObject(3799, 1286.26904, -141.30959, 1001.51074, 0.00000, 0.00000, 0.00000);
  921. CreateObject(1230, 1286.73193, -143.71930, 1002.23047, 0.00000, 0.00000, 0.00000);
  922. CreateObject(1230, 1285.91675, -144.32571, 1002.23047, 0.00000, 0.00000, 0.00000);
  923. CreateObject(1230, 1286.60034, -144.94547, 1002.23047, 0.00000, 0.00000, 0.00000);
  924. CreateObject(7317, 1313.66760, -148.02199, 1003.79449, 0.00000, 0.00000, 0.00000);
  925. CreateObject(3593, 1294.05310, -132.89584, 1000.66925, 0.00000, 0.00000, -59.40000);
  926. CreateObject(3593, 1294.02478, -132.60817, 1001.68384, 0.00000, 0.00000, -97.97998);
  927. CreateObject(3502, 1300.45679, -128.51047, 1001.58936, 0.00000, 0.00000, 0.00000);
  928. CreateObject(3502, 1300.58948, -119.42725, 1001.58936, 0.00000, 0.00000, 0.00000);
  929. CreateObject(3593, 1303.68872, -113.47769, 1000.45740, 0.00000, 0.00000, 21.66000);
  930. CreateObject(3593, 1303.68872, -113.47769, 1001.57556, 0.00000, 0.00000, 2.16000);
  931. CreateObject(3578, 1295.38440, -117.66510, 1000.70654, 0.00000, 0.00000, 0.00000);
  932. CreateObject(3578, 1295.38757, -117.64536, 1000.70654, 0.00000, 0.00000, 0.00000);
  933. CreateObject(3578, 1286.23608, -120.31864, 1000.70654, 0.00000, 0.00000, 32.58000);
  934. CreateObject(3594, 1264.84070, -123.38073, 1000.50891, 0.00000, 0.00000, 0.00000);
  935. CreateObject(7317, 1261.09106, -131.82332, 1002.19299, 0.00000, 0.00000, 0.00000);
  936. CreateObject(3594, 1264.84070, -123.38073, 1000.50891, 0.00000, 0.00000, 0.00000);
  937. CreateObject(3594, 1276.80518, -116.70378, 1000.50891, 0.00000, 0.00000, -45.96000);
  938. CreateObject(3630, 1310.06494, -120.48964, 1001.29999, 0.00000, 0.00000, 0.00000);
  939. CreateObject(3578, 1319.46143, -116.98447, 1000.69226, 0.00000, 0.00000, 30.30000);
  940. CreateObject(3593, 1313.43665, -116.27687, 1001.25635, 22.02000, -15.36000, -179.70003);
  941. CreateObject(3593, 1311.08716, -115.97784, 1000.45740, 0.00000, 0.00000, 50.28001);
  942. CreateObject(3502, 1288.31738, -159.61072, 1001.91431, 0.00000, 0.00000, -133.32001);
  943. CreateObject(3502, 1278.93274, -151.14278, 1001.60565, 0.00000, 0.00000, -313.79993);
  944. CreateObject(3796, 1274.52515, -164.49042, 1006.88708, 0.00000, 0.00000, 0.00000);
  945. CreateObject(3796, 1273.34192, -160.01532, 999.86035, 0.00000, 0.00000, 0.00000);
  946. CreateObject(3578, 1267.06152, -156.98296, 1000.14410, 0.00000, 0.00000, -19.98000);
  947. CreateObject(3593, 1268.00916, -153.33194, 1000.25183, -12.78000, -4.86000, 0.00000);
  948. CreateObject(3502, 1279.51721, -160.10762, 1001.91431, 0.00000, 0.00000, -219.77998);
  949. CreateObject(3502, 1287.35913, -150.94603, 1001.91431, 0.00000, 0.00000, -39.05997);
  950. /////SA-MP logo////
  951. CreateDynamicObject(18750, 1118.13867, -2034.22327, 93.08495, 90.00000, 0.00000, 86.88003);
  952. ///////////////////LV-NRG race///////////////////////////
  953. CreateDynamicObject(987, 1798.06921, 863.33264, 9.16563, 0.00000, 0.00000, 89.09998);
  954. CreateDynamicObject(987, 1798.24731, 875.25696, 8.88965, 0.00000, 0.00000, 89.09998);
  955. CreateDynamicObject(987, 1798.44055, 887.28943, 8.48852, 0.00000, 0.00000, 89.09998);
  956. CreateDynamicObject(987, 1798.64807, 899.24225, 7.91664, 0.00000, 0.00000, 89.09998);
  957. CreateDynamicObject(987, 1798.90991, 911.18964, 7.65211, 0.00000, 0.00000, 89.09998);
  958. CreateDynamicObject(987, 1817.18555, 863.29279, 8.96083, 0.00000, 0.00000, 89.87997);
  959. CreateDynamicObject(987, 1817.18176, 875.24738, 8.96083, 0.00000, 0.00000, 89.87997);
  960. CreateDynamicObject(987, 1817.17993, 887.24286, 8.30122, 0.00000, 0.00000, 89.87997);
  961. CreateDynamicObject(987, 1817.17993, 899.14581, 7.80122, 0.00000, 0.00000, 89.87997);
  962. CreateDynamicObject(987, 1817.19824, 911.11707, 7.80122, 0.00000, 0.00000, 89.87997);
  963. CreateDynamicObject(987, 1816.94727, 863.43048, 8.96083, 0.00000, 0.00000, 179.69992);
  964. CreateDynamicObject(987, 1810.08923, 863.43958, 8.96083, 0.00000, 0.00000, 179.69992);
  965. CreateDynamicObject(987, 1891.85547, 1659.10803, 23.24935, 0.00000, 0.00000, 0.00000);
  966. CreateDynamicObject(987, 1797.11462, 1554.65747, 5.73176, 0.00000, 0.00000, 0.00000);
  967. CreateDynamicObject(987, 1809.06018, 1554.71802, 5.73176, 0.00000, 0.00000, 0.00000);
  968. ///////////////////////CS 1.6 map////////////////////////
  969. cswall = CreateDynamicObject(19377, -22.87177, 1474.05334, 16.48265, 0.00000, 0.00000, 78.59998);
  970. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  971. cswall = CreateDynamicObject(19377, -13.59588, 1473.48206, 16.48265, 0.00000, 0.00000, 93.65995);
  972. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  973. cswall = CreateDynamicObject(19377, -4.03344, 1473.40698, 16.48265, 0.00000, 0.00000, 85.13999);
  974. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  975. cswall = CreateDynamicObject(19377, 5.40783, 1472.60559, 16.48265, 0.00000, 0.00000, 85.13999);
  976. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  977. cswall = CreateDynamicObject(19377, 14.89382, 1472.86853, 16.48265, 0.00000, 0.00000, 97.67999);
  978. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  979. cswall = CreateDynamicObject(19377, 24.19346, 1474.76599, 16.48265, 0.00000, 0.00000, 105.23997);
  980. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  981. cswall = CreateDynamicObject(19377, 33.31076, 1477.30652, 16.48265, 0.00000, 0.00000, 105.23997);
  982. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  983. cswall = CreateDynamicObject(19377, 42.09472, 1480.85925, 16.48265, 0.00000, 0.00000, 118.91996);
  984. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  985. cswall = CreateDynamicObject(19377, 50.37635, 1485.45483, 16.48265, 0.00000, 0.00000, 118.91996);
  986. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  987. cswall = CreateDynamicObject(19377, 57.95219, 1491.03101, 16.48265, 0.00000, 0.00000, 133.67990);
  988. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  989. cswall = CreateDynamicObject(19377, 64.68365, 1497.57227, 16.48265, 0.00000, 0.00000, 133.67990);
  990. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  991. cswall = CreateDynamicObject(19377, 68.58327, 1505.57312, 16.48265, 0.00000, 0.00000, 173.87996);
  992. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  993. cswall = CreateDynamicObject(19377, 69.50848, 1514.91321, 16.48265, 0.00000, 0.00000, 174.77992);
  994. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  995. cswall = CreateDynamicObject(19377, 69.83759, 1524.26855, 16.48265, 0.00000, 0.00000, 180.95981);
  996. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  997. cswall = CreateDynamicObject(19377, 69.37269, 1533.67932, 16.48265, 0.00000, 0.00000, 184.73976);
  998. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  999. cswall = CreateDynamicObject(19377, 68.11406, 1543.09302, 16.48265, 0.00000, 0.00000, 190.01973);
  1000. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1001. cswall = CreateDynamicObject(19377, 65.97708, 1552.31787, 16.48265, 0.00000, 0.00000, 195.89969);
  1002. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1003. cswall = CreateDynamicObject(19377, 61.69721, 1560.65442, 16.48265, 0.00000, 0.00000, 217.79970);
  1004. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1005. cswall = CreateDynamicObject(19377, 55.48012, 1567.81165, 16.48265, 0.00000, 0.00000, 223.67960);
  1006. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1007. cswall = CreateDynamicObject(19377, 49.13660, 1574.45398, 16.48265, 0.00000, 0.00000, 223.67960);
  1008. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1009. cswall = CreateDynamicObject(19377, -32.22710, 1475.97498, 16.48265, 0.00000, 0.00000, 78.59998);
  1010. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1011. cswall = CreateDynamicObject(19377, -38.25855, 1479.48926, 16.48265, 0.00000, 0.00000, 49.61996);
  1012. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1013. cswall = CreateDynamicObject(19377, -45.40754, 1485.65637, 16.48265, 0.00000, 0.00000, 49.61996);
  1014. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1015. cswall = CreateDynamicObject(19377, -52.67482, 1491.88330, 16.48265, 0.00000, 0.00000, 49.61996);
  1016. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1017. cswall = CreateDynamicObject(19377, -59.58573, 1498.40015, 16.48265, 0.00000, 0.00000, 44.21997);
  1018. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1019. cswall = CreateDynamicObject(19377, -66.23437, 1505.25305, 16.48265, 0.00000, 0.00000, 44.21997);
  1020. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1021. cswall = CreateDynamicObject(19377, -70.40993, 1513.45337, 16.48265, 0.00000, 0.00000, 9.23997);
  1022. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1023. cswall = CreateDynamicObject(19377, -71.88108, 1522.83557, 16.48927, 0.00000, 0.00000, 9.23997);
  1024. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1025. cswall = CreateDynamicObject(19377, -68.23642, 1528.82019, 16.48927, 0.00000, 0.00000, -54.72004);
  1026. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1027. cswall = CreateDynamicObject(19377, -60.39619, 1534.35095, 16.48927, 0.00000, 0.00000, -54.72004);
  1028. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1029. cswall = CreateDynamicObject(19377, -52.61170, 1539.90198, 16.48927, 0.00000, 0.00000, -54.72004);
  1030. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1031. cswall = CreateDynamicObject(19377, -68.23642, 1528.82019, 16.48927, 0.00000, 0.00000, -54.72004);
  1032. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1033. cswall = CreateDynamicObject(19377, -44.80445, 1545.40454, 16.48927, 0.00000, 0.00000, -54.72004);
  1034. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1035. cswall = CreateDynamicObject(19377, -38.54984, 1552.30225, 16.48927, 0.00000, 0.00000, -29.82002);
  1036. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1037. cswall = CreateDynamicObject(19377, -33.79739, 1560.57373, 16.48927, 0.00000, 0.00000, -29.82002);
  1038. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1039. cswall = CreateDynamicObject(19377, -29.00567, 1568.78381, 16.48927, 0.00000, 0.00000, -29.82002);
  1040. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1041. cswall = CreateDynamicObject(19377, -24.01975, 1576.88806, 16.48927, 0.00000, 0.00000, -33.66003);
  1042. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1043. cswall = CreateDynamicObject(19377, -18.69489, 1584.81140, 16.48927, 0.00000, 0.00000, -33.66003);
  1044. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1045. cswall = CreateDynamicObject(19377, -11.27140, 1588.01440, 22.50716, 0.00000, 0.00000, -97.44002);
  1046. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1047. cswall = CreateDynamicObject(19377, -18.69489, 1584.81140, 22.50179, 0.00000, 0.00000, -33.66003);
  1048. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1049. cswall = CreateDynamicObject(19377, -1.78983, 1586.76440, 22.50716, 0.00000, 0.00000, -97.44002);
  1050. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1051. cswall = CreateDynamicObject(19377, 7.75706, 1585.50024, 22.50716, 0.00000, 0.00000, -97.44002);
  1052. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1053. cswall = CreateDynamicObject(19377, 17.02947, 1583.46838, 22.50716, 0.00000, 0.00000, -107.82000);
  1054. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1055. cswall = CreateDynamicObject(19377, 26.17471, 1580.52478, 22.50716, 0.00000, 0.00000, -107.82000);
  1056. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1057. cswall = CreateDynamicObject(19377, 35.43746, 1578.09558, 22.50716, 0.00000, 0.00000, -101.52000);
  1058. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1059. cswall = CreateDynamicObject(19377, 44.83092, 1577.84363, 22.50716, 0.00000, 0.00000, -81.59999);
  1060. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1061. cswall = CreateDynamicObject(19377, 49.13660, 1574.45398, 22.49756, 0.00000, 0.00000, 223.67960);
  1062. SetDynamicObjectMaterial(cswall, 0, 18265, "w_town3cs_t", "ws_redbrickold");
  1063. //other cs objects
  1064. CreateDynamicObject(3364, -31.00850, 1524.92676, 11.90070, 0.00000, 0.00000, 0.00000);
  1065. CreateDynamicObject(3590, 34.38040, 1486.54724, 14.37506, 0.00000, 0.00000, 9.30000);
  1066. CreateDynamicObject(3590, 22.14113, 1483.17920, 14.37506, 0.00000, 0.00000, 23.82000);
  1067. CreateDynamicObject(3598, -5.25416, 1533.07813, 14.29298, 0.00000, 0.00000, 0.00000);
  1068. CreateDynamicObject(3598, -20.46461, 1555.45398, 14.29298, 0.00000, 0.00000, -97.62003);
  1069. CreateDynamicObject(3598, 0.97160, 1573.37524, 14.29298, 0.00000, 0.00000, 0.00000);
  1070. CreateDynamicObject(3639, -12020.21289, 6020.91113, 602.15045, 0.00000, 0.00000, 0.00000);
  1071. CreateDynamicObject(3639, -8.19246, 1505.84302, 15.81714, 0.00000, 0.00000, 108.59999);
  1072. CreateDynamicObject(3639, 35.50253, 1561.59509, 15.81714, 0.00000, 0.00000, 339.29990);
  1073. CreateDynamicObject(3641, 21.26915, 1511.49255, 14.26571, 0.00000, 0.00000, 0.00000);
  1074. CreateDynamicObject(3641, 21.26095, 1529.05066, 14.26571, 0.00000, 0.00000, 0.00000);
  1075. CreateDynamicObject(3257, -50.97514, 1516.43958, 11.74858, 0.00000, 0.00000, 0.00000);
  1076. CreateDynamicObject(3722, -31.85994, 1495.32117, 14.21210, 0.00000, 0.00000, -140.45999);
  1077. CreateDynamicObject(12943, -2.50142, 1486.38379, 11.73779, 0.00000, 0.00000, 0.00000);
  1078. CreateDynamicObject(11011, 50.10165, 1521.81909, 15.74077, 0.00000, 0.00000, 0.00000);
  1079. CreateDynamicObject(16294, 17.25624, 1717.29163, 21.61719, 356.85840, 0.00000, 3.14159);
  1080. CreateDynamicObject(16294, -0.76885, 1552.83362, 11.67785, 0.00000, 0.00000, 0.00000);
  1081. CreateDynamicObject(3277, -0.60714, 1552.51685, 12.22981, 0.00000, 0.00000, 0.00000);
  1082. CreateDynamicObject(3267, -0.80436, 1552.90527, 12.25576, 0.00000, 0.00000, 195.83997);
  1083. CreateDynamicObject(3632, 5.10892, 1489.99951, 12.20393, 0.00000, 0.00000, 0.00000);
  1084. CreateDynamicObject(3632, 5.11929, 1489.35449, 12.20393, 0.00000, 0.00000, 0.00000);
  1085. CreateDynamicObject(3632, 5.08666, 1488.64368, 12.20393, 0.00000, 0.00000, 0.00000);
  1086. CreateDynamicObject(2567, 2.14968, 1483.67493, 13.49860, 0.00000, 0.00000, 0.00000);
  1087. CreateDynamicObject(2567, -3.01430, 1483.65320, 13.49860, 0.00000, 0.00000, 0.00000);
  1088. CreateDynamicObject(1348, -5.06173, 1489.56909, 12.44419, 0.00000, 0.00000, 0.00000);
  1089. CreateDynamicObject(1348, -3.30216, 1489.51270, 12.44419, 0.00000, 0.00000, 0.00000);
  1090. CreateDynamicObject(1348, -1.54259, 1489.45630, 12.44419, 0.00000, 0.00000, 0.00000);
  1091. CreateDynamicObject(1348, 0.20605, 1489.46216, 12.44419, 0.00000, 0.00000, 0.00000);
  1092. CreateDynamicObject(1689, 15.90164, 1520.92102, 17.48037, 0.00000, 0.00000, 88.14001);
  1093. CreateDynamicObject(1225, 7.91132, 1502.56458, 12.10354, 0.00000, 0.00000, 0.00000);
  1094. CreateDynamicObject(1225, 27.57939, 1486.43176, 12.10354, 0.00000, 0.00000, 0.00000);
  1095. CreateDynamicObject(1225, -1.16787, 1554.21387, 13.06627, 0.00000, 0.00000, 0.00000);
  1096. CreateDynamicObject(918, 42.64880, 1560.43713, 17.77438, 0.00000, 0.00000, 0.00000);
  1097. CreateDynamicObject(918, -29.11509, 1491.01379, 18.07442, 0.00000, 0.00000, 0.00000);
  1098. ///////////////////////M4 arena/////////////
  1099. CreateDynamicObject(3268, 304.36697, 1967.70288, 16.63280, 0.00000, 0.00000, 268.85983);
  1100. CreateDynamicObject(3268, 304.82034, 1987.58765, 16.63280, 0.00000, 0.00000, 449.03989);
  1101. CreateDynamicObject(2634, 291.76950, 1997.96008, 18.09784, 0.00000, 0.00000, 178.79985);
  1102. CreateDynamicObject(2634, 318.14005, 1997.32324, 18.09784, 0.00000, 0.00000, 178.79985);
  1103. CreateDynamicObject(2634, 317.51553, 1957.51062, 18.06679, 0.00000, 0.00000, 0.00000);
  1104. CreateDynamicObject(2634, 291.13889, 1958.06091, 18.06679, 0.00000, 0.00000, 0.00000);
  1105. CreateDynamicObject(2634, 289.62524, 1974.79590, 18.06679, 0.00000, 0.00000, -92.09997);
  1106. CreateDynamicObject(2634, 319.58795, 1980.46228, 17.74021, 0.00000, 0.00000, 90.29999);
  1107. CreateDynamicObject(3593, 296.78088, 1979.15796, 17.09007, 0.00000, 0.00000, 87.78000);
  1108. CreateDynamicObject(3593, 312.03506, 1978.92700, 17.09007, 0.00000, 0.00000, 87.78000);
  1109. CreateDynamicObject(10009, 294.64960, 1987.45898, 17.18155, 0.00000, 0.00000, 0.00000);
  1110. CreateDynamicObject(10009, 300.86084, 1991.12854, 17.18155, 0.00000, 0.00000, -87.66003);
  1111. CreateDynamicObject(3279, 313.19931, 1992.91516, 4.25515, 0.00000, 0.00000, 0.00000);
  1112. CreateDynamicObject(3279, 313.21762, 1992.90710, 4.25515, 0.00000, 0.00000, 0.00000);
  1113. CreateDynamicObject(3279, 294.05008, 1962.58862, 4.25515, 0.00000, 0.00000, 264.84000);
  1114. CreateDynamicObject(8572, 311.50635, 1964.81128, 17.48931, 0.00000, 0.00000, 89.75999);
  1115. CreateDynamicObject(8572, 309.71265, 1968.47974, 17.48931, 0.00000, 0.00000, 269.45996);
  1116. CreateDynamicObject(16096, 303.25793, 1961.42236, 18.47538, 0.00000, 0.00000, 268.74002);
  1117. CreateDynamicObject(3593, 305.46683, 1979.21777, 17.09007, 0.00000, 0.00000, 87.78000);
  1118. CreateDynamicObject(3593, 300.89709, 1979.17664, 17.09007, 0.00000, 0.00000, 87.78000);
  1119. //////////////////////Admin cars//////////////////
  1120. acars[0] = AddStaticVehicleEx(579,303.6000100,-1486.3000000,24.7000000,233.4980000,0,0,-1); //Huntley
  1121. {
  1122. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1123. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[0], 0.0, 0.0, 0.0);
  1124. }
  1125. SetVehicleNumberPlate(acars[0], "ADMIN");
  1126. acars[1] = AddStaticVehicleEx(579,306.7999900,-1481.8000000,24.7000000,233.4980000,0,0,-1); //Huntley
  1127. {
  1128. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1129. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[1], 0.0, 0.0, 0.0);
  1130. }
  1131. SetVehicleNumberPlate(acars[1], "ADMIN");
  1132. acars[2] = AddStaticVehicleEx(411,303.2000100,-1500.1000000,24.4000000,234.0000000,0,0,-1); //Infernus
  1133. {
  1134. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1135. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[2], 0.0, 0.0, 0.0);
  1136. }
  1137. SetVehicleNumberPlate(acars[2], "ADMIN");
  1138. acars[3] = AddStaticVehicleEx(411,300.1000100,-1504.3000000,24.4000000,233.9980000,0,0,-1); //Infernus
  1139. {
  1140. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1141. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[3], 0.0, 0.0, 0.0);
  1142. }
  1143. SetVehicleNumberPlate(acars[3], "ADMIN");
  1144. acars[4] = AddStaticVehicleEx(411,297.0000000,-1508.5000000,24.4000000,233.9980000,0,0,-1); //Infernus
  1145. {
  1146. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1147. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[4], 0.0, 0.0, 0.0);
  1148. }
  1149. SetVehicleNumberPlate(acars[4], "ADMIN");
  1150. acars[5] = AddStaticVehicleEx(411,293.7999900,-1512.7000000,24.4000000,233.9980000,0,0,-1); //Infernus
  1151. {
  1152. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1153. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[5], 0.0, 0.0, 0.0);
  1154. }
  1155. SetVehicleNumberPlate(acars[5], "ADMIN");
  1156. acars[6] = AddStaticVehicleEx(522,291.6000100,-1516.8000000,24.3000000,236.0000000,0,0,-1); //NRG-500
  1157. {
  1158. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1159. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[6], 0.0, 0.0, 0.0);
  1160. }
  1161. SetVehicleNumberPlate(acars[6], "ADMIN");
  1162. acars[7] = AddStaticVehicleEx(522,290.6000100,-1518.5000000,24.3000000,235.9970000,0,0,-1); //NRG-500
  1163. {
  1164. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1165. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[7], 0.0, 0.0, 0.0);
  1166. }
  1167. SetVehicleNumberPlate(acars[7], "ADMIN");
  1168. acars[8] = AddStaticVehicleEx(522,289.0000000,-1521.1000000,24.3000000,235.9970000,0,0,-1); //NRG-500
  1169. {
  1170. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1171. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[8], 0.0, 0.0, 0.0);
  1172. }
  1173. SetVehicleNumberPlate(acars[8], "ADMIN");
  1174. acars[9] = AddStaticVehicleEx(522,287.6000100,-1522.9000000,24.3000000,235.9970000,0,0,-1); //NRG-500
  1175. {
  1176. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1177. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[9], 0.0, 0.0, 0.0);
  1178. }
  1179. SetVehicleNumberPlate(acars[9], "ADMIN");
  1180. acars[10] = AddStaticVehicleEx(431,307.3999900,-1513.6000000,24.8000000,145.2500000,0,0,-1); //Bus
  1181. {
  1182. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1183. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[10], 0.0, 0.0, 0.0);
  1184. }SetVehicleNumberPlate(acars[10], "ADMIN");
  1185. acars[11] = AddStaticVehicleEx(409,298.3999900,-1526.7000000,24.5000000,145.7500000,0,0,-1); //Stretch
  1186. {
  1187. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1188. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[11], 0.0, 0.0, 0.0);
  1189. }SetVehicleNumberPlate(acars[11], "ADMIN");
  1190. acars[12] = AddStaticVehicleEx(415,278.8999900,-1535.9000000,24.4000000,236.0000000,0,0,-1); //Cheetah
  1191. {
  1192. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1193. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[12], 0.0, 0.0, 0.0);
  1194. }SetVehicleNumberPlate(acars[12], "ADMIN");
  1195. acars[13] = AddStaticVehicleEx(415,281.7999900,-1531.5000000,24.4000000,235.9970000,0,0,-1); //Cheetah
  1196. {
  1197. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1198. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[13], 0.0, 0.0, 0.0);
  1199. }SetVehicleNumberPlate(acars[13], "ADMIN");
  1200. acars[14] = AddStaticVehicleEx(415,284.8999900,-1527.0000000,24.4000000,235.9970000,0,0,-1); //Cheetah
  1201. {
  1202. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1203. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[14], 0.0, 0.0, 0.0);
  1204. }SetVehicleNumberPlate(acars[14], "ADMIN");
  1205. acars[15] = AddStaticVehicleEx(567,421.5503000,2438.5449000,16.3375000,0.0000000,0,0,15); //Savanna
  1206. {
  1207. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1208. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[15], 0.0, 0.0, 0.0);
  1209. }SetVehicleNumberPlate(acars[15], "ADMIN");
  1210. acars[16] = AddStaticVehicleEx(567,416.5843000,2438.8320000,16.3375000,0.0000000,0,0,15); //Savanna
  1211. {
  1212. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1213. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[16], 0.0, 0.0, 0.0);
  1214. }SetVehicleNumberPlate(acars[16], "ADMIN");
  1215. acars[17] = AddStaticVehicleEx(567,412.4758000,2438.9526000,16.3375000,0.0000000,0,0,15); //Savanna
  1216. {
  1217. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1218. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[17], 0.0, 0.0, 0.0);
  1219. }SetVehicleNumberPlate(acars[17], "ADMIN");
  1220. acars[18] = AddStaticVehicleEx(567,408.7251000,2438.8538000,16.3375000,0.0000000,0,0,15); //Savanna
  1221. {
  1222. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1223. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[18], 0.0, 0.0, 0.0);
  1224. }SetVehicleNumberPlate(acars[18], "ADMIN");
  1225. acars[19] = AddStaticVehicleEx(432,386.5417000,2443.5266000,16.4569000,0.0000000,0,0,15); //Rhino
  1226. {
  1227. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1228. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[19], 0.0, 0.0, 0.0);
  1229. }SetVehicleNumberPlate(acars[19], "ADMIN");
  1230. acars[20] = AddStaticVehicleEx(432,386.5483000,2456.6560000,16.4569000,0.0000000,0,0,15); //Rhino
  1231. {
  1232. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1233. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[20], 0.0, 0.0, 0.0);
  1234. }SetVehicleNumberPlate(acars[20], "ADMIN");
  1235. acars[21] = AddStaticVehicleEx(560,399.4259000,2440.0142000,16.0860000,-27.3600000,0,0,15); //Sultan
  1236. {
  1237. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1238. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[21], 0.0, 0.0, 0.0);
  1239. }SetVehicleNumberPlate(acars[21], "ADMIN");
  1240. acars[22] = AddStaticVehicleEx(560,395.4798000,2439.5386000,16.0860000,-27.3600000,0,0,15); //Sultan
  1241. {
  1242. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1243. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[22], 0.0, 0.0, 0.0);
  1244. }SetVehicleNumberPlate(acars[22], "ADMIN");
  1245. acars[23] = AddStaticVehicleEx(560,393.8833000,2443.0811000,16.0860000,-27.3600000,0,0,15); //Sultan
  1246. {
  1247. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1248. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[23], 0.0, 0.0, 0.0);
  1249. }SetVehicleNumberPlate(acars[23], "ADMIN");
  1250. acars[24] = CreateVehicle(559, 421.5461, 2472.4587, 16.0767, 90.0000, -1, -1, 100);
  1251. {
  1252. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1253. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[24], 0.0, 0.0, 0.0);
  1254. }SetVehicleNumberPlate(acars[24], "ADMIN");
  1255. acars[25] = CreateVehicle(559, 421.6373, 2468.4341, 16.0767, 90.0000, -1, -1, 100);
  1256. {
  1257. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1258. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[25], 0.0, 0.0, 0.0);
  1259. }SetVehicleNumberPlate(acars[25], "ADMIN");
  1260. acars[26] = CreateVehicle(559, 421.8161, 2464.7593, 16.0767, 90.0000, -1, -1, 100);
  1261. {
  1262. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1263. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[26], 0.0, 0.0, 0.0);
  1264. }SetVehicleNumberPlate(acars[26], "ADMIN");
  1265. acars[27] = CreateVehicle(559, 421.9554, 2461.2463, 16.0767, 90.0000, -1, -1, 100);
  1266. {
  1267. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1268. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[27], 0.0, 0.0, 0.0);
  1269. }SetVehicleNumberPlate(acars[27], "ADMIN");
  1270. acars[28] = CreateVehicle(559, 422.0742, 2457.4290, 16.0767, 90.0000, -1, -1, 100);
  1271. {
  1272. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1273. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[28], 0.0, 0.0, 0.0);
  1274. }SetVehicleNumberPlate(acars[28], "ADMIN");
  1275. acars[29] = CreateVehicle(565, 422.0060, 2448.7200, 16.0180, 31.9200, -1, -1, 100);
  1276. {
  1277. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1278. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[29], 0.0, 0.0, 0.0);
  1279. }SetVehicleNumberPlate(acars[29], "ADMIN");
  1280. acars[30] = CreateVehicle(565, 421.8614, 2443.8186, 16.0180, 31.9200, -1, -1, 100);
  1281. {
  1282. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1283. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[30], 0.0, 0.0, 0.0);
  1284. }SetVehicleNumberPlate(acars[30], "ADMIN");
  1285. acars[31] = CreateVehicle(565, 410.2276, 2456.4688, 16.0180, 31.9200, -1, -1, 100);
  1286. {
  1287. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1288. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[31], 0.0, 0.0, 0.0);
  1289. }SetVehicleNumberPlate(acars[31], "ADMIN");
  1290. acars[32] = CreateVehicle(565, 407.0722, 2456.5898, 16.0180, 31.9200, -1, -1, 100);
  1291. {
  1292. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1293. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[32], 0.0, 0.0, 0.0);
  1294. }SetVehicleNumberPlate(acars[32], "ADMIN");
  1295. acars[33] = CreateVehicle(565, 413.2060, 2456.6216, 16.0180, 31.9200, -1, -1, 100);
  1296. {
  1297. vehicle3Dtext[ vehicle_id ] = Create3DTextLabel( "[ADMIN]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 1 );
  1298. Attach3DTextLabelToVehicle( vehicle3Dtext[ vehicle_id ] , acars[33], 0.0, 0.0, 0.0);
  1299. }SetVehicleNumberPlate(acars[33], "ADMIN");
  1300. ////////////////////////////////////////////////////////////////////////////////////////////////////////
  1301. nrgrace[0] = CreateVehicle(522, 1810.9987, 871.1696, 9.9111, 0.0000, -1, -1, 100);
  1302. nrgrace[1] = CreateVehicle(522, 1809.2661, 870.9945, 9.9111, 0.0000, -1, -1, 100);
  1303. nrgrace[2] = CreateVehicle(522, 1807.6154, 870.9039, 9.9111, 0.0000, -1, -1, 100);
  1304. nrgrace[3] = CreateVehicle(522, 1805.4987, 870.7879, 9.9111, 0.0000, -1, -1, 100);
  1305. nrgrace[4] = CreateVehicle(522, 1803.8337, 870.7100, 9.9111, 0.0000, -1, -1, 100);
  1306. nrgrace[5] = CreateVehicle(522, 1802.2521, 870.6360, 9.9111, 0.0000, -1, -1, 100);
  1307.  
  1308. /////Running//
  1309. UsePlayerPedAnims();
  1310. /////////TIMERS//////////////
  1311. randommessages = SetTimer("RandomMessagesS",500000,true);
  1312. ////SETTINGS///
  1313. RespawnCar = 0;
  1314. //////////Labels and pickups//////
  1315. Create3DTextLabel(""LBLUE"Inuition Fun Server\nVersion 'EASY DEVELOPING'\nFind place that is the best for you\nAnd start fun!", 0x9EC73DAA, -22.5647,-2504.7524,36.6484, 20.0, 0, 0);
  1316. Create3DTextLabel(""YELLOW"[DEAGLE ARENA]\nGood luck!", 0x9EC73DAA, -17.9016,-2493.2449,36.6484, 20.0, 0, 0);
  1317. Create3DTextLabel(""YELLOW"[Counter-Strike ARENA]\nGood luck!", 0x9EC73DAA, -15.2836,-2497.4714,36.6484, 20.0, 0, 0);
  1318. Create3DTextLabel(""YELLOW"[M4 ARENA]\nGood luck!", 0x9EC73DAA, -12.5903,-2501.7463,36.6555, 20.0, 0, 0);
  1319. Create3DTextLabel(""YELLOW"[NRG-500 RACE]\nGood luck!", 0x9EC73DAA, -10.0076,-2505.8801,36.6555, 20.0, 0, 0);
  1320. Create3DTextLabel(""YELLOW"[LEAVE]", 0x9EC73DAA, 1322.4802,-170.0587,1002.4976, 20.0, 0, 0);
  1321. Create3DTextLabel(""YELLOW"[LEAVE]", 0x9EC73DAA, 306.0833,1995.9950,17.6406, 20.0, 0, 0);
  1322. Create3DTextLabel(""YELLOW"[LEAVE]", 0x9EC73DAA, 290.2501,1967.0287,17.6406, 20.0, 0, 0);
  1323. Create3DTextLabel(""YELLOW"[LEAVE]", 0x9EC73DAA, -8.2769,1482.9368,12.7500, 20.0, 0, 0);
  1324. Create3DTextLabel(""LBLUE"[BLUE TIM]", 0x9EC73DAA, 306.3832,1985.6903,17.6406, 20.0, 0, 0);
  1325. Create3DTextLabel(""RED"[RED TIM]", 0x9EC73DAA, 303.7382,1970.9534,17.6406, 20.0, 0, 0);
  1326. deaglepickup = CreatePickup(1254, 2, -17.9016,-2493.2449,36.6484, -1); //deagle arena enter
  1327. cspickup = CreatePickup(1254, 2, -15.2836,-2497.4714,36.6484, -1); //cs mapa arena enter
  1328. m4pickup = CreatePickup(1254, 2, -12.5903,-2501.7463,36.6555, -1); //m4 arena enter
  1329. nrg = CreatePickup(1314, 2, -10.0076,-2505.8801,36.6555, -1); //grenade arena enter
  1330. dglizlpickup = CreatePickup(1318, 2, 1322.4802,-170.0587,1002.4976, -1); //leave from deagle arene
  1331. m41izlpickup = CreatePickup(1318, 2, 306.0833,1995.9950,17.6406, -1); //leave from m4 arene plavi tim
  1332. m42izlpickup = CreatePickup(1318, 2, 290.2501,1967.0287,17.6406, -1); //leave from m4 arene crveni tim
  1333. csizlpickup = CreatePickup(1318, 2, -8.2769,1482.9368,12.7500, -1); //leave from cs-a
  1334. healthpickup = CreatePickup(1240, 3, 1295.2510,-176.8279,1002.4977, -1);
  1335. healthpickup = CreatePickup(1240, 3, 303.3230,1964.4343,17.9605, -1);
  1336. healthpickup = CreatePickup(1240, 3, 313.2904,1993.3496,21.3333, -1);
  1337. healthpickup = CreatePickup(1240, 3, 3.2399,1489.8374,12.7500, -1);
  1338. SetGameModeText("Inuition");
  1339. ShowPlayerMarkers(1);
  1340. ShowNameTags(1);
  1341. AllowAdminTeleport(1);
  1342.  
  1343. AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1344. AddPlayerClass(19,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1345. AddPlayerClass(23,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1346. AddPlayerClass(29,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1347. AddPlayerClass(48,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1348. AddPlayerClass(102,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1349. AddPlayerClass(108,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1350. AddPlayerClass(115,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1351. AddPlayerClass(116,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1352. AddPlayerClass(117,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1353. AddPlayerClass(124,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1354. AddPlayerClass(126,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1355. AddPlayerClass(122,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1356. AddPlayerClass(165,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1357. AddPlayerClass(167,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1358. AddPlayerClass(174,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1359. AddPlayerClass(270,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1360. AddPlayerClass(287,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1361. AddPlayerClass(294,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1362. AddPlayerClass(293,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1363. AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1364. AddPlayerClass(1,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1365. AddPlayerClass(6,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1366. AddPlayerClass(46,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1367. AddPlayerClass(59,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1368. AddPlayerClass(93,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1369. AddPlayerClass(101,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1370. AddPlayerClass(120,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1371. AddPlayerClass(123,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1372. AddPlayerClass(127,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1373. AddPlayerClass(137,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1374. AddPlayerClass(141,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1375. AddPlayerClass(149,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1376. AddPlayerClass(188,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1377. AddPlayerClass(189,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1378. AddPlayerClass(240,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1379. AddPlayerClass(290,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1380. AddPlayerClass(296,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1381. AddPlayerClass(299,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1382. AddPlayerClass(292,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  1383.  
  1384. return 1;
  1385. }
  1386.  
  1387. strtok(const string[], &index)
  1388. {
  1389. new length = strlen(string);
  1390. while ((index < length) && (string[index] <= ' '))
  1391. {
  1392. index++;
  1393. }
  1394.  
  1395. new offset = index;
  1396. new result[20];
  1397. while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  1398. {
  1399. result[index - offset] = string[index];
  1400. index++;
  1401. }
  1402. result[index - offset] = EOS;
  1403. return result;
  1404. }
  1405. ////////STOCKOVI OD VRATA(BALKAN JOKE) :)))/////
  1406. stock DeleteObject(playerid)
  1407. {
  1408. //SPAWN//
  1409. RemoveBuildingForPlayer(playerid, 17070, -23.3750, -2507.1250, 35.6719, 0.25);
  1410. ///M4 arena///
  1411. RemoveBuildingForPlayer(playerid, 3366, 276.6563, 1955.7656, 16.6328, 0.25);
  1412. RemoveBuildingForPlayer(playerid, 3268, 276.6563, 1955.7656, 16.6328, 0.25);
  1413. ////Admin base 2///
  1414. RemoveBuildingForPlayer(playerid, 16773, 397.4766, 2476.6328, 19.5156, 0.25);
  1415. RemoveBuildingForPlayer(playerid, 16775, 412.1172, 2476.6328, 19.5156, 0.25);
  1416. /////Something else//
  1417. return 1;
  1418. }
  1419. ///////////////////////////////
  1420. stock IgraciPath(playerid)
  1421. {
  1422. new string[128], sendername[MAX_PLAYER_NAME];
  1423. GetPlayerName(playerid,sendername, sizeof(sendername));
  1424. format(string,sizeof(string),IGRACI,sendername);
  1425. return string;
  1426. }
  1427. ///////////////////////////////
  1428. stock GetPlayerID(const Name[])
  1429. {
  1430. for(new i; i<MAX_PLAYERS; i++)
  1431. {
  1432. if(IsPlayerConnected(i))
  1433. {
  1434. new pName[MAX_PLAYER_NAME];
  1435. GetPlayerName(i, pName, sizeof(pName));
  1436. if(strcmp(Name, pName, true)==0)
  1437. {
  1438. return i;
  1439. }
  1440. }
  1441. }
  1442. return -1;
  1443. }
  1444. //////FORWARDI//////////////////
  1445. forward RandomMessagesS();
  1446. public RandomMessagesS()
  1447. {
  1448. new poruke = random(sizeof(RandomMessages));
  1449. SendClientMessageToAll(-1, RandomMessages[poruke]);
  1450. return true;
  1451. }
  1452. /////////////////////////////////
  1453. forward ClearChat(playerid, lines);
  1454. public ClearChat(playerid, lines)
  1455. {
  1456. for(new i = 0; i < lines; i++)
  1457. {
  1458. SCM(playerid, -1, " ");
  1459. }
  1460. return 1;
  1461. }
  1462. ///////////////////////////////////
  1463. forward Respawn();
  1464. public Respawn()
  1465. {
  1466. new bool:unwanted[MAX_CARS];
  1467. for(new player=0; player<MAX_PLAYERS; player++)
  1468. {
  1469. if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
  1470. }
  1471. for(new car = 1; car < MAX_CARS; car++)
  1472. {
  1473. if(!unwanted[car]) SetVehicleToRespawn(car);
  1474. }
  1475. RespawnCar = 0; SendClientMessageToAll(-1, ""LBLUE"<<< "GREY"Cars respawned "LBLUE">>>");
  1476. return 1;
  1477. }
  1478. /////////////Checkpointi////////////
  1479. public OnPlayerEnterCheckpoint(playerid)
  1480. {
  1481. GivePlayerMoney(playerid, 1500);
  1482. DisablePlayerCheckpoint(playerid);
  1483. SendClientMessage(playerid, -1, ""YELLOW"[WARNING] | "WHITE"You finished the race!");
  1484. return 1;
  1485. }
  1486. ///////////INI OCITAVANJA//////////
  1487. forward LoadUser_data(playerid,name[],value[]);
  1488. public LoadUser_data(playerid,name[],value[])
  1489. {
  1490. INI_Int("Novac",PlayerInfo[playerid][pNovac]);
  1491. INI_Int("Ubistava",PlayerInfo[playerid][pUbistava]);
  1492. INI_Int("Smrti",PlayerInfo[playerid][pSmrti]);
  1493. INI_Int("Score",PlayerInfo[playerid][pScore]);
  1494. return 1;
  1495. }
  1496. /////////////////////////////////////
  1497. stock SavePlayer(playerid)
  1498. {
  1499. if(IsPlayerConnected(playerid))
  1500. {
  1501. new INI:File = INI_Open(IgraciPath(playerid));
  1502. INI_SetTag(File,"data");
  1503. INI_WriteInt(File,"Novac",PlayerInfo[playerid][pNovac]);
  1504. INI_WriteInt(File,"Ubistava",PlayerInfo[playerid][pUbistava]);
  1505. INI_WriteInt(File,"Smrti",PlayerInfo[playerid][pSmrti]);
  1506. INI_WriteInt(File,"Score",PlayerInfo[playerid][pScore]);
  1507. INI_Close(File);
  1508. }
  1509. return 1;
  1510. }
  1511. /////////Dialozi//////////////////////
  1512. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1513. {
  1514. if(dialogid == TEAMS1)
  1515. {
  1516. if(!response)
  1517. {
  1518. return 1;
  1519. }
  1520. if(response)
  1521. {
  1522. if(listitem == 0)
  1523. {
  1524. SetPlayerPos(playerid, 317.5467,1979.3348,17.6406);
  1525. GivePlayerWeapon(playerid,31,1000);
  1526. SetPlayerArmour(playerid, 100);
  1527. SetPlayerColor(playerid, 0x00CCFF);
  1528. SetPlayerHealth(playerid,100);
  1529. SCM(playerid,-1,""YELLOW"[ITN] "WHITE"You joined blue team!");
  1530. SCM(playerid,-1,""RED"[WARNING] "WHITE"You are in M4 arena and map is small.SPAWN-KILL is restricted!");
  1531. }
  1532. if(listitem == 1)
  1533. {
  1534. SetPlayerPos(playerid, 317.5983,1958.3188,17.6406);
  1535. GivePlayerWeapon(playerid,31,1000);
  1536. SetPlayerArmour(playerid, 100);
  1537. SetPlayerColor(playerid, 0xFF0000FF);
  1538. SetPlayerHealth(playerid,100);
  1539. SCM(playerid,-1,""YELLOW"[ITN] "WHITE"You joined red team");
  1540. SCM(playerid,-1,""RED"[WARNING] "WHITE"You are in M4 arena and map is small.SPAWN-KILL is restricted!");
  1541. }
  1542. }
  1543. return 1;
  1544. }
  1545.  
  1546. if(dialogid == OBJECTS)
  1547. {
  1548. if(!response)
  1549. {
  1550. return 1;
  1551. }
  1552. if(response)
  1553. {
  1554. if(listitem == 0)
  1555. {
  1556. SetPlayerAttachedObject( playerid, 0, 356, 1, 0.222186, -0.146085, 0.085346, 0.000000, 151.341934, 0.000000, 1.000000, 1.000000, 1.000000 ); // m4 - m4
  1557. }
  1558. if(listitem == 1)
  1559. {
  1560. SetPlayerAttachedObject( playerid, 3, 3461, 6, 0.069429, 0.032604, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // tikitorch01_lvs - baklja
  1561. }
  1562. if(listitem == 2)
  1563. {
  1564. SetPlayerAttachedObject( playerid, 4, 373, 1, 0.286601, -0.014752, -0.169651, 74.940216, 23.071197, 33.927280, 1.000000, 1.000000, 1.000000 ); // armour - pancir
  1565. }
  1566. if(listitem == 3)
  1567. {
  1568. SetPlayerAttachedObject( playerid, 2, 19086, 8, -0.049768, -0.014062, -0.108385, 87.458297, 263.478149, 184.123764, 0.622413, 1.041609, 1.012785 ); // ChainsawDildo1 - lolatdick
  1569. }
  1570. if(listitem == 4)
  1571. {
  1572. SetPlayerAttachedObject( playerid, 5, 1274, 1, 0.806575, 0.052928, 0.013146, 0.000000, 87.540878, 0.000000, 1.000000, 1.000000, 1.000000 ); // bigdollar - dolar
  1573. }
  1574. if(listitem == 5)
  1575. {
  1576. SetPlayerSpecialAction(playerid, 21);
  1577. SCM(playerid,-1,""RED"[ITN-HELP] "WHITE"Da ugasite cigaru pritisnite ENTER");
  1578. }
  1579. if(listitem == 6)
  1580. {
  1581. SetPlayerAttachedObject( playerid, 6, 3524, 6, 0.100679, -0.061841, 2.545831, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // skullpillar01_lvs - vatrenikostur
  1582. }
  1583. if(listitem == 7)
  1584. {
  1585. SetPlayerAttachedObject( playerid, 7, 954, 1, 0.954922, 0.030687, 0.000000, 0.000000, 268.403228, 0.000000, 1.000000, 1.000000, 1.000000 ); // cj_horse_Shoe - potkovica
  1586. }
  1587. if(listitem == 8)
  1588. {
  1589. SetPlayerAttachedObject( playerid, 0, 1550, 1, -0.008714, -0.188819, -0.026564, 159.138153, 86.558647, 0.000000, 1.005565, 0.984468, 1.014210 ); // CJ_MONEY_BAG -
  1590. }
  1591. if(listitem == 9)
  1592. {
  1593. SetPlayerAttachedObject( playerid, 8, 19078, 1, 0.311434, -0.063826, -0.161611, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // TheParrot1 - papagaj
  1594. }
  1595. if(listitem == 10)
  1596. {
  1597. SetPlayerAttachedObject( playerid, 9, 339, 1, -0.248040, 0.000000, 0.178634, 88.912078, 172.776626, 5.334595, 1.000000, 1.000000, 1.000000 ); // katana - sablja
  1598. }
  1599. if(listitem == 11)
  1600. {
  1601. SetPlayerAttachedObject( playerid, 1, 341, 1, -0.340437, -0.203787, -0.068695, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // chnsaw - testera
  1602. }
  1603. if(listitem == 12)
  1604. {
  1605. SetPlayerAttachedObject( playerid, 2, 674, 1, -1.193789, 0.051014, 0.099190, 0.000000, 90.430030, 0.000000, 1.000000, 1.000000, 1.000000 ); // sm_des_josh_lrg1 - drvo
  1606. }
  1607. if(listitem == 13)
  1608. {
  1609. SetPlayerAttachedObject( playerid, 3, 1211, 1, 0.916536, 0.012704, -0.003792, 0.000000, 89.479736, 0.000000, 1.000000, 1.000000, 1.000000 ); // fire_hydrant - vodokotlic
  1610. }
  1611. if(listitem == 14)
  1612. {
  1613. SetPlayerAttachedObject( playerid, 6, 1371, 1, 0.177012, 0.000000, -0.008047, 0.000000, 89.795104, 182.353408, 1.000000, 1.000000, 1.000000 ); // CJ_HIPPO_BIN - nilski
  1614. }
  1615. if(listitem == 15)
  1616. {
  1617. SetPlayerSpecialAction(playerid, 68);
  1618. SCM(playerid,-1,""RED"[ITN-HELP] "WHITE"To turn back your dick in your underwear,press ENTER!");
  1619. }
  1620. }
  1621. return 1;
  1622. }
  1623.  
  1624. if(dialogid == MUSIC)
  1625. {
  1626. if(!response)
  1627. {
  1628. return 1;
  1629. }
  1630. if(response)
  1631. {
  1632. if(listitem == 0)
  1633. {
  1634. for( new u; u < MAX_PLAYERS; u++ )
  1635. {
  1636. PlayAudioStreamForPlayer( u, "http://k003.kiwi6.com/hotlink/my7zz83knx/Dr._Dre_feat._Snoop_Dogg_-_Still_Dre_Lyrics_.mp3" );
  1637. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1638. }
  1639. }
  1640. if(listitem == 1)
  1641. {
  1642. for( new u; u < MAX_PLAYERS; u++ )
  1643. {
  1644. PlayAudioStreamForPlayer( u, "http://k007.kiwi6.com/hotlink/kao5q8tu4g/OneRepublic_-_Counting_Stars_1_.mp3" );
  1645. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1646. }
  1647. }
  1648. if(listitem == 2)
  1649. {
  1650. for( new u; u < MAX_PLAYERS; u++ )
  1651. {
  1652. PlayAudioStreamForPlayer( u, "http://k007.kiwi6.com/hotlink/v1k7rj2zj3/Cars_Life_is_a_Highway.mp3" );
  1653. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1654. }
  1655. }
  1656. if(listitem == 3)
  1657. {
  1658. for( new u; u < MAX_PLAYERS; u++ )
  1659. {
  1660. PlayAudioStreamForPlayer( u, "http://k007.kiwi6.com/hotlink/ezt0azlaqp/Bob_Marley_-_A_lalala_long.mp3" );
  1661. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1662. }
  1663. }
  1664. if(listitem == 4)
  1665. {
  1666. for( new u; u < MAX_PLAYERS; u++ )
  1667. {
  1668. PlayAudioStreamForPlayer( u, "http://k007.kiwi6.com/hotlink/5bfzrdk6me/Avicii_-_Wake_Me_Up_Official_Video_.mp3" );
  1669. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1670. }
  1671. }
  1672. if(listitem == 5)
  1673. {
  1674. for( new u; u < MAX_PLAYERS; u++ )
  1675. {
  1676. PlayAudioStreamForPlayer( u, "http://k003.kiwi6.com/hotlink/zt792nqjre/Ellie_Goulding_-_Burn.mp3" );
  1677. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1678. }
  1679. }
  1680. if(listitem == 6)
  1681. {
  1682. for( new u; u < MAX_PLAYERS; u++ )
  1683. {
  1684. PlayAudioStreamForPlayer( u, "http://k007.kiwi6.com/hotlink/s3y8478prg/Pitbull_-_Timber_ft._Ke_ha.mp3" );
  1685. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1686. }
  1687. }
  1688. if(listitem == 7)
  1689. {
  1690. for( new u; u < MAX_PLAYERS; u++ )
  1691. {
  1692. PlayAudioStreamForPlayer( u, "http://k003.kiwi6.com/hotlink/hp642d9tgo/Jason_Derulo_-_Wiggle_feat._Snoop_Dogg_Official_HD_Music_Video_.mp3" );
  1693. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1694. }
  1695. }
  1696. if(listitem == 8)
  1697. {
  1698. for( new u; u < MAX_PLAYERS; u++ )
  1699. {
  1700. PlayAudioStreamForPlayer( u, "http://k003.kiwi6.com/hotlink/dymed0yjzl/Eminem_-_Not_Afraid.mp3" );
  1701. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1702. }
  1703. }
  1704. if(listitem == 9)
  1705. {
  1706. for( new u; u < MAX_PLAYERS; u++ )
  1707. {
  1708. PlayAudioStreamForPlayer( u, "http://k003.kiwi6.com/hotlink/ngn0mg23uo/Pitbull_-_Rain_Over_Me_ft._Marc_Anthony.mp3" );
  1709. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1710. }
  1711. }
  1712. if(listitem == 10)
  1713. {
  1714. for( new u; u < MAX_PLAYERS; u++ )
  1715. {
  1716. PlayAudioStreamForPlayer( u, "http://k003.kiwi6.com/hotlink/bslqpll9u8/Taylor_Swift_-_Shake_It_Off.mp3" );
  1717. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1718. }
  1719. }
  1720. if(listitem == 11)
  1721. {
  1722. for( new u; u < MAX_PLAYERS; u++ )
  1723. {
  1724. PlayAudioStreamForPlayer( u, "http://k003.kiwi6.com/hotlink/17pfsa7fes/Wiz_Khalifa_-_Black_And_Yellow_Official_Music_Video_.mp3" );
  1725. SendClientMessageToAll(-1, ""YELLOW"[WARNING] | "WHITE"Admin has turned on music.Type /stopmusic to stop");
  1726. }
  1727. }
  1728. }
  1729. return 1;
  1730. }
  1731.  
  1732. if(dialogid == WHEELS)
  1733. {
  1734. if(!response)
  1735. {
  1736. return 1;
  1737. }
  1738. if(response)
  1739. {
  1740. if(listitem == 0)
  1741. {
  1742. AddVehicleComponent(GetPlayerVehicleID(playerid), 1025);
  1743. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1744. }
  1745. if(listitem == 1)
  1746. {
  1747. AddVehicleComponent(GetPlayerVehicleID(playerid), 1073);
  1748. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1749. }
  1750. if(listitem == 2)
  1751. {
  1752. AddVehicleComponent(GetPlayerVehicleID(playerid), 1074);
  1753. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1754. }
  1755. if(listitem == 3)
  1756. {
  1757. AddVehicleComponent(GetPlayerVehicleID(playerid), 1075);
  1758. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1759. }
  1760. if(listitem == 4)
  1761. {
  1762. AddVehicleComponent(GetPlayerVehicleID(playerid), 1076);
  1763. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1764. }
  1765. if(listitem == 5)
  1766. {
  1767. AddVehicleComponent(GetPlayerVehicleID(playerid), 1077);
  1768. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1769. }
  1770. if(listitem == 6)
  1771. {
  1772. AddVehicleComponent(GetPlayerVehicleID(playerid), 1078);
  1773. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1774. }
  1775. if(listitem == 7)
  1776. {
  1777. AddVehicleComponent(GetPlayerVehicleID(playerid), 1079);
  1778. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1779. }
  1780. if(listitem == 8)
  1781. {
  1782. AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
  1783. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1784. }
  1785. if(listitem == 9)
  1786. {
  1787. AddVehicleComponent(GetPlayerVehicleID(playerid), 1081);
  1788. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1789. }
  1790. if(listitem == 10)
  1791. {
  1792. AddVehicleComponent(GetPlayerVehicleID(playerid), 1082);
  1793. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1794. }
  1795. if(listitem == 11)
  1796. {
  1797. AddVehicleComponent(GetPlayerVehicleID(playerid), 1083);
  1798. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1799. }
  1800. if(listitem == 12)
  1801. {
  1802. AddVehicleComponent(GetPlayerVehicleID(playerid), 1084);
  1803. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1804. }
  1805. if(listitem == 13)
  1806. {
  1807. AddVehicleComponent(GetPlayerVehicleID(playerid), 1085);
  1808. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1809. }
  1810. if(listitem == 14)
  1811. {
  1812. AddVehicleComponent(GetPlayerVehicleID(playerid), 1096);
  1813. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1814. }
  1815. if(listitem == 15)
  1816. {
  1817. AddVehicleComponent(GetPlayerVehicleID(playerid), 1097);
  1818. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1819. }
  1820. if(listitem == 16)
  1821. {
  1822. AddVehicleComponent(GetPlayerVehicleID(playerid), 1098);
  1823. GameTextForPlayer(playerid, "~g~WHEELS changed", 3000, 1);
  1824. }
  1825. }
  1826. return 1;
  1827. }
  1828.  
  1829. if(dialogid == PAINTJOB)
  1830. {
  1831. if(!response)
  1832. {
  1833. return 1;
  1834. }
  1835. if(response)
  1836. {
  1837. if(listitem == 0)
  1838. {
  1839. ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 0);
  1840. GameTextForPlayer(playerid, "~g~Paintjob changed", 2000, 6);
  1841. }
  1842. if(listitem == 1)
  1843. {
  1844. ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 1);
  1845. GameTextForPlayer(playerid, "~g~Paintjob changed", 2000, 6);
  1846. }
  1847. if(listitem == 2)
  1848. {
  1849. ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 2);
  1850. GameTextForPlayer(playerid, "~g~Paintjob changed", 2000, 6);
  1851. }
  1852. if(listitem == 3)
  1853. {
  1854. ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), 3);
  1855. GameTextForPlayer(playerid, "~g~Paintjob changed", 2000, 6);
  1856. }
  1857. }
  1858. return 1;
  1859. }
  1860.  
  1861. if(dialogid == VCOLOR)
  1862. {
  1863. if(!response)
  1864. {
  1865. return 1;
  1866. }
  1867. if(response)
  1868. {
  1869. if(listitem == 0)
  1870. {
  1871. ChangeVehicleColor(GetPlayerVehicleID(playerid), 1, 1);
  1872. GameTextForPlayer(playerid, "~g~Boja changed", 2000, 6);
  1873. }
  1874. if(listitem == 1)
  1875. {
  1876. ChangeVehicleColor(GetPlayerVehicleID(playerid), 2, 7);
  1877. GameTextForPlayer(playerid, "~g~Boja changed", 2000, 6);
  1878. }
  1879. if(listitem == 2)
  1880. {
  1881. ChangeVehicleColor(GetPlayerVehicleID(playerid), 6, 6);
  1882. GameTextForPlayer(playerid, "~g~Boja changed", 2000, 6);
  1883. }
  1884. if(listitem == 3)
  1885. {
  1886. ChangeVehicleColor(GetPlayerVehicleID(playerid), 3, 3);
  1887. GameTextForPlayer(playerid, "~g~Boja changed", 2000, 6);
  1888. }
  1889. if(listitem == 4)
  1890. {
  1891. ChangeVehicleColor(GetPlayerVehicleID(playerid), 16, 16);
  1892. GameTextForPlayer(playerid, "~g~Boja changed", 2000, 6);
  1893. }
  1894. if(listitem == 5)
  1895. {
  1896. ChangeVehicleColor(GetPlayerVehicleID(playerid), 0, 0);
  1897. GameTextForPlayer(playerid, "~g~Boja changed", 2000, 6);
  1898. }
  1899. }
  1900. return 1;
  1901. }
  1902.  
  1903. if(dialogid == FIGHTSTYLE)
  1904. {
  1905. if(!response)
  1906. {
  1907. return 1;
  1908. }
  1909. if(response)
  1910. {
  1911. if(listitem == 0)
  1912. {
  1913. SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
  1914. GameTextForPlayer(playerid, "~g~Kneehad", 2000, 6);
  1915. }
  1916. if(listitem == 1)
  1917. {
  1918. SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
  1919. GameTextForPlayer(playerid, "~g~Kungfu", 2000, 6);
  1920. }
  1921. if(listitem == 2)
  1922. {
  1923. SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
  1924. GameTextForPlayer(playerid, "~g~Boxing", 2000, 6);
  1925. }
  1926. if(listitem == 3)
  1927. {
  1928. SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
  1929. GameTextForPlayer(playerid, "~g~Grabkick", 2000, 6);
  1930. }
  1931. if(listitem == 4)
  1932. {
  1933. SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
  1934. GameTextForPlayer(playerid, "~g~Elbow", 2000, 6);
  1935. }
  1936. if(listitem == 5)
  1937. {
  1938. SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
  1939. GameTextForPlayer(playerid, "~g~Normal", 2000, 6);
  1940. }
  1941. }
  1942. return 1;
  1943. }
  1944.  
  1945. if(dialogid == TEAMS)
  1946. {
  1947. if(!response)
  1948. {
  1949. return 1;
  1950. }
  1951. if(response)
  1952. {
  1953. if(listitem == 0)
  1954. {
  1955. SetPlayerPos(playerid, -47.8881,1513.6719,12.7500);
  1956. GivePlayerWeapon(playerid,31,500);
  1957. GivePlayerWeapon(playerid,16,1);
  1958. GivePlayerWeapon(playerid,24,500);
  1959. GivePlayerWeapon(playerid,3,1);
  1960. SetPlayerArmour(playerid, 100);
  1961. SetPlayerSkin(playerid, 285);
  1962. SetPlayerHealth(playerid,100);
  1963. PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/hzfahqb4e7/counter_strike_jingle_-_cs_radio-go_go_go.mp3");
  1964. SetPlayerColor(playerid, 0x00CCFF);
  1965. SCM(playerid,-1,""YELLOW"[ITN] "WHITE"You joined with Counter-Terrorists!\nYour task is to prevend terrorists to shoot at gas!");
  1966. }
  1967. if(listitem == 1)
  1968. {
  1969. SetPlayerPos(playerid, 58.0092,1528.5308,13.9239);
  1970. GivePlayerWeapon(playerid,5,1);
  1971. GivePlayerWeapon(playerid,16,1);
  1972. GivePlayerWeapon(playerid,22,500);
  1973. GivePlayerWeapon(playerid,30,500);
  1974. SetPlayerArmour(playerid, 100);
  1975. SetPlayerSkin(playerid, 73);
  1976. SetPlayerHealth(playerid,100);
  1977. PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/hzfahqb4e7/counter_strike_jingle_-_cs_radio-go_go_go.mp3");
  1978. SetPlayerColor(playerid, 0xFF0000FF);
  1979. SCM(playerid,-1,""YELLOW"[ITN] "WHITE"You joined with Terrorists!\nYour task is to shoot at gas before CS stop you!");
  1980. }
  1981. }
  1982. }
  1983. return 1;
  1984. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement