Guest User

Untitled

a guest
Feb 6th, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 121.09 KB | None | 0 0
  1. /*
  2. DeathMatch Starling City
  3. © v1.0 by Shomy
  4.  
  5. Informacije o modu:
  6.  
  7. Radio - Shomy
  8. Mod pocet - 28.12.2017.
  9. Mod zavrsen - 4.1.2018.
  10. Skripta ima 2211 linija
  11.  
  12. SC:DM
  13. */
  14.  
  15. // INCLUDE //
  16.  
  17. #include < a_samp >
  18. #include < YSI\y_ini >
  19. #include < YSI\y_commands >
  20. #include < sscanf2 >
  21. #include < foreach >
  22.  
  23. // DEFINE //
  24.  
  25. #undef MAX_PLAYERS
  26. #define MAX_PLAYERS 100
  27. #define MAX_VOZILA 1000
  28.  
  29. #define PATH "/Korisnici/%s.ini"
  30. #define VOZILA_FILE "/Vozila/%d.ini"
  31. #define TERITORIJE_FILE "/Teritorije/%s.ini"
  32.  
  33. #define SCM SendClientMessage
  34. #define SCMTA SendClientMessageToAll
  35. #define SPD ShowPlayerDialog
  36. #define DSM DIALOG_STYLE_MSGBOX
  37. #define DSL DIALOG_STYLE_LIST
  38. #define DSI DIALOG_STYLE_INPUT
  39. #define IPI INVALID_PLAYER_ID
  40.  
  41. #define ZELENA 0x008000FF
  42. #define BELA 0xFFFFFFFF
  43.  
  44. #define COL_SERVER "{008000}"
  45. #define COL_BELA "{FFFFFF}"
  46.  
  47. #define DIALOG_REGISTER 1
  48. #define DIALOG_LOGIN 2
  49. #define DIALOG_EMAIL 3
  50. #define DIALOG_GUNMENU 4
  51. #define DIALOG_GUNMENU1 5
  52.  
  53. // ENUM //
  54.  
  55. enum pInfo
  56. {
  57. pLozinka,
  58. pNovac,
  59. pAdmin,
  60. pUbistva,
  61. pSmrti,
  62. pTim,
  63. pPol,
  64. pSkin,
  65. pLevel
  66. }
  67. enum vInfo
  68. {
  69. Float:PosX,
  70. Float:PosY,
  71. Float:PosZ,
  72. Float:RotA,
  73. Boja1,
  74. Boja2,
  75. vTim,
  76. vID,
  77. Model
  78. }
  79.  
  80. // NEW //
  81.  
  82. new PlayerInfo[ MAX_PLAYERS ][ pInfo ];
  83. new PlayerText:RegisterTD[ MAX_PLAYERS ][ 47 ], PlayerText:InGameTD[MAX_PLAYERS][18];
  84. new LoginPokusaji[ MAX_PLAYERS ], bool:IzabraoLozinku[ MAX_PLAYERS ], bool:IzabraoEmail[ MAX_PLAYERS ], Stranica[ MAX_PLAYERS ];
  85. new PlayerText:OdabirTimaTD[ MAX_PLAYERS ][ 24 ];
  86. new bool:KreiraoVozilo[ MAX_PLAYERS ];
  87. new bool:KapijaSWATOtvorena;
  88. new KapijaMoveT, Kapije[ 4 ], KapijaMoveVT, KapijaMoveAT;
  89. new bool:KapijaARMYOtvorena, bool:KapijaARMY1Otvorena;
  90. new RPorukeT[ MAX_PLAYERS ];
  91. new OnlineIgraci = 0, RekordIgraca;
  92. new VehInfo[ MAX_VOZILA ][ vInfo ], Text3D:VehLabel[ sizeof(VehInfo) ], KreiranaVozila = 0;
  93. new gangzone[ 3 ];
  94. new zballaspickup, zgsfpickup, zlsvpickup;
  95. new Text3D:zballaslabel, Text3D:zgsflabel, Text3D:zlsvlabel;
  96. new bool:Zauzima[ MAX_PLAYERS ];
  97. new ballaszt, gsfzt, lsvzt;
  98. new BallasZauzetOdStrane, GSFZauzetOdStrane, LSVZauzetOdStrane;
  99. new String[128], Float:SpecX[MAX_PLAYERS], Float:SpecY[MAX_PLAYERS], Float:SpecZ[MAX_PLAYERS], vWorld[MAX_PLAYERS], Inter[MAX_PLAYERS];
  100. new IsSpecing[MAX_PLAYERS], Name[MAX_PLAYER_NAME], IsBeingSpeced[MAX_PLAYERS],spectatorid[MAX_PLAYERS];
  101. new bool:TestUkljucen;
  102.  
  103. new RandomPorukeTD[ ][ 100 ] =
  104. {
  105. "Trenutno_igrate_na_SCDM_v1.0_modu_by_Shomy",
  106. "Zelite da promenite tim? Kucajte /promeniteam",
  107. "Oruzje mozete kupiti komandom /gunmenu",
  108. "Vidite citera? Prijavite ga komandom /report"
  109. };
  110.  
  111. // PUBLIC //
  112.  
  113. main() {
  114. print("= Starling City DeathMatch =\n");
  115. print("v1.0 gamemode - Loading...");
  116. print("v1.0 gamemode - Loaded.");
  117. print("v1.0 gamemode by Shomy\n");
  118. print("= Starling City DeathMatch =");
  119. }
  120.  
  121. forward KolkoJeSadaRekord();
  122. public KolkoJeSadaRekord()
  123. {
  124. new strFromFile[24], arrCoords[6][5], File: file = fopen("rekord.txt", io_read);
  125. if ( file )
  126. {
  127. fread( file, strFromFile );
  128. razdvajanje( strFromFile, arrCoords, ',' );
  129. RekordIgraca = strval( arrCoords[0] );
  130. fclose( file );
  131. }
  132. return 1;
  133. }
  134.  
  135. forward LoadUser_data(playerid,name[],value[]);
  136. public LoadUser_data(playerid,name[],value[])
  137. {
  138. INI_Int("Lozinka",PlayerInfo[playerid][pLozinka]);
  139. INI_Int("Novac",PlayerInfo[playerid][pNovac]);
  140. INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
  141. INI_Int("Ubistva",PlayerInfo[playerid][pUbistva]);
  142. INI_Int("Smrti",PlayerInfo[playerid][pSmrti]);
  143. INI_Int("Pol",PlayerInfo[playerid][pPol]);
  144. INI_Int("Tim",PlayerInfo[playerid][pTim]);
  145. INI_Int("Level",PlayerInfo[playerid][pLevel]);
  146. INI_Int("Skin",PlayerInfo[playerid][pSkin]);
  147. return 1;
  148. }
  149. forward RandomPoruke(playerid);
  150. public RandomPoruke(playerid)
  151. {
  152. new str[ 50 ];
  153. format(str,sizeof(str), "%s", RandomPorukeTD[ random( sizeof( RandomPorukeTD ) ) ]);
  154. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 10 ], str);
  155. return 1;
  156. }
  157. forward VremeDatumTimer(playerid);
  158. public VremeDatumTimer(playerid)
  159. {
  160. new h,m,s,str[ 30 ];
  161. gettime(h,m,s);
  162. format(str, sizeof(str), "%s%d:%s%d:%s%d", (h < 10) ? ("0") : (""), h, (m < 10) ? ("0") : (""), m, (s < 10) ? ("0") : (""), s);
  163. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 4 ], str);
  164. new god,mes,dan,str1[ 30 ];
  165. getdate(god,mes,dan);
  166. format(str1, sizeof(str1), "%d.%d.%d.", dan, mes, god);
  167. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 5 ], str1);
  168. return 1;
  169. }
  170. public OnPlayerSpawn(playerid)
  171. {
  172. Stranica[ playerid ] = 0;
  173. TogglePlayerControllable(playerid, true);
  174. TogglePlayerSpectating(playerid, false);
  175. GivePlayerWeapon(playerid, 24, 100);
  176. GivePlayerWeapon(playerid, 30, 100);
  177. for(new i; i < 18; i++) { PlayerTextDrawShow(playerid, InGameTD[ playerid ][ i ]); }
  178. RPorukeT[ playerid ] = SetTimerEx("RandomPoruke", 10000, true, "i", playerid);
  179. SetTimerEx("VremeDatumTimer", 1000, true, "i", playerid);
  180. new str[ 15 ];
  181. format(str,sizeof(str), "Online_%d", OnlineIgraci);
  182. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 16 ], str);
  183. new str1[ 15 ];
  184. format(str1,sizeof(str1), "Rekord_%d", RekordIgraca);
  185. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 17 ], str1);
  186. new str2[ 15 ];
  187. format(str2,sizeof(str2), "Kills - %d", PlayerInfo[ playerid ][ pUbistva ]);
  188. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 0 ], str2);
  189. new str3[ 15 ];
  190. format(str3,sizeof(str3), "Deaths - %d", PlayerInfo[ playerid ][ pSmrti ]);
  191. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 1 ], str3);
  192. new str4[ 15 ];
  193. format(str4,sizeof(str4), "Score - %d", GetPlayerScore(playerid));
  194. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 2 ], str4);
  195. GangZoneShowForPlayer(playerid, gangzone[ 0 ], 0x008000AA); // GSF
  196. GangZoneShowForPlayer(playerid, gangzone[ 1 ], 0xE5FF00AA); // LSV
  197. GangZoneShowForPlayer(playerid, gangzone[ 2 ], 0x6F00FFAA); // BALLAS
  198. return 1;
  199. }
  200. forward OcitajVozilo(id, name[], value[]);
  201. public OcitajVozilo(id, name[], value[])
  202. {
  203. INI_Float("LokacijaX", VehInfo[ id ][ PosX ]);
  204. INI_Float("LokacijaY", VehInfo[ id ][ PosY ]);
  205. INI_Float("LokacijaZ", VehInfo[ id ][ PosZ ]);
  206. INI_Float("RotacijaA", VehInfo[ id ][ RotA ]);
  207. INI_Int("VehTim", VehInfo[ id ][ vTim ]);
  208. INI_Int("Boja1", VehInfo[ id ][ Boja1 ]);
  209. INI_Int("Boja2", VehInfo[ id ][ Boja2 ]);
  210. INI_Int("Model", VehInfo[ id ][ Model ]);
  211. return 1;
  212. }
  213. public OnGameModeInit()
  214. {
  215. SetGameModeText("SCDM v1.0 by Shomy");
  216. Kapije[ 0 ] = CreateObject(980, 1465.67749, -1491.20459, 15.29210, 0.00000, 0.00000, 90.00000);
  217. Kapije[ 1 ] = CreateObject(980, 1465.62134, -1502.65735, 15.29210, 0.00000, 0.00000, 269.61078);
  218. Kapije[ 2 ] = CreateObject(980, 2720.04370, -2405.55933, 12.54500, 0.00000, 0.00000, 90.00000);
  219. Kapije[ 3 ] = CreateObject(980, 2720.20825, -2504.04053, 12.54500, 0.00000, 0.00000, 90.00000);
  220. CreateObject(8210, 1544.77551, -1493.58203, 15.41752, 0.00000, 0.00000, 90.00000);
  221. DisableInteriorEnterExits();
  222. KolkoJeSadaRekord();
  223. LoadVeh();
  224. gangzone[ 0 ] = GangZoneCreate(2428.0840,-1629.1228, 2542.9517,-1720.6327); // GSF
  225. gangzone[ 1 ] = GangZoneCreate(2531.5193,-1053.8260, 2628.6301,-1131.9449); // LSV
  226. gangzone[ 2 ] = GangZoneCreate(2122.3401,-1508.7163, 2202.6970,-1393.9833); // BALLAS
  227. zballaspickup = CreatePickup(1254, 1, 2126.0322,-1445.4745,23.9910, -1);
  228. zballaslabel = Create3DTextLabel("[ Ballas ]\n{FFFFFF}/zauzmi", 0x6F00FFFF, 2126.0322,-1445.4745,23.9910, 15.0, 0, 0);
  229. zgsfpickup = CreatePickup(1254, 1, 2490.3318,-1668.3350,13.3438, -1);
  230. zgsflabel = Create3DTextLabel("[ GSF ]\n{FFFFFF}/zauzmi", ZELENA, 2490.3318,-1668.3350,13.3438, 15.0, 0, 0);
  231. zlsvpickup = CreatePickup(1254, 1, 2575.6936,-1123.5803,65.5335, -1);
  232. zlsvlabel = Create3DTextLabel("[ LS Vagos ]\n{FFFFFF}/zauzmi", 0xFFFF00FF, 2575.6936,-1123.5803,65.5335, 15.0, 0, 0);
  233. return 1;
  234. }
  235. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  236. {
  237. if(newkeys == KEY_CROUCH)
  238. {
  239. if(IsPlayerInRangeOfPoint(playerid, 4.0, 1465.2678,-1496.9513,13.5469))
  240. {
  241. if(PlayerInfo[ playerid ][ pTim ] == 4 || PlayerInfo[ playerid ][ pTim ] == 5)
  242. {
  243. if(!KapijaSWATOtvorena)
  244. {
  245. MoveObject(Kapije[ 0 ], 1465.67749, -1484.4369, 15.29210, 3.0);
  246. MoveObject(Kapije[ 1 ], 1465.67749, -1509.9569, 15.29210, 3.0);
  247. KapijaMoveT = SetTimerEx("KapijaMove", 10000, false, "i", playerid);
  248. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Otvorili ste kapiju, zatvorice se automatski za 10 sekundi.");
  249. KapijaSWATOtvorena = true;
  250. }
  251. else
  252. {
  253. MoveObject(Kapije[ 0 ], 1465.67749, -1491.20459, 15.29210, 3.0);
  254. MoveObject(Kapije[ 1 ], 1465.62134, -1502.65735, 15.29210, 3.0);
  255. KillTimer(KapijaMoveT);
  256. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Zatvorili ste kapiju.");
  257. KapijaSWATOtvorena = false;
  258. }
  259. }
  260. }
  261. else if(IsPlayerInRangeOfPoint(playerid, 4.0, 2720.2083, -2504.0405, 12.5450))
  262. {
  263. if(PlayerInfo[ playerid ][ pTim ] == 4 || PlayerInfo[ playerid ][ pTim ] == 5)
  264. {
  265. if(!KapijaARMYOtvorena)
  266. {
  267. MoveObject(Kapije[ 3 ], 2720.2083, -2504.0405, 9.7726, 3.0);
  268. KapijaMoveVT = SetTimerEx("KapijaMoveAR", 10000, false, "i", playerid);
  269. KapijaARMYOtvorena = true;
  270. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Otvorili ste kapiju, zatvorice se automatski za 10 sekundi.");
  271. }
  272. else
  273. {
  274. MoveObject(Kapije[ 3 ], 2720.2083, -2504.0405, 12.54500, 3.0);
  275. KillTimer(KapijaMoveVT);
  276. KapijaARMYOtvorena = false;
  277. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Zatvorili ste kapiju.");
  278. }
  279. }
  280. }
  281. else if(IsPlayerInRangeOfPoint(playerid, 4.0, 2720.04370, -2405.55933, 12.54500))
  282. {
  283. if(PlayerInfo[ playerid ][ pTim ] == 4 || PlayerInfo[ playerid ][ pTim ] == 5)
  284. {
  285. if(!KapijaARMY1Otvorena)
  286. {
  287. MoveObject(Kapije[ 2 ], 2720.04370, -2405.55933, 9.7726, 3.0);
  288. KapijaMoveAT = SetTimerEx("KapijaMoveARM", 10000, false, "i", playerid);
  289. KapijaARMY1Otvorena = true;
  290. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Otvorili ste kapiju, zatvorice se automatski za 10 sekundi.");
  291. }
  292. else
  293. {
  294. MoveObject(Kapije[ 2 ], 2720.04370, -2405.55933, 12.54500, 3.0);
  295. KillTimer(KapijaMoveAT);
  296. KapijaARMY1Otvorena = false;
  297. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Zatvorili ste kapiju.");
  298. }
  299. }
  300. }
  301. }
  302. return 1;
  303. }
  304. public OnPlayerPickUpPickup(playerid, pickupid)
  305. {
  306. if(pickupid == zballaspickup) return 0;
  307. else if(pickupid == zgsfpickup) return 0;
  308. else if(pickupid == zlsvpickup) return 0;
  309. return 1;
  310. }
  311. forward KapijaMoveARM();
  312. public KapijaMoveARM()
  313. {
  314. MoveObject(Kapije[ 2 ], 2720.04370, -2405.55933, 12.54500, 3.0);
  315. KapijaARMY1Otvorena = false;
  316. return 1;
  317. }
  318. forward KapijaMoveAR();
  319. public KapijaMoveAR()
  320. {
  321. MoveObject(Kapije[ 3 ], 2720.2083, -2504.0405, 12.54500, 3.0);
  322. KapijaARMYOtvorena = false;
  323. return 1;
  324. }
  325.  
  326. forward KapijaMove();
  327. public KapijaMove()
  328. {
  329. MoveObject(Kapije[ 0 ], 1465.67749, -1491.20459, 15.29210, 3.0);
  330. MoveObject(Kapije[ 1 ], 1465.62134, -1502.65735, 15.29210, 3.0);
  331. KapijaSWATOtvorena = false;
  332. return 1;
  333. }
  334. forward CuvanjeRekorda();
  335. public CuvanjeRekorda()
  336. {
  337. new str[ 24 ];
  338. format(str, sizeof(str), "%d", RekordIgraca);
  339. new File: file = fopen("rekord.txt", io_write);
  340. fwrite(file, str);
  341. fclose(file);
  342. return 1;
  343. }
  344. public OnPlayerConnect(playerid)
  345. {
  346. OnlineIgraci++;
  347. new online[ 15 ];
  348. format(online,sizeof(online), "Online_%d", OnlineIgraci);
  349. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 16 ], online);
  350. if(OnlineIgraci > RekordIgraca)
  351. {
  352. RekordIgraca = OnlineIgraci;
  353. new str[ 100 ];
  354. format(str,sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Novi rekord servera iznosi %d igraca, hvala vam !",RekordIgraca);
  355. SCMTA(-1, str);
  356. CuvanjeRekorda();
  357. new rekord[ 15 ];
  358. format(rekord,sizeof(rekord), "Rekord_%d", RekordIgraca);
  359. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 17 ], rekord);
  360. }
  361. // In Game TD //
  362.  
  363. InGameTD[playerid][0] = CreatePlayerTextDraw(playerid, 522.941223, 107.166664, "Kills_-_1000");
  364. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][0], 0.237647, 0.900000);
  365. PlayerTextDrawAlignment(playerid, InGameTD[playerid][0], 1);
  366. PlayerTextDrawColor(playerid, InGameTD[playerid][0], -1);
  367. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][0], 0);
  368. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][0], 1);
  369. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][0], 255);
  370. PlayerTextDrawFont(playerid, InGameTD[playerid][0], 2);
  371. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][0], 1);
  372. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][0], 0);
  373.  
  374. InGameTD[playerid][1] = CreatePlayerTextDraw(playerid, 515.411926, 116.500007, "Deaths_-_1000");
  375. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][1], 0.237647, 0.900000);
  376. PlayerTextDrawAlignment(playerid, InGameTD[playerid][1], 1);
  377. PlayerTextDrawColor(playerid, InGameTD[playerid][1], -1);
  378. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][1], 0);
  379. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][1], 1);
  380. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][1], 255);
  381. PlayerTextDrawFont(playerid, InGameTD[playerid][1], 2);
  382. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][1], 1);
  383. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][1], 0);
  384.  
  385. InGameTD[playerid][2] = CreatePlayerTextDraw(playerid, 519.647155, 126.416687, "Score_-_1000");
  386. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][2], 0.237647, 0.900000);
  387. PlayerTextDrawAlignment(playerid, InGameTD[playerid][2], 1);
  388. PlayerTextDrawColor(playerid, InGameTD[playerid][2], -1);
  389. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][2], 0);
  390. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][2], 1);
  391. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][2], 255);
  392. PlayerTextDrawFont(playerid, InGameTD[playerid][2], 2);
  393. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][2], 1);
  394. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][2], 0);
  395.  
  396. InGameTD[playerid][3] = CreatePlayerTextDraw(playerid, -3.705882, 432.083435, "LD_SPAC:white");
  397. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][3], 0.000000, 0.000000);
  398. PlayerTextDrawTextSize(playerid, InGameTD[playerid][3], 649.000000, 23.000000);
  399. PlayerTextDrawAlignment(playerid, InGameTD[playerid][3], 1);
  400. PlayerTextDrawColor(playerid, InGameTD[playerid][3], 255);
  401. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][3], 0);
  402. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][3], 0);
  403. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][3], 255);
  404. PlayerTextDrawFont(playerid, InGameTD[playerid][3], 4);
  405. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][3], 0);
  406. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][3], 0);
  407.  
  408. InGameTD[playerid][4] = CreatePlayerTextDraw(playerid, 16.588230, 435.583312, "12:02:15");
  409. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][4], 0.287529, 1.063333);
  410. PlayerTextDrawAlignment(playerid, InGameTD[playerid][4], 1);
  411. PlayerTextDrawColor(playerid, InGameTD[playerid][4], -1);
  412. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][4], 0);
  413. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][4], 0);
  414. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][4], 255);
  415. PlayerTextDrawFont(playerid, InGameTD[playerid][4], 1);
  416. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][4], 1);
  417. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][4], 0);
  418.  
  419. InGameTD[playerid][5] = CreatePlayerTextDraw(playerid, 570.000061, 436.166687, "12.15.2017.");
  420. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][5], 0.287529, 1.063333);
  421. PlayerTextDrawAlignment(playerid, InGameTD[playerid][5], 1);
  422. PlayerTextDrawColor(playerid, InGameTD[playerid][5], -1);
  423. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][5], 0);
  424. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][5], 0);
  425. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][5], 255);
  426. PlayerTextDrawFont(playerid, InGameTD[playerid][5], 1);
  427. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][5], 1);
  428. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][5], 0);
  429.  
  430. InGameTD[playerid][6] = CreatePlayerTextDraw(playerid, 178.882369, 428.000091, "ld_beat:chit");
  431. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][6], 0.000000, 0.000000);
  432. PlayerTextDrawTextSize(playerid, InGameTD[playerid][6], 27.000000, 26.000000);
  433. PlayerTextDrawAlignment(playerid, InGameTD[playerid][6], 1);
  434. PlayerTextDrawColor(playerid, InGameTD[playerid][6], 8388863);
  435. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][6], 0);
  436. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][6], 0);
  437. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][6], 255);
  438. PlayerTextDrawFont(playerid, InGameTD[playerid][6], 4);
  439. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][6], 0);
  440. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][6], 0);
  441.  
  442. InGameTD[playerid][7] = CreatePlayerTextDraw(playerid, 424.058502, 428.000122, "ld_beat:chit");
  443. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][7], 0.000000, 0.000000);
  444. PlayerTextDrawTextSize(playerid, InGameTD[playerid][7], 27.000000, 26.000000);
  445. PlayerTextDrawAlignment(playerid, InGameTD[playerid][7], 1);
  446. PlayerTextDrawColor(playerid, InGameTD[playerid][7], 8388863);
  447. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][7], 0);
  448. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][7], 0);
  449. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][7], 255);
  450. PlayerTextDrawFont(playerid, InGameTD[playerid][7], 4);
  451. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][7], 0);
  452. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][7], 0);
  453.  
  454. InGameTD[playerid][8] = CreatePlayerTextDraw(playerid, 554.940979, 10.916679, "Starling_City");
  455. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][8], 0.234823, 1.401666);
  456. PlayerTextDrawAlignment(playerid, InGameTD[playerid][8], 1);
  457. PlayerTextDrawColor(playerid, InGameTD[playerid][8], 8388863);
  458. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][8], 0);
  459. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][8], 1);
  460. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][8], 255);
  461. PlayerTextDrawFont(playerid, InGameTD[playerid][8], 2);
  462. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][8], 1);
  463. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][8], 0);
  464.  
  465. InGameTD[playerid][9] = CreatePlayerTextDraw(playerid, 546.470520, 23.166677, "DeathMatch_server");
  466. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][9], 0.190588, 1.267499);
  467. PlayerTextDrawAlignment(playerid, InGameTD[playerid][9], 1);
  468. PlayerTextDrawColor(playerid, InGameTD[playerid][9], -1);
  469. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][9], 0);
  470. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][9], 1);
  471. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][9], 255);
  472. PlayerTextDrawFont(playerid, InGameTD[playerid][9], 2);
  473. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][9], 1);
  474. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][9], 0);
  475.  
  476. InGameTD[playerid][10] = CreatePlayerTextDraw(playerid, 208.117645, 435.583374, "Trenutno_igrate_na_SCDM_v1.0_modu_by_Shomy");
  477. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][10], 0.272941, 1.063333);
  478. PlayerTextDrawAlignment(playerid, InGameTD[playerid][10], 1);
  479. PlayerTextDrawColor(playerid, InGameTD[playerid][10], -1);
  480. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][10], 0);
  481. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][10], 0);
  482. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][10], 255);
  483. PlayerTextDrawFont(playerid, InGameTD[playerid][10], 1);
  484. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][10], 1);
  485. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][10], 0);
  486.  
  487. InGameTD[playerid][11] = CreatePlayerTextDraw(playerid, -11.235285, 427.416809, "ld_beat:chit");
  488. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][11], 0.000000, 0.000000);
  489. PlayerTextDrawTextSize(playerid, InGameTD[playerid][11], 27.000000, 26.000000);
  490. PlayerTextDrawAlignment(playerid, InGameTD[playerid][11], 1);
  491. PlayerTextDrawColor(playerid, InGameTD[playerid][11], 8388863);
  492. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][11], 0);
  493. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][11], 0);
  494. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][11], 255);
  495. PlayerTextDrawFont(playerid, InGameTD[playerid][11], 4);
  496. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][11], 0);
  497. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][11], 0);
  498.  
  499. InGameTD[playerid][12] = CreatePlayerTextDraw(playerid, 623.588256, 427.416870, "ld_beat:chit");
  500. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][12], 0.000000, 0.000000);
  501. PlayerTextDrawTextSize(playerid, InGameTD[playerid][12], 27.000000, 26.000000);
  502. PlayerTextDrawAlignment(playerid, InGameTD[playerid][12], 1);
  503. PlayerTextDrawColor(playerid, InGameTD[playerid][12], 8388863);
  504. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][12], 0);
  505. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][12], 0);
  506. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][12], 255);
  507. PlayerTextDrawFont(playerid, InGameTD[playerid][12], 4);
  508. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][12], 0);
  509. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][12], 0);
  510.  
  511. InGameTD[playerid][13] = CreatePlayerTextDraw(playerid, 2.413812, 432.083374, "LD_SPAC:white");
  512. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][13], 0.000000, 0.000000);
  513. PlayerTextDrawTextSize(playerid, InGameTD[playerid][13], 636.000000, 1.000000);
  514. PlayerTextDrawAlignment(playerid, InGameTD[playerid][13], 1);
  515. PlayerTextDrawColor(playerid, InGameTD[playerid][13], 8388863);
  516. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][13], 0);
  517. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][13], 0);
  518. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][13], 255);
  519. PlayerTextDrawFont(playerid, InGameTD[playerid][13], 4);
  520. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][13], 0);
  521. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][13], 0);
  522.  
  523. InGameTD[playerid][14] = CreatePlayerTextDraw(playerid, 181.235305, 429.750091, "ld_beat:chit");
  524. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][14], 0.000000, 0.000000);
  525. PlayerTextDrawTextSize(playerid, InGameTD[playerid][14], 22.000000, 22.000000);
  526. PlayerTextDrawAlignment(playerid, InGameTD[playerid][14], 1);
  527. PlayerTextDrawColor(playerid, InGameTD[playerid][14], 255);
  528. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][14], 0);
  529. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][14], 0);
  530. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][14], 255);
  531. PlayerTextDrawFont(playerid, InGameTD[playerid][14], 4);
  532. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][14], 0);
  533. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][14], 0);
  534.  
  535. InGameTD[playerid][15] = CreatePlayerTextDraw(playerid, 426.411651, 430.333526, "ld_beat:chit");
  536. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][15], 0.000000, 0.000000);
  537. PlayerTextDrawTextSize(playerid, InGameTD[playerid][15], 22.000000, 22.000000);
  538. PlayerTextDrawAlignment(playerid, InGameTD[playerid][15], 1);
  539. PlayerTextDrawColor(playerid, InGameTD[playerid][15], 255);
  540. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][15], 0);
  541. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][15], 0);
  542. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][15], 255);
  543. PlayerTextDrawFont(playerid, InGameTD[playerid][15], 4);
  544. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][15], 0);
  545. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][15], 0);
  546.  
  547. InGameTD[playerid][16] = CreatePlayerTextDraw(playerid, 98.941177, 434.999969, "Online_1000");
  548. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][16], 0.287529, 1.063333);
  549. PlayerTextDrawAlignment(playerid, InGameTD[playerid][16], 1);
  550. PlayerTextDrawColor(playerid, InGameTD[playerid][16], -1);
  551. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][16], 0);
  552. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][16], 0);
  553. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][16], 255);
  554. PlayerTextDrawFont(playerid, InGameTD[playerid][16], 1);
  555. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][16], 1);
  556. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][16], 0);
  557.  
  558. InGameTD[playerid][17] = CreatePlayerTextDraw(playerid, 470.705993, 435.583282, "Rekord_1000");
  559. PlayerTextDrawLetterSize(playerid, InGameTD[playerid][17], 0.287529, 1.063333);
  560. PlayerTextDrawAlignment(playerid, InGameTD[playerid][17], 1);
  561. PlayerTextDrawColor(playerid, InGameTD[playerid][17], -1);
  562. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][17], 0);
  563. PlayerTextDrawSetOutline(playerid, InGameTD[playerid][17], 0);
  564. PlayerTextDrawBackgroundColor(playerid, InGameTD[playerid][17], 255);
  565. PlayerTextDrawFont(playerid, InGameTD[playerid][17], 1);
  566. PlayerTextDrawSetProportional(playerid, InGameTD[playerid][17], 1);
  567. PlayerTextDrawSetShadow(playerid, InGameTD[playerid][17], 0);
  568.  
  569. // ODABIR TIMA TD //
  570.  
  571. OdabirTimaTD[playerid][0] = CreatePlayerTextDraw(playerid, 137.470672, 102.500007, "LD_SPAC:white");
  572. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][0], 0.000000, 0.000000);
  573. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][0], 376.000000, 265.000000);
  574. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][0], 1);
  575. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][0], 255);
  576. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][0], 0);
  577. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][0], 0);
  578. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][0], 255);
  579. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][0], 4);
  580. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][0], 0);
  581. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][0], 0);
  582.  
  583. OdabirTimaTD[playerid][1] = CreatePlayerTextDraw(playerid, 336.999725, 96.083335, "ld_beat:chit");
  584. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][1], 0.000000, 0.000000);
  585. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][1], 34.000000, 36.000000);
  586. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][1], 1);
  587. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][1], 8388863);
  588. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][1], 0);
  589. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][1], 0);
  590. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][1], 255);
  591. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][1], 4);
  592. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][1], 0);
  593. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][1], 0);
  594.  
  595. OdabirTimaTD[playerid][2] = CreatePlayerTextDraw(playerid, 280.999969, 101.916641, "LD_SPAC:white");
  596. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][2], 0.000000, 0.000000);
  597. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][2], 73.000000, 24.000000);
  598. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][2], 1);
  599. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][2], 8388863);
  600. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][2], 0);
  601. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][2], 0);
  602. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][2], 255);
  603. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][2], 4);
  604. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][2], 0);
  605. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][2], 0);
  606.  
  607. OdabirTimaTD[playerid][3] = CreatePlayerTextDraw(playerid, 285.294036, 104.250022, "Odabir_Tima");
  608. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][3], 0.260235, 1.815833);
  609. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][3], 1);
  610. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][3], 255);
  611. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][3], 0);
  612. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][3], 0);
  613. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][3], 255);
  614. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][3], 2);
  615. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][3], 1);
  616. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][3], 0);
  617.  
  618. OdabirTimaTD[playerid][4] = CreatePlayerTextDraw(playerid, 137.470626, 134.000015, "LD_SPAC:white");
  619. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][4], 0.000000, 0.000000);
  620. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][4], 84.000000, 103.000000);
  621. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][4], 1);
  622. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][4], 8388863);
  623. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][4], 0);
  624. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][4], 0);
  625. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][4], 255);
  626. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][4], 4);
  627. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][4], 0);
  628. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][4], 0);
  629. PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][4], true);
  630.  
  631. OdabirTimaTD[playerid][5] = CreatePlayerTextDraw(playerid, 274.882202, 134.583343, "LD_SPAC:white");
  632. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][5], 0.000000, 0.000000);
  633. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][5], 84.000000, 103.000000);
  634. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][5], 1);
  635. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][5], 8388863);
  636. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][5], 0);
  637. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][5], 0);
  638. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][5], 255);
  639. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][5], 4);
  640. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][5], 0);
  641. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][5], 0);
  642. PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][5], true);
  643.  
  644. OdabirTimaTD[playerid][6] = CreatePlayerTextDraw(playerid, 429.705627, 135.750030, "LD_SPAC:white");
  645. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][6], 0.000000, 0.000000);
  646. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][6], 84.000000, 103.000000);
  647. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][6], 1);
  648. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][6], 8388863);
  649. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][6], 0);
  650. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][6], 0);
  651. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][6], 255);
  652. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][6], 4);
  653. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][6], 0);
  654. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][6], 0);
  655. PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][6], true);
  656.  
  657. OdabirTimaTD[playerid][7] = CreatePlayerTextDraw(playerid, 205.705688, 264.083374, "LD_SPAC:white");
  658. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][7], 0.000000, 0.000000);
  659. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][7], 84.000000, 103.000000);
  660. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][7], 1);
  661. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][7], 8388863);
  662. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][7], 0);
  663. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][7], 0);
  664. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][7], 255);
  665. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][7], 4);
  666. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][7], 0);
  667. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][7], 0);
  668. PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][7], true);
  669.  
  670. OdabirTimaTD[playerid][8] = CreatePlayerTextDraw(playerid, 351.588012, 264.083374, "LD_SPAC:white");
  671. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][8], 0.000000, 0.000000);
  672. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][8], 84.000000, 103.000000);
  673. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][8], 1);
  674. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][8], 8388863);
  675. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][8], 0);
  676. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][8], 0);
  677. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][8], 255);
  678. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][8], 4);
  679. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][8], 0);
  680. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][8], 0);
  681. PlayerTextDrawSetSelectable(playerid, OdabirTimaTD[playerid][8], true);
  682.  
  683. OdabirTimaTD[playerid][9] = CreatePlayerTextDraw(playerid, 140.294113, 139.833358, "");
  684. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][9], 0.000000, 0.000000);
  685. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][9], 72.000000, 80.000000);
  686. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][9], 1);
  687. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][9], -1);
  688. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][9], 0);
  689. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][9], 0);
  690. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][9], 1090519040);
  691. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][9], 5);
  692. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][9], 0);
  693. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][9], 0);
  694. PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][9], 107);
  695. PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][9], 0.000000, 0.000000, 0.000000, 1.000000);
  696.  
  697. OdabirTimaTD[playerid][10] = CreatePlayerTextDraw(playerid, 280.529449, 143.333374, "");
  698. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][10], 0.000000, 0.000000);
  699. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][10], 72.000000, 80.000000);
  700. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][10], 1);
  701. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][10], -1);
  702. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][10], 0);
  703. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][10], 0);
  704. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][10], 1090519040);
  705. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][10], 5);
  706. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][10], 0);
  707. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][10], 0);
  708. PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][10], 104);
  709. PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][10], 0.000000, 0.000000, 0.000000, 1.000000);
  710.  
  711. OdabirTimaTD[playerid][11] = CreatePlayerTextDraw(playerid, 436.294158, 142.750045, "");
  712. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][11], 0.000000, 0.000000);
  713. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][11], 72.000000, 80.000000);
  714. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][11], 1);
  715. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][11], -1);
  716. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][11], 0);
  717. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][11], 0);
  718. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][11], 1090519040);
  719. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][11], 5);
  720. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][11], 0);
  721. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][11], 0);
  722. PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][11], 108);
  723. PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][11], 0.000000, 0.000000, 0.000000, 1.000000);
  724.  
  725. OdabirTimaTD[playerid][12] = CreatePlayerTextDraw(playerid, 209.000045, 276.333404, "");
  726. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][12], 0.000000, 0.000000);
  727. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][12], 72.000000, 80.000000);
  728. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][12], 1);
  729. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][12], -1);
  730. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][12], 0);
  731. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][12], 0);
  732. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][12], 1090519040);
  733. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][12], 5);
  734. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][12], 0);
  735. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][12], 0);
  736. PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][12], 285);
  737. PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][12], 0.000000, 0.000000, 0.000000, 1.000000);
  738.  
  739. OdabirTimaTD[playerid][13] = CreatePlayerTextDraw(playerid, 358.647003, 275.166778, "");
  740. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][13], 0.000000, 0.000000);
  741. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][13], 72.000000, 80.000000);
  742. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][13], 1);
  743. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][13], -1);
  744. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][13], 0);
  745. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][13], 0);
  746. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][13], 1090519040);
  747. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][13], 5);
  748. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][13], 0);
  749. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][13], 0);
  750. PlayerTextDrawSetPreviewModel(playerid, OdabirTimaTD[playerid][13], 287);
  751. PlayerTextDrawSetPreviewRot(playerid, OdabirTimaTD[playerid][13], 0.000000, 0.000000, 0.000000, 1.000000);
  752.  
  753. OdabirTimaTD[playerid][14] = CreatePlayerTextDraw(playerid, 163.411758, 223.833343, "GSF");
  754. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][14], 0.352470, 1.302499);
  755. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][14], 1);
  756. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][14], 255);
  757. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][14], 0);
  758. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][14], 0);
  759. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][14], 255);
  760. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][14], 2);
  761. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][14], 1);
  762. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][14], 0);
  763.  
  764. OdabirTimaTD[playerid][15] = CreatePlayerTextDraw(playerid, 289.529388, 224.416656, "Ballas");
  765. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][15], 0.352470, 1.302499);
  766. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][15], 1);
  767. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][15], 255);
  768. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][15], 0);
  769. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][15], 0);
  770. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][15], 255);
  771. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][15], 2);
  772. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][15], 1);
  773. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][15], 0);
  774.  
  775. OdabirTimaTD[playerid][16] = CreatePlayerTextDraw(playerid, 438.235321, 224.999984, "LS_Vagos");
  776. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][16], 0.352470, 1.302499);
  777. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][16], 1);
  778. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][16], 255);
  779. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][16], 0);
  780. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][16], 0);
  781. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][16], 255);
  782. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][16], 2);
  783. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][16], 1);
  784. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][16], 0);
  785.  
  786. OdabirTimaTD[playerid][17] = CreatePlayerTextDraw(playerid, 220.823547, 354.500030, "S.W.A.T");
  787. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][17], 0.352470, 1.302499);
  788. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][17], 1);
  789. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][17], 255);
  790. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][17], 0);
  791. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][17], 0);
  792. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][17], 255);
  793. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][17], 2);
  794. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][17], 1);
  795. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][17], 0);
  796.  
  797. OdabirTimaTD[playerid][18] = CreatePlayerTextDraw(playerid, 375.647064, 354.499938, "Army");
  798. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][18], 0.352470, 1.302499);
  799. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][18], 1);
  800. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][18], 255);
  801. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][18], 0);
  802. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][18], 0);
  803. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][18], 255);
  804. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][18], 2);
  805. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][18], 1);
  806. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][18], 0);
  807.  
  808. OdabirTimaTD[playerid][19] = CreatePlayerTextDraw(playerid, 266.882049, 96.083335, "ld_beat:chit");
  809. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][19], 0.000000, 0.000000);
  810. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][19], 34.000000, 36.000000);
  811. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][19], 1);
  812. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][19], 8388863);
  813. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][19], 0);
  814. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][19], 0);
  815. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][19], 255);
  816. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][19], 4);
  817. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][19], 0);
  818. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][19], 0);
  819.  
  820. OdabirTimaTD[playerid][20] = CreatePlayerTextDraw(playerid, 510.646881, 101.916664, "LD_SPAC:white");
  821. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][20], 0.000000, 0.000000);
  822. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][20], 3.000000, 266.000000);
  823. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][20], 1);
  824. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][20], 8388863);
  825. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][20], 0);
  826. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][20], 0);
  827. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][20], 255);
  828. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][20], 4);
  829. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][20], 0);
  830. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][20], 0);
  831.  
  832. OdabirTimaTD[playerid][21] = CreatePlayerTextDraw(playerid, 137.470657, 102.500000, "LD_SPAC:white");
  833. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][21], 0.000000, 0.000000);
  834. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][21], 3.000000, 266.000000);
  835. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][21], 1);
  836. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][21], 8388863);
  837. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][21], 0);
  838. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][21], 0);
  839. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][21], 255);
  840. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][21], 4);
  841. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][21], 0);
  842. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][21], 0);
  843.  
  844. OdabirTimaTD[playerid][22] = CreatePlayerTextDraw(playerid, 137.470642, 100.750007, "LD_SPAC:white");
  845. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][22], 0.000000, 0.000000);
  846. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][22], 376.000000, 2.000000);
  847. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][22], 1);
  848. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][22], 8388863);
  849. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][22], 0);
  850. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][22], 0);
  851. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][22], 255);
  852. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][22], 4);
  853. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][22], 0);
  854. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][22], 0);
  855.  
  856. OdabirTimaTD[playerid][23] = CreatePlayerTextDraw(playerid, 137.000045, 366.750091, "LD_SPAC:white");
  857. PlayerTextDrawLetterSize(playerid, OdabirTimaTD[playerid][23], 0.000000, 0.000000);
  858. PlayerTextDrawTextSize(playerid, OdabirTimaTD[playerid][23], 376.000000, 2.000000);
  859. PlayerTextDrawAlignment(playerid, OdabirTimaTD[playerid][23], 1);
  860. PlayerTextDrawColor(playerid, OdabirTimaTD[playerid][23], 8388863);
  861. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][23], 0);
  862. PlayerTextDrawSetOutline(playerid, OdabirTimaTD[playerid][23], 0);
  863. PlayerTextDrawBackgroundColor(playerid, OdabirTimaTD[playerid][23], 255);
  864. PlayerTextDrawFont(playerid, OdabirTimaTD[playerid][23], 4);
  865. PlayerTextDrawSetProportional(playerid, OdabirTimaTD[playerid][23], 0);
  866. PlayerTextDrawSetShadow(playerid, OdabirTimaTD[playerid][23], 0);
  867.  
  868. // REGISTER TD //
  869.  
  870. RegisterTD[playerid][0] = CreatePlayerTextDraw(playerid, 203.352966, 100.166648, "LD_SPAC:white");
  871. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][0], 0.000000, 0.000000);
  872. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][0], 225.000000, 284.000000);
  873. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][0], 1);
  874. PlayerTextDrawColor(playerid, RegisterTD[playerid][0], 8388863);
  875. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][0], 0);
  876. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][0], 0);
  877. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][0], 255);
  878. PlayerTextDrawFont(playerid, RegisterTD[playerid][0], 4);
  879. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][0], 0);
  880. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][0], 0);
  881.  
  882. RegisterTD[playerid][1] = CreatePlayerTextDraw(playerid, 205.705902, 102.499977, "LD_SPAC:white");
  883. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][1], 0.000000, 0.000000);
  884. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][1], 220.000000, 278.000000);
  885. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][1], 1);
  886. PlayerTextDrawColor(playerid, RegisterTD[playerid][1], 255);
  887. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][1], 0);
  888. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][1], 0);
  889. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][1], 255);
  890. PlayerTextDrawFont(playerid, RegisterTD[playerid][1], 4);
  891. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][1], 0);
  892. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][1], 0);
  893.  
  894. RegisterTD[playerid][2] = CreatePlayerTextDraw(playerid, 251.823623, 94.916671, "ld_beat:chit");
  895. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][2], 0.000000, 0.000000);
  896. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][2], 29.000000, 33.000000);
  897. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][2], 1);
  898. PlayerTextDrawColor(playerid, RegisterTD[playerid][2], 8388863);
  899. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][2], 0);
  900. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][2], 0);
  901. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][2], 255);
  902. PlayerTextDrawFont(playerid, RegisterTD[playerid][2], 4);
  903. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][2], 0);
  904. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][2], 0);
  905.  
  906. RegisterTD[playerid][3] = CreatePlayerTextDraw(playerid, 349.235260, 94.916679, "ld_beat:chit");
  907. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][3], 0.000000, 0.000000);
  908. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][3], 29.000000, 33.000000);
  909. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][3], 1);
  910. PlayerTextDrawColor(playerid, RegisterTD[playerid][3], 8388863);
  911. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][3], 0);
  912. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][3], 0);
  913. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][3], 255);
  914. PlayerTextDrawFont(playerid, RegisterTD[playerid][3], 4);
  915. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][3], 0);
  916. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][3], 0);
  917.  
  918. RegisterTD[playerid][4] = CreatePlayerTextDraw(playerid, 263.588256, 101.333320, "LD_SPAC:white");
  919. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][4], 0.000000, 0.000000);
  920. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][4], 102.000000, 21.000000);
  921. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][4], 1);
  922. PlayerTextDrawColor(playerid, RegisterTD[playerid][4], 8388863);
  923. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][4], 0);
  924. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][4], 0);
  925. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][4], 255);
  926. PlayerTextDrawFont(playerid, RegisterTD[playerid][4], 4);
  927. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][4], 0);
  928. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][4], 0);
  929.  
  930. RegisterTD[playerid][5] = CreatePlayerTextDraw(playerid, 266.000061, 103.083335, "REGISTRACIJA");
  931. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][5], 0.338823, 1.547500);
  932. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][5], 1);
  933. PlayerTextDrawColor(playerid, RegisterTD[playerid][5], 255);
  934. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][5], 0);
  935. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][5], 0);
  936. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][5], 255);
  937. PlayerTextDrawFont(playerid, RegisterTD[playerid][5], 2);
  938. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][5], 1);
  939. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][5], 0);
  940.  
  941. RegisterTD[playerid][6] = CreatePlayerTextDraw(playerid, 204.764709, 155.583297, "LD_SPAC:white");
  942. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][6], 0.000000, 0.000000);
  943. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][6], 222.000000, 20.000000);
  944. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][6], 1);
  945. PlayerTextDrawColor(playerid, RegisterTD[playerid][6], 8388863);
  946. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][6], 0);
  947. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][6], 0);
  948. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][6], 255);
  949. PlayerTextDrawFont(playerid, RegisterTD[playerid][6], 4);
  950. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][6], 0);
  951. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][6], 0);
  952.  
  953. RegisterTD[playerid][7] = CreatePlayerTextDraw(playerid, 215.176589, 157.333343, "_______Dobrodosao_shomy_falconee,~n~na_starling_city_deathmatch_server.");
  954. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][7], 0.246117, 0.876666);
  955. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][7], 1);
  956. PlayerTextDrawColor(playerid, RegisterTD[playerid][7], 255);
  957. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][7], 0);
  958. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][7], 0);
  959. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][7], 255);
  960. PlayerTextDrawFont(playerid, RegisterTD[playerid][7], 2);
  961. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][7], 1);
  962. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][7], 0);
  963.  
  964. RegisterTD[playerid][8] = CreatePlayerTextDraw(playerid, 205.235260, 214.500000, "LD_SPAC:white");
  965. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][8], 0.000000, 0.000000);
  966. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][8], 70.000000, 16.000000);
  967. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][8], 1);
  968. PlayerTextDrawColor(playerid, RegisterTD[playerid][8], 8388863);
  969. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][8], 0);
  970. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][8], 0);
  971. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][8], 255);
  972. PlayerTextDrawFont(playerid, RegisterTD[playerid][8], 4);
  973. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][8], 0);
  974. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][8], 0);
  975. PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][8], true);
  976.  
  977. RegisterTD[playerid][9] = CreatePlayerTextDraw(playerid, 264.058868, 210.416656, "ld_beat:chit");
  978. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][9], 0.000000, 0.000000);
  979. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][9], 21.000000, 24.399999);
  980. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][9], 1);
  981. PlayerTextDrawColor(playerid, RegisterTD[playerid][9], 8388863);
  982. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][9], 0);
  983. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][9], 0);
  984. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][9], 255);
  985. PlayerTextDrawFont(playerid, RegisterTD[playerid][9], 4);
  986. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][9], 0);
  987. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][9], 0);
  988.  
  989. RegisterTD[playerid][10] = CreatePlayerTextDraw(playerid, 203.352966, 99.583328, "ld_beat:chit");
  990. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][10], 0.000000, 0.000000);
  991. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][10], 9.000000, 10.000000);
  992. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][10], 1);
  993. PlayerTextDrawColor(playerid, RegisterTD[playerid][10], 8388863);
  994. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][10], 0);
  995. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][10], 0);
  996. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][10], 255);
  997. PlayerTextDrawFont(playerid, RegisterTD[playerid][10], 4);
  998. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][10], 0);
  999. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][10], 0);
  1000.  
  1001. RegisterTD[playerid][11] = CreatePlayerTextDraw(playerid, 419.823425, 100.166656, "ld_beat:chit");
  1002. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][11], 0.000000, 0.000000);
  1003. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][11], 9.000000, 10.000000);
  1004. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][11], 1);
  1005. PlayerTextDrawColor(playerid, RegisterTD[playerid][11], 8388863);
  1006. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][11], 0);
  1007. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][11], 0);
  1008. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][11], 255);
  1009. PlayerTextDrawFont(playerid, RegisterTD[playerid][11], 4);
  1010. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][11], 0);
  1011. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][11], 0);
  1012.  
  1013. RegisterTD[playerid][12] = CreatePlayerTextDraw(playerid, 419.352813, 374.333374, "ld_beat:chit");
  1014. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][12], 0.000000, 0.000000);
  1015. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][12], 9.000000, 10.000000);
  1016. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][12], 1);
  1017. PlayerTextDrawColor(playerid, RegisterTD[playerid][12], 8388863);
  1018. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][12], 0);
  1019. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][12], 0);
  1020. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][12], 255);
  1021. PlayerTextDrawFont(playerid, RegisterTD[playerid][12], 4);
  1022. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][12], 0);
  1023. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][12], 0);
  1024.  
  1025. RegisterTD[playerid][13] = CreatePlayerTextDraw(playerid, 202.882202, 374.333374, "ld_beat:chit");
  1026. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][13], 0.000000, 0.000000);
  1027. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][13], 9.000000, 10.000000);
  1028. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][13], 1);
  1029. PlayerTextDrawColor(playerid, RegisterTD[playerid][13], 8388863);
  1030. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][13], 0);
  1031. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][13], 0);
  1032. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][13], 255);
  1033. PlayerTextDrawFont(playerid, RegisterTD[playerid][13], 4);
  1034. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][13], 0);
  1035. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][13], 0);
  1036.  
  1037. RegisterTD[playerid][14] = CreatePlayerTextDraw(playerid, 268.764434, 223.833282, "ld_beat:chit");
  1038. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][14], 0.000000, 0.000000);
  1039. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][14], 6.000000, 7.000000);
  1040. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][14], 1);
  1041. PlayerTextDrawColor(playerid, RegisterTD[playerid][14], 255);
  1042. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][14], 0);
  1043. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][14], 0);
  1044. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][14], 255);
  1045. PlayerTextDrawFont(playerid, RegisterTD[playerid][14], 4);
  1046. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][14], 0);
  1047. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][14], 0);
  1048.  
  1049. RegisterTD[playerid][15] = CreatePlayerTextDraw(playerid, 272.529083, 219.166610, "ld_beat:chit");
  1050. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][15], 0.000000, 0.000000);
  1051. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][15], 6.000000, 7.000000);
  1052. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][15], 1);
  1053. PlayerTextDrawColor(playerid, RegisterTD[playerid][15], 255);
  1054. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][15], 0);
  1055. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][15], 0);
  1056. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][15], 255);
  1057. PlayerTextDrawFont(playerid, RegisterTD[playerid][15], 4);
  1058. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][15], 0);
  1059. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][15], 0);
  1060.  
  1061. RegisterTD[playerid][16] = CreatePlayerTextDraw(playerid, 268.764404, 215.083282, "ld_beat:chit");
  1062. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][16], 0.000000, 0.000000);
  1063. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][16], 6.000000, 7.000000);
  1064. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][16], 1);
  1065. PlayerTextDrawColor(playerid, RegisterTD[playerid][16], 255);
  1066. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][16], 0);
  1067. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][16], 0);
  1068. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][16], 255);
  1069. PlayerTextDrawFont(playerid, RegisterTD[playerid][16], 4);
  1070. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][16], 0);
  1071. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][16], 0);
  1072.  
  1073. RegisterTD[playerid][17] = CreatePlayerTextDraw(playerid, 210.941146, 214.499984, "LOZINKA");
  1074. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][17], 0.247529, 1.489166);
  1075. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][17], 1);
  1076. PlayerTextDrawColor(playerid, RegisterTD[playerid][17], 255);
  1077. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][17], 0);
  1078. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][17], 0);
  1079. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][17], 255);
  1080. PlayerTextDrawFont(playerid, RegisterTD[playerid][17], 2);
  1081. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][17], 1);
  1082. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][17], 0);
  1083.  
  1084. RegisterTD[playerid][18] = CreatePlayerTextDraw(playerid, 357.705566, 214.500045, "LD_SPAC:white");
  1085. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][18], 0.000000, 0.000000);
  1086. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][18], 70.000000, 16.000000);
  1087. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][18], 1);
  1088. PlayerTextDrawColor(playerid, RegisterTD[playerid][18], 8388863);
  1089. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][18], 0);
  1090. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][18], 0);
  1091. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][18], 255);
  1092. PlayerTextDrawFont(playerid, RegisterTD[playerid][18], 4);
  1093. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][18], 0);
  1094. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][18], 0);
  1095. PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][18], true);
  1096.  
  1097. RegisterTD[playerid][19] = CreatePlayerTextDraw(playerid, 347.352905, 210.416656, "ld_beat:chit");
  1098. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][19], 0.000000, 0.000000);
  1099. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][19], 21.000000, 24.399999);
  1100. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][19], 1);
  1101. PlayerTextDrawColor(playerid, RegisterTD[playerid][19], 8388863);
  1102. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][19], 0);
  1103. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][19], 0);
  1104. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][19], 255);
  1105. PlayerTextDrawFont(playerid, RegisterTD[playerid][19], 4);
  1106. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][19], 0);
  1107. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][19], 0);
  1108.  
  1109. RegisterTD[playerid][20] = CreatePlayerTextDraw(playerid, 356.764434, 223.833236, "ld_beat:chit");
  1110. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][20], 0.000000, 0.000000);
  1111. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][20], 6.000000, 7.000000);
  1112. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][20], 1);
  1113. PlayerTextDrawColor(playerid, RegisterTD[playerid][20], 255);
  1114. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][20], 0);
  1115. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][20], 0);
  1116. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][20], 255);
  1117. PlayerTextDrawFont(playerid, RegisterTD[playerid][20], 4);
  1118. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][20], 0);
  1119. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][20], 0);
  1120.  
  1121. RegisterTD[playerid][21] = CreatePlayerTextDraw(playerid, 352.999786, 219.749938, "ld_beat:chit");
  1122. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][21], 0.000000, 0.000000);
  1123. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][21], 6.000000, 7.000000);
  1124. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][21], 1);
  1125. PlayerTextDrawColor(playerid, RegisterTD[playerid][21], 255);
  1126. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][21], 0);
  1127. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][21], 0);
  1128. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][21], 255);
  1129. PlayerTextDrawFont(playerid, RegisterTD[playerid][21], 4);
  1130. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][21], 0);
  1131. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][21], 0);
  1132.  
  1133. RegisterTD[playerid][22] = CreatePlayerTextDraw(playerid, 356.764434, 215.083251, "ld_beat:chit");
  1134. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][22], 0.000000, 0.000000);
  1135. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][22], 6.000000, 7.000000);
  1136. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][22], 1);
  1137. PlayerTextDrawColor(playerid, RegisterTD[playerid][22], 255);
  1138. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][22], 0);
  1139. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][22], 0);
  1140. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][22], 255);
  1141. PlayerTextDrawFont(playerid, RegisterTD[playerid][22], 4);
  1142. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][22], 0);
  1143. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][22], 0);
  1144.  
  1145. RegisterTD[playerid][23] = CreatePlayerTextDraw(playerid, 385.999816, 214.499954, "E-MAil");
  1146. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][23], 0.247529, 1.489166);
  1147. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][23], 1);
  1148. PlayerTextDrawColor(playerid, RegisterTD[playerid][23], 255);
  1149. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][23], 0);
  1150. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][23], 0);
  1151. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][23], 255);
  1152. PlayerTextDrawFont(playerid, RegisterTD[playerid][23], 2);
  1153. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][23], 1);
  1154. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][23], 0);
  1155.  
  1156. RegisterTD[playerid][24] = CreatePlayerTextDraw(playerid, 281.470214, 251.833389, "LD_SPAC:white");
  1157. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][24], 0.000000, 0.000000);
  1158. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][24], 70.000000, 16.000000);
  1159. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][24], 1);
  1160. PlayerTextDrawColor(playerid, RegisterTD[playerid][24], 8388863);
  1161. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][24], 0);
  1162. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][24], 0);
  1163. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][24], 255);
  1164. PlayerTextDrawFont(playerid, RegisterTD[playerid][24], 4);
  1165. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][24], 0);
  1166. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][24], 0);
  1167.  
  1168. RegisterTD[playerid][25] = CreatePlayerTextDraw(playerid, 271.588226, 247.750000, "ld_beat:chit");
  1169. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][25], 0.000000, 0.000000);
  1170. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][25], 21.000000, 24.399999);
  1171. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][25], 1);
  1172. PlayerTextDrawColor(playerid, RegisterTD[playerid][25], 8388863);
  1173. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][25], 0);
  1174. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][25], 0);
  1175. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][25], 255);
  1176. PlayerTextDrawFont(playerid, RegisterTD[playerid][25], 4);
  1177. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][25], 0);
  1178. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][25], 0);
  1179.  
  1180. RegisterTD[playerid][26] = CreatePlayerTextDraw(playerid, 341.235260, 247.749969, "ld_beat:chit");
  1181. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][26], 0.000000, 0.000000);
  1182. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][26], 21.000000, 24.399999);
  1183. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][26], 1);
  1184. PlayerTextDrawColor(playerid, RegisterTD[playerid][26], 8388863);
  1185. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][26], 0);
  1186. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][26], 0);
  1187. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][26], 255);
  1188. PlayerTextDrawFont(playerid, RegisterTD[playerid][26], 4);
  1189. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][26], 0);
  1190. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][26], 0);
  1191.  
  1192. RegisterTD[playerid][27] = CreatePlayerTextDraw(playerid, 280.999633, 261.166656, "ld_beat:chit");
  1193. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][27], 0.000000, 0.000000);
  1194. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][27], 6.000000, 7.000000);
  1195. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][27], 1);
  1196. PlayerTextDrawColor(playerid, RegisterTD[playerid][27], 255);
  1197. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][27], 0);
  1198. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][27], 0);
  1199. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][27], 255);
  1200. PlayerTextDrawFont(playerid, RegisterTD[playerid][27], 4);
  1201. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][27], 0);
  1202. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][27], 0);
  1203.  
  1204. RegisterTD[playerid][28] = CreatePlayerTextDraw(playerid, 277.234985, 256.499908, "ld_beat:chit");
  1205. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][28], 0.000000, 0.000000);
  1206. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][28], 6.000000, 7.000000);
  1207. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][28], 1);
  1208. PlayerTextDrawColor(playerid, RegisterTD[playerid][28], 255);
  1209. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][28], 0);
  1210. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][28], 0);
  1211. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][28], 255);
  1212. PlayerTextDrawFont(playerid, RegisterTD[playerid][28], 4);
  1213. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][28], 0);
  1214. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][28], 0);
  1215.  
  1216. RegisterTD[playerid][29] = CreatePlayerTextDraw(playerid, 281.470214, 251.833251, "ld_beat:chit");
  1217. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][29], 0.000000, 0.000000);
  1218. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][29], 6.000000, 7.000000);
  1219. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][29], 1);
  1220. PlayerTextDrawColor(playerid, RegisterTD[playerid][29], 255);
  1221. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][29], 0);
  1222. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][29], 0);
  1223. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][29], 255);
  1224. PlayerTextDrawFont(playerid, RegisterTD[playerid][29], 4);
  1225. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][29], 0);
  1226. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][29], 0);
  1227.  
  1228. RegisterTD[playerid][30] = CreatePlayerTextDraw(playerid, 346.411315, 261.166595, "ld_beat:chit");
  1229. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][30], 0.000000, 0.000000);
  1230. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][30], 6.000000, 7.000000);
  1231. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][30], 1);
  1232. PlayerTextDrawColor(playerid, RegisterTD[playerid][30], 255);
  1233. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][30], 0);
  1234. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][30], 0);
  1235. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][30], 255);
  1236. PlayerTextDrawFont(playerid, RegisterTD[playerid][30], 4);
  1237. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][30], 0);
  1238. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][30], 0);
  1239.  
  1240. RegisterTD[playerid][31] = CreatePlayerTextDraw(playerid, 350.646636, 257.083282, "ld_beat:chit");
  1241. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][31], 0.000000, 0.000000);
  1242. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][31], 6.000000, 7.000000);
  1243. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][31], 1);
  1244. PlayerTextDrawColor(playerid, RegisterTD[playerid][31], 255);
  1245. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][31], 0);
  1246. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][31], 0);
  1247. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][31], 255);
  1248. PlayerTextDrawFont(playerid, RegisterTD[playerid][31], 4);
  1249. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][31], 0);
  1250. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][31], 0);
  1251.  
  1252. RegisterTD[playerid][32] = CreatePlayerTextDraw(playerid, 346.881988, 252.999954, "ld_beat:chit");
  1253. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][32], 0.000000, 0.000000);
  1254. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][32], 6.000000, 7.000000);
  1255. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][32], 1);
  1256. PlayerTextDrawColor(playerid, RegisterTD[playerid][32], 255);
  1257. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][32], 0);
  1258. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][32], 0);
  1259. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][32], 255);
  1260. PlayerTextDrawFont(playerid, RegisterTD[playerid][32], 4);
  1261. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][32], 0);
  1262. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][32], 0);
  1263.  
  1264. RegisterTD[playerid][33] = CreatePlayerTextDraw(playerid, 307.411621, 252.416610, "POL");
  1265. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][33], 0.247529, 1.489166);
  1266. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][33], 1);
  1267. PlayerTextDrawColor(playerid, RegisterTD[playerid][33], 255);
  1268. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][33], 0);
  1269. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][33], 0);
  1270. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][33], 255);
  1271. PlayerTextDrawFont(playerid, RegisterTD[playerid][33], 2);
  1272. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][33], 1);
  1273. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][33], 0);
  1274.  
  1275. RegisterTD[playerid][34] = CreatePlayerTextDraw(playerid, 279.117614, 273.999938, "");
  1276. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][34], 0.000000, 0.000000);
  1277. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][34], 73.000000, 76.000000);
  1278. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][34], 1);
  1279. PlayerTextDrawColor(playerid, RegisterTD[playerid][34], -1);
  1280. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][34], 0);
  1281. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][34], 0);
  1282. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][34], 268435456);
  1283. PlayerTextDrawFont(playerid, RegisterTD[playerid][34], 5);
  1284. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][34], 0);
  1285. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][34], 0);
  1286. PlayerTextDrawSetPreviewModel(playerid, RegisterTD[playerid][34], 30);
  1287. PlayerTextDrawSetPreviewRot(playerid, RegisterTD[playerid][34], 0.000000, 0.000000, 0.000000, 1.000000);
  1288.  
  1289. RegisterTD[playerid][35] = CreatePlayerTextDraw(playerid, 261.705993, 299.083343, "ld_beat:left");
  1290. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][35], 0.000000, 0.000000);
  1291. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][35], 15.000000, 13.000000);
  1292. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][35], 1);
  1293. PlayerTextDrawColor(playerid, RegisterTD[playerid][35], 8388863);
  1294. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][35], 0);
  1295. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][35], 0);
  1296. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][35], 255);
  1297. PlayerTextDrawFont(playerid, RegisterTD[playerid][35], 4);
  1298. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][35], 0);
  1299. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][35], 0);
  1300. PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][35], true);
  1301.  
  1302. RegisterTD[playerid][36] = CreatePlayerTextDraw(playerid, 359.117706, 299.083404, "ld_beat:right");
  1303. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][36], 0.000000, 0.000000);
  1304. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][36], 15.000000, 13.000000);
  1305. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][36], 1);
  1306. PlayerTextDrawColor(playerid, RegisterTD[playerid][36], 8388863);
  1307. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][36], 0);
  1308. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][36], 0);
  1309. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][36], 255);
  1310. PlayerTextDrawFont(playerid, RegisterTD[playerid][36], 4);
  1311. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][36], 0);
  1312. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][36], 0);
  1313. PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][36], true);
  1314.  
  1315. RegisterTD[playerid][37] = CreatePlayerTextDraw(playerid, 281.940795, 366.750061, "LD_SPAC:white");
  1316. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][37], 0.000000, 0.000000);
  1317. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][37], 70.000000, 16.000000);
  1318. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][37], 1);
  1319. PlayerTextDrawColor(playerid, RegisterTD[playerid][37], 8388863);
  1320. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][37], 0);
  1321. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][37], 0);
  1322. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][37], 255);
  1323. PlayerTextDrawFont(playerid, RegisterTD[playerid][37], 4);
  1324. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][37], 0);
  1325. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][37], 0);
  1326. PlayerTextDrawSetSelectable(playerid, RegisterTD[playerid][37], true);
  1327.  
  1328. RegisterTD[playerid][38] = CreatePlayerTextDraw(playerid, 271.588348, 362.666625, "ld_beat:chit");
  1329. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][38], 0.000000, 0.000000);
  1330. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][38], 21.000000, 24.399999);
  1331. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][38], 1);
  1332. PlayerTextDrawColor(playerid, RegisterTD[playerid][38], 8388863);
  1333. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][38], 0);
  1334. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][38], 0);
  1335. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][38], 255);
  1336. PlayerTextDrawFont(playerid, RegisterTD[playerid][38], 4);
  1337. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][38], 0);
  1338. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][38], 0);
  1339.  
  1340. RegisterTD[playerid][39] = CreatePlayerTextDraw(playerid, 340.764709, 362.666564, "ld_beat:chit");
  1341. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][39], 0.000000, 0.000000);
  1342. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][39], 21.000000, 24.399999);
  1343. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][39], 1);
  1344. PlayerTextDrawColor(playerid, RegisterTD[playerid][39], 8388863);
  1345. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][39], 0);
  1346. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][39], 0);
  1347. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][39], 255);
  1348. PlayerTextDrawFont(playerid, RegisterTD[playerid][39], 4);
  1349. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][39], 0);
  1350. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][39], 0);
  1351.  
  1352. RegisterTD[playerid][40] = CreatePlayerTextDraw(playerid, 280.999664, 366.749938, "ld_beat:chit");
  1353. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][40], 0.000000, 0.000000);
  1354. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][40], 6.000000, 7.000000);
  1355. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][40], 1);
  1356. PlayerTextDrawColor(playerid, RegisterTD[playerid][40], 255);
  1357. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][40], 0);
  1358. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][40], 0);
  1359. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][40], 255);
  1360. PlayerTextDrawFont(playerid, RegisterTD[playerid][40], 4);
  1361. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][40], 0);
  1362. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][40], 0);
  1363.  
  1364. RegisterTD[playerid][41] = CreatePlayerTextDraw(playerid, 277.705566, 371.416625, "ld_beat:chit");
  1365. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][41], 0.000000, 0.000000);
  1366. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][41], 6.000000, 7.000000);
  1367. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][41], 1);
  1368. PlayerTextDrawColor(playerid, RegisterTD[playerid][41], 255);
  1369. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][41], 0);
  1370. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][41], 0);
  1371. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][41], 255);
  1372. PlayerTextDrawFont(playerid, RegisterTD[playerid][41], 4);
  1373. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][41], 0);
  1374. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][41], 0);
  1375.  
  1376. RegisterTD[playerid][42] = CreatePlayerTextDraw(playerid, 280.999633, 375.500000, "ld_beat:chit");
  1377. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][42], 0.000000, 0.000000);
  1378. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][42], 6.000000, 7.000000);
  1379. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][42], 1);
  1380. PlayerTextDrawColor(playerid, RegisterTD[playerid][42], 255);
  1381. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][42], 0);
  1382. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][42], 0);
  1383. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][42], 255);
  1384. PlayerTextDrawFont(playerid, RegisterTD[playerid][42], 4);
  1385. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][42], 0);
  1386. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][42], 0);
  1387.  
  1388. RegisterTD[playerid][43] = CreatePlayerTextDraw(playerid, 347.352691, 366.750000, "ld_beat:chit");
  1389. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][43], 0.000000, 0.000000);
  1390. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][43], 6.000000, 7.000000);
  1391. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][43], 1);
  1392. PlayerTextDrawColor(playerid, RegisterTD[playerid][43], 255);
  1393. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][43], 0);
  1394. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][43], 0);
  1395. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][43], 255);
  1396. PlayerTextDrawFont(playerid, RegisterTD[playerid][43], 4);
  1397. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][43], 0);
  1398. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][43], 0);
  1399.  
  1400. RegisterTD[playerid][44] = CreatePlayerTextDraw(playerid, 351.117370, 370.833343, "ld_beat:chit");
  1401. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][44], 0.000000, 0.000000);
  1402. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][44], 6.000000, 7.000000);
  1403. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][44], 1);
  1404. PlayerTextDrawColor(playerid, RegisterTD[playerid][44], 255);
  1405. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][44], 0);
  1406. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][44], 0);
  1407. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][44], 255);
  1408. PlayerTextDrawFont(playerid, RegisterTD[playerid][44], 4);
  1409. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][44], 0);
  1410. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][44], 0);
  1411.  
  1412. RegisterTD[playerid][45] = CreatePlayerTextDraw(playerid, 347.823303, 374.916717, "ld_beat:chit");
  1413. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][45], 0.000000, 0.000000);
  1414. PlayerTextDrawTextSize(playerid, RegisterTD[playerid][45], 6.000000, 7.000000);
  1415. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][45], 1);
  1416. PlayerTextDrawColor(playerid, RegisterTD[playerid][45], 255);
  1417. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][45], 0);
  1418. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][45], 0);
  1419. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][45], 255);
  1420. PlayerTextDrawFont(playerid, RegisterTD[playerid][45], 4);
  1421. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][45], 0);
  1422. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][45], 0);
  1423.  
  1424. RegisterTD[playerid][46] = CreatePlayerTextDraw(playerid, 293.764434, 367.333343, "REGISTER");
  1425. PlayerTextDrawLetterSize(playerid, RegisterTD[playerid][46], 0.247529, 1.489166);
  1426. PlayerTextDrawAlignment(playerid, RegisterTD[playerid][46], 1);
  1427. PlayerTextDrawColor(playerid, RegisterTD[playerid][46], 255);
  1428. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][46], 0);
  1429. PlayerTextDrawSetOutline(playerid, RegisterTD[playerid][46], 0);
  1430. PlayerTextDrawBackgroundColor(playerid, RegisterTD[playerid][46], 255);
  1431. PlayerTextDrawFont(playerid, RegisterTD[playerid][46], 2);
  1432. PlayerTextDrawSetProportional(playerid, RegisterTD[playerid][46], 1);
  1433. PlayerTextDrawSetShadow(playerid, RegisterTD[playerid][46], 0);
  1434.  
  1435. ////////////////////////////////////////////////////////////////////////////
  1436.  
  1437. TogglePlayerSpectating(playerid, true);
  1438. if(fexist(UserPath(playerid)))
  1439. {
  1440. INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  1441. new str[ 150 ];
  1442. format(str,sizeof(str), ""COL_BELA"Dobrodosao nazad "COL_SERVER"%s"COL_BELA".\nVas nalog je pronadjen u bazi podataka.\nUpisite lozinku kako bi ste nastavli sa igrom.", GetName(playerid));
  1443. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_SERVER"Login",str,"Dalje","Izadji");
  1444. }
  1445. else { for(new i; i < 47; i++) { PlayerTextDrawShow(playerid, RegisterTD[ playerid ][ i ]); SelectTextDraw(playerid, ZELENA); Stranica[ playerid ] = 1; new str[ 200 ]; format(str,sizeof(str), "_______Dobrodosao_%s,~n~na_starling_city_deathmatch_server.", GetName(playerid)); PlayerTextDrawSetString(playerid, RegisterTD[ playerid ][ 7 ], str); } }
  1446. return 1;
  1447. }
  1448. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1449. {
  1450. switch( dialogid )
  1451. {
  1452. case DIALOG_REGISTER:
  1453. {
  1454. if (!response) return Kick(playerid);
  1455. if(response)
  1456. {
  1457. if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_BELA"Registracija...",""COL_SERVER"Ukucali ste pogresnu lozinku.\n"COL_BELA"Ukucajte sifru kako bi registrovali nov nalog","Register","Izadji");
  1458. if(strlen(inputtext) < 7) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Lozinka mora najmanje sadrzati 6 slova/brojeva.");
  1459. new INI:File = INI_Open(UserPath(playerid));
  1460. INI_WriteInt(File,"Lozinka",udb_hash(inputtext));
  1461. INI_WriteInt(File,"Novac",0);
  1462. INI_WriteInt(File,"Admin",0);
  1463. INI_WriteInt(File,"Ubistva",0);
  1464. INI_WriteInt(File,"Smrti",0);
  1465. INI_Close(File);
  1466. IzabraoLozinku[ playerid ] = true;
  1467. new str[ 100 ];
  1468. format(str,sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"U redu, Vasa lozinka je %s.", inputtext);
  1469. SCM(playerid, -1, str);
  1470. }
  1471. }
  1472.  
  1473. case DIALOG_LOGIN:
  1474. {
  1475. if ( !response ) return Kick ( playerid );
  1476. if( response )
  1477. {
  1478. if(udb_hash(inputtext) == PlayerInfo[playerid][pLozinka])
  1479. {
  1480. INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  1481. GivePlayerMoney(playerid, PlayerInfo[ playerid ][ pNovac ]);
  1482. SetPlayerScore(playerid, PlayerInfo[ playerid ][ pLevel ]);
  1483. if(PlayerInfo[ playerid ][ pTim ] == 1) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1484. else if(PlayerInfo[ playerid ][ pTim ] == 2) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1485. else if(PlayerInfo[ playerid ][ pTim ] == 3) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1486. else if(PlayerInfo[ playerid ][ pTim ] == 4) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 1537.7843,-1498.1699,13.5547,89.8398, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1487. else if(PlayerInfo[ playerid ][ pTim ] == 5) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2730.3218,-2451.4561,17.5937,269.5424, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1488. }
  1489. else
  1490. {
  1491. LoginPokusaji[ playerid ]++;
  1492. if(LoginPokusaji[ playerid ] == 3) return Kick(playerid);
  1493. if(LoginPokusaji[ playerid ] == 0) return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_BELA"Login",""COL_SERVER"Login neuspesan.\n"COL_BELA"Niste upisali ispravnu lozinku.\nImate jos 2 pokusaja.","Login","Izadji");
  1494. else if(LoginPokusaji[ playerid ] == 1) return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_BELA"Login",""COL_SERVER"Login neuspesan.\n"COL_BELA"Niste upisali ispravnu lozinku.\nImate jos 1 pokusaj.","Login","Izadji");
  1495. }
  1496. return 1;
  1497. }
  1498. }
  1499. }
  1500. if(dialogid == DIALOG_EMAIL)
  1501. {
  1502. if(response)
  1503. {
  1504. new emailp = strfind(inputtext, "@", true);
  1505. if(emailp == -1)
  1506. {
  1507. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Netacan e-mail | Upisite tacnu e-mail adresu!");
  1508. SPD(playerid, 12, 1, ""COL_SERVER"E-mail", ""COL_BELA"Upisite vasu e-mail adresu.", "Enter", "Exit");
  1509. return true;
  1510. }
  1511. new emailp2 = strfind(inputtext, ".", true);
  1512. if(emailp2 == -1)
  1513. {
  1514. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Netacan e-mail | Upisite tacnu e-mail adresu!");
  1515. SPD(playerid, 12, 1, ""COL_SERVER"E-mail", ""COL_BELA"Upisite vasu e-mail adresu.", "Enter", "Exit");
  1516. return true;
  1517. }
  1518. new str[ 120 ];
  1519. format(str,sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"U redu, Vas E-Mail je %s.", inputtext);
  1520. SCM(playerid, -1, str);
  1521. IzabraoEmail[ playerid ] = true;
  1522. new INI:File = INI_Open(UserPath(playerid));
  1523. INI_WriteString(File, "Email", inputtext);
  1524. INI_Close(File);
  1525. }
  1526. else return Kick(playerid);
  1527. }
  1528. else if(dialogid == DIALOG_GUNMENU)
  1529. {
  1530. if(response)
  1531. {
  1532. switch(listitem)
  1533. {
  1534. case 0:
  1535. {
  1536. if(GetPlayerMoney(playerid) < 60) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1537. GivePlayerWeapon(playerid, 24, 400);
  1538. GivePlayerMoney(playerid, -60);
  1539. }
  1540. case 1:
  1541. {
  1542. if(GetPlayerMoney(playerid) < 50) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1543. GivePlayerWeapon(playerid, 28, 600);
  1544. GivePlayerMoney(playerid, -50);
  1545. }
  1546. case 2:
  1547. {
  1548. if(GetPlayerMoney(playerid) < 50) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1549. GivePlayerWeapon(playerid, 32, 600);
  1550. GivePlayerMoney(playerid, -50);
  1551. }
  1552. case 3:
  1553. {
  1554. if(GetPlayerMoney(playerid) < 70) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1555. GivePlayerWeapon(playerid, 29, 600);
  1556. GivePlayerMoney(playerid, -70);
  1557. }
  1558. case 4:
  1559. {
  1560. if(GetPlayerMoney(playerid) < 100) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1561. SetPlayerArmour(playerid, 100);
  1562. GivePlayerMoney(playerid, -100);
  1563. }
  1564. }
  1565. }
  1566. }
  1567. else if(dialogid == DIALOG_GUNMENU1)
  1568. {
  1569. if(response)
  1570. {
  1571. switch(listitem)
  1572. {
  1573. case 0:
  1574. {
  1575. if(GetPlayerMoney(playerid) < 60) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1576. GivePlayerWeapon(playerid, 24, 400);
  1577. GivePlayerMoney(playerid, -60);
  1578. }
  1579. case 1:
  1580. {
  1581. if(GetPlayerMoney(playerid) < 70) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1582. GivePlayerWeapon(playerid, 25, 150);
  1583. GivePlayerMoney(playerid, -70);
  1584. }
  1585. case 2:
  1586. {
  1587. if(GetPlayerMoney(playerid) < 90) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1588. GivePlayerWeapon(playerid, 30, 600);
  1589. GivePlayerMoney(playerid, -90);
  1590. }
  1591. case 3:
  1592. {
  1593. if(GetPlayerMoney(playerid) < 90) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1594. GivePlayerWeapon(playerid, 31, 600);
  1595. GivePlayerMoney(playerid, -90);
  1596. }
  1597. case 4:
  1598. {
  1599. if(GetPlayerMoney(playerid) < 120) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1600. GivePlayerWeapon(playerid, 34, 200);
  1601. GivePlayerMoney(playerid, -120);
  1602. }
  1603. case 5:
  1604. {
  1605. if(GetPlayerMoney(playerid) < 100) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nemate dovoljno novca !");
  1606. SetPlayerArmour(playerid, 100);
  1607. GivePlayerMoney(playerid, -100);
  1608. }
  1609. }
  1610. }
  1611. }
  1612. return 1;
  1613. }
  1614. public OnPlayerDisconnect(playerid, reason)
  1615. {
  1616. SacuvajIgraca(playerid);
  1617. OnlineIgraci--;
  1618. new online[ 15 ];
  1619. format(online,sizeof(online), "Online_%d", OnlineIgraci);
  1620. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 16 ], online);
  1621. return 1;
  1622. }
  1623. public OnPlayerDeath(playerid, killerid, reason)
  1624. {
  1625. if(PlayerInfo[ playerid ][ pTim ] == 1) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1626. else if(PlayerInfo[ playerid ][ pTim ] == 2) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1627. else if(PlayerInfo[ playerid ][ pTim ] == 3) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1628. else if(PlayerInfo[ playerid ][ pTim ] == 4) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 1537.7843,-1498.1699,13.5547,89.8398, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1629. else if(PlayerInfo[ playerid ][ pTim ] == 5) { SetSpawnInfo(playerid, 0, PlayerInfo[ playerid ][ pSkin ], 2730.3218,-2451.4561,17.5937,269.5424, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); TogglePlayerSpectating(playerid, false); }
  1630. if(Zauzima[ playerid ])
  1631. {
  1632. if(PlayerInfo[ playerid ][ pTim ] == 1) { KillTimer(gsfzt); Zauzima[ playerid ] = false; }
  1633. else if(PlayerInfo[ playerid ][ pTim ] == 2) { KillTimer(ballaszt); Zauzima[ playerid ] = false; }
  1634. else if(PlayerInfo[ playerid ][ pTim ] == 3) { KillTimer(lsvzt); Zauzima[ playerid ] = false; }
  1635. }
  1636. else if(killerid != playerid)
  1637. {
  1638. if(PlayerInfo[ killerid ][ pTim ] == PlayerInfo[ playerid ][ pTim ]) return GivePlayerMoney(killerid, -50);
  1639. PlayerInfo[ playerid ][ pSmrti ] += 1;
  1640. PlayerInfo[ killerid ][ pUbistva ] += 1;
  1641. GivePlayerMoney(killerid, 50);
  1642. if(PlayerInfo[ killerid ][ pUbistva ] == 10) { GivePlayerMoney(killerid, 100); SCM(killerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Dobili ste 100$ zbog 10 ubistava."); }
  1643. new str2[ 15 ];
  1644. format(str2,sizeof(str2), "Kills_-_%d", PlayerInfo[ killerid ][ pUbistva ]);
  1645. PlayerTextDrawSetString(killerid, InGameTD[ killerid ][ 0 ], str2);
  1646. new str3[ 15 ];
  1647. format(str3,sizeof(str3), "Deaths_-_%d", PlayerInfo[ playerid ][ pSmrti ]);
  1648. PlayerTextDrawSetString(playerid, InGameTD[ playerid ][ 1 ], str3);
  1649. }
  1650. return 1;
  1651. }
  1652. public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
  1653. {
  1654. if(PlayerInfo[ playerid ][ pTim ] == PlayerInfo[ damagedid ][ pTim ]) return GivePlayerMoney(playerid, -10);
  1655. return 1;
  1656. }
  1657. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
  1658. {
  1659. if(playertextid == RegisterTD[ playerid ][ 8 ])
  1660. {
  1661. new str[ 150 ];
  1662. format(str,sizeof(str), ""COL_BELA"Dobrodosao "COL_SERVER"%s"COL_BELA".\nVas nalog nije pronadjen u bazi podataka.\nUpisite zeljenu lozinku da bi ste se registrovali.", GetName(playerid));
  1663. ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_SERVER"Registracija",str,"Register","Izadji");
  1664. }
  1665. else if(playertextid == RegisterTD[ playerid ][ 18 ])
  1666. {
  1667. SPD(playerid, DIALOG_EMAIL, DSI, ""COL_SERVER"E-mail", ""COL_BELA"Upisite vasu e-mail adresu.", "Dalje", "Izadji");
  1668. }
  1669. else if(playertextid == RegisterTD[ playerid ][ 37 ])
  1670. {
  1671. if(IzabraoLozinku[ playerid ] && IzabraoEmail[ playerid ])
  1672. {
  1673. SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Odaberite tim.");
  1674. for(new i; i < 47; i++) { PlayerTextDrawHide(playerid, RegisterTD[ playerid ][ i ]); }
  1675. for(new i; i < 24; i++) { PlayerTextDrawShow(playerid, OdabirTimaTD[ playerid ][ i ]); }
  1676. if(Stranica[ playerid ] == 1) { PlayerInfo[ playerid ][ pPol ] = 1; }
  1677. else if(Stranica[ playerid ] == 2) { PlayerInfo[ playerid ][ pPol ] = 2; }
  1678. }
  1679. else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste popunili sve podatke !");
  1680. }
  1681. else if(playertextid == RegisterTD[ playerid ][ 35 ] || playertextid == RegisterTD[ playerid ][ 36 ])
  1682. {
  1683. PlayerTextDrawHide(playerid, RegisterTD[ playerid ][ 34 ]);
  1684. if(Stranica[ playerid ] == 1) { PlayerTextDrawSetPreviewModel(playerid, RegisterTD[ playerid ][ 34 ], 40); Stranica[ playerid ] = 2; PlayerTextDrawShow(playerid, RegisterTD[ playerid ][ 34 ]); }
  1685. else if(Stranica[ playerid ] == 2) { PlayerTextDrawSetPreviewModel(playerid, RegisterTD[ playerid ][ 34 ], 30); Stranica[ playerid ] = 1; PlayerTextDrawShow(playerid, RegisterTD[ playerid ][ 34 ]); }
  1686. }
  1687. else if(playertextid == OdabirTimaTD[ playerid ][ 4 ])
  1688. {
  1689. PlayerInfo[ playerid ][ pTim ] = 1;
  1690. CancelSelectTextDraw(playerid);
  1691. TogglePlayerSpectating(playerid, false);
  1692. for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
  1693. SetPlayerScore(playerid, 1);
  1694. GivePlayerMoney(playerid, 500);
  1695. if(PlayerInfo[ playerid ][ pPol ] == 1) { SetSpawnInfo(playerid, 0, 107, 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 107; }
  1696. else if(PlayerInfo[ playerid ][ pPol ] == 2) { SetSpawnInfo(playerid, 0, 91, 2495.0779,-1687.1693,13.5145,7.0, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 91; }
  1697. }
  1698. else if(playertextid == OdabirTimaTD[ playerid ][ 5 ])
  1699. {
  1700. CancelSelectTextDraw(playerid);
  1701. PlayerInfo[ playerid ][ pTim ] = 2;
  1702. TogglePlayerSpectating(playerid, false);
  1703. SetPlayerScore(playerid, 1);
  1704. GivePlayerMoney(playerid, 500);
  1705. for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
  1706. if(PlayerInfo[ playerid ][ pPol ] == 1) { SetSpawnInfo(playerid, 0, 104, 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 104; }
  1707. else if(PlayerInfo[ playerid ][ pPol ] == 2) { SetSpawnInfo(playerid, 0, 40, 2143.5728,-1484.9344,25.5391,83.8843, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 40; }
  1708. }
  1709. else if(playertextid == OdabirTimaTD[ playerid ][ 6 ])
  1710. {
  1711. CancelSelectTextDraw(playerid);
  1712. PlayerInfo[ playerid ][ pTim ] = 3;
  1713. TogglePlayerSpectating(playerid, false);
  1714. SetPlayerScore(playerid, 1);
  1715. GivePlayerMoney(playerid, 500);
  1716. for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
  1717. if(PlayerInfo[ playerid ][ pPol ] == 1) { SetSpawnInfo(playerid, 0, 108, 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 108; }
  1718. else if(PlayerInfo[ playerid ][ pPol ] == 2) { SetSpawnInfo(playerid, 0, 93, 2547.1873,-1126.9431,62.8743,267.2528, 0, 0, 0, 0, 0, 0); SpawnPlayer(playerid); PlayerInfo[ playerid ][ pSkin ] = 93; }
  1719. }
  1720. else if(playertextid == OdabirTimaTD[ playerid ][ 7 ])
  1721. {
  1722. CancelSelectTextDraw(playerid);
  1723. SetSpawnInfo(playerid, 0, 285, 1537.7843,-1498.1699,13.5547,89.8398, 0, 0, 0, 0, 0, 0);
  1724. SpawnPlayer(playerid);
  1725. PlayerInfo[ playerid ][ pSkin ] = 285;
  1726. PlayerInfo[ playerid ][ pTim ] = 4;
  1727. SetPlayerScore(playerid, 1);
  1728. GivePlayerMoney(playerid, 500);
  1729. TogglePlayerSpectating(playerid, false);
  1730. for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
  1731. }
  1732. else if(playertextid == OdabirTimaTD[ playerid ][ 8 ])
  1733. {
  1734. CancelSelectTextDraw(playerid);
  1735. SetSpawnInfo(playerid, 0, 287, 2730.3218,-2451.4561,17.5937,269.5424, 0, 0, 0, 0, 0, 0);
  1736. SpawnPlayer(playerid);
  1737. PlayerInfo[ playerid ][ pTim ] = 5;
  1738. SetPlayerScore(playerid, 1);
  1739. GivePlayerMoney(playerid, 500);
  1740. PlayerInfo[ playerid ][ pSkin ] = 287;
  1741. TogglePlayerSpectating(playerid, false);
  1742. for(new i; i < 24; i++) { PlayerTextDrawHide(playerid, OdabirTimaTD[ playerid ][ i ]); }
  1743. }
  1744. return 1;
  1745. }
  1746.  
  1747. // STOCK //
  1748.  
  1749. stock LoadVeh()
  1750. {
  1751. for(new i = 1; i < MAX_VOZILA; i++)
  1752. {
  1753. VehInfo[ i ][ vID ] = -1;
  1754. new vFile[ 50 ];
  1755. format(vFile, sizeof(vFile), VOZILA_FILE, i);
  1756. if(fexist(vFile))
  1757. {
  1758. INI_ParseFile(vFile, "OcitajVozilo", .bExtra = true, .extra = i);
  1759. VehInfo[ i ][ vID ] = CreateVehicle(VehInfo[ i ][ Model ],VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[i][ PosZ ],VehInfo[ i ][ RotA ],VehInfo[ i ][ Boja1 ],VehInfo[ i ][ Boja2 ], -1);
  1760. if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 1) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel(""COL_SERVER"[ GSF ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
  1761. else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 2) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{6F00FF}[ Ballas ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
  1762. else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 3) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{FFFF00}[ LS Vagos ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
  1763. else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 4) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{002FFF}[ S.W.A.T ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
  1764. else if(VehInfo[ VehInfo[ i ][ vID ] ][ vTim ] == 5) { VehLabel[ VehInfo[ i ][ vID ] ] = Create3DTextLabel("{002FFF}[ Army ]", 0x008080FF, VehInfo[ i ][ PosX ],VehInfo[ i ][ PosY ],VehInfo[ i ][ PosZ ], 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ VehInfo[ i ][ vID ] ] , VehInfo[ i ][ vID ], 0.0, 0.0, 0.0); }
  1765. }
  1766. }
  1767. return 1;
  1768. }
  1769. stock razdvajanje( const asdas[], strdest[][], delimiter )
  1770. {
  1771. new i, li;
  1772. new xNum;
  1773. new xlom;
  1774. while( i <= strlen(asdas))
  1775. {
  1776. if( asdas[ i ] == delimiter || i == strlen( asdas ))
  1777. {
  1778. xlom = strmid (strdest[ xNum ], asdas, li, i, 128 );
  1779. strdest[ xNum ][ xlom ] = 0;
  1780. li = i+1;
  1781. xNum++;
  1782. }
  1783. i++;
  1784. }
  1785. return 1;
  1786. }
  1787. stock UserPath(playerid)
  1788. {
  1789. new string[30],playername[MAX_PLAYER_NAME];
  1790. GetPlayerName(playerid,playername,sizeof(playername));
  1791. format(string,sizeof(string),PATH,playername);
  1792. return string;
  1793. }
  1794. stock TerPath(id)
  1795. {
  1796. new string[30];
  1797. format(string,sizeof(string),TERITORIJE_FILE,id);
  1798. return string;
  1799. }
  1800. stock udb_hash(buf[]) {
  1801. new length=strlen(buf);
  1802. new s1 = 1;
  1803. new s2 = 0;
  1804. new n;
  1805. for (n=0; n<length; n++)
  1806. {
  1807. s1 = (s1 + buf[n]) % 65521;
  1808. s2 = (s2 + s1) % 65521;
  1809. }
  1810. return (s2 << 16) + s1;
  1811. }
  1812. stock GetName(playerid)
  1813. {
  1814. new name[MAX_PLAYER_NAME];
  1815. GetPlayerName(playerid, name, sizeof(name));
  1816. return name;
  1817. }
  1818. stock SacuvajIgraca(playerid)
  1819. {
  1820. new INI:File = INI_Open(UserPath(playerid));
  1821. INI_WriteInt(File, "Novac", GetPlayerMoney(playerid));
  1822. INI_WriteInt(File, "Level", GetPlayerScore(playerid));
  1823. INI_WriteInt(File, "Admin", PlayerInfo[ playerid ][ pAdmin ]);
  1824. INI_WriteInt(File, "Ubistva", PlayerInfo[ playerid ][ pUbistva ]);
  1825. INI_WriteInt(File, "Smrti", PlayerInfo[ playerid ][ pSmrti ]);
  1826. INI_WriteInt(File, "Tim", PlayerInfo[ playerid ][ pTim ]);
  1827. INI_WriteInt(File, "Pol", PlayerInfo[ playerid ][ pPol ]);
  1828. INI_WriteInt(File, "Skin", PlayerInfo[ playerid ][ pSkin ]);
  1829. INI_Close(File);
  1830. return 1;
  1831. }
  1832. SaveVeh(id)
  1833. {
  1834. new vFile[ 60 ];
  1835. format(vFile, sizeof(vFile), VOZILA_FILE, id);
  1836. new INI:File = INI_Open(vFile);
  1837. INI_WriteFloat(File, "LokacijaX", VehInfo[ id ][ PosX ]);
  1838. INI_WriteFloat(File, "LokacijaY", VehInfo[ id ][ PosY ]);
  1839. INI_WriteFloat(File, "LokacijaZ", VehInfo[ id ][ PosZ ]);
  1840. INI_WriteFloat(File, "RotacijaA", VehInfo[ id ][ RotA ]);
  1841. INI_WriteInt(File, "VehTim", VehInfo[ id ][ vTim ]);
  1842. INI_WriteInt(File, "Boja1", VehInfo[ id ][ Boja1 ]);
  1843. INI_WriteInt(File, "Boja2", VehInfo[ id ][ Boja2 ]);
  1844. INI_WriteInt(File, "Model", VehInfo[ id ][ Model ]);
  1845. INI_Close(File);
  1846. return 1;
  1847. }
  1848.  
  1849. // COMMANDS //
  1850.  
  1851. YCMD:makeadmin(playerid, params[], help)
  1852. {
  1853. #pragma unused help
  1854. if(!IsPlayerAdmin(playerid)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
  1855. new alvl, id;
  1856. if(sscanf(params, "ud", id, alvl)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /makeadmin [ID] [Admin level 0 - 3]");
  1857. if(alvl > 3) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Admin level ne moze biti veci od 3 !");
  1858. if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru !");
  1859. if(alvl == 0)
  1860. {
  1861. if(PlayerInfo[ id ][ pAdmin ] == 0) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Kako ces skinuti nekome admina ako ga ni nema?");
  1862. PlayerInfo[ id ][ pAdmin ] = 0;
  1863. new str[ 130 ];
  1864. format(str, sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Admin %s Vam je skinuo admina.", GetName(playerid));
  1865. SCM(id, -1, str);
  1866. new str1[ 130 ];
  1867. format(str1, sizeof(str1), ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste skinuli igracu %s admina", GetName(id));
  1868. SCM(playerid, -1, str1);
  1869. }
  1870. else
  1871. {
  1872. PlayerInfo[ id ][ pAdmin ] = alvl;
  1873. new str[ 150 ];
  1874. format(str, sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Admin %s Vam je dao admina level %d.", GetName(playerid), alvl);
  1875. SCM(id, -1, str);
  1876. new str1[ 150 ];
  1877. format(str1, sizeof(str1), ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste dali admina igracu %s, level %d.", GetName(id), alvl);
  1878. SCM(playerid, -1, str1);
  1879. }
  1880. return 1;
  1881. }
  1882. YCMD:veh(playerid, params[], help)
  1883. {
  1884. new da[ MAX_PLAYERS ], Float:X,Float:Y,Float:Z;
  1885. if(!KreiraoVozilo[ playerid ])
  1886. {
  1887. GetPlayerPos(playerid, X,Y,Z);
  1888. da[ playerid ] = CreateVehicle(411, X,Y,Z, 0.0, 1, 1, -1);
  1889. PutPlayerInVehicle(playerid, da[ playerid ], 0);
  1890. GivePlayerMoney(playerid, -20);
  1891. KreiraoVozilo[ playerid ] = true;
  1892. }
  1893. else { DestroyVehicle(da[ playerid ]); KreiraoVozilo[ playerid ] = false; }
  1894. return 1;
  1895. }
  1896. YCMD:gunmenu(playerid, params[], help)
  1897. {
  1898. #pragma unused help
  1899. #pragma unused params
  1900. if(PlayerInfo[ playerid ][ pTim ] < 4) return SPD(playerid, DIALOG_GUNMENU, DSL, ""COL_SERVER"Gun Menu",""COL_BELA"Deagle (60$)\nUzi (50$)\nTec-9 (50$)\nM5 (70$)\nArmour (100$)","Izaberi","Odustani");
  1901. else if(PlayerInfo[ playerid ][ pTim ] > 3) return SPD(playerid, DIALOG_GUNMENU1, DSL, ""COL_SERVER"Gun Menu",""COL_BELA"Deagle (60$)\nShotgun (70$)\nAK-47 (90$)\nM4 (90$)\nSniper (120$)\nArmour (100$)","Izaberi","Odustani");
  1902. return 1;
  1903. }
  1904. YCMD:slap(playerid, params[], help)
  1905. {
  1906. #pragma unused help
  1907. if(PlayerInfo[ playerid ][ pAdmin ] < 1) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
  1908. new id, Float:X,Float:Y,Float:Z;
  1909. if(sscanf(params, "u", id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /slap [ID]");
  1910. GetPlayerPos(id, X,Y,Z);
  1911. SetPlayerPos(id, X,Y,Z+4);
  1912. return 1;
  1913. }
  1914. YCMD:suicide(playerid, params[], help)
  1915. {
  1916. #pragma unused help
  1917. #pragma unused params
  1918. new str[ 75 ];
  1919. format(str,sizeof(str), ""COL_SERVER"[SC:DM INFO] "COL_BELA"Igrac %s je izvrsio samoubistvo.", GetName(playerid));
  1920. SCMTA(-1, str);
  1921. SetPlayerHealth(playerid, 0);
  1922. return 1;
  1923. }
  1924. YCMD:kreirajvozilo(playerid, params[], help)
  1925. {
  1926. #pragma unused help
  1927. if(!IsPlayerAdmin(playerid)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
  1928. new id, vtim, boja1, boja2, Float:X,Float:Y,Float:Z,Float:A;
  1929. if(sscanf(params, "dddd", id, vtim, boja1, boja2)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /kreiajvozilo [ID] [Tim 1 - 5] [Boja 1] [Boja 2].");
  1930. if(id < 400 || id > 611) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"ID Vozila ne moze biti manji od 400 ili veci od 611.");
  1931. if(vtim < 1 || vtim > 5) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Tim vozila ne moze biti manji od 1 ili veci od 5.");
  1932. GetPlayerPos(playerid, X,Y,Z);
  1933. GetPlayerFacingAngle(playerid, A);
  1934. KreiranaVozila++;
  1935. KreiranaVozila = CreateVehicle(id, X,Y,Z, A, boja1, boja2, -1);
  1936. VehInfo[ KreiranaVozila ][ PosX ] = X;
  1937. VehInfo[ KreiranaVozila ][ PosY ] = Y;
  1938. VehInfo[ KreiranaVozila ][ PosZ ] = Z;
  1939. VehInfo[ KreiranaVozila ][ RotA ] = A;
  1940. VehInfo[ KreiranaVozila ][ vTim ] = vtim;
  1941. VehInfo[ KreiranaVozila ][ Boja1 ] = boja1;
  1942. VehInfo[ KreiranaVozila ][ Boja2 ] = boja2;
  1943. VehInfo[ KreiranaVozila ][ Model ] = id;
  1944. SaveVeh(KreiranaVozila);
  1945. if(vtim == 1) { VehLabel[ KreiranaVozila ] = Create3DTextLabel(""COL_SERVER"[ GSF ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
  1946. else if(vtim == 2) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{6F00FF}[ Ballas ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
  1947. else if(vtim == 3) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{FFFF00}[ LS Vagos ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
  1948. else if(vtim == 4) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{002FFF}[ S.W.A.T ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
  1949. else if(vtim == 5) { VehLabel[ KreiranaVozila ] = Create3DTextLabel("{002FFF}[ Army ]", 0x008080FF, X,Y,Z, 10.0, 0, 0); Attach3DTextLabelToVehicle(VehLabel[ KreiranaVozila ] , KreiranaVozila, 0.0, 0.0, 0.0); }
  1950. return 1;
  1951. }
  1952. YCMD:ban(playerid, params[], help)
  1953. {
  1954. #pragma unused help
  1955. new id, razlog[ 40 ];
  1956. if(sscanf(params, "us[40]", id, razlog)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /ban [ID] [Razlog]");
  1957. if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru.");
  1958. new str[ 150 ];
  1959. format(str,sizeof(str), ""COL_SERVER"[BAN] "COL_BELA"Igrac %s je banovan sa servera od strane admina %s, razlog %s.", GetName(id), GetName(playerid), razlog);
  1960. SCMTA(-1, str);
  1961. SetTimerEx("BanTimer", 500, false, "i", id);
  1962. return 1;
  1963. }
  1964. YCMD:kick(playerid, params[], help)
  1965. {
  1966. #pragma unused help
  1967. new id, razlog[ 40 ];
  1968. if(sscanf(params, "us[40]", id, razlog)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /kick [ID] [Razlog]");
  1969. if(!IsPlayerConnected(id)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru.");
  1970. new str[ 150 ];
  1971. format(str,sizeof(str), ""COL_SERVER"[KICK] "COL_BELA"Igrac %s je kickovan sa servera od strane admina %s, razlog %s.", GetName(id), GetName(playerid), razlog);
  1972. SCMTA(-1, str);
  1973. SetTimerEx("KickTimer", 500, false, "i", id);
  1974. return 1;
  1975. }
  1976. YCMD:zauzmi(playerid, params[], help)
  1977. {
  1978. if(IsPlayerInRangeOfPoint(playerid, 2.0, 2126.0322,-1445.4745,23.9910))
  1979. {
  1980. if(PlayerInfo[ playerid ][ pTim ] != 2 && PlayerInfo[ playerid ][ pTim ] != 4 && PlayerInfo[ playerid ][ pTim ] != 5)
  1981. {
  1982. if(BallasZauzetOdStrane == 1 && PlayerInfo[ playerid ][ pTim ] == 1) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
  1983. else if(BallasZauzetOdStrane == 3 && PlayerInfo[ playerid ][ pTim ] == 3) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
  1984. else if(Zauzima[ playerid ]) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vec zauzimate.");
  1985. if(TestUkljucen) { ballaszt = SetTimerEx("BallasZauzimanje", 10000, false, "i", playerid); }
  1986. ballaszt = SetTimerEx("BallasZauzimanje", 480000, false, "i", playerid);
  1987. Zauzima[ playerid ] = true;
  1988. TogglePlayerControllable(playerid, false);
  1989. SetTimerEx("AnimApply", 500, false, "i", playerid);
  1990. foreach(Player,i) { if(PlayerInfo[ i ][ pTim ] == 2) { SCM(i, -1, ""COL_SERVER"[ZAUZIMANJE] "COL_BELA"Neko pokusava da vam zauzme teritoriju !"); } }
  1991. }
  1992. else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes zauzeti teritoriju od svog tima, ili si policajac.");
  1993. }
  1994. else if(IsPlayerInRangeOfPoint(playerid, 2.0, 2490.3318,-1668.3350,13.3438))
  1995. {
  1996. if(PlayerInfo[ playerid ][ pTim ] != 1 && PlayerInfo[ playerid ][ pTim ] != 4 && PlayerInfo[ playerid ][ pTim ] != 5)
  1997. {
  1998. if(GSFZauzetOdStrane == 2 && PlayerInfo[ playerid ][ pTim ] == 2) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
  1999. else if(GSFZauzetOdStrane == 3 && PlayerInfo[ playerid ][ pTim ] == 3) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
  2000. if(TestUkljucen) { gsfzt = SetTimerEx("GSFZauzimanje", 10000, false, "i", playerid); }
  2001. gsfzt = SetTimerEx("GSFZauzimanje", 480000, false, "i", playerid);
  2002. Zauzima[ playerid ] = true;
  2003. TogglePlayerControllable(playerid, false);
  2004. SetTimerEx("AnimApply", 500, false, "i", playerid);
  2005. foreach(Player,i) { if(PlayerInfo[ i ][ pTim ] == 1) { SCM(i, -1, ""COL_SERVER"[ZAUZIMANJE] "COL_BELA"Neko pokusava da vam zauzme teritoriju !"); } }
  2006. }
  2007. else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes zauzeti teritoriju od svog tima, ili si policajac.");
  2008. }
  2009. else if(IsPlayerInRangeOfPoint(playerid, 2.0, 2575.6936,-1123.5803,65.5335))
  2010. {
  2011. if(PlayerInfo[ playerid ][ pTim ] != 3 && PlayerInfo[ playerid ][ pTim ] != 4 && PlayerInfo[ playerid ][ pTim ] != 5)
  2012. {
  2013. if(LSVZauzetOdStrane == 1 && PlayerInfo[ playerid ][ pTim ] == 1) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
  2014. else if(LSVZauzetOdStrane == 2 && PlayerInfo[ playerid ][ pTim ] == 2) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Vas tim vec ima u posedu tu teritoriju.");
  2015. if(TestUkljucen) { lsvzt = SetTimerEx("LSVZauzimanje", 10000, false, "i", playerid); }
  2016. lsvzt = SetTimerEx("LSVZauzimanje", 480000, false, "i", playerid);
  2017. Zauzima[ playerid ] = true;
  2018. TogglePlayerControllable(playerid, false);
  2019. SetTimerEx("AnimApply", 500, false, "i", playerid);
  2020. foreach(Player,i) { if(PlayerInfo[ i ][ pTim ] == 3) { SCM(i, -1, ""COL_SERVER"[ZAUZIMANJE] "COL_BELA"Neko pokusava da vam zauzme teritoriju !"); } }
  2021. }
  2022. else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes zauzeti teritoriju od svog tima, ili si policajac.");
  2023. }
  2024. return 1;
  2025. }
  2026. YCMD:spec(playerid, params[], help) // SPEC i SPECOFF UZETI IZ DRUGOG MODA - MRZELO ME RADITI
  2027. {
  2028. #pragma unused help
  2029. new id;
  2030. if(PlayerInfo[playerid][pAdmin] > 0)
  2031. {
  2032. if(sscanf(params,"u", id))return SendClientMessage(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristi: /spec [id]");
  2033. if(id == playerid) return SendClientMessage(playerid,-1,""COL_SERVER"[SC:DM] "COL_BELA"Ne mozes da nadgledas samog sebe !");
  2034. if(id == INVALID_PLAYER_ID)return SendClientMessage(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Taj igrac nije na serveru !");
  2035. if(IsSpecing[playerid] == 1)return SendClientMessage(playerid,-1,""COL_SERVER"[SC:DM] "COL_BELA"Vec nadgledas nekoga !");
  2036. GetPlayerPos(playerid,SpecX[playerid],SpecY[playerid],SpecZ[playerid]);
  2037. Inter[playerid] = GetPlayerInterior(playerid);
  2038. vWorld[playerid] = GetPlayerVirtualWorld(playerid);
  2039. TogglePlayerSpectating(playerid, true);
  2040. if(IsPlayerInAnyVehicle(id))
  2041. {
  2042. if(GetPlayerInterior(id) > 0)
  2043. {
  2044. SetPlayerInterior(playerid,GetPlayerInterior(id));
  2045. }
  2046. if(GetPlayerVirtualWorld(id) > 0)
  2047. {
  2048. SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(id));
  2049. PlayerSpectateVehicle(playerid,GetPlayerVehicleID(id));
  2050. }
  2051. }
  2052. else
  2053. {
  2054. if(GetPlayerInterior(id) > 0)
  2055. {
  2056. SetPlayerInterior(playerid,GetPlayerInterior(id));
  2057. }
  2058. if(GetPlayerVirtualWorld(id) > 0)
  2059. {
  2060. SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(id));
  2061. }
  2062. PlayerSpectatePlayer(playerid,id);
  2063. }
  2064. GetPlayerName(id, Name, sizeof(Name));
  2065. format(String, sizeof(String),""COL_SERVER"[SC:DM] "COL_BELA"Poceo si sa nagledanjem igraca %s",Name);
  2066. SendClientMessage(playerid,0x0080C0FF,String);
  2067. IsSpecing[playerid] = 1;
  2068. IsBeingSpeced[id] = 1;
  2069. spectatorid[playerid] = id;
  2070. }
  2071. else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nisi ovlasceni !");
  2072. return 1;
  2073. }
  2074. YCMD:specoff(playerid,params[], help)
  2075. {
  2076. #pragma unused help
  2077. #pragma unused params
  2078. if(PlayerInfo[ playerid ][ pAdmin ] > 0)
  2079. {
  2080. if(IsSpecing[playerid] == 0) return SendClientMessage(playerid,-1,""COL_SERVER"[SC:DM] "COL_BELA"Ne nadgledas nikoga !");
  2081. TogglePlayerSpectating(playerid, 0);
  2082. }
  2083. else return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Nisi ovlasceni !");
  2084. return 1;
  2085. }
  2086. YCMD:givegun(playerid, params[], help)
  2087. {
  2088. #pragma unused help
  2089. new id, oid, municija;
  2090. if(PlayerInfo[ playerid ][ pAdmin ] < 2) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Niste ovlasceni.");
  2091. if(sscanf(params, "udd", id, oid, municija)) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Koristite /givegun [ID] [Gun ID] [Municija 1-500]");
  2092. if(oid < 1 || oid > 43) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Gun ID ne moze biti manji od 1 ili veci od 43 !");
  2093. if(municija < 1 || municija > 500) return SCM(playerid, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Municija ne moze biti manja od 1 ili veca od 500 !");
  2094. new str[ 50 ], str1[ 90 ];
  2095. format(str, sizeof(str), ""COL_SERVER"[SC:DM] "COL_BELA"Admin Vam je dao gun id %d, municija %d.", oid, municija);
  2096. format(str1, sizeof(str1), ""COL_SERVER"[SC:DM] "COL_BELA"Dali ste igracu %s gun id %d, municija %d.", GetName(id), oid, municija);
  2097. SCM(id, -1, str);
  2098. SCM(playerid, -1, str1);
  2099. GivePlayerWeapon(id, oid, municija);
  2100. return 1;
  2101. }
  2102. forward LSVZauzimanje(playerid);
  2103. public LSVZauzimanje(playerid)
  2104. {
  2105. if(PlayerInfo[ playerid ][ pTim ] == 1)
  2106. {
  2107. Update3DTextLabelText(zlsvlabel, ZELENA, "[ GSF ]\n{FFFFFF}/zauzmi");
  2108. LSVZauzetOdStrane = 1;
  2109. GangZoneHideForAll(gangzone[ 1 ]);
  2110. GangZoneShowForAll(gangzone[ 1 ], 0x008000AA);
  2111. TogglePlayerControllable(playerid, true);
  2112. foreach(Player, i)
  2113. {
  2114. if(PlayerInfo[ i ][ pTim ] == 1)
  2115. {
  2116. SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli LSV, te je svaki clan GSF-a dobio 3000$ !");
  2117. GivePlayerMoney(i, 3000);
  2118. Zauzima[ playerid ] = false;
  2119. }
  2120. }
  2121. }
  2122. else if(PlayerInfo[ playerid ][ pTim ] == 2)
  2123. {
  2124. Update3DTextLabelText(zlsvlabel, 0x6F00FFFF, "[ Ballas ]\n{FFFFFF}/zauzmi");
  2125. LSVZauzetOdStrane = 2;
  2126. GangZoneHideForAll(gangzone[ 1 ]);
  2127. GangZoneShowForAll(gangzone[ 1 ], 0x6F00FFAA);
  2128. TogglePlayerControllable(playerid, true);
  2129. foreach(Player, i)
  2130. {
  2131. if(PlayerInfo[ i ][ pTim ] == 2)
  2132. {
  2133. SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli LSV, te je svaki clan Ballasa dobio 3000$ !");
  2134. GivePlayerMoney(i, 3000);
  2135. Zauzima[ playerid ] = false;
  2136. }
  2137. }
  2138. }
  2139. return 1;
  2140. }
  2141. forward GSFZauzimanje(playerid);
  2142. public GSFZauzimanje(playerid)
  2143. {
  2144. if(PlayerInfo[ playerid ][ pTim ] == 2)
  2145. {
  2146. Update3DTextLabelText(zgsflabel, 0x6F00FFFF, "[ Ballas ]\n{FFFFFF}/zauzmi");
  2147. GSFZauzetOdStrane = 2;
  2148. GangZoneHideForAll(gangzone[ 0 ]);
  2149. GangZoneShowForAll(gangzone[ 0 ], 0x6F00FFAA);
  2150. TogglePlayerControllable(playerid, true);
  2151. foreach(Player, i)
  2152. {
  2153. if(PlayerInfo[ i ][ pTim ] == 2)
  2154. {
  2155. SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli GSF, te je svaki clan Ballasa dobio 3000$ !");
  2156. GivePlayerMoney(i, 3000);
  2157. Zauzima[ playerid ] = false;
  2158. }
  2159. }
  2160. }
  2161. else if(PlayerInfo[ playerid ][ pTim ] == 3)
  2162. {
  2163. Update3DTextLabelText(zgsflabel, 0xFFFF00AA, "[ LS Vagos ]\n{FFFFFF}/zauzmi");
  2164. GSFZauzetOdStrane = 3;
  2165. GangZoneHideForAll(gangzone[ 0 ]);
  2166. TogglePlayerControllable(playerid, true);
  2167. GangZoneShowForAll(gangzone[ 0 ], 0xFFFF00FF);
  2168. foreach(Player, i)
  2169. {
  2170. if(PlayerInfo[ i ][ pTim ] == 3)
  2171. {
  2172. SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli GSF, te je svaki clan LSV-a dobio 3000$ !");
  2173. GivePlayerMoney(i, 3000);
  2174. Zauzima[ playerid ] = false;
  2175. }
  2176. }
  2177. }
  2178. return 1;
  2179. }
  2180. forward AnimApply(playerid);
  2181. public AnimApply(playerid)
  2182. {
  2183. ApplyAnimation(playerid, "BOMBER", "BOM_Plant_Loop", 4.0, 1, 0, 0, 0, 0);
  2184. return 1;
  2185. }
  2186. forward BallasZauzimanje(playerid);
  2187. public BallasZauzimanje(playerid)
  2188. {
  2189. if(PlayerInfo[ playerid ][ pTim ] == 1)
  2190. {
  2191. Update3DTextLabelText(zballaslabel, ZELENA, "[ GSF ]\n{FFFFFF}/zauzmi");
  2192. BallasZauzetOdStrane = 1;
  2193. GangZoneHideForAll(gangzone[ 2 ]);
  2194. GangZoneShowForAll(gangzone[ 2 ], 0x008000AA);
  2195. TogglePlayerControllable(playerid, true);
  2196. foreach(Player, i)
  2197. {
  2198. if(PlayerInfo[ i ][ pTim ] == 1)
  2199. {
  2200. SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli ballas, te je svaki clan GSF-a dobio 3000$ !");
  2201. GivePlayerMoney(i, 3000);
  2202. Zauzima[ playerid ] = false;
  2203. }
  2204. }
  2205. }
  2206. else if(PlayerInfo[ playerid ][ pTim ] == 3)
  2207. {
  2208. Update3DTextLabelText(zballaslabel, 0xFFFF00FF, "[ LS Vagos ]\n{FFFFFF}/zauzmi");
  2209. BallasZauzetOdStrane = 3;
  2210. GangZoneHideForAll(gangzone[ 2 ]);
  2211. GangZoneShowForAll(gangzone[ 2 ], 0xFFFF00AA);
  2212. TogglePlayerControllable(playerid, true);
  2213. foreach(Player, i)
  2214. {
  2215. if(PlayerInfo[ i ][ pTim ] == 3)
  2216. {
  2217. SCM(i, -1, ""COL_SERVER"[SC:DM] "COL_BELA"Uspesno ste zauzeli ballas, te je svaki clan LSV-a dobio 3000$ !");
  2218. GivePlayerMoney(i, 3000);
  2219. Zauzima[ playerid ] = false;
  2220. }
  2221. }
  2222. }
  2223. return 1;
  2224. }
  2225. forward KickTimer(playerid);
  2226. public KickTimer(playerid)
  2227. {
  2228. Kick(playerid);
  2229. return 1;
  2230. }
  2231. forward BanTimer(playerid);
  2232. public BanTimer(playerid)
  2233. {
  2234. Ban(playerid);
  2235. return 1;
  2236. }
Advertisement
Add Comment
Please, Sign In to add comment