_DucK_196_

Untitled

Aug 25th, 2012
1,625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 398.20 KB | None | 0 0
  1. //===<Info>===//
  2.     /*
  3.                          ______  ____                                        __
  4.                         /\__  _\/\  _`\    /'\_/`\      /'\_/`\             /\ \
  5.                         \/_/\ \/\ \ \/\ \ /\      \    /\      \     ___    \_\ \      __
  6.                            \ \ \ \ \ \ \ \\ \ \__\ \   \ \ \__\ \   / __`\  /'_` \   /'__`\
  7.                             \ \ \ \ \ \_\ \\ \ \_/\ \   \ \ \_/\ \ /\ \L\ \/\ \L\ \ /\  __/
  8.                              \ \_\ \ \____/ \ \_\\ \_\   \ \_\\ \_\\ \____/\ \___,_\\ \____\
  9.                               \/_/  \/___/   \/_/ \/_/    \/_/ \/_/ \/___/  \/__,_ / \/____/
  10.  
  11.  
  12.                                  ____                 ____                      __  __
  13.                                 /\  _`\              /\  _`\                   /\ \/\ \
  14.                                 \ \ \L\ \   __  __   \ \ \/\ \   __  __    ___ \ \ \/'/'
  15.                                  \ \  _ <' /\ \/\ \   \ \ \ \ \ /\ \/\ \  /'___\\ \ , <
  16.                                   \ \ \L\ \\ \ \_\ \   \ \ \_\ \\ \ \_\ \/\ \__/ \ \ \\`\
  17.                                    \ \____/ \/`____ \   \ \____/ \ \____/\ \____\ \ \_\ \_\
  18.                                     \/___/   `/___/> \   \/___/   \/___/  \/____/  \/_/\/_/
  19.                                                 /\___/
  20.                                                 \/__/
  21.                                                
  22.                                                                                    ____                
  23.                          /'\_/`\                            __                    /\  _`\              
  24.                         /\      \     __     _____   _____ /\_\    ___      __    \ \ \L\ \  __  __    
  25.                         \ \ \__\ \  /'__`\  /\ '__`\/\ '__`\/\ \ /' _ `\  /'_ `\   \ \  _ <'/\ \/\ \  
  26.                          \ \ \_/\ \/\ \L\.\_\ \ \L\ \ \ \L\ \ \ \/\ \/\ \/\ \L\ \   \ \ \L\ \ \ \_\ \  
  27.                           \ \_\\ \_\ \__/.\_\\ \ ,__/\ \ ,__/\ \_\ \_\ \_\ \____ \   \ \____/\/`____ \
  28.                            \/_/ \/_/\/__/\/_/ \ \ \/  \ \ \/  \/_/\/_/\/_/\/___L\ \   \/___/  `/___/> \
  29.                                                \ \_\   \ \_\                /\____/              /\___/
  30.                                                 \/_/    \/_/                \_/__/               \/__/
  31.                          __  __      __                            ____      
  32.                         /\ \/\ \  __/\ \__                        /\  _`\    
  33.                         \ \ `\\ \/\_\ \ ,_\  ____      __      ___\ \ \/\_\  
  34.                          \ \ , ` \/\ \ \ \/ /\_ ,`\  /'__`\  /' _ `\ \ \/_/_
  35.                           \ \ \`\ \ \ \ \ \_\/_/  /_/\ \L\.\_/\ \/\ \ \ \L\ \
  36.                            \ \_\ \_\ \_\ \__\ /\____\ \__/.\_\ \_\ \_\ \____/
  37.                             \/_/\/_/\/_/\/__/ \/____/\/__/\/_/\/_/\/_/\/___/
  38.                                                                              
  39.                                                      
  40.                                 ##########################################################
  41.                                 ##                                                      ##
  42.                                 ##                                                      ##
  43.                                 ##      Contact Me:                                     ##
  44.                                 ##      ===========                                     ##
  45.                                 ##                                                      ##
  46.                                 ##          _DucK_                                      ##
  47.                                 ##          TDM Mode, 2012.                             ##
  48.                                 ##          Messenger: **CENSORED********               ##
  49.                                 .##         Email: ****CENSORED********                 ##
  50.                                 ##                                                      ##
  51.                                 ##                                                      ##
  52.                                 ##                                                      ##
  53.                                 ##      Script Files:                                   ##
  54.                                 ##      =============                                   ##
  55.                                 ##                                                      ##
  56.                                 ##          1.TDM                                       ##
  57.                                 ##              1.1.Users                               ##
  58.                                 ##                  1.1.1 Temp                          ##
  59.                                 ##              1.2.System                              ##
  60.                                 ##              1.3.Logs                                ##
  61.                                 ##                                                      ##
  62.                                 ##                                                      ##
  63.                                 ##      Mode Contains:                                  ##
  64.                                 ##      ==============                                  ##
  65.                                 ##                                                      ##
  66.                                 ##          Register&Login System - V                   ##
  67.                                 ##          Help Menu - V                               ##
  68.                                 ##          Stats&Levels - V                            ##
  69.                                 ##          Missions - V                                ##
  70.                                 ##          Capture The Flag System - V                 ##
  71.                                 ##          MP3 System - V                              ##
  72.                                 ##          Weapon&Bank - V                             ##                             
  73.                                 ##                                                      ##                             
  74.                                 ##      Functions:                                      ##                             
  75.                                 ##      ==========                                      ##                             
  76.                                 ##                                                      ##                             
  77.                                 ##          native DSetPlayerHealth                     ##                             
  78.                                 ##          native DSetPlayerArmour                     ##                             
  79.                                 ##          native DSetPlayerPos                        ##                             
  80.                                 ##          native DGivePlayerMoney                     ##                             
  81.                                 ##          native DGivePlayerWeapon                    ##                             
  82.                                 ##          native DGivePlayerWeapons                   ##                             
  83.                                 ##          native DRemovePlayerWeapon                  ##                             
  84.                                 ##          native DResetPlayerWeapons                  ##                             
  85.                                 ##          native DGetPlayerMoney                      ##                             
  86.                                 ##                                                      ##                             
  87.                                 ##                                                      ##                             
  88.                                 ##########################################################
  89.     */
  90. //===<Info>===//
  91.  
  92.  
  93. //===<Includes>===//
  94. #include <a_samp>
  95. #include <md5>
  96. #include <fade>
  97. #include <core>
  98. #include <float>
  99. #include <Double-O-Files>
  100. #include <dudb>
  101. #include <dutils>
  102. #include <a_players>
  103. #include <cpstream>
  104. #include <F_Streamer>
  105. //#include <DucK>
  106.  
  107. //===<Includes>===//
  108. #undef MAX_PLAYERS
  109. #define MAX_PLAYERS 50
  110.  
  111. #define PRESSED(%0) \
  112.     (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
  113. #define RELEASED(%0) \
  114.     (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))
  115. #define HOLDING(%0) \
  116.     ((newkeys & (%0)) == (%0))
  117. #define IsValidWeapon(%0) (%0>=1 && %0<=18 || %0>=21 && %0<=46)
  118. //===<Variables>===//
  119. new AmON=0;
  120. new AMT;
  121. new pCed;
  122. new InRadio[MAX_PLAYERS] = 0;
  123. new Radio[][] =
  124. {
  125.     {"http://cent4.serverhostingcenter.com/tunein.php/devhines/playlist.pls"}, //OK
  126.     {"http://tunein.defjay.com/listen.pls"}, //OK
  127.     {"http://yp.shoutcast.com/sbin/tunein-station.pls?id=1281016"}, //OK
  128.     {"http://yp.shoutcast.com/sbin/tunein-station.pls?id=336447"}, //OK
  129.     {"http://www.reliastream.com/cast/tunein.php/niorozco/playlist.pls"}, //OK
  130.     {"http://yp.shoutcast.com/sbin/tunein-station.pls?id=293191"}, //OK
  131.     {"http://www.radio-beat.com/stream/winamp.pls"}, //OK
  132.     {"http://yp.shoutcast.com/sbin/tunein-station.pls?id=1280356"}, //OK
  133.     {"http://hagiga-mizrahit.co.il/radio/listen.wax"},
  134.     {"http://menta-fm.co.il/wait/listen.wax"}
  135. };
  136. enum SongE
  137. {
  138.     SongName[256],
  139.     AdRL[512],
  140. };
  141. new Songs[][SongE] =
  142. {
  143.     {"Eminem - Not Afraid", "http://k003.kiwi6.com/hotlink/4j6ycy7opj/Eminem_Not_Afraid_Lyrics.mp3"},
  144.     {"Eminem - Space Bound", "http://k003.kiwi6.com/hotlink/qnj68hp095/Eminem_Space_Bound.mp3"},
  145.     {"Fly Project - Mandala", "http://k005.kiwi6.com/hotlink/bdddjff8yj/FLY_PROJECT_Mandala_Official_Video.mp3"},
  146.     {"EZ & Din Cohen - Haim Rak Paam Ahat", "http://k003.kiwi6.com/hotlink/lo6g33vco0/amp.mp3"},
  147.     {"Ido B & Zooki Ft. EZ - Lo Normali", "http://k003.kiwi6.com/hotlink/o56ezkh5p9/Ido_B_amp_Zooki_Ft_E_Z.mp3"},
  148.     {"Sean Paul - Temperature", "http://k003.kiwi6.com/hotlink/6klh22pd03/Sean_Paul_Temperature_With_Lyrics_by_Lyricscentral1.mp3"},
  149.     {"Michel Telo - Ai Se Eu Te Pego", "http://k003.kiwi6.com/hotlink/nd7ec5hgu3/Ai_Se_Eu_Te_Pego_Michel_Telo_2012_Best_Song_Official_Version_nosa_nosa.mp3"},
  150.     {"Hollywood Undedad - I Don't Wanna Die", "http://k003.kiwi6.com/hotlink/220c06a4eo/I_Don39t_Wanna_Die_Lyrics_Hollywood_Undead.mp3"},
  151.     {"Tupac - Life Goes On", "http://k003.kiwi6.com/hotlink/ry9hoex2vi/Life_Goes_On_Tupac.mp3"},
  152.     {"Eyal Golan&Omer Adam - Kshe Aher", "http://k004.kiwi6.com/hotlink/kdmst7i98s/2.mp3"},
  153.     {"Sean Paul - Got 2 Luv U", "http://k003.kiwi6.com/hotlink/mv048ahwh7/Sean_Paul_Got_2_Luv_U_Ft_Alexis_Jordan_Official_Music_Video.mp3"},
  154.     {"Adele - Set Fire To The Rain", "http://satla-wab.co.il/Music/Adele.mp3"},
  155.     {"Alex Mica - Dalinda", "http://satla-wab.co.il/Music/Dalinda.mp3"},
  156.     {"The Voice - Ima Yekara", "http://k004.kiwi6.com/hotlink/d21y1d4yx0/VS.mp3"},
  157.     {"The Voice - HaIm Lihiot Bah Meohav", "http://k004.kiwi6.com/hotlink/0c8cj4lwso/VS.mp3"},
  158.     {"Moshe Perez - Zikukim", "http://k004.kiwi6.com/hotlink/ib2cvox67g/Moshe_Perez_Zikukim.mp3"},
  159.     {"Adir Gatz - Eich Hi Rokedet", "http://k004.kiwi6.com/hotlink/fofh5c50sf/mp3"},
  160.     {"Don Omar - Danza Kuduro", "http://k003.kiwi6.com/hotlink/2q617hc0jr/Don_Omar_feat_Lucenzo_Danza_Kuduro_LYRICSMP3_DOWNLOAD.mp3"},
  161.     {"Sean Paul - Got 2 Luv U", "http://k004.kiwi6.com/hotlink/zj9719ot81/Sean_Paul_Got_2_Luv_U_Ft_Alexis_Jordan_Official_Music_Video.mp3"},
  162.     {"EZ - Kuli Be Hi", "http://k003.kiwi6.com/hotlink/5s22n07o95/mp3"},
  163.     {"Adir Gatz - Boey Nered El Ha Yam", "http://k004.kiwi6.com/hotlink/k1tml7une1/mp3"},
  164.     {"Loona - Vamos A La Playa", "http://k003.kiwi6.com/hotlink/33wrbozs1o/Loona_Vamos_A_La_Playa_Official_Video.mp3"},
  165.     {"Moshe Peretz - Ahuvati", "http://k004.kiwi6.com/hotlink/6mwv8w5809/2012_Dj_Alon_Mix_amp_Dj_Yaki_E_Remix.mp3"},
  166.     {"The Voice - Lalehet", "http://k004.kiwi6.com/hotlink/j6lkrki6pq/VS.mp3"},
  167.     {"Yuval Dayan - Sheeriot Ha Haim", "http://k004.kiwi6.com/hotlink/sr229639cu/mp3"},
  168.     {"Moshe Perez - Im At Holehet", "http://k004.kiwi6.com/hotlink/tvni01n38h/Ron_Hadad_Remix.mp3"},
  169.     {"DJ BL3ND - Rockin MIX", "http://k005.kiwi6.com/hotlink/c59m0d67ns/ROCKIN_MIX_DJ_BL3ND.mp3"},
  170.     {"Knife Party - Bonfire", "http://k005.kiwi6.com/hotlink/iw02qwl7xh/Knife_Party_39Bonfire39.mp3"},
  171.     {"Skip The Foreplay  - This City (We're Taking Over)", "http://k005.kiwi6.com/hotlink/92z1ay1x24/Skip_the_Foreplay_quotThis_City_We39re_Taking_Overquot_Epitaph_Records.mp3"}
  172. };
  173. new SongNumber;
  174. //new Float: PX2[MAX_PLAYERS];
  175. //new Float: PY2[MAX_PLAYERS];
  176. //new Float: PZ2[MAX_PLAYERS];
  177. /*
  178. enum HintX
  179. {
  180.     Interior,
  181.     Float:X,
  182.     Float:Y,
  183.     Float:Z,
  184.     Price,
  185.     Name[50]
  186. };
  187. new HVar[][HintX] =
  188. {
  189.     {12, 2324.4905,-1148.1571,1050.7101,40000, "Large"},
  190.     {10, 2269.3142,-1212.1259,1047.5625,25000, "Medium 1"},
  191.     {8, 2365.1951,-1135.0013,1050.8750,27000, "Medium 2"}, //
  192.     {8, -42.8787,1406.2307,1084.4297,17000, "Small But Nice"},
  193.     {9, 260.7833,1238.0315,1084.2578,13000, "Small X2, Nice"},
  194.     {6, 2308.9084,-1212.6108,1049.0234,11000, "Small X2"},
  195.     {10, 2260.2446,-1136.0397,1050.6328,9000, "Small X3"},
  196.     {1, 244.3926,304.8945,999.1484,8500, "1 Room"},
  197.     {1, 223.0439, 1289.2598, 1082.1999, 10000, "Small"},
  198.     {3, 235.5089, 1189.1698, 1080.3399, 45000, "Large2 "},
  199.     {7, 225.6309, 1022.4799, 1084.0699, 60000, "Very Large"},
  200.     {0, 0.0, 0.0, 0.0, 0, "<<DONT ADD>> <<FUCKS UP ALL>>"},
  201.     {0, 0.0, 0.0, 0.0, 0, "<<DONT ADD>> <<FUCKS UP ALL>>"}
  202. };
  203. */
  204. new Float:SWShop[][3] =
  205. {
  206.     {2268.5747,2456.6863,10.8203},
  207.     {2272.8799,2456.9622,10.8203},
  208.     {2276.9626,2456.3430,10.8203}
  209. };
  210. new SWSInside;
  211. new SWSOutside;
  212. new SWShopCP;
  213. new Text3D:SWSInsideT;
  214. new Text3D:SWSOutsideT;
  215. new stm[512];
  216. //new Hp[500];
  217. //new Text3D:Ht[500];
  218. //new HpI[500];
  219. //new Text3D:HtI[500];
  220. //new CHfD[MAX_PLAYERS];
  221. new q;
  222. new bool:ACh[MAX_PLAYERS];
  223. #define HCD 124
  224. #define HcI 1241
  225. #define HMenu 1244
  226. #define HSConfirm 1245
  227. new String[2048];
  228. new Text:TdX1;
  229. new Text:TdX2;
  230. new BankEN;
  231. new BankEX;
  232. new AmmuEN;
  233. new AmmuEX;
  234. //new CasinoEN;
  235. //new CasinoEX;
  236. //new Roulette;
  237. //new Blackjack;
  238. //new InCasino[MAX_PLAYERS];
  239. new GotS[MAX_PLAYERS];
  240. new pMoney[MAX_PLAYERS];
  241. new Text:Result;
  242. new Text:NickTD[MAX_PLAYERS];
  243. new Points[4];
  244. new SpeedA[MAX_PLAYERS];
  245. new Flag[MAX_PLAYERS];
  246. new LoggeX[MAX_PLAYERS] = 0;
  247. new LoginAttemps[MAX_PLAYERS] = 0;
  248. new Team[MAX_PLAYERS];
  249. new GroveZ;
  250. new AztecasZ;
  251. new VagosZ;
  252. new PoliceZ;
  253. new AztecasCP;
  254. new VagosCP;
  255. new GroveCP;
  256. new PoliceCP;
  257. new BankCP;
  258. new AmmuCP;
  259. new AztecasF;
  260. new VagosF;
  261. new GroveF;
  262. new PoliceF;
  263. new HiddenF;
  264. new Fhidden=0;
  265. new RTime;
  266. new PlayerCountDown[MAX_PLAYERS];
  267. new RaceActive;
  268. new InROT[MAX_PLAYERS];
  269. new RobCar;
  270. new Boat;
  271. new Maverick;
  272. new InMaverick[MAX_PLAYERS];
  273. new InPdelivery[MAX_PLAYERS];
  274. new BoatCP;
  275. new RaceCP;
  276. new RobCP;
  277. new Pboy;
  278. new DidRob[MAX_PLAYERS] = 0;
  279. new InRob[MAX_PLAYERS] = 0;
  280. new InBoat[MAX_PLAYERS]=0;
  281. new InBx;
  282. new CpN[MAX_PLAYERS] = 0;
  283. new PtL[MAX_PLAYERS] = 0;
  284. new DucK[MAX_PLAYERS] = 0;
  285. new MMissions[MAX_PLAYERS] = 0;
  286. new K[11];
  287. //===<Variables>===//
  288.  
  289.  //wepac
  290. enum AC_Mode
  291. {
  292.     Spawnd
  293. }
  294. new AntiCheat[MAX_PLAYERS][AC_Mode];
  295.  
  296.  
  297. enum AC_Weapon
  298. {
  299.     Slot,WeaponID,Ammo
  300. }
  301. new AntiCheatWeapon[MAX_PLAYERS][AC_Weapon][47];
  302.  
  303. //new Float:HealthArmour[2][MAX_PLAYERS];
  304. //===<Definitions>===//
  305. #define ModeV 0
  306. #define ModeV2 1
  307. #define Tour1 8471
  308. #define Tour2 8473
  309. #define Tour3 8741
  310. #define Tour4 8125
  311. #define Tour5 1887
  312. #define Tour6 1888
  313. #define Tour7 1999
  314. #define cPass 2011
  315. #define cNick 2012
  316. #define Weapon 119
  317. #define GSelect 1031
  318. #define Grove 1
  319. #define Aztecas 2
  320. #define Vagos 3
  321. #define Police 4
  322. #define GroveC 0x009900aa
  323. #define AztecasC 0x33ffccaa
  324. #define VagosC 0xffff00aa
  325. #define PoliceC 0x0000ffaa
  326. #define Register 900 // Registeration Dialog ID
  327. #define Login 901 // Login Dialog ID
  328. #define LoginAttempsAllowed 3 // Login Attemps
  329. #define Rule1 409 // Rules Dialod ID
  330. #define Rule2 401 //{
  331. #define Rule3 406 //{
  332. #define Rule4 408 //{
  333. #define Rule5 435 //{
  334. #define Rule6 491 // Rules Dialog ID
  335. #define Help 541 // Help Dialog ID
  336. #define Bank 1259
  337. #define BankD 1261
  338. #define BankW 1262
  339.  
  340. #define BMenu 12314
  341. #define URL 1
  342. #define MsgDia 777  // Define Message Dialog
  343. #define COLOR_RED 0xFF0000AA
  344. #define ADMINFS_MESSAGE_COLOR 0xFF444499
  345. #define PM_INCOMING_COLOR     0xFFFF22AA
  346. #define PM_OUTGOING_COLOR     0xFFCC2299
  347. #define SD 3
  348. #define SDa 31
  349. #define MP3Cost 1500
  350. #define Ea 3121
  351. //===<Definitions>===//
  352.  
  353.  
  354. //PropSys//
  355.  
  356. #define PropBuy 147
  357. #define PropSell 148
  358.  
  359. new HProps[MAX_PLAYERS];
  360. enum Prop
  361. {
  362.     PName[30],
  363.     PPrice,
  364.     PEarn,
  365.     Float:Px,
  366.     Float:Py,
  367.     Float:Pz,
  368.     POwner[24],
  369.     PoID
  370. };
  371. new PropVar[][Prop] =
  372. {
  373.     {"x", 0, 0, 0.0, 0.0, 0.0},
  374.     {"LV Ammunation", 20000, 68, 2155.4102,946.4137,10.8203},
  375.     {"Gas Station 1", 17000, 94, 2117.5022,897.8309,11.1797},
  376.     {"Gas Station 2", 16500, 57, 1600.5645,2220.7161,10.7294},
  377.     {"Gas Station 3", 13000, 40, 2188.7705,2469.5762,10.9088},
  378.  
  379.     {"Four-Dragons Casino",100000, 2000, 2024.5090,1008.0150,10.5257},
  380.     {"LV Money Ship", 50000, 750, 2008.6862,1544.8174,12.4446},
  381.     {"Steakhouse", 9500, 20, 1693.7277,2207.5364,10.7412},
  382.     {"Pay N' Spray", 18000, 49, 1940.8009,2184.5161,10.4889},
  383.     {"Gift Shop", 25000, 90, 1933.8474,2445.9707,10.8473},
  384.     {"Emerald Isle", 75000, 1850, 2127.4209,2378.2976,10.4887},
  385.     {"Royal Casino", 85000, 1200, 2087.8044,1516.0709,10.5244}
  386. };
  387.  
  388. new Pu[sizeof(PropVar)+1];
  389. new Text3D:Pt[sizeof(PropVar)+1];
  390. new CurrentP[MAX_PLAYERS];
  391. new pstrx[256];
  392. //PropSys
  393. //tdtest
  394. //tdtest
  395. new Health[MAX_PLAYERS];
  396. new KS[MAX_PLAYERS];
  397. //HEALTHBAR4
  398. #define COLOR_HPBAR_BG 0x000000FF
  399. #define COLOR_HPBAR_75100BG 0x128200AA
  400. #define COLOR_HPBAR_75100 0x1ED500FF
  401. #define COLOR_HPBAR_5075BG 0xB8BA00AA
  402. #define COLOR_HPBAR_5075 0xFCFF00FF
  403. #define COLOR_HPBAR_2550BG 0xB17103AA
  404. #define COLOR_HPBAR_2550 0xFFA200FF
  405. new Text:HealthBar[19];
  406. //SPEEDO
  407. #define SPEED_UPDATE_TIMER 180
  408. #define SPEED_MULTIPLIER 2
  409. new Text:Speedx1;
  410. new Text:Speedx2;
  411. new Text:Speedx3;
  412. new Text:Speedx4;
  413. new Text:Speedx5;
  414. new Text:Speedx6;
  415. new Text:Speedx7;
  416. new Text:Speedx8;
  417. new Text:Speedx9;
  418. new Text:Speedx13[MAX_PLAYERS];
  419. new Text:Speed[MAX_PLAYERS];
  420. new SpeedUpdateTimer;
  421. //===<Main>===//
  422. main()
  423. {
  424.  
  425.  
  426. }
  427. //===<Main>===//
  428.  
  429. //===<AntiDeAMX>===//
  430. AntiDeAMX()
  431. {
  432.     new a[][] =
  433.     {
  434.         "Unarmed",
  435.         "(Fist)",
  436.         "Brass",
  437.         "K",
  438.         "SysCore"
  439.     };
  440. #pragma unused a
  441. }
  442. //===<AntiDeAMX>===//
  443.  
  444. //===<OnGameModeInit>===//
  445. public OnGameModeInit( )
  446. {
  447.     for(new i=0; i<sizeof(PropVar); i++)
  448.     {
  449.         Pu[0] = CreatePickup(1212, 1, 0.0, 0.0, 9999.0, -1);
  450.         format(PropVar[i][POwner], 24, "None");
  451.         PropVar[i][PoID] = -1;
  452.         Pu[i] = CreatePickup(1272, 1, PropVar[i][Px], PropVar[i][Py] , PropVar[i][Pz], -1);
  453.         format(pstrx, 256, "{FF0000}%s\n{FFFF00}Owner: {FFFFFF}%s\n{FFFF00}Price: {FFFFFF}%d$\n{FFFF00}Earning: {FFFFFF}%d$",PropVar[i][PName], PropVar[i][POwner], PropVar[i][PPrice], PropVar[i][PEarn]);
  454.         Pt[i] = Create3DTextLabel(pstrx, 0xFFFFFFAA, PropVar[i][Px], PropVar[i][Py] , PropVar[i][Pz], 20.0, 0, 0);
  455.     }
  456.     K[1] = 10;
  457.     K[2] = 20;
  458.     K[3] = 30;
  459.     K[4] = 40;
  460.     K[5] = 50;
  461.     K[6] = 60;
  462.     K[7] = 70;
  463.     K[8] = 90;
  464.     K[9] = 95;
  465.     K[10] = 100;
  466.     //healthbar4
  467.     HealthBar[0] = TextDrawCreate(611.0,68.5,"_");                              // BBG
  468.     TextDrawLetterSize(HealthBar[0],0.5,0.449999);
  469.     TextDrawUseBox(HealthBar[0],1);
  470.     TextDrawBoxColor(HealthBar[0],COLOR_HPBAR_BG);
  471.     TextDrawTextSize(HealthBar[0],543.0,0.0);
  472.     HealthBar[1] = TextDrawCreate(608.5,71.0,"_");                              // BG (75-100)
  473.     TextDrawLetterSize(HealthBar[1],0.5,0.0);
  474.     TextDrawUseBox(HealthBar[1],1);
  475.     TextDrawBoxColor(HealthBar[1],COLOR_HPBAR_75100BG);
  476.     TextDrawTextSize(HealthBar[1],545.0,0.0);
  477.     HealthBar[2] = TextDrawCreate(609.0,71.0,"_");                              // >= 95
  478.     TextDrawLetterSize(HealthBar[2],0.5,0.0);
  479.     TextDrawUseBox(HealthBar[2],1);
  480.     TextDrawBoxColor(HealthBar[2],COLOR_HPBAR_75100);
  481.     TextDrawTextSize(HealthBar[2],545.0,0.0);
  482.     HealthBar[3] = TextDrawCreate(604.0,71.0,"_");                              // >= 90
  483.     TextDrawLetterSize(HealthBar[3],0.5,0.0);
  484.     TextDrawUseBox(HealthBar[3],1);
  485.     TextDrawBoxColor(HealthBar[3],COLOR_HPBAR_75100);
  486.     TextDrawTextSize(HealthBar[3],545.0,0.0);
  487.     HealthBar[4] = TextDrawCreate(601.0,71.0,"_");                              // >= 85
  488.     TextDrawLetterSize(HealthBar[4],0.5,0.0);
  489.     TextDrawUseBox(HealthBar[4],1);
  490.     TextDrawBoxColor(HealthBar[4],COLOR_HPBAR_75100);
  491.     TextDrawTextSize(HealthBar[4],545.0,0.0);
  492.     HealthBar[5] = TextDrawCreate(598.0,71.0,"_");                              // >= 80
  493.     TextDrawLetterSize(HealthBar[5],0.5,0.0);
  494.     TextDrawUseBox(HealthBar[5],1);
  495.     TextDrawBoxColor(HealthBar[5],COLOR_HPBAR_75100);
  496.     TextDrawTextSize(HealthBar[5],545.0,0.0);
  497.     HealthBar[6] = TextDrawCreate(595.0,71.0,"_");                              // >= 75
  498.     TextDrawLetterSize(HealthBar[6],0.5,0.0);
  499.     TextDrawUseBox(HealthBar[6],1);
  500.     TextDrawBoxColor(HealthBar[6],COLOR_HPBAR_75100);
  501.     TextDrawTextSize(HealthBar[6],545.0,0.0);
  502.     HealthBar[7] = TextDrawCreate(608.5,71.0,"_");                              // ַאהםטי פמם (50-75)
  503.     TextDrawLetterSize(HealthBar[7],0.5,0.0);
  504.     TextDrawUseBox(HealthBar[7],1);
  505.     TextDrawBoxColor(HealthBar[7],COLOR_HPBAR_5075BG);
  506.     TextDrawTextSize(HealthBar[7],545.0,0.0);
  507.     HealthBar[8] = TextDrawCreate(591.5,71.0,"_");                              // >= 70
  508.     TextDrawLetterSize(HealthBar[8],0.5,0.0);
  509.     TextDrawUseBox(HealthBar[8],1);
  510.     TextDrawBoxColor(HealthBar[8],COLOR_HPBAR_5075);
  511.     TextDrawTextSize(HealthBar[8],545.0,0.0);
  512.     HealthBar[9] = TextDrawCreate(588.5,71.0,"_");                              // >= 65
  513.     TextDrawLetterSize(HealthBar[9],0.5,0.0);
  514.     TextDrawUseBox(HealthBar[9],1);
  515.     TextDrawBoxColor(HealthBar[9],COLOR_HPBAR_5075);
  516.     TextDrawTextSize(HealthBar[9],545.0,0.0);
  517.     HealthBar[10] = TextDrawCreate(585.5,71.0,"_");                             // >= 60
  518.     TextDrawLetterSize(HealthBar[10],0.5,0.0);
  519.     TextDrawUseBox(HealthBar[10],1);
  520.     TextDrawBoxColor(HealthBar[10],COLOR_HPBAR_5075);
  521.     TextDrawTextSize(HealthBar[10],545.0,0.0);
  522.     HealthBar[11] = TextDrawCreate(582.5,71.0,"_");                             // >= 55
  523.     TextDrawLetterSize(HealthBar[11],0.5,0.0);
  524.     TextDrawUseBox(HealthBar[11],1);
  525.     TextDrawBoxColor(HealthBar[11],COLOR_HPBAR_5075);
  526.     TextDrawTextSize(HealthBar[11],545.0,0.0);
  527.     HealthBar[12] = TextDrawCreate(579.0,71.0,"_");                             // >= 50
  528.     TextDrawLetterSize(HealthBar[12],0.5,0.0);
  529.     TextDrawUseBox(HealthBar[12],1);
  530.     TextDrawBoxColor(HealthBar[12],COLOR_HPBAR_5075);
  531.     TextDrawTextSize(HealthBar[12],545.0,0.0);
  532.     HealthBar[13] = TextDrawCreate(608.5,71.0,"_");                             // BG (25-50)
  533.     TextDrawLetterSize(HealthBar[13],0.5,0.0);
  534.     TextDrawUseBox(HealthBar[13],1);
  535.     TextDrawBoxColor(HealthBar[13],COLOR_HPBAR_2550BG);
  536.     TextDrawTextSize(HealthBar[13],545.0,0.0);
  537.     HealthBar[14] = TextDrawCreate(576.0,71.0,"_");                             // >= 45
  538.     TextDrawLetterSize(HealthBar[14],0.5,0.0);
  539.     TextDrawUseBox(HealthBar[14],1);
  540.     TextDrawBoxColor(HealthBar[14],COLOR_HPBAR_2550);
  541.     TextDrawTextSize(HealthBar[14],545.0,0.0);
  542.     HealthBar[15] = TextDrawCreate(573.0,71.0,"_");                             // >= 40
  543.     TextDrawLetterSize(HealthBar[15],0.5,0.0);
  544.     TextDrawUseBox(HealthBar[15],1);
  545.     TextDrawBoxColor(HealthBar[15],COLOR_HPBAR_2550);
  546.     TextDrawTextSize(HealthBar[15],545.0,0.0);
  547.     HealthBar[16] = TextDrawCreate(570.5,71.0, "_");                            // >= 35
  548.     TextDrawLetterSize(HealthBar[16],0.5,0.0);
  549.     TextDrawUseBox(HealthBar[16],1);
  550.     TextDrawBoxColor(HealthBar[16],COLOR_HPBAR_2550);
  551.     TextDrawTextSize(HealthBar[16],545.0,0.0);
  552.     HealthBar[17] = TextDrawCreate(567.5,71.0,"_");                             // >= 30
  553.     TextDrawLetterSize(HealthBar[17],0.5,0.0);
  554.     TextDrawUseBox(HealthBar[17],1);
  555.     TextDrawBoxColor(HealthBar[17],COLOR_HPBAR_2550);
  556.     TextDrawTextSize(HealthBar[17],545.0,0.0);
  557.     HealthBar[18] = TextDrawCreate(564.0,71.0,"_");                             // >= 25
  558.     TextDrawLetterSize(HealthBar[18],0.5,0.0);
  559.     TextDrawUseBox(HealthBar[18],1);
  560.     TextDrawBoxColor(HealthBar[18],COLOR_HPBAR_2550);
  561.     TextDrawTextSize(HealthBar[18],545.0,0.0);
  562.         //SPEEDO
  563.  
  564.     Speedx1 = TextDrawCreate(487.000000+30, 401.000000, "New Textdraw");
  565.     TextDrawBackgroundColor(Speedx1, 255);
  566.     TextDrawFont(Speedx1, 1);
  567.     TextDrawLetterSize(Speedx1, 0.000000, -0.500000);
  568.     TextDrawColor(Speedx1, -1);
  569.     TextDrawSetOutline(Speedx1, 0);
  570.     TextDrawSetProportional(Speedx1, 1);
  571.     TextDrawSetShadow(Speedx1, 1);
  572.     TextDrawUseBox(Speedx1, 1);
  573.     TextDrawBoxColor(Speedx1, 0x00FF00AA);
  574.     TextDrawTextSize(Speedx1, 474.000000+30, 0.000000);
  575.  
  576.     Speedx2 = TextDrawCreate(497.000000+30, 401.000000, "New Textdraw");
  577.     TextDrawBackgroundColor(Speedx2, 255);
  578.     TextDrawFont(Speedx2, 1);
  579.     TextDrawLetterSize(Speedx2, 0.000000, -0.600000);
  580.     TextDrawColor(Speedx2, -1);
  581.     TextDrawSetOutline(Speedx2, 0);
  582.     TextDrawSetProportional(Speedx2, 1);
  583.     TextDrawSetShadow(Speedx2, 1);
  584.     TextDrawUseBox(Speedx2, 1);
  585.     TextDrawBoxColor(Speedx2, 0x00FF00AA);
  586.     TextDrawTextSize(Speedx2, 484.000000+30, -1.000000);
  587.  
  588.     Speedx3 = TextDrawCreate(507.000000+30, 401.000000, "New Textdraw");
  589.     TextDrawBackgroundColor(Speedx3, 255);
  590.     TextDrawFont(Speedx3, 1);
  591.     TextDrawLetterSize(Speedx3, 0.000000, -0.700000);
  592.     TextDrawColor(Speedx3, -1);
  593.     TextDrawSetOutline(Speedx3, 0);
  594.     TextDrawSetProportional(Speedx3, 1);
  595.     TextDrawSetShadow(Speedx3, 1);
  596.     TextDrawUseBox(Speedx3, 1);
  597.     TextDrawBoxColor(Speedx3, 0x00FF00AA);
  598.     TextDrawTextSize(Speedx3, 494.000000+30, -1.000000);
  599.  
  600.     Speedx4 = TextDrawCreate(517.000000+30, 401.000000, "New Textdraw");
  601.     TextDrawBackgroundColor(Speedx4, 255);
  602.     TextDrawFont(Speedx4, 1);
  603.     TextDrawLetterSize(Speedx4, 0.000000, -0.800000);
  604.     TextDrawColor(Speedx4, -1);
  605.     TextDrawSetOutline(Speedx4, 0);
  606.     TextDrawSetProportional(Speedx4, 1);
  607.     TextDrawSetShadow(Speedx4, 1);
  608.     TextDrawUseBox(Speedx4, 1);
  609.     TextDrawBoxColor(Speedx4, 0xFF6600AA);
  610.     TextDrawTextSize(Speedx4, 504.000000+30, -1.000000);
  611.  
  612.     Speedx5 = TextDrawCreate(528.000000+30, 401.000000, "New Textdraw");
  613.     TextDrawBackgroundColor(Speedx5, 255);
  614.     TextDrawFont(Speedx5, 1);
  615.     TextDrawLetterSize(Speedx5, 0.000000, -0.900000);
  616.     TextDrawColor(Speedx5, -1);
  617.     TextDrawSetOutline(Speedx5, 0);
  618.     TextDrawSetProportional(Speedx5, 1);
  619.     TextDrawSetShadow(Speedx5, 1);
  620.     TextDrawUseBox(Speedx5, 1);
  621.     TextDrawBoxColor(Speedx5, 0xFF6600AA);
  622.     TextDrawTextSize(Speedx5, 514.000000+30, -1.000000);
  623.  
  624.     Speedx6 = TextDrawCreate(538.000000+30, 401.000000, "New Textdraw");
  625.     TextDrawBackgroundColor(Speedx6, 255);
  626.     TextDrawFont(Speedx6, 1);
  627.     TextDrawLetterSize(Speedx6, 0.000000, -1.000000);
  628.     TextDrawColor(Speedx6, -1);
  629.     TextDrawSetOutline(Speedx6, 0);
  630.     TextDrawSetProportional(Speedx6, 1);
  631.     TextDrawSetShadow(Speedx6, 1);
  632.     TextDrawUseBox(Speedx6, 1);
  633.     TextDrawBoxColor(Speedx6, 0xFF6600AA);
  634.     TextDrawTextSize(Speedx6, 525.000000+30, -1.000000);
  635.  
  636.     Speedx7 = TextDrawCreate(548.000000+30, 401.000000, "New Textdraw");
  637.     TextDrawBackgroundColor(Speedx7, 255);
  638.     TextDrawFont(Speedx7, 1);
  639.     TextDrawLetterSize(Speedx7, 0.000000, -1.100000);
  640.     TextDrawColor(Speedx7, -1);
  641.     TextDrawSetOutline(Speedx7, 0);
  642.     TextDrawSetProportional(Speedx7, 1);
  643.     TextDrawSetShadow(Speedx7, 1);
  644.     TextDrawUseBox(Speedx7, 1);
  645.     TextDrawBoxColor(Speedx7, 0xFF0000AA);
  646.     TextDrawTextSize(Speedx7, 535.000000+30, -1.000000);
  647.  
  648.     Speedx8 = TextDrawCreate(559.000000+30, 401.000000, "New Textdraw");
  649.     TextDrawBackgroundColor(Speedx8, 255);
  650.     TextDrawFont(Speedx8, 1);
  651.     TextDrawLetterSize(Speedx8, 0.000000, -1.300000);
  652.     TextDrawColor(Speedx8, -1);
  653.     TextDrawSetOutline(Speedx8, 0);
  654.     TextDrawSetProportional(Speedx8, 1);
  655.     TextDrawSetShadow(Speedx8, 1);
  656.     TextDrawUseBox(Speedx8, 1);
  657.     TextDrawBoxColor(Speedx8, 0xFF0000AA);
  658.     TextDrawTextSize(Speedx8, 545.000000+30, -1.000000);
  659.  
  660.     Speedx9 = TextDrawCreate(571.000000+30, 401.000000, "New Textdraw");
  661.     TextDrawBackgroundColor(Speedx9, 255);
  662.     TextDrawFont(Speedx9, 1);
  663.     TextDrawLetterSize(Speedx9, 0.000000, -1.500000);
  664.     TextDrawColor(Speedx9, -1);
  665.     TextDrawSetOutline(Speedx9, 0);
  666.     TextDrawSetProportional(Speedx9, 1);
  667.     TextDrawSetShadow(Speedx9, 1);
  668.     TextDrawUseBox(Speedx9, 1);
  669.     TextDrawBoxColor(Speedx9, 0xFF0000AA);
  670.     TextDrawTextSize(Speedx9, 556.000000+30, -1.000000);
  671.     SpeedUpdateTimer = SetTimer("SpeedUpdate",SPEED_UPDATE_TIMER,true);
  672.     //PropSys
  673.     SetTimer("Anti_HealthHack",4*1000,1);
  674.  
  675.     //PropSys
  676.     if(!DOF2_FileExists(MessageF()))
  677.     {
  678.         DOF2_CreateFile(MessageF());
  679.         DOF2_SetInt(MessageF(), "MsgTime", 5);
  680.         for(new i=1; i<6; i++)
  681.         {
  682.             new nut[20], std[256];
  683.             format(nut, sizeof(nut), "Message%d", i);
  684.             format(std, sizeof(std), "{ffffff}%d. Message {ff0000}|| {ffff00}(Admin Name)", i);
  685.             DOF2_SetString(MessageF(), nut, std);
  686.         }  
  687.         DOF2_SaveFile();
  688.     }
  689.     if(!DOF2_FileExists(SWShopF()))
  690.     {
  691.         DOF2_CreateFile(SWShopF());
  692.         DOF2_SetInt(SWShopF(), "CurrentL", -1);
  693.     }
  694.     AMT = SetTimer("AutoMsgP", 1000*60*DOF2_GetInt(MessageF(), "MsgTime"), false);
  695.     if(!DOF2_FileExists(TeamPF()))
  696.     {
  697.         DOF2_CreateFile(TeamPF());
  698.         DOF2_SetInt(TeamPF(), "GroveP", 0);
  699.         DOF2_SetInt(TeamPF(), "AztecasP", 0);
  700.         DOF2_SetInt(TeamPF(), "VagosP", 0);
  701.         DOF2_SetInt(TeamPF(), "PoliceP", 0);
  702.     }
  703.     //grove 0 aztecas 1 vagos 2 police 3
  704.  
  705.     Points[0] = DOF2_GetInt(TeamPF(), "GroveP");
  706.     Points[1] = DOF2_GetInt(TeamPF(), "AztecasP");
  707.     Points[2] = DOF2_GetInt(TeamPF(), "VagosP");
  708.     Points[3] = DOF2_GetInt(TeamPF(), "PoliceP");
  709.  
  710.    
  711.     new mavtext = CreateObject(19353, 1687.2648,1580.5736,10.8203, 0.0, 0.0, 90.0); //create the object
  712.     SetObjectMaterialText(mavtext, "{ff0000}Maverick  {ffffff}Mission", 0, OBJECT_MATERIAL_SIZE_256x128,\
  713.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  714.     new piztext = CreateObject(19353, 2083.2529,2219.1228,10.8203, 0.0, 0.0, 0.0); //create the object
  715.     SetObjectMaterialText(piztext, "{FF0000}Pizza {ffffff}Delivery", 0, OBJECT_MATERIAL_SIZE_256x128,\
  716.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  717.     new crobtext = CreateObject(19353, 2030.4337,1916.1791,12.3275, 0.0, 0.0, 0.0); //create the object
  718.     SetObjectMaterialText(crobtext, "{FF0000}Casino {ffffff}Robbery", 0, OBJECT_MATERIAL_SIZE_256x128,\
  719.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  720.     new boattext = CreateObject(19353, 1996.0714,1544.3462,15.2966, 0.0, 0.0, 0.0); //create the object
  721.     SetObjectMaterialText(boattext, "{FF0000}Boat {ffffff}Challange", 0, OBJECT_MATERIAL_SIZE_256x128,\
  722.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  723.     new btext1 = CreateObject(19353, 2193.6252,1987.6252,12.2969, 0.0, 0.0, 0.0); //create the object
  724.     SetObjectMaterialText(btext1, "{ff00cc}Bank", 0, OBJECT_MATERIAL_SIZE_256x128,\
  725.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  726.     new btext2 = CreateObject(19353, 2193.6963,1994.3123,12.2969, 0.0, 0.0, 0.0); //create the object
  727.     SetObjectMaterialText(btext2, "{ff00cc}Bank", 0, OBJECT_MATERIAL_SIZE_256x128,\
  728.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  729.     new ammu1 = CreateObject(19353, 2157.9236,945.3786,10.8203, 0.0, 0.0, 0.0); //create the object
  730.     SetObjectMaterialText(ammu1, "{ff00cc}Ammu", 0, OBJECT_MATERIAL_SIZE_256x128,\
  731.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  732.     new ammu2 = CreateObject(19353, 2157.9785,940.1686,10.8203, 0.0, 0.0, 0.0); //create the object
  733.     SetObjectMaterialText(ammu2, "{ff00cc}Ammu", 0, OBJECT_MATERIAL_SIZE_256x128,\
  734.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  735.     new police1 = CreateObject(19353, 2234.3098,2461.6672,11.3780, 0.0, 0.0, 0.0); //create the object
  736.     SetObjectMaterialText(police1, "{0000ff}Police", 0, OBJECT_MATERIAL_SIZE_256x128,\
  737.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  738.     new police2 = CreateObject(19353, 2234.9661,2445.6729,11.3911, 0.0, 0.0, 0.0); //create the object
  739.     SetObjectMaterialText(police2, "{0000ff}Police", 0, OBJECT_MATERIAL_SIZE_256x128,\
  740.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  741.     new grove1 = CreateObject(19353, 1560.4731,2241.1841,11.3851, 0.0, 0.0, 0.0); //create the object
  742.     SetObjectMaterialText(grove1, "{009900}Grove", 0, OBJECT_MATERIAL_SIZE_256x128,\
  743.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  744.     new grove2 = CreateObject(19353,1560.0807,2225.5923,11.3871, 0.0, 0.0, 0.0); //create the object
  745.     SetObjectMaterialText(grove2, "{009900}Grove", 0, OBJECT_MATERIAL_SIZE_256x128,\
  746.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  747.     new vagos1 = CreateObject(19353, 2623.8105,2305.1543,11.2366, 0.0, 0.0, 0.0); //create the object
  748.     SetObjectMaterialText(vagos1, "{ffff00}Vagos", 0, OBJECT_MATERIAL_SIZE_256x128,\
  749.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  750.     new vagos2 = CreateObject(19353, 2634.1611,2304.7419,11.3966, 0.0, 0.0, 0.0); //create the object
  751.     SetObjectMaterialText(vagos2, "{ffff00}Vagos", 0, OBJECT_MATERIAL_SIZE_256x128,\
  752.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  753.     new aztecas1 = CreateObject(19353, 1037.7250,1133.4623,11.0000, 0.0, 0.0, 110.0); //create the object
  754.     SetObjectMaterialText(aztecas1, "{00ffff}Aztecas", 0, OBJECT_MATERIAL_SIZE_256x128,\
  755.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  756.     new aztecas2 = CreateObject(19353, 1053.6733,1143.6157,10.5581, 0.0, 0.0, 110.0); //create the object
  757.     SetObjectMaterialText(aztecas2, "{00ffff}Aztecas", 0, OBJECT_MATERIAL_SIZE_256x128,\
  758.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  759.     new skin = CreateObject(19353, 1994.2081,1587.5254,26.6175, 0.0, 0.0, 90.0); //create the object
  760.     SetObjectMaterialText(skin, "{ff0000}WwW{ffffff}.{ff0000}Blue-F{ffffff}.{ff0000}Co{ffffff}.{ff0000}iL", 0, OBJECT_MATERIAL_SIZE_256x128,\
  761.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  762.     new skin2 = CreateObject(19353, 1993.7732,1592.0710,18.4063, 0.0, 0.0, 0.0); //create the object
  763.     SetObjectMaterialText(skin2, "{fffffF}DucK's {ff0000}TDM-CTF {FFFFFF}V0.1", 0, OBJECT_MATERIAL_SIZE_256x128,\
  764.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  765.     new bfmode = CreateObject(19353, -195.8964,1584.8359,26.0815, 0.0, 0.0, 90.0); //create the object
  766.     SetObjectMaterialText(bfmode, "{ffffff}NitzanC's {ff0000}Battlefield {ffffff}Mode {ff0000}0.3e", 0, OBJECT_MATERIAL_SIZE_256x128,\
  767.     "Arial", 28, 0, 0xFFFF8200, 0xFF000000, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
  768.    
  769.    
  770.  
  771.     for(new i; i<sizeof(Songs); i++)
  772.     {
  773.         SongNumber = i;
  774.     }
  775.     AntiDeAMX();
  776.     EnableStuntBonusForAll(0);
  777.     DisableInteriorEnterExits();
  778.     SetWorldTime(24);
  779.     SetWeather(18);
  780.     SetGameModeText("BF-TDM v0.1");
  781.     UsePlayerPedAnims();
  782.     Result = TextDrawCreate(1.5, 423.5," ");
  783.     TextDrawAlignment(Result,0);
  784.     TextDrawFont(Result, 3);
  785.     TextDrawLetterSize(Result,0.4,1);
  786.     TextDrawSetOutline(Result,1);
  787.     TextDrawSetProportional(Result,1);
  788.     TextDrawSetShadow(Result,1);
  789.     TextDrawUseBox(Result, 1);
  790.     TextDrawBoxColor(Result,0x00000089);
  791.     for(new p; p<4; p++)
  792.     {
  793.  
  794.         Points[p] = 0;
  795.     }
  796.     //===<Skins>===//
  797.     AddPlayerClass(105, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  798.     AddPlayerClass(106, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  799.     AddPlayerClass(107, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  800.     AddPlayerClass(114, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  801.     AddPlayerClass(115, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  802.     AddPlayerClass(116, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  803.     AddPlayerClass(108, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  804.     AddPlayerClass(109, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  805.     AddPlayerClass(110, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  806.     AddPlayerClass(280, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  807.     AddPlayerClass(281, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  808.     AddPlayerClass(284, 1958.33, 1343.12, 15.36, 269.15, 0, 36, 0, 150, 0, 0);
  809.     //===<Skins>===//
  810.  
  811.  
  812.     //===<Objects>===//
  813.     //DM ZONE BITCH
  814.     F_CreateObject(943, -352.50326538086, 1512.7780761719, 75.328269958496, 0, 0, 0);
  815.     F_CreateObject(1690, 427.87786865234, 2531.5134277344, 16.297710418701, 0, 0, 0);
  816.     F_CreateObject(1318, -349.23986816406, 1530.3707275391, 74.332817077637, 0, 269.74975585938, 147.99993896484);
  817.     F_CreateObject(1318, -341.16345214844, 1526.0855712891, 74.307830810547, 0, 90, 334.5);
  818.     F_CreateObject(1318, -335.05313110352, 1523.28125, 74.383598327637, 0, 88, 334);
  819.     F_CreateObject(1318, -327.62985229492, 1520.9968261719, 74.332862854004, 0, 88, 349.25);
  820.     F_CreateObject(1318, -320.30880737305, 1519.4324951172, 74.305397033691, 0, 90, 358);
  821.     F_CreateObject(1318, -313.69766235352, 1517.5073242188, 74.305442810059, 0, 90, 334);
  822.     F_CreateObject(1318, -308.48287963867, 1513.7926025391, 74.307861328125, 0, 90, 314);
  823.     F_CreateObject(3507, -348.70843505859, 1536.296875, 74.5625, 0, 0, 0);
  824.     F_CreateObject(3507, -362.48641967773, 1538.0263671875, 74.5625, 0, 0, 0);
  825.     F_CreateObject(8483, -349.26263427734, 1566.7890625, 80.941459655762, 0, 0, 254);
  826.     F_CreateObject(2780, -362.12384033203, 1538.1104736328, 70.968032836914, 0, 4, 194);
  827.     F_CreateObject(2780, -350.23739624023, 1537.1608886719, 70.622009277344, 0, 0, 0);
  828.     F_CreateObject(9833, -347.51962280273, 1558.2669677734, 74.515045166016, 0, 0, 0);
  829.     F_CreateObject(9833, -357.29507446289, 1560.3610839844, 74.487663269043, 0, 0, 0);
  830.     F_CreateObject(2780, -351.83148193359, 1561.0290527344, 73.315689086914, 0, 0, 0);
  831.     F_CreateObject(1337, -352.14584350586, 1558.8092041016, 78.571151733398, 0, 0, 0);
  832.     F_CreateObject(1337, -348.37954711914, 1535.8812255859, 84.844459533691, 0, 0, 0);
  833.     F_CreateObject(1337, -362.33212280273, 1537.6799316406, 84.949279785156, 0, 0, 0);
  834.     F_CreateObject(3528, -359.66333007813, 1562.5083007813, 77.411003112793, 0, 0, 256);
  835.     F_CreateObject(2933, -363.08023071289, 1542.6376953125, 76.278114318848, 0, 0, 276);
  836.     F_CreateObject(2933, -364.01129150391, 1551.2557373047, 76.278114318848, 0, 0, 276);
  837.     F_CreateObject(2933, -364.01617431641, 1559.7919921875, 76.278114318848, 0, 0, 86);
  838.     F_CreateObject(2933, -361.92614746094, 1567.9985351563, 76.384201049805, 0, 0, 246);
  839.     F_CreateObject(2933, -345.4020690918, 1553.5595703125, 76.278114318848, 0, 0, 252);
  840.     F_CreateObject(2933, -343.98141479492, 1557.5615234375, 76.278114318848, 0, 0, 71.25);
  841.     F_CreateObject(3506, 278.77011108398, 2533.1611328125, 15.817514419556, 0, 0, 0);
  842.     F_CreateObject(3506, 262.37060546875, 2534.6694335938, 15.8046875, 0, 0, 0);
  843.     F_CreateObject(2780, 278.82751464844, 2533.5600585938, 10.518598556519, 0, 0, 0);
  844.     F_CreateObject(2780, 262.25033569336, 2534.4069824219, 10.894756317139, 0, 0, 0);
  845.     F_CreateObject(8483, 268.33926391602, 2562.2556152344, 21.748514175415, 0, 0, 264);
  846.     F_CreateObject(2933, 259.34887695313, 2538.240234375, 17.520301818848, 0, 0, 308);
  847.     F_CreateObject(2933, 256.65194702148, 2546.0983886719, 17.520301818848, 0, 0, 270);
  848.     F_CreateObject(2933, 256.95892333984, 2554.712890625, 17.528114318848, 0, 0, 88.25);
  849.     F_CreateObject(2933, 277.75262451172, 2556.376953125, 17.082801818848, 0, 0, 308);
  850.     F_CreateObject(2780, 267.04879760742, 2556.6193847656, 15.711269378662, 0, 0, 0);
  851.     F_CreateObject(3528, 273.62457275391, 2555.4553222656, 17.931240081787, 0, 0, 268);
  852.     F_CreateObject(9833, 270.52880859375, 2553.0383300781, 16.015043258667, 0, 0, 0);
  853.     F_CreateObject(9833, 260.74880981445, 2553.9489746094, 15.836885452271, 0, 0, 0);
  854.     F_CreateObject(1337, 266.67025756836, 2553.9694824219, 19.21395111084, 0, 0, 0);
  855.     F_CreateObject(1337, 278.32992553711, 2533.2895507813, 24.118705749512, 0, 0, 0);
  856.     F_CreateObject(1337, 262.03662109375, 2534.92578125, 23.773342132568, 0, 0, 0);
  857.     F_CreateObject(1318, 273.40802001953, 2525.7790527344, 15.748092651367, 0, 90, 294);
  858.     F_CreateObject(1318, 278.60760498047, 2517.2485351563, 15.598239898682, 0, 91.75, 312);
  859.     F_CreateObject(1318, 284.77767944336, 2511.3793945313, 15.496709823608, 0.25662231445313, 91.477996826172, 317.99664306641);
  860.     F_CreateObject(1318, 291.47698974609, 2506.8278808594, 15.432859420776, 0, 90, 331.5);
  861.     F_CreateObject(987, 2411.7836914063, 1023.1135253906, 9.8129863739014, 0, 0, 91);
  862.     F_CreateObject(987, 2411.658203125, 1035.1927490234, 9.8203125, 0, 0, 90);
  863.     F_CreateObject(3749, 2359.5522460938, 993.45715332031, 15.608847618103, 0, 0, 270);
  864.     F_CreateObject(987, 2358.5529785156, 984.97888183594, 3.7453136444092, 5.9963684082031, 270.21017456055, 87.989013671875);
  865.     F_CreateObject(3506, 2355.845703125, 986.94854736328, 9.8203115463257, 10, 0, 48);
  866.     F_CreateObject(3506, 2356.2814941406, 999.84191894531, 9.8125171661377, 356.06088256836, 10.02392578125, 77.695709228516);
  867.     F_CreateObject(3528, 2356.7048339844, 993.48767089844, 18.643274307251, 0, 0, 180);
  868.     F_CreateObject(3877, 2356.5246582031, 998.978515625, 11.486053466797, 0, 0, 0);
  869.     F_CreateObject(3877, 2356.5029296875, 987.83099365234, 11.486053466797, 0, 0, 0);
  870.     F_CreateObject(9833, 2356.0063476563, 987.81762695313, 6.0178260803223, 0, 0, 0);
  871.     F_CreateObject(9833, 2356.1381835938, 999.01507568359, 5.3895015716553, 0, 0, 0);
  872.     F_CreateObject(8483, 2392.244140625, 988.06439208984, 15.451639175415, 0, 0, 143.99996948242);
  873.     F_CreateObject(2780, 2387.5466308594, 992.82305908203, 11.428023338318, 0, 0, 0);
  874.     F_CreateObject(1337, 2386.1044921875, 993.83264160156, 12.666754722595, 0, 0, 0);
  875.     F_CreateObject(3509, 2383.015625, 987.26330566406, 9.8203125, 0, 0, 36);
  876.     F_CreateObject(3749, 2386.5212402344, 1045.3096923828, 13.728730201721, 0, 0, 0);
  877.     F_CreateObject(9833, 2382.3715820313, 987.55352783203, 13.022855758667, 0, 0, 0);
  878.     F_CreateObject(7392, 2394.189453125, 1011.4479980469, 18.040386199951, 0, 0, 14);
  879.     F_CreateObject(3524, 2391.5266113281, 1041.4078369141, 12.705652236938, 0, 0, 0);
  880.     F_CreateObject(3524, 2380.7302246094, 1041.1652832031, 12.705652236938, 0, 0, 0);
  881.     F_CreateObject(1186, 2386.7958984375, 1043.5625, 13.325793266296, 0, 0, 0);
  882.     F_CreateObject(2780, 2386.5285644531, 1042.6614990234, 6.5703125, 0, 0, 0);
  883.     F_CreateObject(9833, 2391.1545410156, 1041.3366699219, 6.272855758667, 0, 0, 0);
  884.     F_CreateObject(9833, 2380.6584472656, 1040.9912109375, 6.522855758667, 0, 0, 0);
  885.     F_CreateObject(3877, 2391.5759277344, 1041.4102783203, 10.18603515625, 0, 0, 0);
  886.     F_CreateObject(3877, 2380.7204589844, 1040.9912109375, 10.061063766479, 0, 0, 0);
  887.     F_CreateObject(3528, 2393.6633300781, 1042.1906738281, 12.709495544434, 0, 0, 264);
  888.     F_CreateObject(3528, 2378.4125976563, 1042.1584472656, 12.709495544434, 0, 0, 264);
  889.     F_CreateObject(14608, 2386.025390625, 1042.3516845703, 18.641456604004, 0, 0, 138);
  890.     F_CreateObject(1318, 2365.42578125, 993.16076660156, 9.7687969207764, 0, 270, 8.297607421875);
  891.     F_CreateObject(1318, 2377.1967773438, 998.43127441406, 9.7687816619873, 0, 270, 34);
  892.     F_CreateObject(1318, 2384.5522460938, 1008.2443847656, 9.7687931060791, 0, 270, 62);
  893.     F_CreateObject(1318, 2386.8586425781, 1018.3565673828, 9.8187961578369, 359.99932861328, 93.999969482422, 264);
  894.     F_CreateObject(1318, 2386.9270019531, 1027.8916015625, 9.7687931060791, 0, 90, 270);
  895.     F_CreateObject(1318, 2387.6398925781, 1037.228515625, 9.8187847137451, 0, 90, 272);
  896.     F_CreateObject(8397, 2625.7604980469, 420.29510498047, 0, 0, 0, 0);
  897.     F_CreateObject(8397, 2631.3291015625, 517.12182617188, 0, 0, 0, 0);
  898.     F_CreateObject(9076, 2633.845703125, 466.85806274414, 14.668462753296, 0, 0, 356);
  899.     F_CreateObject(10166, 2548.2370605469, 380.39288330078, 2.7721176147461, 0, 0, 0);
  900.     F_CreateObject(10166, 2574.7702636719, 583.39593505859, 5.7517051696777, 18, 0, 183.99998474121);
  901.     F_CreateObject(10166, 2482.7534179688, 570.34204101563, 2.8465919494629, 12, 0, 178);
  902.     F_CreateObject(10166, 2394.2138671875, 576.15594482422, 6.5002784729004, 16, 0, 190);
  903.     F_CreateObject(10166, 2322.0415039063, 569.38348388672, 12.641418457031, 6, 0, 182);
  904.     F_CreateObject(10166, 2227.4738769531, 579.03344726563, 9.2931632995605, 0, 0, 208);
  905.     F_CreateObject(10166, 2142.2890625, 551.30505371094, 4.4078712463379, 14, 0, 358);
  906.     F_CreateObject(10166, 2102.0539550781, 548.30596923828, 0.31325101852417, 8, 0, 8);
  907.     F_CreateObject(10166, 2042.2109375, 589.01062011719, 2.2107543945313, 12, 0, 178);
  908.     F_CreateObject(10166, 1946.7990722656, 555.23858642578, 2.8071670532227, 20, 0, 0);
  909.     F_CreateObject(10166, 1881.1834716797, 560.6171875, 0.57744979858398, 10, 0, 0);
  910.     F_CreateObject(10166, 1821.1790771484, 594.57421875, 6.6317863464355, 0, 0, 162);
  911.     F_CreateObject(10166, 2473.8791503906, 393.73846435547, 4.3595733642578, 0, 0, 2);
  912.     F_CreateObject(10166, 2405.0629882813, 396.99111938477, 4.2300720214844, 0, 0, 0);
  913.     F_CreateObject(10166, 2341.9895019531, 403.28747558594, 5.183952331543, 0, 0, 0);
  914.     F_CreateObject(10166, 2274.8671875, 384.07736206055, 1.4782180786133, 0, 358, 56);
  915.     F_CreateObject(10166, 2063.4321289063, 408.19595336914, 6.0981178283691, 0, 0, 338);
  916.     F_CreateObject(10166, 2011.4493408203, 422.68206787109, 5.1073303222656, 0, 0, 0);
  917.     F_CreateObject(10166, 1924.0147705078, 424.31686401367, 6.5837440490723, 0, 0, 354);
  918.     F_CreateObject(10166, 1832.29296875, 416.26373291016, 6.8611221313477, 0, 0, 332);
  919.     F_CreateObject(10166, 1767.4509277344, 443.50369262695, 1.121898651123, 0, 0, 2);
  920.     F_CreateObject(3511, 2570.1840820313, 417.23480224609, 4.9146738052368, 0, 0, 0);
  921.     F_CreateObject(3511, 2552.2170410156, 423.96459960938, 4.5880284309387, 0, 0, 0);
  922.     F_CreateObject(3511, 2529.7807617188, 424.80541992188, 1.6451462507248, 0, 0, 356);
  923.     F_CreateObject(3511, 2502.720703125, 428.41638183594, 6.7944011688232, 0, 0, 0);
  924.     F_CreateObject(3511, 2475.3273925781, 437.84768676758, 5.6210508346558, 0, 0, 0);
  925.     F_CreateObject(3511, 2442.2465820313, 431.89135742188, 5.0969543457031, 0, 0, 0);
  926.     F_CreateObject(3511, 2418.4113769531, 437.56781005859, 5.1166577339172, 0, 0, 0);
  927.     F_CreateObject(3511, 2390.2509765625, 441.20709228516, 2.8256530761719, 0, 0, 0);
  928.     F_CreateObject(3511, 2361.7375488281, 443.71478271484, 5.3154273033142, 0, 0, 0);
  929.     F_CreateObject(3511, 2326.3937988281, 448.81161499023, 2.3149039745331, 0, 0, 0);
  930.     F_CreateObject(3511, 2290.7622070313, 434.93579101563, 11.630075454712, 0, 0, 0);
  931.     F_CreateObject(3511, 2116.9826660156, 404.87173461914, 12.269610404968, 0, 0, 0);
  932.     F_CreateObject(3511, 2099.1318359375, 426.54104614258, 8.399112701416, 0, 0, 0);
  933.     F_CreateObject(3511, 2076.4274902344, 440.93521118164, 15.252065658569, 0, 0, 0);
  934.     F_CreateObject(3511, 2058.6635742188, 455.77005004883, 4.1641941070557, 0, 0, 0);
  935.     F_CreateObject(3511, 2023.3955078125, 452.40142822266, 15.453443527222, 0, 0, 0);
  936.     F_CreateObject(3511, 1996.9288330078, 459.39834594727, 10.763112068176, 0, 0, 0);
  937.     F_CreateObject(3511, 1956.91796875, 454.57299804688, 9.9013509750366, 0, 0, 0);
  938.     F_CreateObject(3511, 1924.0335693359, 457.68307495117, 17.345733642578, 0, 0, 0);
  939.     F_CreateObject(3511, 1896.8841552734, 463.01727294922, 6.5451164245605, 0, 0, 0);
  940.     F_CreateObject(3511, 1857.0255126953, 440.51440429688, 11.367567062378, 0, 0, 0);
  941.     F_CreateObject(3511, 1832.5174560547, 454.37390136719, 14.416090965271, 0, 0, 0);
  942.     F_CreateObject(3511, 1794.9757080078, 478.32025146484, 4.4286231994629, 0, 0, 0);
  943.     F_CreateObject(3511, 1797.5543212891, 560.20556640625, 8.169282913208, 0, 0, 0);
  944.     F_CreateObject(3511, 1829.4593505859, 558.46673583984, 16.372863769531, 0, 0, 0);
  945.     F_CreateObject(3511, 1865.4145507813, 555.66741943359, 9.2222061157227, 0, 0, 0);
  946.     F_CreateObject(3511, 1899.0986328125, 568.12036132813, 13.143820762634, 0, 0, 0);
  947.     F_CreateObject(3511, 1931.7067871094, 553.03607177734, 10.121348381042, 0, 0, 0);
  948.     F_CreateObject(3511, 1962.7359619141, 557.6376953125, 14.660898208618, 0, 0, 0);
  949.     F_CreateObject(3511, 2016.6744384766, 555.53991699219, 12.483051300049, 0, 0, 0);
  950.     F_CreateObject(3511, 2056.0637207031, 534.33355712891, 5.3448343276978, 0, 0, 0);
  951.     F_CreateObject(3511, 2087.125, 544.3876953125, 8.9084224700928, 0, 0, 0);
  952.     F_CreateObject(3511, 2145.3742675781, 554.49145507813, 13.826164245605, 0, 0, 0);
  953.     F_CreateObject(3511, 2189.3815917969, 541.25274658203, 17.243453979492, 0, 0, 0);
  954.     F_CreateObject(3511, 2237.419921875, 557.17309570313, 18.336442947388, 0, 0, 0);
  955.     F_CreateObject(3511, 2297.0229492188, 537.60211181641, 18.652767181396, 0, 0, 0);
  956.     F_CreateObject(3511, 2336.9802246094, 536.31237792969, 24.767910003662, 0, 0, 0);
  957.     F_CreateObject(3511, 2367.8403320313, 543.39465332031, 16.432247161865, 0, 0, 0);
  958.     F_CreateObject(3511, 2421.5915527344, 552.73431396484, 24.656433105469, 0, 0, 0);
  959.     F_CreateObject(3511, 2459.1064453125, 534.78515625, 12.839143753052, 0, 0, 0);
  960.     F_CreateObject(3511, 2498.7456054688, 535.6318359375, 16.866327285767, 0, 0, 0);
  961.     F_CreateObject(3511, 2549.5541992188, 555.71978759766, 17.656455993652, 0, 0, 0);
  962.     F_CreateObject(3511, 2596.03515625, 529.40069580078, 15.605860710144, 0, 0, 0);
  963.     F_CreateObject(3511, 2576.447265625, 537.49713134766, 7.3557348251343, 0, 0, 0);
  964.     F_CreateObject(3511, 2519.9770507813, 535.19763183594, 4.1395764350891, 0, 0, 0);
  965.     F_CreateObject(9125, 2588.2414550781, 469.61547851563, 0, 0, 0, 356);
  966.     F_CreateObject(9125, 2530.0510253906, 473.63003540039, 0, 0, 0, 356);
  967.     F_CreateObject(9125, 2471.8146972656, 477.67639160156, 0, 0, 0, 356);
  968.     F_CreateObject(9125, 2413.4919433594, 481.79965209961, 0, 0, 0, 356);
  969.     F_CreateObject(9125, 2355.5498046875, 485.77725219727, 0, 0, 0, 356);
  970.     F_CreateObject(9125, 2297.1838378906, 489.97659301758, 0, 0, 0, 356);
  971.     F_CreateObject(9125, 2239.0502929688, 494.15509033203, 0, 0, 0, 356);
  972.     F_CreateObject(9125, 2180.7307128906, 498.39926147461, 0, 0, 0, 356);
  973.     F_CreateObject(9125, 2122.4833984375, 502.46151733398, 0, 0, 0, 356);
  974.     F_CreateObject(9125, 2064.2712402344, 506.5290222168, 0, 0, 0, 356);
  975.     F_CreateObject(9125, 2006.1655273438, 510.51138305664, 0, 0, 0, 356);
  976.     F_CreateObject(9125, 1947.8975830078, 514.486328125, 0, 0, 0, 356);
  977.     F_CreateObject(9125, 1889.8189697266, 518.19079589844, 0, 0, 0, 356);
  978.     F_CreateObject(9125, 1831.6372070313, 522.25854492188, 0, 0, 0, 356);
  979.     F_CreateObject(9123, 2549.8081054688, 472.35284423828, 5.25, 0, 0, 356);
  980.     F_CreateObject(9123, 2498.5515136719, 477.75546264648, 6.0495500564575, 0, 0, 176);
  981.     F_CreateObject(9123, 2442.0275878906, 481.50765991211, 5.5000019073486, 0, 0, 356);
  982.     F_CreateObject(9123, 2389.7841796875, 484.39074707031, 5.6750044822693, 0, 0, 178);
  983.     F_CreateObject(9123, 2335.8051757813, 486.94955444336, 5.5, 0, 0, 356);
  984.     F_CreateObject(9123, 2281.5349121094, 490.46343994141, 5.8250012397766, 0, 0, 176);
  985.     F_CreateObject(9123, 2226.9658203125, 495.41073608398, 5.5, 0, 0, 354);
  986.     F_CreateObject(9123, 2173.9631347656, 500.12036132813, 5.5, 0, 0, 176);
  987.     F_CreateObject(9123, 2120.9123535156, 503.57077026367, 7.25, 0, 0, 356);
  988.     F_CreateObject(9123, 2067.6569824219, 507.18792724609, 7.3000001907349, 0, 0, 176);
  989.     F_CreateObject(9123, 2013.0657958984, 510.69259643555, 7.5, 0, 0, 356);
  990.     F_CreateObject(9123, 1959.6571044922, 513.65545654297, 6.75, 0, 0, 176);
  991.     F_CreateObject(9123, 1906.978515625, 484.501953125, -23.402889251709, 0, 0, 0);
  992.     F_CreateObject(9123, 1906.0804443359, 517.39929199219, 5.7750000953674, 0, 0, 356);
  993.     F_CreateObject(9123, 1853.4638671875, 521.15368652344, 5.7499961853027, 0, 0, 176);
  994.     F_CreateObject(1337, 2504.4990234375, 490.6123046875, -5.339916229248, 0, 0, 0);
  995.     F_CreateObject(9088, 2545.8598632813, 517.49487304688, -15, 0, 0, 0);
  996.     F_CreateObject(1337, 2427.9443359375, 470.638671875, -4.6081876754761, 0, 0, 0);
  997.     F_CreateObject(1337, 2426.228515625, 470.5908203125, 6.7208995819092, 0, 0, 0);
  998.     F_CreateObject(9088, 2477.1398925781, 524.21087646484, -13.75, 0, 0, 358);
  999.     F_CreateObject(9088, 2404.6325683594, 529.30987548828, -15.573360443115, 0, 0, 0);
  1000.     F_CreateObject(9088, 2334.3415527344, 531.85314941406, -15.5, 0, 0, 0);
  1001.     F_CreateObject(9088, 2265.1008300781, 538.54760742188, -15.5, 0, 0, 356);
  1002.     F_CreateObject(9088, 2186.3515625, 544.42224121094, -16.426969528198, 0, 0, 356);
  1003.     F_CreateObject(9088, 2112.0224609375, 547.59185791016, -14.25, 0, 0, 0);
  1004.     F_CreateObject(9088, 2042.0919189453, 553.787109375, -15.25, 0, 0, 0);
  1005.     F_CreateObject(1337, 1957.126953125, 509.7333984375, -2.3583602905273, 0, 0, 0);
  1006.     F_CreateObject(9088, 1968.2275390625, 558.73254394531, -13.63659286499, 0, 0, 356);
  1007.     F_CreateObject(9088, 1898.8833007813, 563.34210205078, -15, 0, 0, 354);
  1008.     F_CreateObject(9088, 1829.7254638672, 569.24017333984, -15.75, 0, 0, 354);
  1009.     F_CreateObject(1655, 2534.1892089844, 473.51434326172, 0.97500050067902, 0, 0, 86);
  1010.     F_CreateObject(1655, 2426.5451660156, 482.54495239258, 0.92499983310699, 0, 0, 86);
  1011.     F_CreateObject(1655, 2320.4282226563, 487.76593017578, 0.87499970197678, 0, 0, 84);
  1012.     F_CreateObject(1655, 2210.6149902344, 497.25054931641, 0.94999980926514, 0, 0, 85);
  1013.     F_CreateObject(1655, 2104.2854003906, 505.08404541016, 0.92499971389771, 0, 0, 86);
  1014.     F_CreateObject(1655, 1995.9196777344, 512.19458007813, 0.95000004768372, 0, 0, 84);
  1015.     F_CreateObject(1655, 1889.6462402344, 518.34228515625, 0.92500007152557, 0, 0, 84);
  1016.     F_CreateObject(2780, 1996.4830322266, 511.95739746094, -1.2246901988983, 0, 0, 0);
  1017.     F_CreateObject(2780, 2104.0017089844, 505.17227172852, -1.8862700462341, 0, 0, 0);
  1018.     F_CreateObject(2780, 2210.0207519531, 497.32489013672, -2.2317228317261, 0, 0, 0);
  1019.     F_CreateObject(2780, 2320.5261230469, 488.08422851563, -2.3341772556305, 0, 0, 0);
  1020.     F_CreateObject(2780, 2427.3249511719, 483.23947143555, -2.343888759613, 0, 0, 0);
  1021.     F_CreateObject(2780, 2534.4812011719, 473.61929321289, -1.2972697019577, 0, 0, 0);
  1022.     F_CreateObject(2780, 1889.8137207031, 518.55181884766, -1.8179397583008, 0, 0, 0);
  1023.     F_CreateObject(3524, 1887.6923828125, 523.77075195313, 4.0773658752441, 0, 0, 64);
  1024.     F_CreateObject(3524, 1887.0750732422, 513.84771728516, 4.5174827575684, 0, 0, 90);
  1025.     F_CreateObject(3524, 1994.619140625, 517.50213623047, 3.3915853500366, 0, 0, 62);
  1026.     F_CreateObject(3524, 1993.2133789063, 507.61569213867, 4.4165682792664, 0, 0, 102);
  1027.     F_CreateObject(3524, 2103.296875, 510.01379394531, 4.1960821151733, 0, 0, 70);
  1028.     F_CreateObject(3524, 2101.5319824219, 500.27896118164, 3.9797444343567, 0, 0, 90);
  1029.     F_CreateObject(3524, 2209.6225585938, 502.14584350586, 4.3534426689148, 0, 0, 70);
  1030.     F_CreateObject(3524, 2208.3706054688, 492.55661010742, 4.1919283866882, 0, 0, 90);
  1031.     F_CreateObject(3524, 2319.2414550781, 492.79376220703, 4.2306632995605, 0, 0, 68);
  1032.     F_CreateObject(3524, 2317.7287597656, 483.0539855957, 4.0749225616455, 0, 0, 82);
  1033.     F_CreateObject(3524, 2425.5173339844, 487.63241577148, 3.9443726539612, 0, 0, 66);
  1034.     F_CreateObject(3524, 2424.8859863281, 477.8034362793, 3.9953713417053, 0, 0, 90);
  1035.     F_CreateObject(3524, 2532.74609375, 478.61920166016, 3.8717730045319, 0, 0, 82);
  1036.     F_CreateObject(3524, 2531.9187011719, 468.72906494141, 4.1129941940308, 0, 0, 90);
  1037.     F_CreateObject(3534, 2576.5439453125, 467.16491699219, 0, 0, 0, 0);
  1038.     F_CreateObject(3437, 2577.9580078125, 481.23153686523, 5.5, 0, 0, 0);
  1039.     F_CreateObject(3437, 2576.1550292969, 459.84661865234, 5.25, 0, 0, 2);
  1040.     F_CreateObject(3437, 2520.6762695313, 485.01321411133, 5.75, 0, 0, 0);
  1041.     F_CreateObject(3437, 2518.8515625, 463.51257324219, 5.25, 0, 0, 0);
  1042.     F_CreateObject(3437, 2462.4038085938, 489.28280639648, 5.25, 0, 0, 0);
  1043.     F_CreateObject(3437, 2460.9753417969, 467.7170715332, 5.75, 0, 0, 0);
  1044.     F_CreateObject(3437, 2403.9321289063, 493.37728881836, 5.25, 0, 0, 0);
  1045.     F_CreateObject(3437, 2402.7678222656, 471.74859619141, 5.75, 0, 0, 0);
  1046.     F_CreateObject(3437, 2345.7900390625, 496.91201782227, 5.6500043869019, 0, 0, 352);
  1047.     F_CreateObject(3437, 2344.2687988281, 476.04373168945, 5.4500017166138, 0, 0, 0);
  1048.     F_CreateObject(3437, 2287.5373535156, 501.67047119141, 5.75, 0, 0, 0);
  1049.     F_CreateObject(3437, 2285.8786621094, 479.57116699219, 5, 0, 0, 0);
  1050.     F_CreateObject(3437, 2229.7312011719, 505.38442993164, 5.5, 0, 0, 0);
  1051.     F_CreateObject(3437, 2228.1125488281, 484.47457885742, 5.75, 0, 0, 0);
  1052.     F_CreateObject(3437, 2171.4392089844, 509.84658813477, 5.25, 0, 0, 0);
  1053.     F_CreateObject(3437, 2169.3374023438, 488.4860534668, 5.5, 0, 0, 0);
  1054.     F_CreateObject(3437, 2112.6701660156, 514.04382324219, 5.4750018119812, 0, 0, 0);
  1055.     F_CreateObject(3437, 2111.5249023438, 492.83489990234, 4.925000667572, 0, 0, 0);
  1056.     F_CreateObject(3437, 2054.6362304688, 517.97546386719, 5.3999996185303, 0, 0, 0);
  1057.     F_CreateObject(3437, 2052.9230957031, 496.6969909668, 5.3500003814697, 0, 0, 0);
  1058.     F_CreateObject(3437, 1997.185546875, 521.84735107422, 5.3750023841858, 0, 0, 0);
  1059.     F_CreateObject(3437, 1994.3590087891, 500.14785766602, 5.5000047683716, 0, 0, 0);
  1060.     F_CreateObject(3437, 1938.5614013672, 525.71905517578, 5, 0, 0, 0);
  1061.     F_CreateObject(3437, 1936.7182617188, 504.70550537109, 5.6249995231628, 0, 0, 0);
  1062.     F_CreateObject(3437, 1880.2551269531, 529.79998779297, 5.25, 0, 0, 0);
  1063.     F_CreateObject(3437, 1878.8740234375, 508.67761230469, 5.5, 0, 0, 0);
  1064.     F_CreateObject(3437, 1821.9688720703, 533.52770996094, 5.5, 0, 0, 0);
  1065.     F_CreateObject(3437, 1820.8537597656, 512.48455810547, 5.25, 0, 0, 0);
  1066.     F_CreateObject(8397, 2561.7495117188, 511.12835693359, 9.5, 0, 0, 0);
  1067.     F_CreateObject(8397, 2557.0695800781, 437.69985961914, 8.75, 0, 0, 0);
  1068.     F_CreateObject(8397, 2422.1831054688, 465.01531982422, -36, 0, 0, 0);
  1069.     F_CreateObject(8397, 2423.4387207031, 495.87753295898, -37, 0, 0, 0);
  1070.     F_CreateObject(8397, 2326.2573242188, 502.10687255859, -33.25, 0, 0, 0);
  1071.     F_CreateObject(8397, 2324.2565917969, 473.78958129883, -33.75, 0, 0, 0);
  1072.     F_CreateObject(8397, 2324.255859375, 473.7890625, -33.75, 0, 0, 0);
  1073.     F_CreateObject(8397, 2209.5998535156, 509.75698852539, -33, 0, 0, 0);
  1074.     F_CreateObject(8397, 2208.0541992188, 483.58248901367, -34.25, 0, 0, 0);
  1075.     F_CreateObject(8397, 2095.8469238281, 518.10211181641, -32.75, 0, 0, 0);
  1076.     F_CreateObject(8397, 2092.2795410156, 491.2336730957, -32.75, 0, 0, 356);
  1077.     F_CreateObject(8397, 1977.3026123047, 526.10028076172, -32.75, 0, 0, 354);
  1078.     F_CreateObject(8397, 1975.1912841797, 499.00933837891, -32.5, 0, 0, 0);
  1079.     F_CreateObject(8397, 1859.8767089844, 534.19134521484, -33.75, 0, 0, 0);
  1080.     F_CreateObject(8397, 1859.5407714844, 506.90542602539, -34.25, 0, 0, 0);
  1081.     F_CreateObject(8397, 1788.7556152344, 539.23217773438, -30.75, 0, 0, 0);
  1082.     F_CreateObject(8397, 1787.9310302734, 512.36297607422, -32.25, 0, 0, 0);
  1083.     F_CreateObject(7392, 2441.7175292969, 518.86785888672, 7.8274230957031, 0, 0, 304);
  1084.     F_CreateObject(7073, 2374.2719726563, 440.75357055664, 19.191804885864, 0, 0, 16);
  1085.     F_CreateObject(8483, 2240.8444824219, 532.78448486328, 6.0654144287109, 0, 0, 312);
  1086.     F_CreateObject(1337, 2245.5532226563, 525.65936279297, 3.9242310523987, 0, 0, 0);
  1087.     F_CreateObject(1337, 2462.8911132813, 488.77105712891, 11.205239295959, 0, 0, 0);
  1088.     F_CreateObject(1337, 2461.6806640625, 467.7802734375, 11.867916107178, 0, 0, 0);
  1089.     F_CreateObject(1337, 2517.6130371094, 463.79296875, 11.367916107178, 0, 0, 0);
  1090.     F_CreateObject(1337, 2520.3754882813, 485.12115478516, 11.867916107178, 0, 0, 0);
  1091.     F_CreateObject(1337, 2575.3889160156, 460.33706665039, 11.320747375488, 0, 0, 0);
  1092.     F_CreateObject(1337, 2576.6931152344, 481.08590698242, 11.617916107178, 0, 0, 0);
  1093.     F_CreateObject(1337, 2404.9387207031, 492.86553955078, 11.217553138733, 0, 0, 0);
  1094.     F_CreateObject(1337, 2404.1098632813, 471.78552246094, 11.600203514099, 0, 0, 0);
  1095.     F_CreateObject(1337, 2346.4069824219, 496.71783447266, 11.767921447754, 0, 0, 0);
  1096.     F_CreateObject(1337, 2344.4809570313, 475.98513793945, 11.567918777466, 0, 0, 0);
  1097.     F_CreateObject(1337, 2287.7770996094, 501.61755371094, 11.867916107178, 0, 0, 0);
  1098.     F_CreateObject(1337, 2285.9516601563, 479.48049926758, 11.117916107178, 0, 0, 0);
  1099.     F_CreateObject(1337, 2229.99609375, 505.31820678711, 11.617916107178, 0, 0, 0);
  1100.     F_CreateObject(1337, 2228.4875488281, 484.42047119141, 11.867916107178, 0, 0, 0);
  1101.     F_CreateObject(1337, 2171.5168457031, 509.84115600586, 11.367916107178, 0, 0, 0);
  1102.     F_CreateObject(1337, 2169.5114746094, 488.51232910156, 11.617916107178, 0, 0, 0);
  1103.     F_CreateObject(1337, 2112.7397460938, 513.98187255859, 11.592918395996, 0, 0, 0);
  1104.     F_CreateObject(1337, 2111.6987304688, 492.71002197266, 11.042917251587, 0, 0, 0);
  1105.     F_CreateObject(1337, 2054.8005371094, 517.7470703125, 11.517915725708, 0, 0, 0);
  1106.     F_CreateObject(1337, 2053.5478515625, 496.76742553711, 11.467916488647, 0, 0, 0);
  1107.     F_CreateObject(1337, 1997.1135253906, 521.79797363281, 11.492918968201, 0, 0, 0);
  1108.     F_CreateObject(1337, 1994.7946777344, 500.37127685547, 11.617921829224, 0, 0, 0);
  1109.     F_CreateObject(1337, 1939.0729980469, 525.50854492188, 11.117916107178, 0, 0, 0);
  1110.     F_CreateObject(1337, 1936.7946777344, 504.73571777344, 11.742916107178, 0, 0, 0);
  1111.     F_CreateObject(1337, 1880.7108154297, 529.60992431641, 11.367916107178, 0, 0, 0);
  1112.     F_CreateObject(1337, 1879.1403808594, 508.64813232422, 11.617916107178, 0, 0, 0);
  1113.     F_CreateObject(1337, 1822.3244628906, 533.55474853516, 11.617916107178, 0, 0, 0);
  1114.     F_CreateObject(1337, 1799.4296875, 513.9052734375, -47.927146911621, 0, 0, 0);
  1115.     F_CreateObject(1337, 1820.4522705078, 512.65081787109, 11.367916107178, 0, 0, 0);
  1116.     F_CreateObject(3877, 2599.6352539063, 459.66287231445, 7.843090057373, 0, 0, 0);
  1117.     F_CreateObject(3877, 2610.5532226563, 458.9211730957, 8.885009765625, 0, 0, 0);
  1118.     F_CreateObject(3877, 2602.1843261719, 478.86697387695, 8.0454578399658, 0, 0, 0);
  1119.     F_CreateObject(3877, 2613.9875488281, 478.81378173828, 9.0342044830322, 0, 0, 0);
  1120.     F_CreateObject(3877, 2626.4494628906, 458.94430541992, 9.4005928039551, 0, 0, 0);
  1121.     F_CreateObject(3877, 2628.5344238281, 476.41809082031, 10.064785003662, 0, 0, 0);
  1122.     F_CreateObject(17594, 856.779296875, -3451.63671875, 3.0569686889648, 0, 0, 177.98950195313);
  1123.     F_CreateObject(17594, 681.7138671875, -3372.9736328125, 2.9849672317505, 0, 0, 355.98999023438);
  1124.     F_CreateObject(17594, 679.1669921875, -3462.0224609375, 3.0978770256042, 0, 0, 357.98950195313);
  1125.     F_CreateObject(987, 926.15948486328, -3412.6701660156, 1.5335311889648, 84, 0, 0);
  1126.     F_CreateObject(987, 914.28930664063, -3418.9904785156, 2.3085298538208, 271.99996948242, 180, 177.99993896484);
  1127.     F_CreateObject(987, 902.62982177734, -3418.9482421875, 1.9206249713898, 271.99993896484, 0, 357.75);
  1128.     F_CreateObject(987, 902.48492431641, -3423.8854980469, 1.2466114759445, 271.99993896484, 0, 358);
  1129.     F_CreateObject(987, 890.90032958984, -3417.9338378906, 1.8335312604904, 270, 179.30456542969, 175.30456542969);
  1130.     F_CreateObject(987, 890.49951171875, -3423.17578125, 1.9085303544998, 270, 180, 174);
  1131.     F_CreateObject(987, 878.98480224609, -3417.0629882813, 1.7585294246674, 270, 180, 176.00042724609);
  1132.     F_CreateObject(987, 878.35107421875, -3422.2150878906, 1.933531165123, 274, 180, 176);
  1133.     F_CreateObject(987, 867.34222412109, -3417.15234375, 1.6242251396179, 271.99993896484, 0, 355.75);
  1134.     F_CreateObject(987, 867.09002685547, -3423.294921875, 1.5507220029831, 271.99993896484, 0, 358);
  1135.     F_CreateObject(987, 827.82647705078, -3414.7172851563, 1.8585293292999, 271.99993896484, 0, 358);
  1136.     F_CreateObject(987, 827.58197021484, -3420.9030761719, 1.5190334320068, 274, 0, 358);
  1137.     F_CreateObject(987, 867.982421875, -3411.1767578125, -75.639137268066, 0, 0, 0);
  1138.     F_CreateObject(987, 827.21643066406, -3426.6965332031, 1.4335316419601, 271.99993896484, 0, 358);
  1139.     F_CreateObject(987, 815.80615234375, -3413.4477539063, 2.170033454895, 271.75012207031, 0, 357.75);
  1140.     F_CreateObject(987, 815.63812255859, -3419.4575195313, 2.0561797618866, 271.99993896484, 0, 358);
  1141.     F_CreateObject(987, 815.18811035156, -3425.7341308594, 1.8585293292999, 270, 180, 177.5);
  1142.     F_CreateObject(987, 815.00952148438, -3432.1467285156, 2.0585317611694, 274, 180, 180);
  1143.     F_CreateObject(987, 803.94464111328, -3412.4663085938, 2.1162142753601, 270, 179.30419921875, 174.80419921875);
  1144.     F_CreateObject(987, 803.57977294922, -3418.4523925781, 2.1835298538208, 270, 180, 176);
  1145.     F_CreateObject(987, 803.23950195313, -3424.5234375, 2.1662173271179, 271.99993896484, 180, 176.75);
  1146.     F_CreateObject(987, 803.05462646484, -3430.4780273438, 2.0085301399231, 271.99993896484, 0, 358);
  1147.     F_CreateObject(987, 745.20184326172, -3424.677734375, 2.3244385719299, 271.99993896484, 0, 358);
  1148.     F_CreateObject(987, 745.43896484375, -3418.9621582031, 2.5744395256042, 271.99993896484, 180, 178.5);
  1149.     F_CreateObject(987, 745.78039550781, -3413.1818847656, 2.2244381904602, 270, 180.69543457031, 180.19543457031);
  1150.     F_CreateObject(987, 745.81323242188, -3407.7692871094, 2.16841340065, 273.25, 0, 0);
  1151.     F_CreateObject(987, 733.69366455078, -3407.3940429688, 2.4615297317505, 271.99993896484, 0, 357.5);
  1152.     F_CreateObject(987, 733.67645263672, -3412.4255371094, 2.5865302085876, 270, 179.99047851563, 179.49047851563);
  1153.     F_CreateObject(987, 733.66705322266, -3417.6103515625, 2.5744395256042, 271.99993896484, 0, 0);
  1154.     F_CreateObject(987, 733.69293212891, -3423.0939941406, 2.3494386672974, 271.99993896484, 0, 0);
  1155.     F_CreateObject(987, 733.43206787109, -3428.3127441406, 2.2744383811951, 276, 180, 180);
  1156.     F_CreateObject(987, 660.59368896484, -3422.4213867188, 2.3063144683838, 270.25024414063, 0, 0);
  1157.     F_CreateObject(987, 660.73217773438, -3417.5166015625, 2.1802835464478, 270, 179.99047851563, 179.99047851563);
  1158.     F_CreateObject(987, 660.71453857422, -3412.6015625, 2.1526055335999, 271.00015258789, 0, 0);
  1159.     F_CreateObject(987, 660.69561767578, -3407.7009277344, 2.0804882049561, 273, 0, 0);
  1160.     F_CreateObject(987, 592.08807373047, -3418.9770507813, 2.2744383811951, 276, 0, 358);
  1161.     F_CreateObject(987, 592.35662841797, -3414.0327148438, 2.7520532608032, 270, 180.40350341797, 178.90350341797);
  1162.     F_CreateObject(987, 592.41613769531, -3409.5241699219, 2.0933775901794, 270, 180.00952148438, 178.00952148438);
  1163.     F_CreateObject(987, 604.07373046875, -3419.7409667969, 2.0575375556946, 278, 0, 358);
  1164.     F_CreateObject(987, 604.19720458984, -3415.0258789063, 2.5807967185974, 270, 179.99047851563, 179.74047851563);
  1165.     F_CreateObject(987, 604.20043945313, -3409.8803710938, 2.2244384288788, 271.24990844727, 180, 180);
  1166.     F_CreateObject(987, 944.45928955078, -3481.8742675781, 2.5515403747559, 0, 0, 267.99499511719);
  1167.     F_CreateObject(987, 945.01812744141, -3472.0180664063, 2.5482578277588, 0, 0, 268);
  1168.     F_CreateObject(987, 945.40600585938, -3460.0102539063, 2.5476579666138, 0, 0, 268);
  1169.     F_CreateObject(987, 945.41394042969, -3447.9323730469, 2.5488781929016, 0, 0, 270);
  1170.     F_CreateObject(987, 944.98254394531, -3436.1027832031, 2.5568466186523, 0, 0, 272);
  1171.     F_CreateObject(987, 944.70208740234, -3424.2365722656, 2.5568466186523, 0, 0, 272);
  1172.     F_CreateObject(987, 944.29046630859, -3412.3732910156, 2.5568466186523, 0, 0, 271.99951171875);
  1173.     F_CreateObject(987, 946.42694091797, -3395.9655761719, 2.5568466186523, 0, 0, 266.24951171875);
  1174.     F_CreateObject(987, 947.96356201172, -3372.1740722656, 2.4818482398987, 0, 0, 267.99548339844);
  1175.     F_CreateObject(987, 947.52105712891, -3384.0771484375, 2.5286016464233, 0, 0, 266);
  1176.     F_CreateObject(987, 947.64727783203, -3360.0368652344, 2.7318549156189, 1.998779296875, 2.001220703125, 271.92517089844);
  1177.     F_CreateObject(987, 947.73712158203, -3348.31640625, 2.4818539619446, 0, 0, 269.49499511719);
  1178.     F_CreateObject(987, 947.85565185547, -3336.3449707031, 2.4568557739258, 0, 0, 269.24499511719);
  1179.     F_CreateObject(987, 935.83612060547, -3337.3330078125, 2.5112881660461, 0, 0, 4.75);
  1180.     F_CreateObject(987, 927.53570556641, -3337.6215820313, 2.5065960884094, 0, 0, 4);
  1181.     F_CreateObject(987, 915.61053466797, -3338.4196777344, 2.4565949440002, 0, 0, 3.9990234375);
  1182.     F_CreateObject(987, 903.70111083984, -3339.1809082031, 2.4565930366516, 0, 0, 3.9990234375);
  1183.     F_CreateObject(987, 891.77337646484, -3339.8974609375, 2.5315961837769, 0, 0, 3.9990234375);
  1184.     F_CreateObject(987, 880.03265380859, -3340.4685058594, 2.5315933227539, 0, 0, 1.9990234375);
  1185.     F_CreateObject(987, 868.05389404297, -3341.2724609375, 2.5065941810608, 0, 0, 3.9940185546875);
  1186.     F_CreateObject(987, 855.99566650391, -3341.9777832031, 2.3815927505493, 0, 0, 3.9935302734375);
  1187.     F_CreateObject(987, 844.1494140625, -3342.9875488281, 2.2565941810608, 0, 0, 3.9935302734375);
  1188.     F_CreateObject(987, 832.38012695313, -3343.7707519531, 2.4315919876099, 0, 0, 3.9935302734375);
  1189.     F_CreateObject(987, 820.45666503906, -3343.7111816406, 2.4315919876099, 0, 0, 359.99353027344);
  1190.     F_CreateObject(987, 808.54992675781, -3343.1684570313, 2.3315916061401, 0, 0, 357.98901367188);
  1191.     F_CreateObject(987, 796.62634277344, -3343.0480957031, 2.3315925598145, 0, 0, 357.98400878906);
  1192.     F_CreateObject(987, 784.79815673828, -3341.9221191406, 2.4315948486328, 0, 0, 354.23400878906);
  1193.     F_CreateObject(987, 773.01135253906, -3340.3054199219, 2.5315942764282, 0, 0, 352.23217773438);
  1194.     F_CreateObject(987, 761.048828125, -3339.2272949219, 2.1815910339355, 0, 0, 356.23217773438);
  1195.     F_CreateObject(987, 749.17175292969, -3338.41015625, 2.1815910339355, 0, 0, 356.23168945313);
  1196.     F_CreateObject(987, 737.19787597656, -3337.748046875, 2.1815910339355, 0, 0, 356.23168945313);
  1197.     F_CreateObject(987, 725.24627685547, -3336.9602050781, 2.1815910339355, 0, 0, 356.23168945313);
  1198.     F_CreateObject(987, 713.34454345703, -3336.0952148438, 2.1815910339355, 0, 0, 356.23168945313);
  1199.     F_CreateObject(987, 701.44415283203, -3335.3576660156, 2.1815910339355, 0, 0, 356.23168945313);
  1200.     F_CreateObject(987, 689.56799316406, -3334.5668945313, 2.1815910339355, 0, 0, 356.23168945313);
  1201.     F_CreateObject(987, 677.59411621094, -3333.8544921875, 2.1815910339355, 0, 0, 356.23168945313);
  1202.     F_CreateObject(987, 665.65759277344, -3332.9792480469, 2.1815910339355, 0, 0, 356.23168945313);
  1203.     F_CreateObject(987, 653.77331542969, -3332.2165527344, 2.1815910339355, 0, 0, 356.23168945313);
  1204.     F_CreateObject(987, 641.91796875, -3331.4365234375, 2.1815910339355, 0, 0, 356.23168945313);
  1205.     F_CreateObject(987, 630.03125, -3330.5700683594, 2.1815910339355, 0, 0, 356.23168945313);
  1206.     F_CreateObject(987, 618.16326904297, -3329.7355957031, 2.1815910339355, 0, 0, 356.23168945313);
  1207.     F_CreateObject(987, 606.28436279297, -3328.9499511719, 2.1815910339355, 0, 0, 356.23168945313);
  1208.     F_CreateObject(987, 596.08197021484, -3328.1010742188, 2.1815910339355, 0, 0, 356.23168945313);
  1209.     F_CreateObject(17594, 859.4169921875, -3369.966796875, 3.0819687843323, 0, 0, 175.98999023438);
  1210.     F_CreateObject(987, 946.05737304688, -3401.1828613281, 2.5741562843323, 0, 0, 262.5);
  1211.     F_CreateObject(987, 595.27825927734, -3340.2822265625, 2.3271541595459, 0, 0, 86);
  1212.     F_CreateObject(987, 594.36108398438, -3352.1838378906, 2.3271541595459, 0, 0, 85.995483398438);
  1213.     F_CreateObject(987, 593.42706298828, -3364.0339355469, 2.3271541595459, 0, 0, 85.995483398438);
  1214.     F_CreateObject(987, 593.40747070313, -3375.8649902344, 2.3271541595459, 0, 0, 89.995483398438);
  1215.     F_CreateObject(987, 593.44384765625, -3387.8403320313, 2.3271541595459, 0, 0, 89.994506835938);
  1216.     F_CreateObject(987, 593.42816162109, -3399.8081054688, 2.3271541595459, 0, 0, 89.994506835938);
  1217.     F_CreateObject(987, 593.41668701172, -3411.9338378906, 2.4771547317505, 0, 0, 89.994506835938);
  1218.     F_CreateObject(987, 592.00579833984, -3423.943359375, 2.5771551132202, 0, 0, 83.994506835938);
  1219.     F_CreateObject(987, 592.02038574219, -3435.7153320313, 2.5271549224854, 0, 0, 89.994506835938);
  1220.     F_CreateObject(987, 591.19958496094, -3447.6787109375, 2.5521550178528, 0, 0, 85.994506835938);
  1221.     F_CreateObject(987, 590.75854492188, -3459.5551757813, 2.5414862632751, 0, 0, 88);
  1222.     F_CreateObject(987, 590.90502929688, -3471.3596191406, 2.5164861679077, 0, 0, 91.994995117188);
  1223.     F_CreateObject(987, 591.3369140625, -3483.3762207031, 2.5164861679077, 0, 0, 92.744018554688);
  1224.     F_CreateObject(987, 591.27563476563, -3495.2248535156, 2.5164861679077, 0, 0, 90.741088867188);
  1225.     F_CreateObject(987, 591.35662841797, -3499.0756835938, 2.5164861679077, 0, 0, 90.736083984375);
  1226.     F_CreateObject(987, 510.41897583008, -3713.5456542969, -64.414161682129, 0, 0, 0);
  1227.     F_CreateObject(987, 603.56439208984, -3497.7331542969, 2.5797324180603, 0, 0, 185.25);
  1228.     F_CreateObject(987, 615.50164794922, -3496.3742675781, 2.5797324180603, 0, 0, 186.24597167969);
  1229.     F_CreateObject(987, 627.33459472656, -3495.0859375, 2.5797324180603, 0, 0, 186.24572753906);
  1230.     F_CreateObject(987, 639.24450683594, -3493.9216308594, 2.5797324180603, 0, 0, 186.24572753906);
  1231.     F_CreateObject(987, 651.0791015625, -3492.7333984375, 2.5797324180603, 0, 0, 186.24572753906);
  1232.     F_CreateObject(987, 662.91638183594, -3491.6723632813, 2.5797324180603, 0, 0, 186.24572753906);
  1233.     F_CreateObject(987, 674.80151367188, -3490.4829101563, 2.5297322273254, 0, 0, 186.24572753906);
  1234.     F_CreateObject(987, 686.71032714844, -3489.2175292969, 2.5297322273254, 0, 0, 186.24572753906);
  1235.     F_CreateObject(987, 698.54541015625, -3488.03125, 2.5297322273254, 0, 0, 186.24572753906);
  1236.     F_CreateObject(987, 710.36920166016, -3487.2536621094, 2.5297322273254, 0, 0, 184.24571228027);
  1237.     F_CreateObject(987, 722.28820800781, -3486.6118164063, 2.5297322273254, 0, 0, 182.24072265625);
  1238.     F_CreateObject(987, 734.08416748047, -3487.2927246094, 2.5297322273254, 0, 0, 178.23571777344);
  1239.     F_CreateObject(987, 745.98504638672, -3487.7534179688, 2.5297322273254, 0, 0, 178.23120117188);
  1240.     F_CreateObject(987, 757.93475341797, -3488.0148925781, 2.5297322273254, 0, 0, 178.23120117188);
  1241.     F_CreateObject(987, 768.9619140625, -3487.759765625, 2.5297322273254, 0, 0, 182.23022460938);
  1242.     F_CreateObject(987, 781.12145996094, -3488.1530761719, 2.5297322273254, 0, 0, 178.23022460938);
  1243.     F_CreateObject(987, 793.1904296875, -3488.041015625, 2.5297322273254, 0, 0, 180.22521972656);
  1244.     F_CreateObject(987, 805.02026367188, -3488.4404296875, 2.5297322273254, 0, 0, 178.22570800781);
  1245.     F_CreateObject(987, 816.94299316406, -3488.8154296875, 2.5297322273254, 0, 0, 178.22570800781);
  1246.     F_CreateObject(987, 828.84997558594, -3489.21875, 2.5297322273254, 0, 0, 178.22570800781);
  1247.     F_CreateObject(987, 840.74237060547, -3489.7944335938, 2.5297322273254, 0, 0, 178.22570800781);
  1248.     F_CreateObject(987, 852.70385742188, -3490.1518554688, 2.5297322273254, 0, 0, 178.22570800781);
  1249.     F_CreateObject(987, 864.42504882813, -3490.9638671875, 2.5297322273254, 0, 0, 178.22570800781);
  1250.     F_CreateObject(987, 876.25775146484, -3491.3596191406, 2.5297322273254, 0, 0, 178.22570800781);
  1251.     F_CreateObject(987, 888.18188476563, -3491.8366699219, 2.5297322273254, 0, 0, 178.22570800781);
  1252.     F_CreateObject(987, 900.00329589844, -3492.3747558594, 2.5297322273254, 0, 0, 178.22570800781);
  1253.     F_CreateObject(987, 911.88653564453, -3492.84375, 2.5297322273254, 0, 0, 178.22570800781);
  1254.     F_CreateObject(987, 923.82830810547, -3493.4890136719, 2.5297322273254, 0, 0, 178.22570800781);
  1255.     F_CreateObject(987, 935.79693603516, -3493.6879882813, 2.5297322273254, 0, 0, 178.22570800781);
  1256.     F_CreateObject(987, 944.6337890625, -3493.8740234375, 2.5297322273254, 0, 0, 178.22570800781);
  1257.     F_CreateObject(842, 723.40167236328, -3446.8442382813, 2.7108962535858, 0, 0, 0);
  1258.     F_CreateObject(3511, 745.28546142578, -3419.70703125, 2.5744395256042, 0, 0, 0);
  1259.     F_CreateObject(3511, 745.54266357422, -3407.0856933594, 2.5744395256042, 0, 0, 0);
  1260.     F_CreateObject(3511, 666.84149169922, -3411.64453125, 2.5744395256042, 0, 0, 0);
  1261.     F_CreateObject(3512, 596.69458007813, -3413.87890625, 2.6551506519318, 0, 0, 0);
  1262.     F_CreateObject(3512, 613.64825439453, -3414.1018066406, 2.6551506519318, 0, 0, 0);
  1263.     F_CreateObject(3511, 810.33306884766, -3423.763671875, 2.2306687831879, 0, 0, 0);
  1264.     F_CreateObject(3511, 811.46655273438, -3410.4182128906, 2.2306687831879, 0, 0, 0);
  1265.     F_CreateObject(3511, 825.69677734375, -3411.1674804688, 2.2306687831879, 0, 0, 0);
  1266.     F_CreateObject(3511, 824.29797363281, -3422.3054199219, 2.2306687831879, 0, 0, 0);
  1267.     F_CreateObject(3511, 902.64129638672, -3415.9948730469, 1.8639476299286, 0, 0, 0);
  1268.     F_CreateObject(3511, 878.63763427734, -3416.4016113281, 1.6913623809814, 0, 0, 0);
  1269.     F_CreateObject(6965, 771.099609375, -3367.6220703125, 6.2082314491272, 0, 0, 0);
  1270.     F_CreateObject(6965, 767.83959960938, -3458.14453125, 6.1959910392761, 0, 0, 0);
  1271.     F_CreateObject(9129, 745.69128417969, -3412.7673339844, 5.1048054695129, 0, 0, 0);
  1272.     F_CreateObject(9129, 819.09466552734, -3417.390625, 4.8281936645508, 0, 0, 356);
  1273.     F_CreateObject(9129, 891.47076416016, -3416.6264648438, 4.8974313735962, 0, 0, 0);
  1274.     F_CreateObject(9129, 670.08520507813, -3457.099609375, -34.321781158447, 0, 0, 0);
  1275.     F_CreateObject(9129, 605.32434082031, -3413.7099609375, 5.8462791442871, 0, 0, 358);
  1276.     F_CreateObject(9125, 799.72155761719, -3415.7158203125, 2.4782457351685, 0, 0, 357);
  1277.     F_CreateObject(9125, 723.21936035156, -3412.5026855469, 2.2914690971375, 0, 0, 359.5);
  1278.     F_CreateObject(9125, 656.49841308594, -3413.2233886719, 2.2945771217346, 0, 0, 0);
  1279.     F_CreateObject(9125, 870.79388427734, -3419.4201660156, 2.4041972160339, 0, 0, 0);
  1280.     F_CreateObject(8483, 936.80627441406, -3348.3225097656, 8.9460105895996, 0, 0, 226);
  1281.     F_CreateObject(2780, 930.38647460938, -3353.0493164063, 3.0416584014893, 0, 0, 0);
  1282.     F_CreateObject(3877, 740.47882080078, -3424.8779296875, 4.2401804924011, 0, 0, 0);
  1283.     F_CreateObject(3877, 733.70727539063, -3424.51171875, 4.2401804924011, 0, 0, 0);
  1284.     F_CreateObject(3877, 668.16156005859, -3422.1494140625, 4.4079599380493, 0, 0, 0);
  1285.     F_CreateObject(3877, 662.7490234375, -3421.9838867188, 4.2478671073914, 0, 0, 0);
  1286.     F_CreateObject(3877, 831.87445068359, -3407.5808105469, 4.2242722511292, 0, 0, 0);
  1287.     F_CreateObject(3877, 837.193359375, -3407.90625, 4.2273664474487, 0, 0, 0);
  1288.     F_CreateObject(3877, 868.92309570313, -3410.2048339844, 4.3917880058289, 0, 0, 0);
  1289.     F_CreateObject(3877, 874.57043457031, -3410.572265625, 4.2319588661194, 0, 0, 0);
  1290.     F_CreateObject(3877, 905.62176513672, -3412.9968261719, 4.2242722511292, 0, 0, 0);
  1291.     F_CreateObject(3877, 911.19140625, -3413.0576171875, 4.2242722511292, 0, 0, 0);
  1292.     F_CreateObject(7073, 600.67230224609, -3491.2412109375, 20.84889793396, 0, 0, 34);
  1293.     F_CreateObject(7392, 937.05456542969, -3485.0769042969, 12.763705253601, 0, 0, 312);
  1294.     F_CreateObject(2780, 601.28344726563, -3490.7331542969, 1.3324732780457, 0, 0, 0);
  1295.     F_CreateObject(2780, 938.05731201172, -3479.9770507813, 1.9529716968536, 0, 0, 0);
  1296.     F_CreateObject(2780, 934.11560058594, -3486.6704101563, 1.4683134555817, 0, 0, 0);
  1297.     F_CreateObject(2780, 936.39050292969, -3484.0893554688, 1.7037949562073, 0, 0, 0);
  1298.     F_CreateObject(1337, 592.27734375, -3269.7568359375, -20.59055519104, 0, 0, 0);
  1299.     F_CreateObject(13667, 603.15209960938, -3334.9523925781, 18.729019165039, 0, 0, 324);
  1300.     F_CreateObject(2780, 603.51867675781, -3333.1484375, 1.9632749557495, 0, 0, 0);
  1301.     F_CreateObject(2780, 600.99157714844, -3336.5075683594, 1.4771547317505, 0, 0, 0);
  1302.     F_CreateObject(2780, 602.31500244141, -3335.0073242188, 0.73221874237061, 0, 0, 0);
  1303.     F_CreateObject(2780, 600.55230712891, -3489.3237304688, 1.8330817222595, 0, 0, 0);
  1304.     F_CreateObject(2780, 603.45764160156, -3494.658203125, 1.8305277824402, 0, 0, 0);
  1305.     F_CreateObject(9833, 891.09307861328, -3416.7392578125, 5.0118384361267, 0, 0, 0);
  1306.     F_CreateObject(9833, 818.44409179688, -3417.3955078125, 5.7110748291016, 0, 0, 0);
  1307.     F_CreateObject(9833, 745.14514160156, -3412.7514648438, 5.5197067260742, 0, 0, 359.5);
  1308.     F_CreateObject(9833, 604.86840820313, -3413.6428222656, 5.8786745071411, 0, 0, 0);
  1309.     F_CreateObject(11556, 834.49945068359, -3394.1296386719, 4.0683727264404, 338, 0, 0);
  1310.     F_CreateObject(16114, 904.99664306641, -3363.7651367188, -12.941469192505, 0, 0, 286);
  1311.     F_CreateObject(17069, 890.20007324219, -3462.15625, -9.3304996490479, 17.641662597656, 38.082305908203, 336.64083862305);
  1312.     F_CreateObject(17069, 661.50622558594, -3462.7419433594, -7.9645900726318, 1.8793334960938, 20.01123046875, 319.31579589844);
  1313.     F_CreateObject(16122, 679.97174072266, -3362.6760253906, -11.913468360901, 0, 0, 132);
  1314.     F_CreateObject(843, 858.52545166016, -3443.3427734375, 2.9866199493408, 0, 0, 0);
  1315.     F_CreateObject(844, 892.15930175781, -3445.9880371094, 3.1658811569214, 0, 0, 0);
  1316.     F_CreateObject(833, 838.88861083984, -3470.7585449219, 3.4324855804443, 0, 0, 0);
  1317.     F_CreateObject(618, 704.70477294922, -3454.6684570313, 2.5744395256042, 0, 0, 0);
  1318.     F_CreateObject(615, 636.81573486328, -3446.6457519531, 2.5744395256042, 0, 0, 0);
  1319.     F_CreateObject(836, 843.56506347656, -3392.0200195313, 3.8545336723328, 0, 0, 0);
  1320.     F_CreateObject(618, 863.76641845703, -3451.8205566406, 2.5335311889648, 0, 0, 0);
  1321.     F_CreateObject(618, 916.29083251953, -3443.3295898438, 2.5335311889648, 0, 0, 0);
  1322.     F_CreateObject(617, 894.01599121094, -3373.8513183594, 2.5585312843323, 0, 0, 0);
  1323.     F_CreateObject(829, 891.57751464844, -3374.9182128906, 4.0100302696228, 0, 0, 0);
  1324.     F_CreateObject(835, 667.13757324219, -3372.4013671875, 5.3746614456177, 0, 0, 0);
  1325.     F_CreateObject(839, 646.58612060547, -3386.9108886719, 4.9104294776917, 0, 0, 0);
  1326.     F_CreateObject(616, 650.66754150391, -3376.0129394531, 2.4615297317505, 0, 0, 0);
  1327.     F_CreateObject(618, 809.90979003906, -3389.5681152344, 2.5661730766296, 0, 0, 0);
  1328.     F_CreateObject(3509, 934.95642089844, -3356.3439941406, 1.5219616889954, 346, 0, 228);
  1329.     F_CreateObject(3509, 926.73992919922, -3349.5212402344, 1.5219616889954, 17.997924804688, 0, 227.99928283691);
  1330.     F_CreateObject(3509, 604.01928710938, -3331.8850097656, 2.4706630706787, 0, 16, 0);
  1331.     F_CreateObject(3509, 598.27319335938, -3337.4243164063, 2.4771547317505, 10, 0, 336);
  1332.     F_CreateObject(3509, 598.90777587891, -3487.7836914063, 1.58380651474, 346, 0, 50);
  1333.     F_CreateObject(3509, 603.79229736328, -3493.1711425781, 1.9311817884445, 18, 0, 8);
  1334.     F_CreateObject(3509, 931.77429199219, -3486.2155761719, 1.7904359102249, 18, 0, 312);
  1335.     F_CreateObject(3509, 938.18115234375, -3479.9538574219, 2.5522232055664, 16, 0, 114);
  1336.         //===<Garage>===//
  1337.     F_CreateObject(943, -352.50326538086, 1512.7780761719, 75.328269958496, 0, 0, 0);
  1338.     F_CreateObject(1690, 427.87786865234, 2531.5134277344, 16.297710418701, 0, 0, 0);
  1339.     F_CreateObject(1318, -349.23986816406, 1530.3707275391, 74.332817077637, 0, 269.74975585938, 147.99993896484);
  1340.     F_CreateObject(1318, -341.16345214844, 1526.0855712891, 74.307830810547, 0, 90, 334.5);
  1341.     F_CreateObject(1318, -335.05313110352, 1523.28125, 74.383598327637, 0, 88, 334);
  1342.     F_CreateObject(1318, -327.62985229492, 1520.9968261719, 74.332862854004, 0, 88, 349.25);
  1343.     F_CreateObject(1318, -320.30880737305, 1519.4324951172, 74.305397033691, 0, 90, 358);
  1344.     F_CreateObject(1318, -313.69766235352, 1517.5073242188, 74.305442810059, 0, 90, 334);
  1345.     F_CreateObject(1318, -308.48287963867, 1513.7926025391, 74.307861328125, 0, 90, 314);
  1346.     F_CreateObject(3507, -348.70843505859, 1536.296875, 74.5625, 0, 0, 0);
  1347.     F_CreateObject(3507, -362.48641967773, 1538.0263671875, 74.5625, 0, 0, 0);
  1348.     F_CreateObject(8483, -349.26263427734, 1566.7890625, 80.941459655762, 0, 0, 254);
  1349.     F_CreateObject(2780, -362.12384033203, 1538.1104736328, 70.968032836914, 0, 4, 194);
  1350.     F_CreateObject(2780, -350.23739624023, 1537.1608886719, 70.622009277344, 0, 0, 0);
  1351.     F_CreateObject(9833, -347.51962280273, 1558.2669677734, 74.515045166016, 0, 0, 0);
  1352.     F_CreateObject(9833, -357.29507446289, 1560.3610839844, 74.487663269043, 0, 0, 0);
  1353.     F_CreateObject(2780, -351.83148193359, 1561.0290527344, 73.315689086914, 0, 0, 0);
  1354.     F_CreateObject(1337, -352.14584350586, 1558.8092041016, 78.571151733398, 0, 0, 0);
  1355.     F_CreateObject(1337, -348.37954711914, 1535.8812255859, 84.844459533691, 0, 0, 0);
  1356.     F_CreateObject(1337, -362.33212280273, 1537.6799316406, 84.949279785156, 0, 0, 0);
  1357.     F_CreateObject(3528, -359.66333007813, 1562.5083007813, 77.411003112793, 0, 0, 256);
  1358.     F_CreateObject(2933, -363.08023071289, 1542.6376953125, 76.278114318848, 0, 0, 276);
  1359.     F_CreateObject(2933, -364.01129150391, 1551.2557373047, 76.278114318848, 0, 0, 276);
  1360.     F_CreateObject(2933, -364.01617431641, 1559.7919921875, 76.278114318848, 0, 0, 86);
  1361.     F_CreateObject(2933, -361.92614746094, 1567.9985351563, 76.384201049805, 0, 0, 246);
  1362.     F_CreateObject(2933, -345.4020690918, 1553.5595703125, 76.278114318848, 0, 0, 252);
  1363.     F_CreateObject(2933, -343.98141479492, 1557.5615234375, 76.278114318848, 0, 0, 71.25);
  1364.     F_CreateObject(3506, 278.77011108398, 2533.1611328125, 15.817514419556, 0, 0, 0);
  1365.     F_CreateObject(3506, 262.37060546875, 2534.6694335938, 15.8046875, 0, 0, 0);
  1366.     F_CreateObject(2780, 278.82751464844, 2533.5600585938, 10.518598556519, 0, 0, 0);
  1367.     F_CreateObject(2780, 262.25033569336, 2534.4069824219, 10.894756317139, 0, 0, 0);
  1368.     F_CreateObject(8483, 268.33926391602, 2562.2556152344, 21.748514175415, 0, 0, 264);
  1369.     F_CreateObject(2933, 259.34887695313, 2538.240234375, 17.520301818848, 0, 0, 308);
  1370.     F_CreateObject(2933, 256.65194702148, 2546.0983886719, 17.520301818848, 0, 0, 270);
  1371.     F_CreateObject(2933, 256.95892333984, 2554.712890625, 17.528114318848, 0, 0, 88.25);
  1372.     F_CreateObject(2933, 277.75262451172, 2556.376953125, 17.082801818848, 0, 0, 308);
  1373.     F_CreateObject(2780, 267.04879760742, 2556.6193847656, 15.711269378662, 0, 0, 0);
  1374.     F_CreateObject(3528, 273.62457275391, 2555.4553222656, 17.931240081787, 0, 0, 268);
  1375.     F_CreateObject(9833, 270.52880859375, 2553.0383300781, 16.015043258667, 0, 0, 0);
  1376.     F_CreateObject(9833, 260.74880981445, 2553.9489746094, 15.836885452271, 0, 0, 0);
  1377.     F_CreateObject(1337, 266.67025756836, 2553.9694824219, 19.21395111084, 0, 0, 0);
  1378.     F_CreateObject(1337, 278.32992553711, 2533.2895507813, 24.118705749512, 0, 0, 0);
  1379.     F_CreateObject(1337, 262.03662109375, 2534.92578125, 23.773342132568, 0, 0, 0);
  1380.     F_CreateObject(1318, 273.40802001953, 2525.7790527344, 15.748092651367, 0, 90, 294);
  1381.     F_CreateObject(1318, 278.60760498047, 2517.2485351563, 15.598239898682, 0, 91.75, 312);
  1382.     F_CreateObject(1318, 284.77767944336, 2511.3793945313, 15.496709823608, 0.25662231445313, 91.477996826172, 317.99664306641);
  1383.     F_CreateObject(1318, 291.47698974609, 2506.8278808594, 15.432859420776, 0, 90, 331.5);
  1384.     F_CreateObject(987, 2411.7836914063, 1023.1135253906, 9.8129863739014, 0, 0, 91);
  1385.     F_CreateObject(987, 2411.658203125, 1035.1927490234, 9.8203125, 0, 0, 90);
  1386.     F_CreateObject(3749, 2359.5522460938, 993.45715332031, 15.608847618103, 0, 0, 270);
  1387.     F_CreateObject(987, 2358.5529785156, 984.97888183594, 3.7453136444092, 5.9963684082031, 270.21017456055, 87.989013671875);
  1388.     F_CreateObject(3506, 2355.845703125, 986.94854736328, 9.8203115463257, 10, 0, 48);
  1389.     F_CreateObject(3506, 2356.2814941406, 999.84191894531, 9.8125171661377, 356.06088256836, 10.02392578125, 77.695709228516);
  1390.     F_CreateObject(3528, 2356.7048339844, 993.48767089844, 18.643274307251, 0, 0, 180);
  1391.     F_CreateObject(3877, 2356.5246582031, 998.978515625, 11.486053466797, 0, 0, 0);
  1392.     F_CreateObject(3877, 2356.5029296875, 987.83099365234, 11.486053466797, 0, 0, 0);
  1393.     F_CreateObject(9833, 2356.0063476563, 987.81762695313, 6.0178260803223, 0, 0, 0);
  1394.     F_CreateObject(9833, 2356.1381835938, 999.01507568359, 5.3895015716553, 0, 0, 0);
  1395.     F_CreateObject(8483, 2392.244140625, 988.06439208984, 15.451639175415, 0, 0, 143.99996948242);
  1396.     F_CreateObject(2780, 2387.5466308594, 992.82305908203, 11.428023338318, 0, 0, 0);
  1397.     F_CreateObject(354, 2386.1044921875, 993.83264160156, 12.666754722595, 0, 0, 0);
  1398.     F_CreateObject(3509, 2383.015625, 987.26330566406, 9.8203125, 0, 0, 36);
  1399.     F_CreateObject(3749, 2386.5212402344, 1045.3096923828, 13.728730201721, 0, 0, 0);
  1400.     F_CreateObject(9833, 2382.3715820313, 987.55352783203, 13.022855758667, 0, 0, 0);
  1401.     F_CreateObject(7392, 2394.189453125, 1011.4479980469, 18.040386199951, 0, 0, 14);
  1402.     F_CreateObject(3524, 2391.5266113281, 1041.4078369141, 12.705652236938, 0, 0, 0);
  1403.     F_CreateObject(3524, 2380.7302246094, 1041.1652832031, 12.705652236938, 0, 0, 0);
  1404.     F_CreateObject(1186, 2386.7958984375, 1043.5625, 13.325793266296, 0, 0, 0);
  1405.     F_CreateObject(2780, 2386.5285644531, 1042.6614990234, 6.5703125, 0, 0, 0);
  1406.     F_CreateObject(9833, 2391.1545410156, 1041.3366699219, 6.272855758667, 0, 0, 0);
  1407.     F_CreateObject(9833, 2380.6584472656, 1040.9912109375, 6.522855758667, 0, 0, 0);
  1408.     F_CreateObject(3877, 2391.5759277344, 1041.4102783203, 10.18603515625, 0, 0, 0);
  1409.     F_CreateObject(3877, 2380.7204589844, 1040.9912109375, 10.061063766479, 0, 0, 0);
  1410.     F_CreateObject(3528, 2393.6633300781, 1042.1906738281, 12.709495544434, 0, 0, 264);
  1411.     F_CreateObject(3528, 2378.4125976563, 1042.1584472656, 12.709495544434, 0, 0, 264);
  1412.     F_CreateObject(14608, 2386.025390625, 1042.3516845703, 18.641456604004, 0, 0, 138);
  1413.     F_CreateObject(1318, 2365.42578125, 993.16076660156, 9.7687969207764, 0, 270, 8.297607421875);
  1414.     F_CreateObject(1318, 2377.1967773438, 998.43127441406, 9.7687816619873, 0, 270, 34);
  1415.     F_CreateObject(1318, 2384.5522460938, 1008.2443847656, 9.7687931060791, 0, 270, 62);
  1416.     F_CreateObject(1318, 2386.8586425781, 1018.3565673828, 9.8187961578369, 359.99932861328, 93.999969482422, 264);
  1417.     F_CreateObject(1318, 2386.9270019531, 1027.8916015625, 9.7687931060791, 0, 90, 270);
  1418.     F_CreateObject(1318, 2387.6398925781, 1037.228515625, 9.8187847137451, 0, 90, 272);
  1419.     //===<Garage>===//
  1420.    
  1421.     //===<Aztecas>===//
  1422.     CreateObject(6965, 1088.376953125, 1074.4306640625, 13.475637435913, 0, 0, 0);
  1423.     F_CreateObject(3515, 1088.41015625, 1074.4599609375, 11.806144714355, 0, 0, 0);
  1424.     F_CreateObject(2780, 1089.0648193359, 1074.1472167969, 8.2767496109009, 0, 0, 0);
  1425.     F_CreateObject(18368, 1015.494934082, 1046.9057617188, 41.280345916748, 0, 0, 6);
  1426.     F_CreateObject(14781, 1043.0736083984, 1012.1716308594, 55.395034790039, 0, 0, 334);
  1427.     F_CreateObject(3819, 1052.4677734375, 1009.4002685547, 55.302444458008, 0, 0, 334);
  1428.     F_CreateObject(3819, 1048.0671386719, 1020.3100585938, 55.302444458008, 0, 0, 62);
  1429.     F_CreateObject(3819, 1040.7497558594, 1003.8464355469, 55.302444458008, 0, 0, 244);
  1430.     F_CreateObject(3819, 1035.9591064453, 1016.215637207, 55.302444458008, 0, 0, 154);
  1431.     F_CreateObject(3749, 1033.7055664063, 1123.7995605469, 15.858414649963, 0, 0, 44);
  1432.     F_CreateObject(3749, 1062.556640625, 1142.6806640625, 15.858414649963, 0, 0, 19.9951171875);
  1433.     F_CreateObject(987, 1039.34765625, 1131.0478515625, 10, 0, 0, 35.996704101563);
  1434.     F_CreateObject(987, 1045.5187988281, 1135.5931396484, 10, 0, 0, 34);
  1435.     F_CreateObject(987, 1071.7766113281, 1147.9821777344, 10.030239105225, 0, 0, 0);
  1436.     F_CreateObject(987, 1083.6840820313, 1148.2388916016, 9.9999961853027, 0, 0, 6);
  1437.     F_CreateObject(987, 1095.3977050781, 1149.4379882813, 10, 0, 0, 350);
  1438.     F_CreateObject(987, 1106.8195800781, 1147.3325195313, 10, 0, 0, 342);
  1439.     F_CreateObject(987, 1117.9603271484, 1143.5798339844, 10, 0, 0, 334);
  1440.     F_CreateObject(987, 1128.3552246094, 1138.1518554688, 10.002262115479, 0, 0, 326);
  1441.     F_CreateObject(987, 1137.9226074219, 1131.3666992188, 10.002262115479, 0, 0, 316);
  1442.     F_CreateObject(987, 1146.1400146484, 1122.9141845703, 10, 0, 0, 310);
  1443.     F_CreateObject(987, 1153.7105712891, 1113.8784179688, 10.00226020813, 0, 0, 300);
  1444.     F_CreateObject(987, 1159.5327148438, 1103.3627929688, 10.002262115479, 0, 0, 288);
  1445.     F_CreateObject(987, 1162.8111572266, 1092.0040283203, 10, 0, 0, 284);
  1446.     F_CreateObject(987, 1165.4448242188, 1080.2407226563, 10, 0, 0, 276);
  1447.     F_CreateObject(987, 1166.3294677734, 1068.5640869141, 10, 0, 0, 262);
  1448.     F_CreateObject(987, 1164.2545166016, 1057.0764160156, 10, 0, 0, 256);
  1449.     F_CreateObject(987, 1160.9925537109, 1046.1614990234, 10, 0, 0, 244);
  1450.     F_CreateObject(987, 1155.3814697266, 1035.8736572266, 10, 0, 0, 242);
  1451.     F_CreateObject(987, 1149.94140625, 1026.1009521484, 9.9592761993408, 0, 0, 230);
  1452.     F_CreateObject(987, 1141.9029541016, 1017.4255981445, 10, 0, 0, 226);
  1453.     F_CreateObject(987, 1133.6398925781, 1009.0134277344, 10, 0, 0, 234);
  1454.     F_CreateObject(987, 1024.8199462891, 1116.8308105469, 10.280239105225, 0, 0, 242);
  1455.     F_CreateObject(987, 1019.4245605469, 1106.1787109375, 9.9999980926514, 0, 0, 246);
  1456.     F_CreateObject(987, 1014.4039916992, 1095.3520507813, 10, 0, 0, 260);
  1457.     F_CreateObject(987, 1012.3668212891, 1083.6184082031, 10, 0, 0, 268);
  1458.     F_CreateObject(987, 1011.7808837891, 1071.6700439453, 10, 0, 0, 246);
  1459.     F_CreateObject(1634, 1055.3571777344, 1123.4064941406, 10.222322463989, 0, 0, 34);
  1460.     F_CreateObject(1634, 1051.158203125, 1129.7646484375, 15.016380310059, 13.99658203125, 0, 33.497314453125);
  1461.     F_CreateObject(16409, 1045.8109130859, 1014.7051391602, 10.445701599121, 0, 0, 236);
  1462.     F_CreateObject(1634, 1098.6893310547, 1008.6884155273, 23.31224822998, 0, 0, 186);
  1463.     F_CreateObject(1634, 1097.9389648438, 1016.7022094727, 19.597320556641, 0, 0, 186);
  1464.     F_CreateObject(1634, 1097.1519775391, 1024.6875, 15.96325302124, 0, 0, 186);
  1465.     F_CreateObject(1634, 1096.2811279297, 1032.4774169922, 12.118427276611, 4, 0, 186.5);
  1466.     F_CreateObject(1634, 1095.3992919922, 1040.4710693359, 8.0747509002686, 0, 0, 186);
  1467.     F_CreateObject(3361, 1032.1145019531, 984.37640380859, 45.108245849609, 0, 0, 322);
  1468.     F_CreateObject(3361, 1038.3781738281, 979.26263427734, 41.008255004883, 0, 0, 320);
  1469.     F_CreateObject(13749, 1094.041015625, 978.60357666016, 32.379760742188, 0, 0, 118);
  1470.     F_CreateObject(3512, 1127.1768798828, 1093.6026611328, 9.1846084594727, 0, 0, 0);
  1471.     F_CreateObject(3512, 1116.7465820313, 1107.6522216797, 9.2020778656006, 0, 0, 0);
  1472.     F_CreateObject(3512, 1068.5944824219, 1115.4761962891, 9.1725521087646, 0, 0, 0);
  1473.     F_CreateObject(3512, 1052.2268066406, 1102.8636474609, 9.191349029541, 0, 0, 0);
  1474.     F_CreateObject(3512, 1047.4471435547, 1054.4172363281, 9.1926326751709, 0, 0, 0);
  1475.     F_CreateObject(3512, 1061.447265625, 1037.7783203125, 9.1584167480469, 0, 0, 0);
  1476.     F_CreateObject(3512, 1106.5013427734, 1031.7493896484, 9.177375793457, 0, 0, 0);
  1477.     F_CreateObject(3512, 1123.9943847656, 1044.4466552734, 9.2144889831543, 0, 0, 0);
  1478.     F_CreateObject(2780, 1096.0994873047, 1033.5954589844, 6.6484375, 0, 0, 0);
  1479.     F_CreateObject(2780, 1097.7828369141, 1018.4293823242, 14.15771484375, 0, 0, 0);
  1480.     F_CreateObject(7392, 1078.4736328125, 1065.892578125, 18.796806335449, 0, 0, 73.998413085938);
  1481.     F_CreateObject(14608, 1045.091796875, 1026.2431640625, 11.596025466919, 0, 0, 281.9970703125);
  1482.     F_CreateObject(14608, 1055.380859375, 1019.3662109375, 11.371028900146, 0, 0, 277.998046875);
  1483.     F_CreateObject(2780, 1055.2060546875, 1019.1795654297, 6.6318511962891, 0, 0, 0);
  1484.     F_CreateObject(2780, 1044.7434082031, 1025.6773681641, 6.1373586654663, 0, 0, 0);
  1485.     F_CreateObject(3279, 1056.1932373047, 1079.5682373047, 9.1484375, 0, 0, 174);
  1486.     F_CreateObject(3279, 1094.7053222656, 1109.8284912109, 9.1583862304688, 0, 0, 0);
  1487.     F_CreateObject(3515, 1053.5107421875, 1126.0574951172, 10.439562797546, 0, 0, 0);
  1488.     F_CreateObject(3515, 1056.2296142578, 1121.7802734375, 7.4606170654297, 0, 0, 0);
  1489.     F_CreateObject(3524, 1057.8779296875, 1123.5794677734, 11.904891967773, 0, 0, 34);
  1490.     F_CreateObject(3524, 1053.4747314453, 1121.6405029297, 11.479679107666, 0, 0, 30);
  1491.     F_CreateObject(16135, 1079.8835449219, 1069.1944580078, 9.6556091308594, 359.75, 0, 11.9970703125);
  1492.     F_CreateObject(3115, 1123.0264892578, 1066.4890136719, 9.2260065078735, 0, 0, 0);
  1493.     F_CreateObject(14409, 1030.2176513672, 1004.2445678711, 52.974864959717, 0, 0, 124);
  1494.     F_CreateObject(14409, 1024.833984375, 1000.571105957, 48.299701690674, 0, 0, 124);
  1495.     F_CreateObject(7073, 1050.6729736328, 1024.7180175781, 37.654346466064, 0, 0, 62);
  1496.     F_CreateObject(3515, 1051.4573974609, 1132.7027587891, 11.970207214355, 0, 0, 0);
  1497.     F_CreateObject(3877, 1027.0463867188, 1121.5859375, 11.665740966797, 0, 0, 0);
  1498.     F_CreateObject(3877, 1036.6893310547, 1129.9479980469, 11.665740966797, 0, 0, 0);
  1499.     F_CreateObject(3877, 1067.7248535156, 1147.0556640625, 11.665740966797, 0, 0, 0);
  1500.     F_CreateObject(3877, 1055.8669433594, 1142.4813232422, 11.665740966797, 0, 0, 0);
  1501.     F_CreateObject(3877, 1088.4525146484, 1074.1760253906, 16.10827255249, 0, 0, 0);
  1502.     F_CreateObject(3877, 1080.4987792969, 1079.4317626953, 11.501678466797, 0, 0, 0);
  1503.     F_CreateObject(3877, 1092.7114257813, 1083.0769042969, 11.501678466797, 0, 0, 0);
  1504.     F_CreateObject(3877, 1096.4533691406, 1069.8106689453, 11.501678466797, 0, 0, 0);
  1505.     F_CreateObject(3877, 1083.8306884766, 1065.8822021484, 11.503900527954, 0, 0, 0);
  1506.     //F_CreateObject(1225, 1030.5122070313, 1120.3441162109, 9.4307699203491, 0, 0, 0);
  1507.     //F_CreateObject(1225, 1031.2684326172, 1120.9527587891, 9.4807691574097, 0, 0, 0);
  1508.     //F_CreateObject(1225, 1031.9237060547, 1121.5958251953, 9.5057687759399, 0, 0, 0);
  1509.     //F_CreateObject(1225, 1032.6333007813, 1122.2506103516, 9.4807691574097, 0, 0, 0);
  1510.     //F_CreateObject(1225, 1033.2082519531, 1123.0963134766, 9.4807691574097, 0, 0, 0);
  1511.     //F_CreateObject(1225, 1033.9373779297, 1123.7264404297, 9.4557695388794, 0, 0, 0);
  1512.     //F_CreateObject(1225, 1034.7065429688, 1124.3255615234, 9.4807691574097, 0, 0, 0);
  1513.     //F_CreateObject(1225, 1035.529296875, 1124.7200927734, 9.5057687759399, 0, 0, 0);
  1514.     //F_CreateObject(1225, 1036.1604003906, 1125.6018066406, 9.4557695388794, 0, 0, 0);
  1515.     //F_CreateObject(1225, 1036.9870605469, 1126.1810302734, 9.4807691574097, 0, 0, 0);
  1516.     //F_CreateObject(1225, 1037.7741699219, 1126.8004150391, 9.4557695388794, 0, 0, 0);
  1517.     //F_CreateObject(1225, 1029.9566650391, 1119.8024902344, 9.9557619094849, 0, 0, 0);
  1518.     //F_CreateObject(1225, 1038.3271484375, 1127.2104492188, 9.9057626724243, 0, 0, 0);
  1519.     //F_CreateObject(1225, 1038.4792480469, 1127.2515869141, 11.331227302551, 0, 0, 0);
  1520.     //F_CreateObject(1225, 1038.5146484375, 1127.0914306641, 12.500541687012, 0, 0, 0);
  1521.     //F_CreateObject(1225, 1038.5450439453, 1126.8016357422, 13.58300113678, 0, 0, 0);
  1522.     //F_CreateObject(1225, 1030.0153808594, 1119.6940917969, 11.140596389771, 0, 0, 0);
  1523.     //F_CreateObject(1225, 1030.138671875, 1119.5985107422, 12.314310073853, 0, 0, 0);
  1524.     //F_CreateObject(1225, 1030.3374023438, 1119.5303955078, 13.462178230286, 0, 0, 0);
  1525.     //F_CreateObject(1225, 1030.5283203125, 1119.3963623047, 14.59499835968, 0, 0, 0);
  1526.     //F_CreateObject(1225, 1038.5404052734, 1126.4942626953, 14.648104667664, 0, 0, 0);
  1527.     //F_CreateObject(1225, 1057.6477050781, 1140.4620361328, 9.7307653427124, 0, 0, 0);
  1528.     //F_CreateObject(1225, 1058.5794677734, 1140.7813720703, 9.4807691574097, 0, 0, 0);
  1529.     //F_CreateObject(1225, 1059.673828125, 1140.9057617188, 9.4807691574097, 0, 0, 0);
  1530.     //F_CreateObject(1225, 1060.5825195313, 1141.2977294922, 9.4307699203491, 0, 0, 0);
  1531.     //F_CreateObject(1225, 1061.7322998047, 1141.5150146484, 9.5057687759399, 0, 0, 0);
  1532.     //F_CreateObject(1225, 1062.9719238281, 1141.6005859375, 9.5057687759399, 0, 0, 0);
  1533.     //F_CreateObject(1225, 1064.1572265625, 1141.8293457031, 9.4807691574097, 0, 0, 0);
  1534.     //F_CreateObject(1225, 1065.2749023438, 1142.2716064453, 9.5057687759399, 0, 0, 0);
  1535.     //F_CreateObject(1225, 1067.5678710938, 1142.6322021484, 9.5307683944702, 0, 0, 0);
  1536.     //F_CreateObject(1225, 1066.41015625, 1142.2580566406, 9.5057687759399, 0, 0, 0);
  1537.     //F_CreateObject(1225, 1068.4259033203, 1143.3806152344, 10.40575504303, 0, 0, 0);
  1538.     //F_CreateObject(1225, 1068.5034179688, 1143.3952636719, 11.602469444275, 0, 0, 0);
  1539.     //F_CreateObject(1225, 1068.4106445313, 1143.2502441406, 12.767155647278, 0, 0, 0);
  1540.     //F_CreateObject(1225, 1068.2802734375, 1142.9971923828, 13.854649543762, 0, 0, 0);
  1541.     //F_CreateObject(1225, 1068.1829833984, 1142.7510986328, 14.960418701172, 0, 0, 0);
  1542.     //F_CreateObject(1225, 1057.4392089844, 1140.2261962891, 10.785468101501, 0, 0, 0);
  1543.     //F_CreateObject(1225, 1057.4429931641, 1139.9476318359, 11.879892349243, 0, 0, 0);
  1544.     //F_CreateObject(1225, 1057.5194091797, 1139.7661132813, 13.033495903015, 0, 0, 0);
  1545.     //F_CreateObject(1225, 1057.5853271484, 1139.5822753906, 14.187882423401, 0, 0, 0);
  1546.     //F_CreateObject(1225, 1057.5238037109, 1139.7590332031, 10.40575504303, 0, 0, 0);
  1547.     //F_CreateObject(1225, 1068.1988525391, 1143.0307617188, 10.40575504303, 0, 0, 0);
  1548.     F_CreateObject(3534, 1041.6336669922, 1020.1340942383, 55.605770111084, 0, 0, 0);
  1549.     F_CreateObject(3534, 1037.0737304688, 1009.8403930664, 55.605770111084, 0, 0, 0);
  1550.     F_CreateObject(3534, 1047.3442382813, 1005.6374511719, 55.605770111084, 0, 0, 0);
  1551.     F_CreateObject(3534, 1051.8387451172, 1015.4769287109, 55.605770111084, 0, 0, 0);
  1552.     F_CreateObject(354, 1051.642578125, 1015.348815918, 55.993999481201, 0, 0, 0);
  1553.     F_CreateObject(354, 1041.6977539063, 1020.1510620117, 56.043453216553, 0, 0, 0);
  1554.     F_CreateObject(354, 1037.2445068359, 1010.1149291992, 55.958389282227, 0, 0, 0);
  1555.     F_CreateObject(354, 1047.1356201172, 1005.5457763672, 55.997005462646, 0, 0, 0);
  1556.     F_CreateObject(354, 1088.2937011719, 1073.7813720703, 18.028270721436, 0, 0, 0);
  1557.     F_CreateObject(354, 1044.7073974609, 1014.6011962891, 10.726959228516, 0, 0, 0);
  1558.     F_CreateObject(354, 1124.8146972656, 1013.2467041016, 26.171875, 0, 0, 0);
  1559.     F_CreateObject(354, 1080.4342041016, 1000.2027587891, 26.160404205322, 0, 0, 0);
  1560.     F_CreateObject(354, 1085.1953125, 973.18212890625, 26.154247283936, 0, 0, 0);
  1561.     F_CreateObject(354, 1136.689453125, 988.89770507813, 26.171875, 0, 0, 0);
  1562.     F_CreateObject(354, 1068.0471191406, 1115.6665039063, 9.8378782272339, 0, 0, 0);
  1563.     F_CreateObject(354, 1052.3900146484, 1102.8067626953, 9.5234375, 0, 0, 0);
  1564.     F_CreateObject(354, 1047.6242675781, 1053.84765625, 9.4441547393799, 0, 0, 0);
  1565.     F_CreateObject(354, 1061.8706054688, 1037.4270019531, 9.4128398895264, 0, 0, 0);
  1566.     F_CreateObject(354, 1107.0203857422, 1031.6309814453, 9.4420642852783, 0, 0, 0);
  1567.     F_CreateObject(354, 1124.0356445313, 1044.4102783203, 9.473274230957, 0, 0, 0);
  1568.     F_CreateObject(354, 1127.2602539063, 1093.7252197266, 9.439323425293, 0, 0, 0);
  1569.     F_CreateObject(354, 1116.7524414063, 1107.75390625, 9.5234375, 0, 0, 0);
  1570.     //===<Aztecas>===//
  1571.    
  1572.     //===<Vagos>===//
  1573.     F_CreateObject(14407, 2623.654296875, 2329.7607421875, 13.514484405518, 0, 0, 99.99755859375);
  1574.     F_CreateObject(1637, 2568.98046875, 2395.275390625, 18.106586456299, 0, 0, 0);
  1575.     F_CreateObject(14780, 2568.1193847656, 2321.2788085938, 17.68900680542, 0, 0, 0);
  1576.     F_CreateObject(3279, 2611.3076171875, 2286.1943359375, 9.8203125, 0, 0, 0);
  1577.     F_CreateObject(3749, 2628.87109375, 2305.3828125, 15.530289649963, 0, 0, 0);
  1578.     F_CreateObject(14407, 2613.7036132813, 2327.9777832031, 7.0894985198975, 0, 0, 100);
  1579.     F_CreateObject(14608, 2628.5327148438, 2302.7397460938, 20.654418945313, 0, 0, 136);
  1580.     F_CreateObject(2780, 2628.4921875, 2306.923828125, 16.351671218872, 0, 0, 0);
  1581.     F_CreateObject(1570, 2583.251953125, 2398.6447753906, 18.151437759399, 0, 0, 0);
  1582.     F_CreateObject(1634, 2612.7626953125, 2399.9428710938, 29.092596054077, 303.99896240234, 359.55041503906, 118.37640380859);
  1583.     F_CreateObject(1634, 2606.5314941406, 2396.5200195313, 25.817626953125, 353.9970703125, 0, 297.74597167969);
  1584.     F_CreateObject(1634, 2619.0480957031, 2403.2971191406, 34.565853118896, 290, 0, 117.99865722656);
  1585.     F_CreateObject(5153, 2640.4904785156, 2416.2844238281, 53.425540924072, 3.7078857421875, 22.044067382813, 30.245361328125);
  1586.     F_CreateObject(5153, 2641.4294433594, 2414.3615722656, 53.461769104004, 0, 21.99462890625, 27.998168945313);
  1587.     F_CreateObject(1634, 2624.9221191406, 2406.5029296875, 42.031188964844, 25.996856689453, 0, 297.99871826172);
  1588.     F_CreateObject(1633, 2628.9458007813, 2408.7272949219, 47.689224243164, 306, 0, 118.25);
  1589.     F_CreateObject(1633, 2636.5830078125, 2412.8388671875, 52.17057800293, 0, 0, 298.25);
  1590.     F_CreateObject(16770, 2628.4299316406, 2443.1520996094, 18.407747268677, 0, 0, 34);
  1591.     F_CreateObject(16770, 2628.3488769531, 2443.1296386719, 16.139617919922, 0, 0, 34);
  1592.     //F_CreateObject(1225, 2666.3227539063, 2462.6330566406, 6.8385396003723, 0, 0, 0);
  1593.     //F_CreateObject(1225, 2623.0100097656, 2307.4829101563, 12.181488037109, 0, 0, 0);
  1594.     //F_CreateObject(1225, 2634.7373046875, 2307.4829101563, 12.596707344055, 0, 0, 0);
  1595.     //F_CreateObject(1225, 2634.7150878906, 2307.4829101563, 11.899172782898, 0, 0, 0);
  1596.     //F_CreateObject(1225, 2634.7358398438, 2307.4829101563, 10.851489067078, 0, 0, 0);
  1597.     //F_CreateObject(1225, 2634.7397460938, 2307.5065917969, 13.72887802124, 0, 0, 0);
  1598.     //F_CreateObject(1225, 2622.9462890625, 2307.5283203125, 13.256345748901, 0, 0, 0);
  1599.     //F_CreateObject(1225, 2623.3044433594, 2307.3896484375, 14.16127872467, 0, 0, 0);
  1600.     //F_CreateObject(1225, 2622.9814453125, 2307.4829101563, 11.305895805359, 0, 0, 0);
  1601.     //F_CreateObject(1225, 2623.0529785156, 2307.4599609375, 10.445747375488, 0, 0, 0);
  1602.     F_CreateObject(7073, 2640.0546875, 2362.7421875, 49.430812835693, 0, 0, 264);
  1603.     F_CreateObject(14608, 2611.298828125, 2352.724609375, 32.65454864502, 0, 0, 203.99963378906);
  1604.     F_CreateObject(9833, 2609.29296875, 2353.3444824219, 29.026496887207, 0, 0, 0);
  1605.     F_CreateObject(3279, 2575.98046875, 2464.8334960938, 9.8203125, 0, 0, 0);
  1606.     F_CreateObject(6964, 2622.6958007813, 2421.5236816406, 13.8671875, 0, 0, 0);
  1607.     F_CreateObject(2745, 2622.6411132813, 2302.6958007813, 10.978932380676, 0, 0, 4);
  1608.     F_CreateObject(2745, 2635.1359863281, 2302.787109375, 10.978932380676, 0, 0, 0);
  1609.     F_CreateObject(11395, 2634.6647949219, 2371.7553710938, 46.445419311523, 0, 0, 0);
  1610.     F_CreateObject(14467, 2632.1726074219, 2324.419921875, 19.554105758667, 0, 0, 0);
  1611.     F_CreateObject(10244, 2622.4482421875, 2361.1208496094, 33.762405395508, 0, 0, 26);
  1612.     F_CreateObject(14410, 2617.6481933594, 2376.9516601563, 41.191181182861, 0, 0, 296);
  1613.     F_CreateObject(10008, 2563.0737304688, 2364.3310546875, 21.584524154663, 0, 0, 0);
  1614.     F_CreateObject(10008, 2565.9782714844, 2358.7395019531, 27.83091545105, 0, 0, 112);
  1615.     F_CreateObject(10008, 2566.2026367188, 2358.6831054688, 34.031143188477, 0, 0, 126);
  1616.     F_CreateObject(10008, 2566.416015625, 2358.8420410156, 40.498481750488, 0, 0, 130);
  1617.     F_CreateObject(10008, 2566.1694335938, 2358.9592285156, 46.9658203125, 0, 0, 134);
  1618.     F_CreateObject(14409, 2573.4194335938, 2363.677734375, 49.479648590088, 20, 0, 96);
  1619.     F_CreateObject(14409, 2581.1237792969, 2364.6408691406, 48.112232208252, 0, 0, 278);
  1620.     F_CreateObject(18368, 2601.6477050781, 2385.4460449219, 40.860095977783, 0, 0, 126);
  1621.     F_CreateObject(9833, 2640.6767578125, 2361.6030273438, 28.09161567688, 0, 0, 0);
  1622.     F_CreateObject(9833, 2636.5576171875, 2362.9191894531, 28.141618728638, 0, 0, 0);
  1623.     F_CreateObject(9833, 2638.7033691406, 2362.2126464844, 28.166610717773, 0, 0, 0);
  1624.     F_CreateObject(13667, 2590.7893066406, 2339.3696289063, 35.729164123535, 0, 0, 0);
  1625.     F_CreateObject(2780, 2607.5305175781, 2353.9758300781, 30.392387390137, 0, 0, 0);
  1626.     F_CreateObject(2780, 2638.6928710938, 2367.7043457031, 30.01753616333, 0, 0, 0);
  1627.     F_CreateObject(3524, 2618.1247558594, 2355.9782714844, 34.049404144287, 0, 0, 314);
  1628.     F_CreateObject(3877, 2646.0231933594, 2352.7734375, 32.829803466797, 0, 0, 0);
  1629.     F_CreateObject(3877, 2620.8198242188, 2343.8095703125, 32.829803466797, 0, 0, 0);
  1630.     F_CreateObject(3877, 2627.2524414063, 2350.7182617188, 32.654792785645, 0, 0, 0);
  1631.     F_CreateObject(3877, 2636.5822753906, 2353.5102539063, 33.129791259766, 0, 0, 0);
  1632.     F_CreateObject(11417, 2602.9807128906, 2355.9831542969, 43.24828338623, 0, 0, 316);
  1633.     F_CreateObject(987, 2647.2680664063, 2414.4611816406, 9.6527824401855, 0, 0, 296);
  1634.     F_CreateObject(987, 2652.5268554688, 2403.7124023438, 9.6968059539795, 0, 0, 294);
  1635.     F_CreateObject(987, 2657.3659667969, 2392.8178710938, 9.7716484069824, 0, 0, 292);
  1636.     F_CreateObject(987, 2661.6923828125, 2381.9262695313, 9.694375038147, 0, 0, 288);
  1637.     F_CreateObject(987, 2665.3627929688, 2370.4658203125, 9.6938009262085, 0, 0, 284);
  1638.     F_CreateObject(987, 2668.271484375, 2358.8608398438, 9.8537845611572, 0, 0, 286);
  1639.     F_CreateObject(987, 2671.0893554688, 2347.2756347656, 9.71471118927, 0, 0, 280);
  1640.     F_CreateObject(987, 2673.5275878906, 2335.6149902344, 9.7402877807617, 0, 0, 278);
  1641.     F_CreateObject(987, 2675.1455078125, 2323.7570800781, 9.7115259170532, 0, 0, 278);
  1642.     F_CreateObject(987, 2676.4282226563, 2314.3952636719, 9.7563791275024, 0, 0, 276);
  1643.     F_CreateObject(987, 2676.763671875, 2303.0183105469, 13.01250743866, 0, 0, 98);
  1644.     F_CreateObject(987, 2665.8969726563, 2304.0112304688, 11.240138053894, 0, 0, 0);
  1645.     F_CreateObject(987, 2653.8657226563, 2304.064453125, 10.912079811096, 0, 0, 0);
  1646.     F_CreateObject(987, 2641.9299316406, 2304.064453125, 10.723892211914, 0, 0, 0);
  1647.     F_CreateObject(987, 2650.1164550781, 2304.8903808594, 10.144129753113, 0, 0, 184);
  1648.     F_CreateObject(987, 2618.8737792969, 2303.0375976563, 9.8203125, 0, 0, 272);
  1649.     F_CreateObject(987, 2619.1591796875, 2291.1872558594, 9.8203125, 0, 0, 270);
  1650.     F_CreateObject(987, 2619.0712890625, 2279.2465820313, 9.8203125, 0, 0, 270);
  1651.     F_CreateObject(987, 2618.7431640625, 2267.4306640625, 9.8679256439209, 0, 0, 272);
  1652.     F_CreateObject(987, 2618.7990722656, 2255.2683105469, 9.8203125, 0, 0, 272);
  1653.     F_CreateObject(987, 2607.2465820313, 2243.3718261719, 9.8135929107666, 0, 0, 0);
  1654.     F_CreateObject(987, 2595.1770019531, 2243.232421875, 9.9775447845459, 0, 0, 0);
  1655.     F_CreateObject(987, 2583.2282714844, 2243.3525390625, 9.8203125, 0, 0, 0);
  1656.     F_CreateObject(987, 2571.2158203125, 2243.232421875, 9.8763389587402, 0, 0, 0);
  1657.     F_CreateObject(987, 2559.2795410156, 2243.232421875, 9.8941593170166, 0, 0, 0);
  1658.     F_CreateObject(987, 2556.4301757813, 2243.3273925781, 9.8203125, 0, 0, 0);
  1659.     F_CreateObject(987, 2556.3376464844, 2243.3566894531, 9.9086408615112, 0, 0, 88);
  1660.     F_CreateObject(987, 2556.8344726563, 2254.9409179688, 9.8203125, 0, 0, 90);
  1661.     F_CreateObject(987, 2556.912109375, 2266.7204589844, 9.8203125, 0, 0, 92);
  1662.     F_CreateObject(987, 2556.5822753906, 2278.3923339844, 9.8203125, 0, 0, 88);
  1663.     F_CreateObject(987, 2557.3410644531, 2290.1015625, 9.8203125, 0, 0, 0);
  1664.     F_CreateObject(987, 2557.4904785156, 2323.2746582031, 9.8203125, 0, 0, 0);
  1665.     F_CreateObject(987, 2622.4897460938, 2457.1650390625, 9.7597055435181, 0, 0, 128);
  1666.     F_CreateObject(987, 2615.2604980469, 2466.5029296875, 9.803448677063, 0, 0, 132);
  1667.     F_CreateObject(987, 2607.45703125, 2475.3395996094, 9.9497394561768, 0, 0, 180);
  1668.     F_CreateObject(987, 2595.5695800781, 2475.3395996094, 9.995322227478, 0, 0, 180);
  1669.     F_CreateObject(987, 2583.6931152344, 2475.3395996094, 9.9408206939697, 0, 0, 180);
  1670.     F_CreateObject(987, 2571.7282714844, 2475.3395996094, 9.8784379959106, 0, 0, 180);
  1671.     F_CreateObject(987, 2558.8649902344, 2475.166015625, 9.8203125, 0, 0, 0);
  1672.     F_CreateObject(3749, 2606.1884765625, 2304.568359375, 15.661689758301, 0, 0, 0);
  1673.     //F_CreateObject(1225, 2633.3527832031, 2306.8171386719, 9.1026334762573, 0, 0, 0);
  1674.     //F_CreateObject(1225, 2632.4916992188, 2306.916015625, 9.0776453018188, 0, 0, 0);
  1675.     //F_CreateObject(1225, 2631.6435546875, 2306.8986816406, 9.0776453018188, 0, 0, 0);
  1676.     //F_CreateObject(1225, 2630.7421875, 2306.9204101563, 9.1026449203491, 0, 0, 0);
  1677.     //F_CreateObject(1225, 2629.7431640625, 2306.966796875, 9.0776453018188, 0, 0, 0);
  1678.     //F_CreateObject(1225, 2628.8664550781, 2306.9807128906, 9.1276445388794, 0, 0, 0);
  1679.     //F_CreateObject(1225, 2627.9794921875, 2306.9929199219, 9.0776453018188, 0, 0, 0);
  1680.     //F_CreateObject(1225, 2627.0546875, 2307.0395507813, 9.1276445388794, 0, 0, 0);
  1681.     //F_CreateObject(1225, 2626.1137695313, 2307.1584472656, 9.1026449203491, 0, 0, 0);
  1682.     //F_CreateObject(1225, 2625.1938476563, 2307.1635742188, 9.1776437759399, 0, 0, 0);
  1683.     //F_CreateObject(1225, 2624.2424316406, 2307.3100585938, 9.1526441574097, 0, 0, 0);
  1684.     //F_CreateObject(1225, 2623.4240722656, 2307.4738769531, 9.4510793685913, 0, 0, 0);
  1685.     //F_CreateObject(1225, 2634.25, 2307.2751464844, 9.6760759353638, 0, 0, 0);
  1686.     //F_CreateObject(1225, 2633.7399902344, 2307.1335449219, 9.5776376724243, 0, 0, 0);
  1687.     //F_CreateObject(1225, 2632.0095214844, 2307.4128417969, 9.052638053894, 0, 0, 0);
  1688.     //F_CreateObject(1225, 2631.1267089844, 2307.4714355469, 9.0776453018188, 0, 0, 0);
  1689.     //F_CreateObject(1225, 2630.1572265625, 2307.5300292969, 9.1776437759399, 0, 0, 0);
  1690.     //F_CreateObject(1225, 2629.2575683594, 2307.6530761719, 9.1026449203491, 0, 0, 0);
  1691.     //F_CreateObject(1225, 2628.4233398438, 2307.7395019531, 9.1026449203491, 0, 0, 0);
  1692.     //F_CreateObject(1225, 2627.4577636719, 2307.7746582031, 9.1026449203491, 0, 0, 0);
  1693.     //F_CreateObject(1225, 2626.5270996094, 2307.8793945313, 9.1276445388794, 0, 0, 0);
  1694.     //F_CreateObject(1225, 2625.6018066406, 2307.8933105469, 9.1026449203491, 0, 0, 0);
  1695.     //F_CreateObject(1225, 2624.7766113281, 2307.9240722656, 9.1026449203491, 0, 0, 0);
  1696.     //F_CreateObject(1225, 2623.9401855469, 2308.0659179688, 9.1526441574097, 0, 0, 0);
  1697.     F_CreateObject(14414, 2637.3605957031, 2394.6206054688, 47.554630279541, 0, 0, 108);
  1698.     F_CreateObject(14414, 2641.4118652344, 2395.9750976563, 50.209510803223, 0, 0, 108);
  1699.     F_CreateObject(14416, 2645.6162109375, 2403.3605957031, 51.904823303223, 326.005859375, 358.79382324219, 18.075561523438);
  1700.     F_CreateObject(14416, 2643.3122558594, 2410.1708984375, 52.063652038574, 326, 0, 19.75);
  1701.     F_CreateObject(354, 2574.9438476563, 2462.3395996094, 10.538891792297, 0, 0, 0);
  1702.     F_CreateObject(354, 2638.9165039063, 2363.8334960938, 31.4140625, 0, 0, 0);
  1703.     F_CreateObject(354, 2611.6003417969, 2351.0051269531, 33.414951324463, 0, 0, 0);
  1704.     F_CreateObject(354, 2631.5541992188, 2325.30859375, 16.345308303833, 0, 0, 0);
  1705.     F_CreateObject(3512, 2635.0268554688, 2302.4873046875, 9.5953159332275, 0, 20, 336);
  1706.     F_CreateObject(3512, 2622.40625, 2302.2077636719, 10.186757087708, 0, 336, 8);
  1707.     F_CreateObject(354, 2622.3601074219, 2301.5712890625, 11.418215751648, 0, 0, 0);
  1708.     F_CreateObject(354, 2634.7717285156, 2302.2895507813, 11.024144172668, 0, 0, 0);
  1709.     F_CreateObject(3877, 2638.2016601563, 2302.6506347656, 11.486053466797, 0, 0, 0);
  1710.     F_CreateObject(3877, 2619.9301757813, 2302.3479003906, 11.486053466797, 0, 0, 0);
  1711.     //===<Vagos>===//
  1712.    
  1713.    
  1714.     //===<Grove>===//
  1715.     F_CreateObject(16770, 1309.0485839844, 2212.8039550781, 24.059314727783, 0, 0, 89);
  1716.     F_CreateObject(16770, 1325.6760253906, 2212.7565917969, 24.068738937378, 0, 0, 90);
  1717.     F_CreateObject(16770, 1342.2686767578, 2212.6828613281, 24.068738937378, 0, 0, 90);
  1718.     F_CreateObject(14407, 1356.240234375, 2215.03515625, 19.244190216064, 0, 0, 180);
  1719.     F_CreateObject(16770, 1484.3659667969, 2166.1779785156, 24.697183609009, 0, 0, 180);
  1720.     F_CreateObject(16770, 1484.1270751953, 2149.5024414063, 24.697183609009, 0, 0, 178);
  1721.     F_CreateObject(16770, 1483.5947265625, 2132.9169921875, 24.697183609009, 0, 0, 178);
  1722.     F_CreateObject(16770, 1483.015625, 2116.2355957031, 24.697183609009, 0, 0, 178);
  1723.     F_CreateObject(16770, 1482.4927978516, 2099.6784667969, 24.697183609009, 0, 0, 178);
  1724.     F_CreateObject(987, 1396.1185302734, 2098.6474609375, 10.094429016113, 0, 0, 0);
  1725.     F_CreateObject(987, 1384.2685546875, 2098.8400878906, 10.106109619141, 0, 0, 0);
  1726.     F_CreateObject(987, 1372.2750244141, 2098.912109375, 10.015625, 0, 0, 0);
  1727.     F_CreateObject(987, 1360.3536376953, 2099.1586914063, 10.031790733337, 0, 0, 0);
  1728.     F_CreateObject(987, 1348.4438476563, 2099.3244628906, 10.015625, 0, 0, 0);
  1729.     F_CreateObject(987, 1336.4982910156, 2099.2846679688, 10.015625953674, 0, 0, 0);
  1730.     F_CreateObject(987, 1324.5618896484, 2099.2507324219, 10.015625953674, 0, 0, 0);
  1731.     F_CreateObject(987, 1312.6358642578, 2099.3669433594, 10.015625, 0, 0, 0);
  1732.     F_CreateObject(987, 1300.6719970703, 2099.4040527344, 10.015625, 0, 0, 0);
  1733.     F_CreateObject(987, 1296.7796630859, 2099.2727050781, 10.211654663086, 0, 0, 0);
  1734.     F_CreateObject(987, 1296.6771240234, 2099.3232421875, 10.232402801514, 0, 0, 92);
  1735.     F_CreateObject(987, 1296.6879882813, 2110.7653808594, 10.222111701965, 0, 0, 92);
  1736.     F_CreateObject(987, 1296.5339355469, 2122.4057617188, 10.245759010315, 0, 0, 92);
  1737.     F_CreateObject(987, 1296.4129638672, 2134.0146484375, 10.269033432007, 0, 0, 90);
  1738.     F_CreateObject(987, 1296.5458984375, 2145.6767578125, 10.239774703979, 0, 0, 90);
  1739.     F_CreateObject(987, 1296.7109375, 2157.4587402344, 10.261286735535, 0, 0, 90);
  1740.     F_CreateObject(987, 1296.6137695313, 2169.11328125, 10.224545478821, 0, 0, 92);
  1741.     F_CreateObject(987, 1296.2786865234, 2180.7846679688, 10.298336029053, 0, 0, 90);
  1742.     F_CreateObject(987, 1296.4997558594, 2192.7468261719, 10.166333198547, 0, 0, 90);
  1743.     F_CreateObject(987, 1296.2467041016, 2198.4802246094, 14.490542411804, 0, 0, 92);
  1744.     F_CreateObject(987, 1412.1978759766, 2229.25, 10.0234375, 0, 0, 88);
  1745.     F_CreateObject(987, 1412.8020019531, 2240.9855957031, 10.0234375, 0, 0, 90);
  1746.     F_CreateObject(987, 1412.8829345703, 2252.8154296875, 10.0234375, 0, 0, 88);
  1747.     F_CreateObject(987, 1413.2337646484, 2264.7973632813, 10.0234375, 0, 0, 88);
  1748.     F_CreateObject(987, 1413.7801513672, 2276.6010742188, 9.8203125, 0, 0, 86);
  1749.     F_CreateObject(987, 1414.5625, 2287.5422363281, 9.8203125, 0, 0, 88);
  1750.     F_CreateObject(987, 1414.2864990234, 2288.3803710938, 9.7186660766602, 0, 0, 88);
  1751.     F_CreateObject(987, 1414.8061523438, 2300.5773925781, 10.43855381012, 0, 0, 0);
  1752.     F_CreateObject(987, 1426.5982666016, 2300.6259765625, 10.414615631104, 0, 0, 0);
  1753.     F_CreateObject(987, 1438.5069580078, 2300.7180175781, 10.384075164795, 0, 0, 0);
  1754.     F_CreateObject(987, 1450.4816894531, 2300.6049804688, 10.405732154846, 0, 0, 0);
  1755.     F_CreateObject(987, 1462.4791259766, 2300.5871582031, 10.409157752991, 0, 0, 0);
  1756.     F_CreateObject(987, 1474.4538574219, 2300.7595214844, 10.376085281372, 0, 0, 0);
  1757.     F_CreateObject(987, 1486.3022460938, 2300.6538085938, 10.396354675293, 0, 0, 0);
  1758.     F_CreateObject(987, 1498.2415771484, 2300.6315917969, 10.400636672974, 0, 0, 0);
  1759.     F_CreateObject(987, 1510.2132568359, 2300.62109375, 10.402629852295, 0, 0, 0);
  1760.     F_CreateObject(987, 1522.3974609375, 2300.8881835938, 10.351457595825, 0, 0, 0);
  1761.     F_CreateObject(987, 1534.3098144531, 2300.7497558594, 10.377968788147, 0, 0, 0);
  1762.     F_CreateObject(987, 1543.3482666016, 2301.3330078125, 10.679333686829, 0, 0, 0);
  1763.     F_CreateObject(987, 1553.9683837891, 2301.7556152344, 10.177465438843, 0, 0, 274);
  1764.     F_CreateObject(987, 1554.7601318359, 2289.9743652344, 10.401537895203, 0, 0, 270);
  1765.     F_CreateObject(987, 1554.8826904297, 2278.0424804688, 10.378044128418, 0, 0, 270);
  1766.     F_CreateObject(987, 1554.8302001953, 2266.0842285156, 10.388100624084, 0, 0, 270);
  1767.     F_CreateObject(987, 1554.7327880859, 2254.1081542969, 10.406772613525, 0, 0, 272);
  1768.     F_CreateObject(987, 1554.8558349609, 2225.44140625, 10.425947189331, 0, 0, 270);
  1769.     F_CreateObject(987, 1554.7081298828, 2213.5534667969, 10.411493301392, 0, 0, 272);
  1770.     F_CreateObject(987, 1554.7546386719, 2201.8542480469, 10.402586936951, 0, 0, 270);
  1771.     F_CreateObject(987, 1554.6243896484, 2189.9584960938, 10.328205108643, 0, 0, 199);
  1772.     F_CreateObject(987, 1543.3278808594, 2186.0368652344, 10.421931266785, 0, 0, 190);
  1773.     F_CreateObject(987, 1531.3458251953, 2184.1171875, 10.062527656555, 0, 0, 214.25);
  1774.     F_CreateObject(987, 1521.6689453125, 2177.4362792969, 10.325974464417, 0, 0, 244);
  1775.     F_CreateObject(987, 1516.4379882813, 2166.7973632813, 10.183943748474, 0, 0, 264);
  1776.     F_CreateObject(987, 1515.0594482422, 2154.978515625, 10.332480430603, 0, 0, 270);
  1777.     F_CreateObject(987, 1514.8610839844, 2143.2033691406, 10.375703811646, 0, 0, 270);
  1778.     F_CreateObject(987, 1515.0294189453, 2131.1999511719, 10.339022636414, 0, 0, 270);
  1779.     F_CreateObject(987, 1514.8400878906, 2119.380859375, 10.380282402039, 0, 0, 272);
  1780.     F_CreateObject(987, 1515.0592041016, 2107.5078125, 10.33253288269, 0, 0, 270);
  1781.     F_CreateObject(987, 1514.8822021484, 2095.6867675781, 10.37309551239, 0, 0, 270);
  1782.     F_CreateObject(987, 1514.8630371094, 2083.7534179688, 10.394155502319, 0, 0, 270);
  1783.     F_CreateObject(987, 1514.6204833984, 2078.4443359375, 10.402467727661, 0, 0, 272);
  1784.     F_CreateObject(987, 1503.1989746094, 2066.4558105469, 10.029973983765, 0, 0, 0);
  1785.     F_CreateObject(987, 1491.2133789063, 2066.7570800781, 9.8203125, 0, 0, 358);
  1786.     F_CreateObject(987, 1481.7742919922, 2068.25, 9.8203125, 0, 0, 352);
  1787.     F_CreateObject(987, 1473.1091308594, 2076.0498046875, 9.8203125, 0, 0, 318);
  1788.     F_CreateObject(3749, 1556.0513916016, 2233.2314453125, 15.671158790588, 0, 0, 270);
  1789.     F_CreateObject(7073, 1477.4565429688, 2237.9230957031, 41.337062835693, 0, 0, 318);
  1790.     F_CreateObject(14608, 1481.2954101563, 2229.1098632813, 13.169452667236, 0, 0, 222);
  1791.     F_CreateObject(13667, 1459.8931884766, 2252.7524414063, 25.917778015137, 0, 0, 86);
  1792.     F_CreateObject(2780, 1478.9792480469, 2229.6389160156, 10.342860221863, 0, 0, 0);
  1793.     F_CreateObject(9833, 1466.2175292969, 2177.5712890625, 31.913480758667, 0, 0, 0);
  1794.     F_CreateObject(9833, 1465.6422119141, 2148.8054199219, 31.913480758667, 0, 0, 0);
  1795.     F_CreateObject(9833, 1467.0744628906, 2121.8298339844, 31.908044815063, 0, 0, 0);
  1796.     F_CreateObject(9833, 1467.5760498047, 2093.4265136719, 31.913480758667, 0, 0, 0);
  1797.     F_CreateObject(3279, 1465.0029296875, 2164.74609375, 23.106624603271, 0, 0, 0);
  1798.     F_CreateObject(3279, 1465.5207519531, 2136.3083496094, 23.106624603271, 0, 0, 0);
  1799.     F_CreateObject(3279, 1467.3193359375, 2107.9645996094, 23.106624603271, 0, 0, 0);
  1800.     F_CreateObject(6965, 1525.314453125, 2234.4072265625, 13.53277015686, 0, 0, 0);
  1801.     F_CreateObject(3524, 1525.4129638672, 2234.5251464844, 20.785009384155, 0, 0, 0);
  1802.     F_CreateObject(2780, 1526.5738525391, 2234.7531738281, 9.4178085327148, 0, 0, 0);
  1803.     F_CreateObject(7392, 1442.8751220703, 2101.8442382813, 38.41081237793, 0, 0, 26);
  1804.     F_CreateObject(1634, 1498.3557128906, 2083.6176757813, 11.117630004883, 0, 0, 178);
  1805.     F_CreateObject(1634, 1498.025390625, 2076.3444824219, 16.774789810181, 24, 0, 178);
  1806.     F_CreateObject(13666, 1492.4818115234, 2164.0114746094, 14.625624656677, 0, 0, 2);
  1807.     F_CreateObject(14781, 1370.044921875, 2171.966796875, 11.113786697388, 0, 0, 0);
  1808.     F_CreateObject(3819, 1380.7666015625, 2172.1005859375, 11.021195411682, 0, 0, 0);
  1809.     F_CreateObject(3819, 1370.9061279297, 2162.3774414063, 11.013382911682, 0, 0, 270);
  1810.     F_CreateObject(3819, 1360.8121337891, 2172.1472167969, 11.013382911682, 0, 0, 180);
  1811.     F_CreateObject(3819, 1371.0087890625, 2182.1611328125, 11.021195411682, 0, 0, 90);
  1812.     F_CreateObject(2780, 1477.0939941406, 2238.9523925781, 45.830295562744, 0, 0, 0);
  1813.     F_CreateObject(3528, 1558.5515136719, 2233.2385253906, 19.808418273926, 0, 0, 0);
  1814.     F_CreateObject(3512, 1558.47265625, 2239.6103515625, 9.8203125, 0, 17.99560546875, 49.998779296875);
  1815.     F_CreateObject(3512, 1558.3610839844, 2226.8146972656, 9.8203125, 0, 18, 288);
  1816.     F_CreateObject(6295, 1460.3837890625, 2281.5517578125, 33.752700805664, 0, 0, 245.99487304688);
  1817.     F_CreateObject(9833, 1524.8486328125, 2234.4404296875, 13.902223587036, 0, 0, 0);
  1818.     F_CreateObject(2780, 1557.0474853516, 2224.7580566406, 7.8052663803101, 0, 0, 0);
  1819.     F_CreateObject(2780, 1556.9057617188, 2242.1599121094, 8.2025470733643, 0, 0, 0);
  1820.     F_CreateObject(7916, 1492.8411865234, 2115.818359375, 14.049686431885, 28, 0, 92);
  1821.     //F_CreateObject(1225, 1557.2177734375, 2237.3234863281, 9.3184938430786, 0, 0, 0);
  1822.     //F_CreateObject(1225, 1557.5295410156, 2236.5095214844, 9.2266416549683, 0, 0, 0);
  1823.     //F_CreateObject(1225, 1557.4515380859, 2235.6416015625, 9.2257852554321, 0, 0, 0);
  1824.     //F_CreateObject(1225, 1640.2431640625, 2227.9077148438, -38.808494567871, 0, 0, 0);
  1825.     //F_CreateObject(1225, 1557.4205322266, 2234.7580566406, 9.2004442214966, 0, 0, 0);
  1826.     //F_CreateObject(1225, 1557.4013671875, 2233.81640625, 9.2752332687378, 0, 0, 0);
  1827.     //F_CreateObject(1225, 1557.4595947266, 2232.8464355469, 9.3039474487305, 0, 0, 0);
  1828.     //F_CreateObject(1225, 1557.5017089844, 2231.7890625, 9.252703666687, 0, 0, 0);
  1829.     //F_CreateObject(1225, 1557.5700683594, 2230.830078125, 9.2256832122803, 0, 0, 0);
  1830.     //F_CreateObject(1225, 1557.6818847656, 2229.8442382813, 9.2473783493042, 0, 0, 0);
  1831.     //F_CreateObject(1225, 1557.7039794922, 2228.6953125, 9.2217254638672, 0, 0, 0);
  1832.     //F_CreateObject(1225, 1556.5686035156, 2236.5615234375, 9.2685136795044, 0, 0, 0);
  1833.     //F_CreateObject(1225, 1556.5893554688, 2235.7121582031, 9.2685136795044, 0, 0, 0);
  1834.     //F_CreateObject(1225, 1556.5355224609, 2234.8801269531, 9.3185129165649, 0, 0, 0);
  1835.     //F_CreateObject(1225, 1556.4852294922, 2234.0239257813, 9.2685136795044, 0, 0, 0);
  1836.     //F_CreateObject(1225, 1556.5817871094, 2233.1384277344, 9.2935132980347, 0, 0, 0);
  1837.     //F_CreateObject(1225, 1556.6062011719, 2232.255859375, 9.2685136795044, 0, 0, 0);
  1838.     //F_CreateObject(1225, 1556.5595703125, 2231.3723144531, 9.2935132980347, 0, 0, 0);
  1839.     //F_CreateObject(1225, 1556.5518798828, 2230.4565429688, 9.2435140609741, 0, 0, 0);
  1840.     //F_CreateObject(1225, 1556.55078125, 2229.4572753906, 9.2935132980347, 0, 0, 0);
  1841.     //F_CreateObject(1225, 1556.333984375, 2237.8266601563, 9.2435140609741, 0, 0, 0);
  1842.     //F_CreateObject(1225, 1556.5157470703, 2228.4645996094, 9.2935132980347, 0, 0, 0);
  1843.     //F_CreateObject(1225, 1556.4150390625, 2237.177734375, 9.3185129165649, 0, 0, 0);
  1844.     //F_CreateObject(1225, 1555.1529541016, 2227.4584960938, 11.37260055542, 0, 0, 0);
  1845.     //F_CreateObject(1225, 1555.1104736328, 2227.4897460938, 12.50742816925, 0, 0, 0);
  1846.     //F_CreateObject(1225, 1555.1135253906, 2227.5227050781, 13.579750061035, 0, 0, 0);
  1847.     //F_CreateObject(1225, 1555.1672363281, 2227.3986816406, 10.340074539185, 0, 0, 0);
  1848.     //F_CreateObject(1225, 1554.4060058594, 2227.3986816406, 13.593376159668, 0, 0, 0);
  1849.     //F_CreateObject(1225, 1554.4234619141, 2227.3986816406, 12.51643371582, 0, 0, 0);
  1850.     //F_CreateObject(1225, 1554.4167480469, 2227.3986816406, 11.383750915527, 0, 0, 0);
  1851.     //F_CreateObject(1225, 1554.3986816406, 2227.3986816406, 10.328449249268, 0, 0, 0);
  1852.     //F_CreateObject(1225, 1555.671875, 2239.0495605469, 11.254560470581, 0, 0, 0);
  1853.     //F_CreateObject(1225, 1555.6566162109, 2238.8244628906, 12.390077590942, 0, 0, 0);
  1854.     //F_CreateObject(1225, 1555.681640625, 2238.8029785156, 13.512843132019, 0, 0, 0);
  1855.     //F_CreateObject(1225, 1555.6727294922, 2238.7214355469, 14.547655105591, 0, 0, 0);
  1856.     //F_CreateObject(1225, 1555.6524658203, 2238.9169921875, 10.218499183655, 0, 0, 0);
  1857.     //F_CreateObject(1225, 1554.9110107422, 2239.0495605469, 13.44522857666, 0, 0, 0);
  1858.     //F_CreateObject(1225, 1554.8946533203, 2239.0495605469, 12.33152961731, 0, 0, 0);
  1859.     //F_CreateObject(1225, 1554.9063720703, 2239.0495605469, 11.217204093933, 0, 0, 0);
  1860.     //F_CreateObject(1225, 1554.8839111328, 2238.8291015625, 10.218499183655, 0, 0, 0);
  1861.     //F_CreateObject(1225, 1554.9633789063, 2238.7646484375, 14.529634475708, 0, 0, 0);
  1862.     //F_CreateObject(1225, 1554.5336914063, 2227.5727539063, 14.669888496399, 0, 0, 0);
  1863.     //F_CreateObject(1225, 1555.2445068359, 2227.7370605469, 14.635771751404, 0, 0, 0);
  1864.     //F_CreateObject(1225, 1556.1379394531, 2237.7990722656, 10.39493560791, 0, 0, 0);
  1865.     //F_CreateObject(1225, 1555.876953125, 2238.326171875, 10.218499183655, 0, 0, 0);
  1866.     //F_CreateObject(1225, 1555.7322998047, 2227.6162109375, 10.218499183655, 0, 0, 0);
  1867.     //F_CreateObject(1225, 1556.1986083984, 2227.8461914063, 10.218499183655, 0, 0, 0);
  1868.     F_CreateObject(14416, 1369.1745605469, 2217.5141601563, 24.745010375977, 18, 0, 359.75);
  1869.     F_CreateObject(14416, 1369.2440185547, 2213.4233398438, 19.251579284668, 26, 0, 0);
  1870.     F_CreateObject(14414, 1461.1086425781, 2190.42578125, 25.509437561035, 0, 0, 270);
  1871.     F_CreateObject(14414, 1461.0104980469, 2078.7243652344, 25.466081619263, 0, 0, 268);
  1872.     F_CreateObject(2780, 1431.9594726563, 2147.13671875, 27.772872924805, 0, 0, 0);
  1873.     F_CreateObject(3279, 1547.203125, 2216.0078125, 9.8127460479736, 0, 0, 0);
  1874.     F_CreateObject(3045, 1360.4050292969, 2128.1301269531, 10.055278778076, 0, 0, 0);
  1875.     F_CreateObject(3511, 1380.177734375, 2181.7534179688, 10.0234375, 0, 0, 0);
  1876.     F_CreateObject(3511, 1378.8248291016, 2162.7143554688, 10.0234375, 0, 0, 0);
  1877.     F_CreateObject(3511, 1360.310546875, 2161.1235351563, 10.015628814697, 0, 0, 0);
  1878.     F_CreateObject(3511, 1362.1962890625, 2181.7302246094, 10.0234375, 0, 0, 0);
  1879.     F_CreateObject(1232, 1367.3813476563, 2169.3493652344, 9.8273105621338, 0, 0, 0);
  1880.     F_CreateObject(1232, 1373.5364990234, 2169.3291015625, 9.8101234436035, 0, 0, 0);
  1881.     F_CreateObject(1232, 1373.5662841797, 2175.4650878906, 9.8101234436035, 0, 0, 0);
  1882.     F_CreateObject(1232, 1367.4154052734, 2175.4343261719, 9.8101234436035, 0, 0, 0);
  1883.     F_CreateObject(3877, 1559.1608886719, 2239.4599609375, 9.4110851287842, 0, 0, 0);
  1884.     F_CreateObject(3877, 1558.4001464844, 2227.5678710938, 9.3282814025879, 0, 0, 0);
  1885.     F_CreateObject(3877, 1525.3743896484, 2234.4567871094, 16.597684860229, 0, 0, 0);
  1886.     F_CreateObject(14411, 1488.3372802734, 2196.8115234375, 16.605331420898, 0, 0, 89);
  1887.     F_CreateObject(14411, 1495.8748779297, 2196.6081542969, 11.430341720581, 0, 0, 88);
  1888.     F_CreateObject(354, 1525.0875244141, 2233.3454589844, 11.862209320068, 0, 0, 0);
  1889.     F_CreateObject(3437, 1462.4022216797, 2282.6843261719, 22.772983551025, 0, 0, 90.25);
  1890.     F_CreateObject(3437, 1456.7424316406, 2285.2043457031, 22.925802230835, 0, 0, 33);
  1891.     F_CreateObject(3437, 1456.9956054688, 2278.9436035156, 22.925802230835, 0, 0, 330);
  1892.     F_CreateObject(3437, 1462.2720947266, 2282.6413574219, 34.40283203125, 1.75, 0, 270);
  1893.     F_CreateObject(3437, 1461.9390869141, 2282.5886230469, 45.856334686279, 1.25, 0, 276);
  1894.     F_CreateObject(3437, 1457.0904541016, 2279.13671875, 34.329299926758, 358.75, 0, 324);
  1895.     F_CreateObject(3437, 1457.2062988281, 2279.4392089844, 45.557788848877, 358, 0, 320);
  1896.     F_CreateObject(3437, 1456.7999267578, 2285.2233886719, 34.379302978516, 0, 0, 34);
  1897.     F_CreateObject(3437, 1456.9815673828, 2285.22265625, 45.732799530029, 1.5, 0, 40);
  1898.     F_CreateObject(3494, 1534.0968017578, 2208.6665039063, 14.253120422363, 0, 0, 0);
  1899.     F_CreateObject(3494, 1489.1052246094, 2208.6423339844, 14.253119468689, 0, 0, 0);
  1900.     F_CreateObject(3494, 1534.0395507813, 2262.9033203125, 14.253119468689, 0, 0, 0);
  1901.     F_CreateObject(3494, 1515.4973144531, 2263.0690917969, 14.253119468689, 0, 0, 0);
  1902.     F_CreateObject(3494, 1499.2825927734, 2263.5952148438, 14.253119468689, 0, 0, 0);
  1903.     F_CreateObject(3494, 1534.3190917969, 2286.2292480469, 14.253119468689, 0, 0, 0);
  1904.     F_CreateObject(3494, 1515.712890625, 2285.8356933594, 14.253119468689, 0, 0, 0);
  1905.     F_CreateObject(3494, 1499.2268066406, 2285.9243164063, 14.253119468689, 0, 0, 0);
  1906.     F_CreateObject(354, 1361.7554931641, 2161.5485839844, 11.850473403931, 0, 0, 0);
  1907.     F_CreateObject(354, 1361.7956542969, 2180.8620605469, 11.023297309875, 0, 0, 0);
  1908.     F_CreateObject(354, 1379.576171875, 2181.8859863281, 11.084280967712, 0, 0, 0);
  1909.     F_CreateObject(354, 1378.845703125, 2162.8295898438, 11.511741638184, 0, 0, 0);
  1910.     //===<Grove>===//
  1911.  
  1912.     //===<Police>===//
  1913.     F_CreateObject(987, 2270.4658203125, 2503.5002441406, 9.8203125, 0, 0, 0);
  1914.     F_CreateObject(987, 2258.400390625, 2503.6215820313, 9.8203115463257, 0, 0, 0);
  1915.     F_CreateObject(987, 2246.4311523438, 2503.4887695313, 9.8203125, 0, 0, 0);
  1916.     F_CreateObject(987, 2237.3029785156, 2503.5598144531, 9.8203125, 0, 0, 0);
  1917.     F_CreateObject(987, 2237.4443359375, 2503.4208984375, 9.8954725265503, 0, 0, 270);
  1918.     F_CreateObject(987, 2237.3034667969, 2491.4680175781, 9.8125143051147, 0, 0, 270);
  1919.     F_CreateObject(987, 2237.115234375, 2479.509765625, 9.8125162124634, 0, 0, 270);
  1920.     F_CreateObject(987, 2237.2355957031, 2469.8193359375, 9.8125152587891, 0, 0, 269.75);
  1921.     F_CreateObject(987, 2236.8347167969, 2447.8342285156, 9.8203125, 0, 0, 270);
  1922.     F_CreateObject(987, 2236.21875, 2441.8227539063, 9.8203125, 0, 0, 276);
  1923.     F_CreateObject(987, 2237.2875976563, 2430.287109375, 9.9110279083252, 0, 0, 0);
  1924.     F_CreateObject(3749, 2238.216796875, 2452.9096679688, 15.678727149963, 0, 0, 90);
  1925.     F_CreateObject(2780, 2238.7983398438, 2445.9614257813, 8.8191652297974, 0, 0, 0);
  1926.     F_CreateObject(2780, 2237.8410644531, 2461.9028320313, 9.0347108840942, 0, 0, 0);
  1927.     F_CreateObject(3528, 2235.40234375, 2445.7592773438, 18.036430358887, 0, 0, 178);
  1928.     F_CreateObject(3528, 2235.3732910156, 2460.7072753906, 17.994609832764, 0, 0, 174);
  1929.     F_CreateObject(7073, 2242.9431152344, 2434.2678222656, 28.087062835693, 0, 0, 318);
  1930.     F_CreateObject(14608, 2295.4931640625, 2468.6157226563, 11.366338729858, 0, 0, 48);
  1931.     F_CreateObject(14608, 2295.9641113281, 2451.6015625, 11.391338348389, 0, 0, 42);
  1932.     F_CreateObject(3512, 2286.412109375, 2468.9587402344, 14.375016212463, 0, 0, 0);
  1933.     F_CreateObject(3877, 2293.4123535156, 2471.005859375, 11.486053466797, 0, 0, 0);
  1934.     F_CreateObject(3877, 2293.1398925781, 2465.9631347656, 11.486053466797, 0, 0, 0);
  1935.     F_CreateObject(3877, 2294.33203125, 2454.1533203125, 11.486053466797, 0, 0, 0);
  1936.     F_CreateObject(3877, 2294.5708007813, 2449.5278320313, 11.486053466797, 0, 0, 0);
  1937.     F_CreateObject(987, 2332.7336425781, 2439.5349121094, 4.729296207428, 0, 0, 60);
  1938.     F_CreateObject(14407, 2246.2702636719, 2488.2836914063, 10.937967300415, 0, 0, 92);
  1939.     F_CreateObject(13749, 2322.0822753906, 2491.7392578125, 30.931201934814, 0, 0, 150);
  1940.     F_CreateObject(14414, 2326.0346679688, 2498.5625, 20.208484649658, 0, 0, 82.5);
  1941.     F_CreateObject(7392, 2244.796875, 2472.4846191406, 29.404121398926, 0, 0, 0);
  1942.     F_CreateObject(3505, 2262.1596679688, 2435.5581054688, 45.9765625, 0, 0, 0);
  1943.     F_CreateObject(3505, 2261.546875, 2455.6228027344, 45.9765625, 0, 0, 0);
  1944.     F_CreateObject(3505, 2297.5600585938, 2455.7016601563, 45.977523803711, 0, 0, 0);
  1945.     F_CreateObject(3505, 2295.8608398438, 2433.1435546875, 45.977523803711, 0, 0, 0);
  1946.     F_CreateObject(2780, 2261.9409179688, 2454.3273925781, 44.951499938965, 0, 0, 0);
  1947.     F_CreateObject(2780, 2262.2419433594, 2436.7087402344, 44.776489257813, 0, 0, 0);
  1948.     F_CreateObject(2780, 2294.8435058594, 2434.1088867188, 44.960353851318, 0, 0, 0);
  1949.     F_CreateObject(2780, 2296.5302734375, 2455.3308105469, 43.632545471191, 0, 0, 0);
  1950.     //F_CreateObject(1225, 2237.29296875, 2457.2521972656, 9.1564617156982, 0, 0, 0);
  1951.     //F_CreateObject(1225, 2237.4470214844, 2456.3129882813, 9.1107902526855, 0, 0, 0);
  1952.     //F_CreateObject(1225, 2237.3525390625, 2455.2507324219, 9.1290311813354, 0, 0, 0);
  1953.     //F_CreateObject(1225, 2237.4340820313, 2454.2365722656, 9.0815553665161, 0, 0, 0);
  1954.     //F_CreateObject(1225, 2237.4555664063, 2453.3017578125, 9.1135931015015, 0, 0, 0);
  1955.     //F_CreateObject(1225, 2237.498046875, 2452.3583984375, 9.1275072097778, 0, 0, 0);
  1956.     //F_CreateObject(1225, 2237.5031738281, 2451.3474121094, 9.1041860580444, 0, 0, 0);
  1957.     //F_CreateObject(1225, 2237.4182128906, 2450.1916503906, 9.1513557434082, 0, 0, 0);
  1958.     //F_CreateObject(1225, 2237.5034179688, 2449.1826171875, 9.1292657852173, 0, 0, 0);
  1959.     //F_CreateObject(1225, 2237.1435546875, 2448.2841796875, 10.287117004395, 0, 0, 0);
  1960.     //F_CreateObject(1225, 2236.98828125, 2448.35546875, 11.45291519165, 0, 0, 0);
  1961.     //F_CreateObject(1225, 2236.73828125, 2448.4528808594, 12.556016921997, 0, 0, 0);
  1962.     //F_CreateObject(1225, 2236.5446777344, 2448.4645996094, 13.709824562073, 0, 0, 0);
  1963.     //F_CreateObject(1225, 2237.1254882813, 2458.1801757813, 10.384552001953, 0, 0, 0);
  1964.     //F_CreateObject(1225, 2236.99609375, 2458.1069335938, 11.559167861938, 0, 0, 0);
  1965.     //F_CreateObject(1225, 2236.7998046875, 2457.9787597656, 12.687599182129, 0, 0, 0);
  1966.     //F_CreateObject(1225, 2236.6020507813, 2457.84375, 13.812459945679, 0, 0, 0);
  1967.     //F_CreateObject(1225, 2237.4243164063, 2457.8659667969, 10.076781272888, 0, 0, 0);
  1968.     //F_CreateObject(1225, 2237.6267089844, 2448.8244628906, 9.2696523666382, 0, 0, 0);
  1969.     //F_CreateObject(1225, 2230.5837402344, 2422.9011230469, 10.087767601013, 0, 0, 0);
  1970.     //F_CreateObject(1225, 2218.9914550781, 2438.7810058594, 10.22606754303, 0, 0, 0);
  1971.     //F_CreateObject(1225, 2219.0895996094, 2438.4448242188, 10.442454338074, 0, 0, 0);
  1972.     //F_CreateObject(1225, 2219.0014648438, 2438.564453125, 10.434979438782, 0, 0, 0);
  1973.     //F_CreateObject(1225, 2219.1755371094, 2438.619140625, 10.421262741089, 0, 0, 0);
  1974.     //F_CreateObject(1225, 2218.9916992188, 2438.6140136719, 10.410306930542, 0, 0, 0);
  1975.     //===<Police>===//
  1976.     F_CreateObject(3506, 2077.7175292969, 821.18139648438, 6.2867660522461, 0, 0, 4);
  1977.     F_CreateObject(3506, 2071.4013671875, 821.22033691406, 6.2870903015137, 0, 0, 0);
  1978.     F_CreateObject(3506, 2065.099609375, 821.35900878906, 6.2598667144775, 0, 0, 0);
  1979.     F_CreateObject(3506, 2058.1359863281, 821.15466308594, 6.292013168335, 0, 0, 0);
  1980.     F_CreateObject(3506, 2051.5595703125, 820.82232666016, 6.3572597503662, 0, 0, 0);
  1981.     F_CreateObject(7916, 2072.8520507813, 813.07574462891, 11.89152431488, 0, 0, 172);
  1982.     F_CreateObject(7392, 2049.8498535156, 806.47302246094, 17.062305450439, 0, 0, 272);
  1983.     F_CreateObject(7073, 2089.552734375, 805.22198486328, 26.839206695557, 0, 0, 312);
  1984.     F_CreateObject(9833, 2067.701171875, 821.25646972656, 3.1776537895203, 0, 0, 0);
  1985.     F_CreateObject(9833, 2060.8532714844, 821.44067382813, 3.1983957290649, 0, 0, 0);
  1986.     F_CreateObject(9833, 2054.0336914063, 821.35565185547, 3.1278305053711, 0, 0, 0);
  1987.     F_CreateObject(9833, 2074.3674316406, 821.70642089844, 3.2181205749512, 0, 0, 0);
  1988.     F_CreateObject(3877, 2068.1691894531, 821.21130371094, 5.7980818748474, 0, 0, 0);
  1989.     F_CreateObject(3877, 2074.8764648438, 821.73162841797, 5.8885502815247, 0, 0, 0);
  1990.     F_CreateObject(3877, 2061.365234375, 821.54858398438, 5.7188248634338, 0, 0, 0);
  1991.     F_CreateObject(3877, 2054.5817871094, 821.53198242188, 5.7232580184937, 0, 0, 0);
  1992.     F_CreateObject(3472, 2056.8793945313, 974.08203125, 9.5326671600342, 0, 0, 0);
  1993.     F_CreateObject(3472, 2057.1555175781, 1192.7868652344, 9.6796598434448, 0, 0, 0);
  1994.     F_CreateObject(3472, 2057.5932617188, 1270.8109130859, 9.671875, 0, 0, 0);
  1995.     F_CreateObject(3472, 2057.2414550781, 1372.3278808594, 9.671875, 0, 0, 0);
  1996.     F_CreateObject(3472, 2057.1867675781, 1452.1895751953, 9.6796588897705, 0, 0, 0);
  1997.     F_CreateObject(3472, 2057.1193847656, 1531.6363525391, 9.671875, 0, 0, 0);
  1998.     F_CreateObject(3472, 2057.4445800781, 1646.1772460938, 9.671875, 0, 0, 0);
  1999.     F_CreateObject(3472, 2062.1357421875, 1712.8623046875, 9.671875, 0, 0, 0);
  2000.     F_CreateObject(3472, 2091.6372070313, 1772.9228515625, 9.671875, 0, 0, 0);
  2001.     F_CreateObject(3472, 2137.1772460938, 2139.224609375, 9.671875, 0, 0, 0);
  2002.     F_CreateObject(6965, 2348.748046875, 2143.802734375, 13.467279434204, 0, 0, 0);
  2003.     F_CreateObject(3515, 2348.7900390625, 2137.1240234375, 9.076286315918, 0, 0, 0);
  2004.     F_CreateObject(3515, 2342.2895507813, 2143.7458496094, 9.0751533508301, 0, 0, 0);
  2005.     F_CreateObject(3515, 2348.373046875, 2150.486328125, 9.0014142990112, 0, 0, 0);
  2006.     F_CreateObject(3515, 2355.1020507813, 2144.0034179688, 8.9694471359253, 0, 0, 0);
  2007.     F_CreateObject(9833, 2352.8896484375, 2139.720703125, 6.6513471603394, 0, 0, 0);
  2008.     F_CreateObject(9833, 2352.291015625, 2148.4853515625, 6.612247467041, 0, 0, 0);
  2009.     F_CreateObject(9833, 2344.0107421875, 2147.5612792969, 7.5036377906799, 0, 0, 0);
  2010.     F_CreateObject(9833, 2343.5927734375, 2139.5146484375, 6.7081089019775, 0, 0, 0);
  2011.     F_CreateObject(3877, 2344.0395507813, 2139.5395507813, 10.053525924683, 0, 0, 0);
  2012.     F_CreateObject(3877, 2344.4741210938, 2147.6025390625, 10.199068069458, 0, 0, 0);
  2013.     F_CreateObject(3877, 2352.8540039063, 2148.4260253906, 10.10768032074, 0, 0, 0);
  2014.     F_CreateObject(3877, 2353.4680175781, 2139.8212890625, 10.446786880493, 0, 0, 0);
  2015.     F_CreateObject(7073, 2187.41796875, 1975.8126220703, 28.087062835693, 0, 0, 296);
  2016.     F_CreateObject(14608, 2173.6711425781, 1655.0200195313, 11.631109237671, 0, 0, 10);
  2017.     F_CreateObject(14608, 2177.6811523438, 1701.8237304688, 11.608556747437, 0, 0, 80);
  2018.     F_CreateObject(3749, 2084.6342773438, 1644.8444824219, 15.678727149963, 0, 0, 90);
  2019.     F_CreateObject(3749, 2093.5151367188, 1721.0885009766, 15.530289649963, 0, 0, 82);
  2020.     F_CreateObject(7230, 2450.1186523438, 1276.0004882813, 23.854064941406, 0, 0, 318);
  2021.     F_CreateObject(3110, 2436.5756835938, 1336.3985595703, 7.6703147888184, 0, 0, 292);
  2022.     F_CreateObject(17578, 2575.9406738281, 1327.7930908203, 21.808631896973, 0, 0, 0);
  2023.     F_CreateObject(3471, 2028.7824707031, 1334.5196533203, 11.09485244751, 0, 0, 0);
  2024.     F_CreateObject(3471, 2028.6239013672, 1351.6085205078, 11.09485244751, 0, 0, 0);
  2025.     F_CreateObject(6986, 2737.9807128906, 1565.0789794922, 18.723217010498, 0, 0, 312);
  2026.     F_CreateObject(7093, 2534.5654296875, 1463.5627441406, 19.848127365112, 0, 0, 0);
  2027.     F_CreateObject(7315, 2682.2277832031, 2109.494140625, 22.930576324463, 0, 0, 2);
  2028.     F_CreateObject(7230, 2449.3168945313, 1278.2700195313, 23.806240081787, 0, 0, 322);
  2029.     F_CreateObject(14611, 2450.3444824219, 1294.8146972656, 15.4376745224, 0, 0, 0);
  2030.     F_CreateObject(3437, 2559.154296875, 1621.5111083984, 15.680913925171, 0, 0, 0);
  2031.     F_CreateObject(3437, 2539.0908203125, 1622.4791259766, 15.680913925171, 0, 0, 0);
  2032.     F_CreateObject(354, 2019.30859375, 2525.9909667969, 12.312854766846, 0, 0, 0);
  2033.     F_CreateObject(354, 1922.9194335938, 2401.9797363281, 10.34375, 0, 0, 0);
  2034.     F_CreateObject(354, 1495.1091308594, 1007.6951904297, 12.363796234131, 0, 0, 0);
  2035.     F_CreateObject(354, 1495.1373291016, 1008.3928222656, 12.363796234131, 0, 0, 0);
  2036.     F_CreateObject(354, 1494.9642333984, 1007.2098388672, 12.363796234131, 0, 0, 0);
  2037.     F_CreateObject(354, 1495.3203125, 1006.8079223633, 12.363796234131, 0, 0, 0);
  2038.     F_CreateObject(354, 1494.5723876953, 1007.1541748047, 12.363796234131, 0, 0, 0);
  2039.     F_CreateObject(354, 2074.5883789063, 822.18103027344, 7.5842003822327, 0, 0, 0);
  2040.     F_CreateObject(354, 2068.0866699219, 821.64227294922, 7.7180800437927, 0, 0, 0);
  2041.     F_CreateObject(354, 2061.3532714844, 821.998046875, 7.3444561958313, 0, 0, 0);
  2042.     F_CreateObject(354, 2054.7678222656, 821.77093505859, 7.643256187439, 0, 0, 0);
  2043.     F_CreateObject(354, 2056.951171875, 973.84222412109, 9.8699331283569, 0, 0, 0);
  2044.     F_CreateObject(354, 2057.4104003906, 1191.8171386719, 9.921875, 0, 0, 0);
  2045.     F_CreateObject(354, 2057.8232421875, 1270.1505126953, 9.921875, 0, 0, 0);
  2046.     F_CreateObject(354, 2057.2971191406, 1372.0880126953, 9.9296588897705, 0, 0, 0);
  2047.     F_CreateObject(354, 2057.2861328125, 1451.9497070313, 9.9296588897705, 0, 0, 0);
  2048.     F_CreateObject(354, 2057.1750488281, 1531.396484375, 9.921875, 0, 0, 0);
  2049.     F_CreateObject(354, 2057.5563964844, 1645.9373779297, 9.921875, 0, 0, 0);
  2050.     F_CreateObject(354, 2062.1052246094, 1712.6224365234, 9.9296588897705, 0, 0, 0);
  2051.     F_CreateObject(354, 2091.4338378906, 1772.6829833984, 9.921875, 0, 0, 0);
  2052.     F_CreateObject(354, 2137.0908203125, 2138.9848632813, 10.212552070618, 0, 0, 0);
  2053.     F_CreateObject(354, 2346.6525878906, 2145.1896972656, 17.320865631104, 0, 0, 0);
  2054.     F_CreateObject(354, 2344.0302734375, 2147.5405273438, 11.469422340393, 0, 0, 0);
  2055.     F_CreateObject(354, 2343.595703125, 2139.8020019531, 11.346572875977, 0, 0, 0);
  2056.     F_CreateObject(354, 2353.0241699219, 2139.7973632813, 11.567921638489, 0, 0, 0);
  2057.     F_CreateObject(354, 2352.41015625, 2148.3286132813, 11.478335380554, 0, 0, 0);
  2058.     F_CreateObject(354, 2326.7236328125, 1282.4035644531, 99.144737243652, 0, 0, 0);
  2059.     F_CreateObject(354, 1999.9826660156, 1554.8846435547, 32.680107116699, 0, 0, 0);
  2060.     F_CreateObject(354, 2000.7302246094, 1546.9118652344, 37.299827575684, 0, 0, 0);
  2061.     F_CreateObject(354, 2001.8286132813, 1531.9177246094, 31.255393981934, 0, 0, 0);
  2062.     F_CreateObject(2780, 2049.8913574219, 807.12475585938, 9.054292678833, 0, 0, 0);
  2063.     F_CreateObject(2780, 2086.45703125, 807.82727050781, 8.9084148406982, 0, 0, 0);
  2064.     F_CreateObject(2780, 2081.4135742188, 805.62396240234, 9.3409652709961, 0, 0, 0);
  2065.     F_CreateObject(2780, 2077.2299804688, 804.72149658203, 9.5260944366455, 0, 0, 0);
  2066.     F_CreateObject(2780, 2073.6215820313, 804.43188476563, 9.5749816894531, 0, 0, 0);
  2067.     F_CreateObject(2780, 2069.6979980469, 804.34216308594, 9.592601776123, 0, 0, 0);
  2068.     F_CreateObject(2780, 2066.5764160156, 805.17852783203, 9.4284152984619, 0, 0, 0);
  2069.     F_CreateObject(2780, 2062.02734375, 803.30126953125, 9.7969551086426, 0, 0, 0);
  2070.     F_CreateObject(2780, 2056.0666503906, 802.63592529297, 9.8203125, 0, 0, 0);
  2071.     F_CreateObject(2780, 2050.3098144531, 803.392578125, 9.7869873046875, 0, 0, 0);
  2072.     F_CreateObject(2780, 2083.2036132813, 803.37554931641, 9.7823638916016, 0, 0, 0);
  2073.     F_CreateObject(3512, 2319.4743652344, 867.32702636719, 6.5843353271484, 0, 0, 0);
  2074.     F_CreateObject(3512, 2349.9072265625, 866.23284912109, 6.3224983215332, 0, 0, 0);
  2075.     F_CreateObject(3512, 2313.8852539063, 819.99395751953, 6.5242538452148, 0, 0, 0);
  2076.     F_CreateObject(3512, 2350.0288085938, 818.66162109375, 6.5506267547607, 0, 0, 0);
  2077.     F_CreateObject(3512, 2692.1457519531, 1167.5471191406, 6.9529504776001, 0, 0, 0);
  2078.     F_CreateObject(3512, 2693.0100097656, 1180.1383056641, 6.7852649688721, 0, 0, 0);
  2079. //  F_CreateObject(35112, 2691.9797363281, 1192.5423583984, 6.9851398468018, 0, 0, 0);
  2080.     F_CreateObject(3512, 2690.96875, 1206.1457519531, 7.181245803833, 0, 0, 0);
  2081.     F_CreateObject(3512, 2691.8525390625, 1224.3997802734, 7.0098209381104, 0, 0, 0);
  2082.     F_CreateObject(3512, 2692.1528320313, 1238.4348144531, 6.9515419006348, 0, 0, 0);
  2083.     F_CreateObject(3512, 2692.3757324219, 1252.1608886719, 6.9083137512207, 0, 0, 0);
  2084.     F_CreateObject(3512, 2693.607421875, 1266.8889160156, 6.6694030761719, 0, 0, 0);
  2085.     F_CreateObject(3512, 2692.4030761719, 1281.3623046875, 6.9029998779297, 0, 0, 0);
  2086.     F_CreateObject(3512, 2739.7739257813, 1161.0627441406, 6.3054304122925, 0, 0, 0);
  2087.     F_CreateObject(3512, 2740.6123046875, 1182.9149169922, 6.4700088500977, 0, 0, 0);
  2088.     F_CreateObject(3512, 2741.5895996094, 1202.8587646484, 6.6619148254395, 0, 0, 0);
  2089.     F_CreateObject(3512, 2742.1123046875, 1225.5570068359, 6.7644958496094, 0, 0, 0);
  2090.     F_CreateObject(3512, 2741.4689941406, 1245.4208984375, 6.6381988525391, 0, 0, 0);
  2091.     F_CreateObject(3512, 2740.4719238281, 1258.2299804688, 6.4424896240234, 0, 0, 0);
  2092.     F_CreateObject(3512, 2739.6115722656, 1271.2352294922, 6.273551940918, 0, 0, 0);
  2093.     F_CreateObject(3512, 2740.9572753906, 1288.0213623047, 8.0758895874023, 0, 0, 0);
  2094.     F_CreateObject(354, 2692.9582519531, 1167.8999023438, 7.3361911773682, 0, 0, 0);
  2095.     F_CreateObject(354, 2693.8225097656, 1180.1788330078, 7.4646029472351, 0, 0, 0);
  2096.     F_CreateObject(354, 2692.7922363281, 1192.6237792969, 7.5991544723511, 0, 0, 0);
  2097.     F_CreateObject(354, 2691.7468261719, 1205.9204101563, 7.2803134918213, 0, 0, 0);
  2098.     F_CreateObject(354, 2692.6650390625, 1224.0609130859, 7.3183813095093, 0, 0, 0);
  2099.     F_CreateObject(354, 2692.9653320313, 1238.5803222656, 7.5588502883911, 0, 0, 0);
  2100.     F_CreateObject(354, 2693.1535644531, 1252.1353759766, 7.0074319839478, 0, 0, 0);
  2101.     F_CreateObject(354, 2694.419921875, 1266.6259765625, 7.6871252059937, 0, 0, 0);
  2102.     F_CreateObject(354, 2693.2155761719, 1281.1109619141, 7.6306028366089, 0, 0, 0);
  2103.     F_CreateObject(354, 2740.4106445313, 1287.80859375, 8.9169931411743, 0, 0, 0);
  2104.     F_CreateObject(354, 2739.0649414063, 1271.4105224609, 7.139328956604, 0, 0, 0);
  2105.     F_CreateObject(354, 2739.9252929688, 1259.0245361328, 7.734414100647, 0, 0, 0);
  2106.     F_CreateObject(354, 2740.9223632813, 1245.697265625, 7.4271821975708, 0, 0, 0);
  2107.     F_CreateObject(354, 2741.5656738281, 1226.1350097656, 7.4824247360229, 0, 0, 0);
  2108.     F_CreateObject(354, 2741.04296875, 1203.0881347656, 7.0408458709717, 0, 0, 0);
  2109.     F_CreateObject(354, 2740.0656738281, 1183.1932373047, 6.9277791976929, 0, 0, 0);
  2110.     F_CreateObject(354, 2739.2272949219, 1161.3737792969, 6.9820356369019, 0, 0, 0);
  2111.     F_CreateObject(3512, 2695.0485839844, 1712.4594726563, 6.4356098175049, 0, 0, 0);
  2112.     F_CreateObject(3512, 2695.7426757813, 1726.3916015625, 6.2996158599854, 0, 0, 0);
  2113.     F_CreateObject(3512, 2695.5295410156, 1740.0307617188, 6.3235349655151, 0, 0, 0);
  2114.     F_CreateObject(3512, 2696.1635742188, 1752.1148681641, 6.189022064209, 0, 0, 0);
  2115.     F_CreateObject(3512, 2696.4294433594, 1765.4989013672, 6.131010055542, 0, 0, 0);
  2116.     F_CreateObject(3512, 2696.9116210938, 1778.6303710938, 6.0313177108765, 0, 0, 0);
  2117.     F_CreateObject(3512, 2696.8625488281, 1793.1829833984, 6.0409212112427, 0, 0, 0);
  2118.     F_CreateObject(3512, 2697.7370605469, 1806.4422607422, 5.8947315216064, 0, 0, 0);
  2119.     F_CreateObject(3512, 2696.8686523438, 1820.9659423828, 6.0397176742554, 0, 0, 0);
  2120.     F_CreateObject(3512, 2696.556640625, 1840.576171875, 6.1002616882324, 0, 0, 0);
  2121.     F_CreateObject(3512, 2696.5791015625, 1865.3333740234, 6.094388961792, 0, 0, 0);
  2122.     F_CreateObject(3512, 2697.0749511719, 1882.0305175781, 5.9981822967529, 0, 0, 0);
  2123.     F_CreateObject(3512, 2697.6237792969, 1901.0401611328, 5.8917121887207, 0, 0, 0);
  2124.     F_CreateObject(3512, 2697.3120117188, 1925.7933349609, 5.9506072998047, 0, 0, 0);
  2125.     F_CreateObject(3512, 2737.7836914063, 1716.4987792969, 5.8939504623413, 0, 0, 0);
  2126.     F_CreateObject(3512, 2737.6462402344, 1726.8712158203, 5.8898229598999, 0, 0, 0);
  2127.     F_CreateObject(3512, 2736.82421875, 1738.1721191406, 5.8651218414307, 0, 0, 0);
  2128.     F_CreateObject(3512, 2736.0480957031, 1749.2174072266, 5.8339920043945, 0, 0, 0);
  2129.     F_CreateObject(3512, 2736.1220703125, 1759.2875976563, 5.8440275192261, 0, 0, 0);
  2130.     F_CreateObject(3512, 2736.42578125, 1772.1865234375, 5.8510646820068, 0, 0, 0);
  2131.     F_CreateObject(3512, 2735.1376953125, 1786.2403564453, 5.817946434021, 0, 0, 0);
  2132.     F_CreateObject(3512, 2735.8479003906, 1797.3516845703, 5.8394546508789, 0, 0, 0);
  2133.     F_CreateObject(3512, 2736.658203125, 1810.8201904297, 5.8640003204346, 0, 0, 0);
  2134.     F_CreateObject(3512, 2736.6013183594, 1826.5698242188, 5.8622789382935, 0, 0, 0);
  2135.     F_CreateObject(3512, 2736.6765136719, 1840.154296875, 5.8645534515381, 0, 0, 0);
  2136.     F_CreateObject(3512, 2736.5656738281, 1853.9127197266, 5.86119556427, 0, 0, 0);
  2137.     F_CreateObject(3512, 2737.2375488281, 1870.0773925781, 5.8815431594849, 0, 0, 0);
  2138.     F_CreateObject(3512, 2737.4458007813, 1883.0528564453, 5.8348474502563, 0, 0, 0);
  2139.     F_CreateObject(3512, 2737.5903320313, 1899.1745605469, 5.8922309875488, 0, 0, 0);
  2140.     F_CreateObject(3512, 2738.1535644531, 1913.1831054688, 5.8490533828735, 0, 0, 0);
  2141.     F_CreateObject(3512, 2736.8898925781, 1927.4566650391, 5.8771772384644, 0, 0, 0);
  2142.     F_CreateObject(354, 2698.1245117188, 1925.9772949219, 6.9777483940125, 0, 0, 0);
  2143.     F_CreateObject(354, 2736.3432617188, 1927.8636474609, 6.4426870346069, 0, 0, 0);
  2144.     F_CreateObject(354, 2698.4362792969, 1901.9699707031, 7.0499205589294, 0, 0, 0);
  2145.     F_CreateObject(354, 2697.8874511719, 1882.3542480469, 6.3319888114929, 0, 0, 0);
  2146.     F_CreateObject(354, 2697.3916015625, 1865.7147216797, 6.630747795105, 0, 0, 0);
  2147.     F_CreateObject(354, 2697.369140625, 1841.2092285156, 6.8338279724121, 0, 0, 0);
  2148.     F_CreateObject(354, 2697.5307617188, 1821.9497070313, 6.5346870422363, 0, 0, 0);
  2149.     F_CreateObject(354, 2698.5495605469, 1807.0528564453, 6.3377676010132, 0, 0, 0);
  2150.     F_CreateObject(354, 2697.6750488281, 1793.6904296875, 6.5250887870789, 0, 0, 0);
  2151.     F_CreateObject(354, 2697.7241210938, 1779.6038818359, 7.2193794250488, 0, 0, 0);
  2152.     F_CreateObject(354, 2697.2419433594, 1766.1071777344, 7.3553490638733, 0, 0, 0);
  2153.     F_CreateObject(354, 2696.6882324219, 1753.0986328125, 6.8234519958496, 0, 0, 0);
  2154.     F_CreateObject(354, 2696.2233886719, 1741.0145263672, 6.8914747238159, 0, 0, 0);
  2155.     F_CreateObject(354, 2696.1079101563, 1727.3753662109, 6.9272413253784, 0, 0, 0);
  2156.     F_CreateObject(354, 2695.6489257813, 1713.4432373047, 6.9032626152039, 0, 0, 0);
  2157.     F_CreateObject(354, 2737.2370605469, 1716.4146728516, 6.5719470977783, 0, 0, 0);
  2158.     F_CreateObject(354, 2737.099609375, 1726.9063720703, 6.2839164733887, 0, 0, 0);
  2159.     F_CreateObject(354, 2736.2775878906, 1738.2926025391, 6.4502944946289, 0, 0, 0);
  2160.     F_CreateObject(354, 2735.5014648438, 1748.9105224609, 6.568727016449, 0, 0, 0);
  2161.     F_CreateObject(354, 2735.5754394531, 1759.2230224609, 6.3139758110046, 0, 0, 0);
  2162.     F_CreateObject(354, 2735.8791503906, 1772.2879638672, 6.3676500320435, 0, 0, 0);
  2163.     F_CreateObject(354, 2734.5910644531, 1786.5478515625, 6.5253410339355, 0, 0, 0);
  2164.     F_CreateObject(354, 2735.3012695313, 1797.7147216797, 6.5323128700256, 0, 0, 0);
  2165.     F_CreateObject(354, 2736.1115722656, 1810.7844238281, 6.4191637039185, 0, 0, 0);
  2166.     F_CreateObject(354, 2736.0546875, 1826.2552490234, 6.7318572998047, 0, 0, 0);
  2167.     F_CreateObject(354, 2736.2653808594, 1839.5303955078, 6.2318482398987, 0, 0, 0);
  2168.     F_CreateObject(354, 2736.4545898438, 1853.2888183594, 6.3164072036743, 0, 0, 0);
  2169.     F_CreateObject(354, 2737.0725097656, 1869.4534912109, 6.355574131012, 0, 0, 0);
  2170.     F_CreateObject(354, 2737.5700683594, 1882.4289550781, 6.4589128494263, 0, 0, 0);
  2171.     F_CreateObject(354, 2737.505859375, 1898.5506591797, 6.7822813987732, 0, 0, 0);
  2172.     F_CreateObject(354, 2737.6147460938, 1912.1705322266, 6.1596374511719, 0, 0, 0);
  2173.     F_CreateObject(3512, 2359.3994140625, 2646.9104003906, 6.298095703125, 0, 0, 0);
  2174.     F_CreateObject(3512, 2336.9077148438, 2644.9841308594, 6.4609699249268, 0, 0, 0);
  2175.     F_CreateObject(3512, 2315.2978515625, 2642.9145507813, 6.3607883453369, 0, 0, 0);
  2176.     F_CreateObject(3512, 2291.9213867188, 2640.7199707031, 6.3759517669678, 0, 0, 0);
  2177.     F_CreateObject(3512, 2267.4111328125, 2637.9145507813, 6.4412364959717, 0, 0, 0);
  2178.     F_CreateObject(3512, 2243.85546875, 2635.4772949219, 6.6428356170654, 0, 0, 0);
  2179.     F_CreateObject(3512, 2222.2707519531, 2631.3381347656, 6.5903205871582, 0, 0, 0);
  2180.     F_CreateObject(3512, 2198.2387695313, 2626.4670410156, 6.5599670410156, 0, 0, 0);
  2181.     F_CreateObject(3512, 2172.8598632813, 2621.2407226563, 6.6061172485352, 0, 0, 0);
  2182.     F_CreateObject(3512, 2148.6579589844, 2614.9833984375, 6.6777114868164, 0, 0, 0);
  2183.     F_CreateObject(3512, 2126.1857910156, 2608.1684570313, 7.0443840026855, 0, 0, 0);
  2184.     F_CreateObject(3512, 2094.8588867188, 2603.2680664063, 6.9445743560791, 0, 0, 0);
  2185.     F_CreateObject(3512, 2064.5432128906, 2594.7846679688, 6.9201698303223, 0, 0, 0);
  2186.     F_CreateObject(3512, 2074.0903320313, 2547.587890625, 6.5147514343262, 0, 0, 0);
  2187.     F_CreateObject(3512, 2105.1528320313, 2555.8718261719, 6.387378692627, 0, 0, 0);
  2188.     F_CreateObject(3512, 2134.3176269531, 2562.8352050781, 7.0227890014648, 0, 0, 0);
  2189.     F_CreateObject(3512, 2157.6596679688, 2569.1638183594, 6.6395568847656, 0, 0, 0);
  2190.     F_CreateObject(3512, 2177.3903808594, 2574.4956054688, 6.515754699707, 0, 0, 0);
  2191.     F_CreateObject(3512, 2201.7492675781, 2580.0380859375, 6.4889335632324, 0, 0, 0);
  2192.     F_CreateObject(3512, 2223.4169921875, 2584.5090332031, 6.4649505615234, 0, 0, 0);
  2193.     F_CreateObject(3512, 2245.13671875, 2588.4357910156, 6.4553146362305, 0, 0, 0);
  2194.     F_CreateObject(3512, 2272.8017578125, 2593.1701660156, 6.3744773864746, 0, 0, 0);
  2195.     F_CreateObject(3512, 2297.8688964844, 2596.4306640625, 6.3512992858887, 0, 0, 0);
  2196.     F_CreateObject(3512, 2322.0698242188, 2598.8037109375, 6.3412322998047, 0, 0, 0);
  2197.     F_CreateObject(3512, 2342.6267089844, 2600.2299804688, 6.3274536132813, 0, 0, 0);
  2198.     F_CreateObject(3512, 2365.1987304688, 2600.3740234375, 6.4433860778809, 0, 0, 0);
  2199.     F_CreateObject(3512, 1991.85546875, 2523.3803710938, 6.5290842056274, 0, 0, 0);
  2200.     F_CreateObject(3512, 1946.7462158203, 2510.5422363281, 6.3942394256592, 0, 0, 0);
  2201.     F_CreateObject(3512, 1906.8305664063, 2498.7387695313, 6.3375024795532, 0, 0, 0);
  2202.     F_CreateObject(3512, 1860.1146240234, 2486.771484375, 6.1568584442139, 0, 0, 0);
  2203.     F_CreateObject(3512, 1851.0759277344, 2529.6203613281, 6.4413776397705, 0, 0, 0);
  2204.     F_CreateObject(3512, 1895.4053955078, 2542.64453125, 6.5402374267578, 0, 0, 0);
  2205.     F_CreateObject(3512, 1932.1928710938, 2551.7766113281, 6.4844875335693, 0, 0, 0);
  2206.     F_CreateObject(3512, 1980.5737304688, 2568.7038574219, 6.9631938934326, 0, 0, 0);
  2207.     F_CreateObject(3512, 1193.2692871094, 1644.8117675781, 6.7001113891602, 0, 0, 0);
  2208.     F_CreateObject(3512, 1195.2769775391, 1604.1469726563, 6.2980041503906, 0, 0, 0);
  2209.     F_CreateObject(3512, 1195.421875, 1562.3546142578, 6.2775115966797, 0, 0, 0);
  2210.     F_CreateObject(3512, 1195.9083251953, 1527.1762695313, 6.1833000183105, 0, 0, 0);
  2211.     F_CreateObject(3512, 1196.1037597656, 1490.0748291016, 6.1449356079102, 0, 0, 0);
  2212.     F_CreateObject(3512, 1195.0529785156, 1444.3792724609, 6.3511962890625, 0, 0, 0);
  2213.     F_CreateObject(3512, 1196.3905029297, 1402.9553222656, 6.0806579589844, 0, 0, 0);
  2214.     F_CreateObject(3512, 1195.9390869141, 1356.474609375, 6.1772556304932, 0, 0, 0);
  2215.     F_CreateObject(3512, 1196.6818847656, 1305.1317138672, 6.3415679931641, 0, 0, 0);
  2216.     F_CreateObject(3512, 1196.1265869141, 1259.9322509766, 6.1386775970459, 0, 0, 0);
  2217.     F_CreateObject(3512, 1196.7397460938, 1218.2962646484, 5.9539985656738, 0, 0, 0);
  2218.     F_CreateObject(3512, 1195.8747558594, 1161.1838378906, 6.2470283508301, 0, 0, 0);
  2219.     F_CreateObject(3512, 1197.1402587891, 1110.1658935547, 6.0035037994385, 0, 0, 0);
  2220.     F_CreateObject(3512, 1257.5067138672, 1114.3128662109, 7.6074676513672, 0, 0, 0);
  2221.     F_CreateObject(3512, 1236.5197753906, 1103.8504638672, 5.9369449615479, 0, 0, 0);
  2222.     F_CreateObject(3512, 1242.7554931641, 1153.6081542969, 6.0239200592041, 0, 0, 0);
  2223.     F_CreateObject(3512, 1236.7003173828, 1217.43359375, 5.9421043395996, 0, 0, 0);
  2224.     F_CreateObject(3512, 1236.9123535156, 1258.7410888672, 5.8797340393066, 0, 0, 0);
  2225.     F_CreateObject(3512, 1202.9456787109, 1306.7401123047, -18.280452728271, 0, 0, 0);
  2226.     F_CreateObject(3512, 1237.2788085938, 1299.6524658203, 5.8908348083496, 0, 0, 0);
  2227.     F_CreateObject(3512, 1236.7847900391, 1354.2221679688, 5.8758697509766, 0, 0, 0);
  2228.     F_CreateObject(3512, 1239.1015625, 1402.4418945313, 6.2158584594727, 0, 0, 0);
  2229.     F_CreateObject(3512, 1237.6809082031, 1443.1270751953, 5.936185836792, 0, 0, 0);
  2230.     F_CreateObject(3512, 1238.5941162109, 1488.3176269531, 6.1270942687988, 0, 0, 0);
  2231.     F_CreateObject(3512, 1237.2724609375, 1526.8863525391, 5.833927154541, 0, 0, 0);
  2232.     F_CreateObject(3512, 1238.2048339844, 1562.0667724609, 6.0504760742188, 0, 0, 0);
  2233.     F_CreateObject(3512, 1238.4119873047, 1604.1746826172, 6.0800914764404, 0, 0, 0);
  2234.     F_CreateObject(3512, 1238.1754150391, 1641.4184570313, 6.0335311889648, 0, 0, 0);
  2235.     F_CreateObject(3512, 1586.3092041016, 818.47814941406, 6.8235321044922, 0, 0, 0);
  2236.     F_CreateObject(3512, 1631.2076416016, 820.91461181641, 6.3452033996582, 0, 0, 0);
  2237.     F_CreateObject(3512, 1660.2161865234, 822.42358398438, 5.9845180511475, 0, 0, 0);
  2238.     F_CreateObject(3512, 1686.6959228516, 823.72253417969, 7.0219497680664, 0, 0, 0);
  2239.     F_CreateObject(3512, 1713.4537353516, 820.99426269531, 7.9462852478027, 0, 0, 0);
  2240.     F_CreateObject(3512, 1745.9935302734, 821.57116699219, 8.8491249084473, 0, 0, 0);
  2241.     F_CreateObject(3512, 1775.5870361328, 821.921875, 9.7567672729492, 0, 0, 0);
  2242.     F_CreateObject(3512, 1822.0122070313, 823.34851074219, 9.6730461120605, 0, 0, 0);
  2243.     F_CreateObject(3512, 1856.2281494141, 822.92810058594, 8.5755920410156, 0, 0, 0);
  2244.     F_CreateObject(3512, 1887.9385986328, 821.89666748047, 7.6817321777344, 0, 0, 0);
  2245.     F_CreateObject(3512, 1929.4849853516, 823.05224609375, 6.563346862793, 0, 0, 0);
  2246.     F_CreateObject(3512, 1987.2908935547, 819.79718017578, 6.5639572143555, 0, 0, 0);
  2247.     F_CreateObject(3512, 1822.5511474609, 864.052734375, 9.6728677749634, 0, 0, 0);
  2248.     F_CreateObject(3512, 1852.6433105469, 864.67553710938, 8.7170114517212, 0, 0, 0);
  2249.     F_CreateObject(3512, 1881.7550048828, 865.03070068359, 7.887770652771, 0, 0, 0);
  2250.     F_CreateObject(3512, 1923.513671875, 867.30084228516, 7.0227365493774, 0, 0, 0);
  2251.     F_CreateObject(3512, 1984.7698974609, 866.671875, 6.5274934768677, 0, 0, 0);
  2252.     F_CreateObject(354, 1987.5059814453, 820.78094482422, 7.7270927429199, 0, 0, 0);
  2253.     F_CreateObject(354, 1930.2976074219, 823.45196533203, 7.0475225448608, 0, 0, 0);
  2254.     F_CreateObject(354, 1888.7512207031, 822.02416992188, 8.0429582595825, 0, 0, 0);
  2255.     F_CreateObject(354, 1857.0407714844, 823.06695556641, 9.1943817138672, 0, 0, 0);
  2256.     F_CreateObject(354, 1822.8248291016, 823.35388183594, 10.05427646637, 0, 0, 0);
  2257.     F_CreateObject(354, 1776.3996582031, 822.03851318359, 10.268253326416, 0, 0, 0);
  2258.     F_CreateObject(354, 1746.8061523438, 821.79351806641, 9.2071266174316, 0, 0, 0);
  2259.     F_CreateObject(354, 1714.2663574219, 821.21612548828, 8.2008285522461, 0, 0, 0);
  2260.     F_CreateObject(354, 1687.5085449219, 823.93817138672, 7.2249188423157, 0, 0, 0);
  2261.     F_CreateObject(354, 1661.0288085938, 822.41436767578, 6.5190992355347, 0, 0, 0);
  2262.     F_CreateObject(354, 1632.0202636719, 820.89184570313, 6.9231395721436, 0, 0, 0);
  2263.     F_CreateObject(354, 1587.1218261719, 818.6650390625, 7.1428928375244, 0, 0, 0);
  2264.     F_CreateObject(354, 1822.0045166016, 864.02874755859, 10.458891868591, 0, 0, 0);
  2265.     F_CreateObject(354, 1852.0966796875, 864.76501464844, 9.8002843856812, 0, 0, 0);
  2266.     F_CreateObject(354, 1881.2083740234, 865.09387207031, 8.9598836898804, 0, 0, 0);
  2267.     F_CreateObject(354, 1922.9670410156, 867.34399414063, 8.2889270782471, 0, 0, 0);
  2268.     F_CreateObject(354, 1984.2232666016, 866.73150634766, 7.3734369277954, 0, 0, 0);
  2269.     F_CreateObject(3512, 1587.7650146484, 863.18426513672, 5.894926071167, 0, 0, 0);
  2270.     F_CreateObject(3512, 1635.2722167969, 865.67651367188, 6.3677845001221, 0, 0, 0);
  2271.     F_CreateObject(3512, 1660.9045410156, 863.15631103516, 6.0092391967773, 0, 0, 0);
  2272.     F_CreateObject(3512, 1687.1452636719, 864.39636230469, 7.0564785003662, 0, 0, 0);
  2273.     F_CreateObject(3512, 1712.7900390625, 864.1416015625, 7.8185768127441, 0, 0, 0);
  2274.     F_CreateObject(3512, 1745.9887695313, 864.74981689453, 8.9559574127197, 0, 0, 0);
  2275.     F_CreateObject(3512, 1774.5627441406, 863.521484375, 9.7813959121704, 0, 0, 0);
  2276.     F_CreateObject(354, 1774.6361083984, 864.50524902344, 10.440630912781, 0, 0, 0);
  2277.     F_CreateObject(354, 1746.3594970703, 865.73358154297, 9.8911714553833, 0, 0, 0);
  2278.     F_CreateObject(354, 1713.0804443359, 865.12536621094, 8.5820379257202, 0, 0, 0);
  2279.     F_CreateObject(354, 1687.3825683594, 865.38012695313, 7.5548305511475, 0, 0, 0);
  2280.     F_CreateObject(354, 1661.1745605469, 864.14007568359, 6.7532186508179, 0, 0, 0);
  2281.     F_CreateObject(354, 1632.2797851563, 883.59375, 12.960651397705, 0, 0, 0);
  2282.     F_CreateObject(354, 1635.1815185547, 866.66027832031, 7.8796348571777, 0, 0, 0);
  2283.     F_CreateObject(354, 1588.0579833984, 864.16802978516, 7.051365852356, 0, 0, 0);
  2284.     F_CreateObject(354, 1236.4847412109, 1103.2265625, 6.1859436035156, 0, 0, 0);
  2285.     F_CreateObject(354, 1257.3800048828, 1113.6889648438, 8.1189937591553, 0, 0, 0);
  2286.     F_CreateObject(354, 1242.7178955078, 1152.9842529297, 6.4915494918823, 0, 0, 0);
  2287.     F_CreateObject(354, 1236.5767822266, 1216.8096923828, 6.4480028152466, 0, 0, 0);
  2288.     F_CreateObject(354, 1236.8269042969, 1258.1171875, 6.1271462440491, 0, 0, 0);
  2289.     F_CreateObject(354, 1237.2042236328, 1299.0285644531, 6.3986921310425, 0, 0, 0);
  2290.     F_CreateObject(354, 1236.6368408203, 1353.5982666016, 6.1213893890381, 0, 0, 0);
  2291.     F_CreateObject(354, 1238.9600830078, 1401.8179931641, 6.8729095458984, 0, 0, 0);
  2292.     F_CreateObject(354, 1237.56640625, 1442.5031738281, 6.1636347770691, 0, 0, 0);
  2293.     F_CreateObject(354, 1238.412109375, 1487.6937255859, 6.4514017105103, 0, 0, 0);
  2294.     F_CreateObject(354, 1237.0834960938, 1526.2624511719, 6.2683176994324, 0, 0, 0);
  2295.     F_CreateObject(354, 1237.9512939453, 1561.4428710938, 6.2394051551819, 0, 0, 0);
  2296.     F_CreateObject(354, 1238.1959228516, 1603.55078125, 6.2879428863525, 0, 0, 0);
  2297.     F_CreateObject(354, 1238.0504150391, 1640.7945556641, 6.2897176742554, 0, 0, 0);
  2298.     F_CreateObject(354, 1193.6550292969, 1645.7955322266, 7.0571966171265, 0, 0, 0);
  2299.     F_CreateObject(354, 1196.0895996094, 1605.0085449219, 7.0521955490112, 0, 0, 0);
  2300.     F_CreateObject(354, 1196.2308349609, 1563.3383789063, 7.3298187255859, 0, 0, 0);
  2301.     F_CreateObject(354, 1196.7080078125, 1528.1600341797, 7.5140399932861, 0, 0, 0);
  2302.     F_CreateObject(354, 1196.9163818359, 1490.7067871094, 7.3449153900146, 0, 0, 0);
  2303.     F_CreateObject(354, 1195.7139892578, 1445.3630371094, 7.3369665145874, 0, 0, 0);
  2304.     F_CreateObject(354, 1197.1033935547, 1403.9390869141, 6.9417142868042, 0, 0, 0);
  2305.     F_CreateObject(354, 1196.4401855469, 1357.4583740234, 6.7961239814758, 0, 0, 0);
  2306.     F_CreateObject(354, 1196.978515625, 1306.1154785156, 7.1304225921631, 0, 0, 0);
  2307.     F_CreateObject(354, 1196.6142578125, 1260.916015625, 6.8842868804932, 0, 0, 0);
  2308.     F_CreateObject(354, 1197.0301513672, 1219.2800292969, 6.4002494812012, 0, 0, 0);
  2309.     F_CreateObject(354, 1196.2947998047, 1162.1676025391, 6.7453088760376, 0, 0, 0);
  2310.     F_CreateObject(354, 1197.0673828125, 1111.1496582031, 6.5194182395935, 0, 0, 0);
  2311.     F_CreateObject(354, 2318.9948730469, 866.703125, 7.3757753372192, 0, 0, 0);
  2312.     F_CreateObject(354, 2349.3605957031, 866.26745605469, 6.9513001441956, 0, 0, 0);
  2313.     F_CreateObject(354, 2349.7243652344, 819.64538574219, 6.9261617660522, 0, 0, 0);
  2314.     F_CreateObject(354, 2314.2739257813, 820.97772216797, 7.3671207427979, 0, 0, 0);
  2315.     F_CreateObject(354, 2366.0112304688, 2600.6281738281, 6.9477672576904, 0, 0, 0);
  2316.     F_CreateObject(354, 2343.4392089844, 2600.5927734375, 7.2175736427307, 0, 0, 0);
  2317.     F_CreateObject(354, 2322.8823242188, 2599.0427246094, 7.1432595252991, 0, 0, 0);
  2318.     F_CreateObject(354, 2298.6813964844, 2596.7854003906, 7.1990194320679, 0, 0, 0);
  2319.     F_CreateObject(354, 2273.6142578125, 2593.3720703125, 7.0742483139038, 0, 0, 0);
  2320.     F_CreateObject(354, 2245.94921875, 2588.6755371094, 7.1342868804932, 0, 0, 0);
  2321.     F_CreateObject(354, 2224.2294921875, 2584.3942871094, 7.0898585319519, 0, 0, 0);
  2322.     F_CreateObject(354, 2202.5617675781, 2580.1462402344, 7.1408834457397, 0, 0, 0);
  2323.     F_CreateObject(354, 2178.2028808594, 2574.7631835938, 7.2669138908386, 0, 0, 0);
  2324.     F_CreateObject(354, 2158.4721679688, 2569.4516601563, 7.5471415519714, 0, 0, 0);
  2325.     F_CreateObject(354, 2135.1301269531, 2563.1130371094, 7.8471832275391, 0, 0, 0);
  2326.     F_CreateObject(354, 2105.9653320313, 2556.21875, 7.3453969955444, 0, 0, 0);
  2327.     F_CreateObject(354, 2074.9028320313, 2547.8701171875, 7.1202363967896, 0, 0, 0);
  2328.     F_CreateObject(354, 2064.7509765625, 2594.1608886719, 7.693874835968, 0, 0, 0);
  2329.     F_CreateObject(354, 2094.6162109375, 2602.6442871094, 7.7421760559082, 0, 0, 0);
  2330.     F_CreateObject(354, 2125.6391601563, 2607.9125976563, 7.9851961135864, 0, 0, 0);
  2331.     F_CreateObject(354, 2148.111328125, 2614.7580566406, 7.3698740005493, 0, 0, 0);
  2332.     F_CreateObject(354, 2172.3132324219, 2621.0815429688, 7.5077638626099, 0, 0, 0);
  2333.     F_CreateObject(354, 2197.6921386719, 2626.2709960938, 7.241096496582, 0, 0, 0);
  2334.     F_CreateObject(354, 2221.7241210938, 2631.2109375, 7.2438163757324, 0, 0, 0);
  2335.     F_CreateObject(354, 2243.3088378906, 2635.3928222656, 7.4329609870911, 0, 0, 0);
  2336.     F_CreateObject(354, 2266.8645019531, 2637.8347167969, 7.2972044944763, 0, 0, 0);
  2337.     F_CreateObject(354, 2291.3747558594, 2640.6599121094, 7.0275630950928, 0, 0, 0);
  2338.     F_CreateObject(354, 2314.7512207031, 2642.875, 7.037353515625, 0, 0, 0);
  2339.     F_CreateObject(354, 2336.3610839844, 2644.8859863281, 7.2028684616089, 0, 0, 0);
  2340.     F_CreateObject(354, 2358.8527832031, 2646.8481445313, 6.8802518844604, 0, 0, 0);
  2341.     F_CreateObject(354, 1992.2265625, 2524.3640136719, 8.0545930862427, 0, 0, 0);
  2342.     F_CreateObject(354, 1947.5588378906, 2511.1047363281, 6.7013254165649, 0, 0, 0);
  2343.     F_CreateObject(354, 1907.6431884766, 2498.8386230469, 6.6114835739136, 0, 0, 0);
  2344.     F_CreateObject(354, 1860.8295898438, 2487.1076660156, 6.4276676177979, 0, 0, 0);
  2345.     F_CreateObject(354, 1851.787109375, 2528.9965820313, 6.8834462165833, 0, 0, 0);
  2346.     F_CreateObject(354, 1895.0264892578, 2542.0207519531, 7.1514854431152, 0, 0, 0);
  2347.     F_CreateObject(354, 1931.6462402344, 2551.2817382813, 7.2630128860474, 0, 0, 0);
  2348.     F_CreateObject(354, 1980.0270996094, 2568.4611816406, 7.4440383911133, 0, 0, 0);
  2349.    
  2350.     //===<BoatC>===//
  2351.     F_CreateObject(943, -352.50326538086, 1512.7780761719, 75.328269958496, 0, 0, 0);
  2352.     F_CreateObject(1690, 427.87786865234, 2531.5134277344, 16.297710418701, 0, 0, 0);
  2353.     F_CreateObject(1318, -349.23986816406, 1530.3707275391, 74.332817077637, 0, 269.74975585938, 147.99993896484);
  2354.     F_CreateObject(1318, -341.16345214844, 1526.0855712891, 74.307830810547, 0, 90, 334.5);
  2355.     F_CreateObject(1318, -335.05313110352, 1523.28125, 74.383598327637, 0, 88, 334);
  2356.     F_CreateObject(1318, -327.62985229492, 1520.9968261719, 74.332862854004, 0, 88, 349.25);
  2357.     F_CreateObject(1318, -320.30880737305, 1519.4324951172, 74.305397033691, 0, 90, 358);
  2358.     F_CreateObject(1318, -313.69766235352, 1517.5073242188, 74.305442810059, 0, 90, 334);
  2359.     F_CreateObject(1318, -308.48287963867, 1513.7926025391, 74.307861328125, 0, 90, 314);
  2360.     F_CreateObject(3507, -348.70843505859, 1536.296875, 74.5625, 0, 0, 0);
  2361.     F_CreateObject(3507, -362.48641967773, 1538.0263671875, 74.5625, 0, 0, 0);
  2362.     F_CreateObject(8483, -349.26263427734, 1566.7890625, 80.941459655762, 0, 0, 254);
  2363.     F_CreateObject(2780, -362.12384033203, 1538.1104736328, 70.968032836914, 0, 4, 194);
  2364.     F_CreateObject(2780, -350.23739624023, 1537.1608886719, 70.622009277344, 0, 0, 0);
  2365.     F_CreateObject(9833, -347.51962280273, 1558.2669677734, 74.515045166016, 0, 0, 0);
  2366.     F_CreateObject(9833, -357.29507446289, 1560.3610839844, 74.487663269043, 0, 0, 0);
  2367.     F_CreateObject(2780, -351.83148193359, 1561.0290527344, 73.315689086914, 0, 0, 0);
  2368.     F_CreateObject(1337, -352.14584350586, 1558.8092041016, 78.571151733398, 0, 0, 0);
  2369.     F_CreateObject(1337, -348.37954711914, 1535.8812255859, 84.844459533691, 0, 0, 0);
  2370.     F_CreateObject(1337, -362.33212280273, 1537.6799316406, 84.949279785156, 0, 0, 0);
  2371.     F_CreateObject(3528, -359.66333007813, 1562.5083007813, 77.411003112793, 0, 0, 256);
  2372.     F_CreateObject(2933, -363.08023071289, 1542.6376953125, 76.278114318848, 0, 0, 276);
  2373.     F_CreateObject(2933, -364.01129150391, 1551.2557373047, 76.278114318848, 0, 0, 276);
  2374.     F_CreateObject(2933, -364.01617431641, 1559.7919921875, 76.278114318848, 0, 0, 86);
  2375.     F_CreateObject(2933, -361.92614746094, 1567.9985351563, 76.384201049805, 0, 0, 246);
  2376.     F_CreateObject(2933, -345.4020690918, 1553.5595703125, 76.278114318848, 0, 0, 252);
  2377.     F_CreateObject(2933, -343.98141479492, 1557.5615234375, 76.278114318848, 0, 0, 71.25);
  2378.     F_CreateObject(3506, 278.77011108398, 2533.1611328125, 15.817514419556, 0, 0, 0);
  2379.     F_CreateObject(3506, 262.37060546875, 2534.6694335938, 15.8046875, 0, 0, 0);
  2380.     F_CreateObject(2780, 278.82751464844, 2533.5600585938, 10.518598556519, 0, 0, 0);
  2381.     F_CreateObject(2780, 262.25033569336, 2534.4069824219, 10.894756317139, 0, 0, 0);
  2382.     F_CreateObject(8483, 268.33926391602, 2562.2556152344, 21.748514175415, 0, 0, 264);
  2383.     F_CreateObject(2933, 259.34887695313, 2538.240234375, 17.520301818848, 0, 0, 308);
  2384.     F_CreateObject(2933, 256.65194702148, 2546.0983886719, 17.520301818848, 0, 0, 270);
  2385.     F_CreateObject(2933, 256.95892333984, 2554.712890625, 17.528114318848, 0, 0, 88.25);
  2386.     F_CreateObject(2933, 277.75262451172, 2556.376953125, 17.082801818848, 0, 0, 308);
  2387.     F_CreateObject(2780, 267.04879760742, 2556.6193847656, 15.711269378662, 0, 0, 0);
  2388.     F_CreateObject(3528, 273.62457275391, 2555.4553222656, 17.931240081787, 0, 0, 268);
  2389.     F_CreateObject(9833, 270.52880859375, 2553.0383300781, 16.015043258667, 0, 0, 0);
  2390.     F_CreateObject(9833, 260.74880981445, 2553.9489746094, 15.836885452271, 0, 0, 0);
  2391.     F_CreateObject(1337, 266.67025756836, 2553.9694824219, 19.21395111084, 0, 0, 0);
  2392.     F_CreateObject(1337, 278.32992553711, 2533.2895507813, 24.118705749512, 0, 0, 0);
  2393.     F_CreateObject(1337, 262.03662109375, 2534.92578125, 23.773342132568, 0, 0, 0);
  2394.     F_CreateObject(1318, 273.40802001953, 2525.7790527344, 15.748092651367, 0, 90, 294);
  2395.     F_CreateObject(1318, 278.60760498047, 2517.2485351563, 15.598239898682, 0, 91.75, 312);
  2396.     F_CreateObject(1318, 284.77767944336, 2511.3793945313, 15.496709823608, 0.25662231445313, 91.477996826172, 317.99664306641);
  2397.     F_CreateObject(1318, 291.47698974609, 2506.8278808594, 15.432859420776, 0, 90, 331.5);
  2398.     F_CreateObject(987, 2411.7836914063, 1023.1135253906, 9.8129863739014, 0, 0, 91);
  2399.     F_CreateObject(987, 2411.658203125, 1035.1927490234, 9.8203125, 0, 0, 90);
  2400.     F_CreateObject(3749, 2359.5522460938, 993.45715332031, 15.608847618103, 0, 0, 270);
  2401.     F_CreateObject(987, 2358.5529785156, 984.97888183594, 3.7453136444092, 5.9963684082031, 270.21017456055, 87.989013671875);
  2402.     F_CreateObject(3506, 2355.845703125, 986.94854736328, 9.8203115463257, 10, 0, 48);
  2403.     F_CreateObject(3506, 2356.2814941406, 999.84191894531, 9.8125171661377, 356.06088256836, 10.02392578125, 77.695709228516);
  2404.     F_CreateObject(3528, 2356.7048339844, 993.48767089844, 18.643274307251, 0, 0, 180);
  2405.     F_CreateObject(3877, 2356.5246582031, 998.978515625, 11.486053466797, 0, 0, 0);
  2406.     F_CreateObject(3877, 2356.5029296875, 987.83099365234, 11.486053466797, 0, 0, 0);
  2407.     F_CreateObject(9833, 2356.0063476563, 987.81762695313, 6.0178260803223, 0, 0, 0);
  2408.     F_CreateObject(9833, 2356.1381835938, 999.01507568359, 5.3895015716553, 0, 0, 0);
  2409.     F_CreateObject(8483, 2392.244140625, 988.06439208984, 15.451639175415, 0, 0, 143.99996948242);
  2410.     F_CreateObject(2780, 2387.5466308594, 992.82305908203, 11.428023338318, 0, 0, 0);
  2411.     F_CreateObject(1337, 2386.1044921875, 993.83264160156, 12.666754722595, 0, 0, 0);
  2412.     F_CreateObject(3509, 2383.015625, 987.26330566406, 9.8203125, 0, 0, 36);
  2413.     F_CreateObject(3749, 2386.5212402344, 1045.3096923828, 13.728730201721, 0, 0, 0);
  2414.     F_CreateObject(9833, 2382.3715820313, 987.55352783203, 13.022855758667, 0, 0, 0);
  2415.     F_CreateObject(7392, 2394.189453125, 1011.4479980469, 18.040386199951, 0, 0, 14);
  2416.     F_CreateObject(3524, 2391.5266113281, 1041.4078369141, 12.705652236938, 0, 0, 0);
  2417.     F_CreateObject(3524, 2380.7302246094, 1041.1652832031, 12.705652236938, 0, 0, 0);
  2418.     F_CreateObject(1186, 2386.7958984375, 1043.5625, 13.325793266296, 0, 0, 0);
  2419.     F_CreateObject(2780, 2386.5285644531, 1042.6614990234, 6.5703125, 0, 0, 0);
  2420.     F_CreateObject(9833, 2391.1545410156, 1041.3366699219, 6.272855758667, 0, 0, 0);
  2421.     F_CreateObject(9833, 2380.6584472656, 1040.9912109375, 6.522855758667, 0, 0, 0);
  2422.     F_CreateObject(3877, 2391.5759277344, 1041.4102783203, 10.18603515625, 0, 0, 0);
  2423.     F_CreateObject(3877, 2380.7204589844, 1040.9912109375, 10.061063766479, 0, 0, 0);
  2424.     F_CreateObject(3528, 2393.6633300781, 1042.1906738281, 12.709495544434, 0, 0, 264);
  2425.     F_CreateObject(3528, 2378.4125976563, 1042.1584472656, 12.709495544434, 0, 0, 264);
  2426.     F_CreateObject(14608, 2386.025390625, 1042.3516845703, 18.641456604004, 0, 0, 138);
  2427.     F_CreateObject(1318, 2365.42578125, 993.16076660156, 9.7687969207764, 0, 270, 8.297607421875);
  2428.     F_CreateObject(1318, 2377.1967773438, 998.43127441406, 9.7687816619873, 0, 270, 34);
  2429.     F_CreateObject(1318, 2384.5522460938, 1008.2443847656, 9.7687931060791, 0, 270, 62);
  2430.     F_CreateObject(1318, 2386.8586425781, 1018.3565673828, 9.8187961578369, 359.99932861328, 93.999969482422, 264);
  2431.     F_CreateObject(1318, 2386.9270019531, 1027.8916015625, 9.7687931060791, 0, 90, 270);
  2432.     F_CreateObject(1318, 2387.6398925781, 1037.228515625, 9.8187847137451, 0, 90, 272);
  2433.     F_CreateObject(8397, 2625.7604980469, 420.29510498047, 0, 0, 0, 0);
  2434.     F_CreateObject(8397, 2631.3291015625, 517.12182617188, 0, 0, 0, 0);
  2435.     F_CreateObject(9076, 2633.845703125, 466.85806274414, 14.668462753296, 0, 0, 356);
  2436.     F_CreateObject(10166, 2548.2370605469, 380.39288330078, 2.7721176147461, 0, 0, 0);
  2437.     F_CreateObject(10166, 2574.7702636719, 583.39593505859, 5.7517051696777, 18, 0, 183.99998474121);
  2438.     F_CreateObject(10166, 2482.7534179688, 570.34204101563, 2.8465919494629, 12, 0, 178);
  2439.     F_CreateObject(10166, 2394.2138671875, 576.15594482422, 6.5002784729004, 16, 0, 190);
  2440.     F_CreateObject(10166, 2322.0415039063, 569.38348388672, 12.641418457031, 6, 0, 182);
  2441.     F_CreateObject(10166, 2227.4738769531, 579.03344726563, 9.2931632995605, 0, 0, 208);
  2442.     F_CreateObject(10166, 2142.2890625, 551.30505371094, 4.4078712463379, 14, 0, 358);
  2443.     F_CreateObject(10166, 2102.0539550781, 548.30596923828, 0.31325101852417, 8, 0, 8);
  2444.     F_CreateObject(10166, 2042.2109375, 589.01062011719, 2.2107543945313, 12, 0, 178);
  2445.     F_CreateObject(10166, 1946.7990722656, 555.23858642578, 2.8071670532227, 20, 0, 0);
  2446.     F_CreateObject(10166, 1881.1834716797, 560.6171875, 0.57744979858398, 10, 0, 0);
  2447.     F_CreateObject(10166, 1821.1790771484, 594.57421875, 6.6317863464355, 0, 0, 162);
  2448.     F_CreateObject(10166, 2473.8791503906, 393.73846435547, 4.3595733642578, 0, 0, 2);
  2449.     F_CreateObject(10166, 2405.0629882813, 396.99111938477, 4.2300720214844, 0, 0, 0);
  2450.     F_CreateObject(10166, 2341.9895019531, 403.28747558594, 5.183952331543, 0, 0, 0);
  2451.     F_CreateObject(10166, 2274.8671875, 384.07736206055, 1.4782180786133, 0, 358, 56);
  2452.     F_CreateObject(10166, 2063.4321289063, 408.19595336914, 6.0981178283691, 0, 0, 338);
  2453.     F_CreateObject(10166, 2011.4493408203, 422.68206787109, 5.1073303222656, 0, 0, 0);
  2454.     F_CreateObject(10166, 1924.0147705078, 424.31686401367, 6.5837440490723, 0, 0, 354);
  2455.     F_CreateObject(10166, 1832.29296875, 416.26373291016, 6.8611221313477, 0, 0, 332);
  2456.     F_CreateObject(10166, 1767.4509277344, 443.50369262695, 1.121898651123, 0, 0, 2);
  2457.     F_CreateObject(3511, 2570.1840820313, 417.23480224609, 4.9146738052368, 0, 0, 0);
  2458.     F_CreateObject(3511, 2552.2170410156, 423.96459960938, 4.5880284309387, 0, 0, 0);
  2459.     F_CreateObject(3511, 2529.7807617188, 424.80541992188, 1.6451462507248, 0, 0, 356);
  2460.     F_CreateObject(3511, 2502.720703125, 428.41638183594, 6.7944011688232, 0, 0, 0);
  2461.     F_CreateObject(3511, 2475.3273925781, 437.84768676758, 5.6210508346558, 0, 0, 0);
  2462.     F_CreateObject(3511, 2442.2465820313, 431.89135742188, 5.0969543457031, 0, 0, 0);
  2463.     F_CreateObject(3511, 2418.4113769531, 437.56781005859, 5.1166577339172, 0, 0, 0);
  2464.     F_CreateObject(3511, 2390.2509765625, 441.20709228516, 2.8256530761719, 0, 0, 0);
  2465.     F_CreateObject(3511, 2361.7375488281, 443.71478271484, 5.3154273033142, 0, 0, 0);
  2466.     F_CreateObject(3511, 2326.3937988281, 448.81161499023, 2.3149039745331, 0, 0, 0);
  2467.     F_CreateObject(3511, 2290.7622070313, 434.93579101563, 11.630075454712, 0, 0, 0);
  2468.     F_CreateObject(3511, 2116.9826660156, 404.87173461914, 12.269610404968, 0, 0, 0);
  2469.     F_CreateObject(3511, 2099.1318359375, 426.54104614258, 8.399112701416, 0, 0, 0);
  2470.     F_CreateObject(3511, 2076.4274902344, 440.93521118164, 15.252065658569, 0, 0, 0);
  2471.     F_CreateObject(3511, 2058.6635742188, 455.77005004883, 4.1641941070557, 0, 0, 0);
  2472.     F_CreateObject(3511, 2023.3955078125, 452.40142822266, 15.453443527222, 0, 0, 0);
  2473.     F_CreateObject(3511, 1996.9288330078, 459.39834594727, 10.763112068176, 0, 0, 0);
  2474.     F_CreateObject(3511, 1956.91796875, 454.57299804688, 9.9013509750366, 0, 0, 0);
  2475.     F_CreateObject(3511, 1924.0335693359, 457.68307495117, 17.345733642578, 0, 0, 0);
  2476.     F_CreateObject(3511, 1896.8841552734, 463.01727294922, 6.5451164245605, 0, 0, 0);
  2477.     F_CreateObject(3511, 1857.0255126953, 440.51440429688, 11.367567062378, 0, 0, 0);
  2478.     F_CreateObject(3511, 1832.5174560547, 454.37390136719, 14.416090965271, 0, 0, 0);
  2479.     F_CreateObject(3511, 1794.9757080078, 478.32025146484, 4.4286231994629, 0, 0, 0);
  2480.     F_CreateObject(3511, 1797.5543212891, 560.20556640625, 8.169282913208, 0, 0, 0);
  2481.     F_CreateObject(3511, 1829.4593505859, 558.46673583984, 16.372863769531, 0, 0, 0);
  2482.     F_CreateObject(3511, 1865.4145507813, 555.66741943359, 9.2222061157227, 0, 0, 0);
  2483.     F_CreateObject(3511, 1899.0986328125, 568.12036132813, 13.143820762634, 0, 0, 0);
  2484.     F_CreateObject(3511, 1931.7067871094, 553.03607177734, 10.121348381042, 0, 0, 0);
  2485.     F_CreateObject(3511, 1962.7359619141, 557.6376953125, 14.660898208618, 0, 0, 0);
  2486.     F_CreateObject(3511, 2016.6744384766, 555.53991699219, 12.483051300049, 0, 0, 0);
  2487.     F_CreateObject(3511, 2056.0637207031, 534.33355712891, 5.3448343276978, 0, 0, 0);
  2488.     F_CreateObject(3511, 2087.125, 544.3876953125, 8.9084224700928, 0, 0, 0);
  2489.     F_CreateObject(3511, 2145.3742675781, 554.49145507813, 13.826164245605, 0, 0, 0);
  2490.     F_CreateObject(3511, 2189.3815917969, 541.25274658203, 17.243453979492, 0, 0, 0);
  2491.     F_CreateObject(3511, 2237.419921875, 557.17309570313, 18.336442947388, 0, 0, 0);
  2492.     F_CreateObject(3511, 2297.0229492188, 537.60211181641, 18.652767181396, 0, 0, 0);
  2493.     F_CreateObject(3511, 2336.9802246094, 536.31237792969, 24.767910003662, 0, 0, 0);
  2494.     F_CreateObject(3511, 2367.8403320313, 543.39465332031, 16.432247161865, 0, 0, 0);
  2495.     F_CreateObject(3511, 2421.5915527344, 552.73431396484, 24.656433105469, 0, 0, 0);
  2496.     F_CreateObject(3511, 2459.1064453125, 534.78515625, 12.839143753052, 0, 0, 0);
  2497.     F_CreateObject(3511, 2498.7456054688, 535.6318359375, 16.866327285767, 0, 0, 0);
  2498.     F_CreateObject(3511, 2549.5541992188, 555.71978759766, 17.656455993652, 0, 0, 0);
  2499.     F_CreateObject(3511, 2596.03515625, 529.40069580078, 15.605860710144, 0, 0, 0);
  2500.     F_CreateObject(3511, 2576.447265625, 537.49713134766, 7.3557348251343, 0, 0, 0);
  2501.     F_CreateObject(3511, 2519.9770507813, 535.19763183594, 4.1395764350891, 0, 0, 0);
  2502.     F_CreateObject(9125, 2588.2414550781, 469.61547851563, 0, 0, 0, 356);
  2503.     F_CreateObject(9125, 2530.0510253906, 473.63003540039, 0, 0, 0, 356);
  2504.     F_CreateObject(9125, 2471.8146972656, 477.67639160156, 0, 0, 0, 356);
  2505.     F_CreateObject(9125, 2413.4919433594, 481.79965209961, 0, 0, 0, 356);
  2506.     F_CreateObject(9125, 2355.5498046875, 485.77725219727, 0, 0, 0, 356);
  2507.     F_CreateObject(9125, 2297.1838378906, 489.97659301758, 0, 0, 0, 356);
  2508.     F_CreateObject(9125, 2239.0502929688, 494.15509033203, 0, 0, 0, 356);
  2509.     F_CreateObject(9125, 2180.7307128906, 498.39926147461, 0, 0, 0, 356);
  2510.     F_CreateObject(9125, 2122.4833984375, 502.46151733398, 0, 0, 0, 356);
  2511.     F_CreateObject(9125, 2064.2712402344, 506.5290222168, 0, 0, 0, 356);
  2512.     F_CreateObject(9125, 2006.1655273438, 510.51138305664, 0, 0, 0, 356);
  2513.     F_CreateObject(9125, 1947.8975830078, 514.486328125, 0, 0, 0, 356);
  2514.     F_CreateObject(9125, 1889.8189697266, 518.19079589844, 0, 0, 0, 356);
  2515.     F_CreateObject(9125, 1831.6372070313, 522.25854492188, 0, 0, 0, 356);
  2516.     F_CreateObject(9123, 2549.8081054688, 472.35284423828, 5.25, 0, 0, 356);
  2517.     F_CreateObject(9123, 2498.5515136719, 477.75546264648, 6.0495500564575, 0, 0, 176);
  2518.     F_CreateObject(9123, 2442.0275878906, 481.50765991211, 5.5000019073486, 0, 0, 356);
  2519.     F_CreateObject(9123, 2389.7841796875, 484.39074707031, 5.6750044822693, 0, 0, 178);
  2520.     F_CreateObject(9123, 2335.8051757813, 486.94955444336, 5.5, 0, 0, 356);
  2521.     F_CreateObject(9123, 2281.5349121094, 490.46343994141, 5.8250012397766, 0, 0, 176);
  2522.     F_CreateObject(9123, 2226.9658203125, 495.41073608398, 5.5, 0, 0, 354);
  2523.     F_CreateObject(9123, 2173.9631347656, 500.12036132813, 5.5, 0, 0, 176);
  2524.     F_CreateObject(9123, 2120.9123535156, 503.57077026367, 7.25, 0, 0, 356);
  2525.     F_CreateObject(9123, 2067.6569824219, 507.18792724609, 7.3000001907349, 0, 0, 176);
  2526.     F_CreateObject(9123, 2013.0657958984, 510.69259643555, 7.5, 0, 0, 356);
  2527.     F_CreateObject(9123, 1959.6571044922, 513.65545654297, 6.75, 0, 0, 176);
  2528.     F_CreateObject(9123, 1906.978515625, 484.501953125, -23.402889251709, 0, 0, 0);
  2529.     F_CreateObject(9123, 1906.0804443359, 517.39929199219, 5.7750000953674, 0, 0, 356);
  2530.     F_CreateObject(9123, 1853.4638671875, 521.15368652344, 5.7499961853027, 0, 0, 176);
  2531.     F_CreateObject(1337, 2504.4990234375, 490.6123046875, -5.339916229248, 0, 0, 0);
  2532.     F_CreateObject(9088, 2545.8598632813, 517.49487304688, -15, 0, 0, 0);
  2533.     F_CreateObject(1337, 2427.9443359375, 470.638671875, -4.6081876754761, 0, 0, 0);
  2534.     F_CreateObject(1337, 2426.228515625, 470.5908203125, 6.7208995819092, 0, 0, 0);
  2535.     F_CreateObject(9088, 2477.1398925781, 524.21087646484, -13.75, 0, 0, 358);
  2536.     F_CreateObject(9088, 2404.6325683594, 529.30987548828, -15.573360443115, 0, 0, 0);
  2537.     F_CreateObject(9088, 2334.3415527344, 531.85314941406, -15.5, 0, 0, 0);
  2538.     F_CreateObject(9088, 2265.1008300781, 538.54760742188, -15.5, 0, 0, 356);
  2539.     F_CreateObject(9088, 2186.3515625, 544.42224121094, -16.426969528198, 0, 0, 356);
  2540.     F_CreateObject(9088, 2112.0224609375, 547.59185791016, -14.25, 0, 0, 0);
  2541.     F_CreateObject(9088, 2042.0919189453, 553.787109375, -15.25, 0, 0, 0);
  2542.     F_CreateObject(1337, 1957.126953125, 509.7333984375, -2.3583602905273, 0, 0, 0);
  2543.     F_CreateObject(9088, 1968.2275390625, 558.73254394531, -13.63659286499, 0, 0, 356);
  2544.     F_CreateObject(9088, 1898.8833007813, 563.34210205078, -15, 0, 0, 354);
  2545.     F_CreateObject(9088, 1829.7254638672, 569.24017333984, -15.75, 0, 0, 354);
  2546.     F_CreateObject(1655, 2534.1892089844, 473.51434326172, 0.97500050067902, 0, 0, 86);
  2547.     F_CreateObject(1655, 2426.5451660156, 482.54495239258, 0.92499983310699, 0, 0, 86);
  2548.     F_CreateObject(1655, 2320.4282226563, 487.76593017578, 0.87499970197678, 0, 0, 84);
  2549.     F_CreateObject(1655, 2210.6149902344, 497.25054931641, 0.94999980926514, 0, 0, 85);
  2550.     F_CreateObject(1655, 2104.2854003906, 505.08404541016, 0.92499971389771, 0, 0, 86);
  2551.     F_CreateObject(1655, 1995.9196777344, 512.19458007813, 0.95000004768372, 0, 0, 84);
  2552.     F_CreateObject(1655, 1889.6462402344, 518.34228515625, 0.92500007152557, 0, 0, 84);
  2553.     F_CreateObject(2780, 1996.4830322266, 511.95739746094, -1.2246901988983, 0, 0, 0);
  2554.     F_CreateObject(2780, 2104.0017089844, 505.17227172852, -1.8862700462341, 0, 0, 0);
  2555.     F_CreateObject(2780, 2210.0207519531, 497.32489013672, -2.2317228317261, 0, 0, 0);
  2556.     F_CreateObject(2780, 2320.5261230469, 488.08422851563, -2.3341772556305, 0, 0, 0);
  2557.     F_CreateObject(2780, 2427.3249511719, 483.23947143555, -2.343888759613, 0, 0, 0);
  2558.     F_CreateObject(2780, 2534.4812011719, 473.61929321289, -1.2972697019577, 0, 0, 0);
  2559.     F_CreateObject(2780, 1889.8137207031, 518.55181884766, -1.8179397583008, 0, 0, 0);
  2560.     F_CreateObject(3524, 1887.6923828125, 523.77075195313, 4.0773658752441, 0, 0, 64);
  2561.     F_CreateObject(3524, 1887.0750732422, 513.84771728516, 4.5174827575684, 0, 0, 90);
  2562.     F_CreateObject(3524, 1994.619140625, 517.50213623047, 3.3915853500366, 0, 0, 62);
  2563.     F_CreateObject(3524, 1993.2133789063, 507.61569213867, 4.4165682792664, 0, 0, 102);
  2564.     F_CreateObject(3524, 2103.296875, 510.01379394531, 4.1960821151733, 0, 0, 70);
  2565.     F_CreateObject(3524, 2101.5319824219, 500.27896118164, 3.9797444343567, 0, 0, 90);
  2566.     F_CreateObject(3524, 2209.6225585938, 502.14584350586, 4.3534426689148, 0, 0, 70);
  2567.     F_CreateObject(3524, 2208.3706054688, 492.55661010742, 4.1919283866882, 0, 0, 90);
  2568.     F_CreateObject(3524, 2319.2414550781, 492.79376220703, 4.2306632995605, 0, 0, 68);
  2569.     F_CreateObject(3524, 2317.7287597656, 483.0539855957, 4.0749225616455, 0, 0, 82);
  2570.     F_CreateObject(3524, 2425.5173339844, 487.63241577148, 3.9443726539612, 0, 0, 66);
  2571.     F_CreateObject(3524, 2424.8859863281, 477.8034362793, 3.9953713417053, 0, 0, 90);
  2572.     F_CreateObject(3524, 2532.74609375, 478.61920166016, 3.8717730045319, 0, 0, 82);
  2573.     F_CreateObject(3524, 2531.9187011719, 468.72906494141, 4.1129941940308, 0, 0, 90);
  2574.     F_CreateObject(3534, 2576.5439453125, 467.16491699219, 0, 0, 0, 0);
  2575.     F_CreateObject(3437, 2577.9580078125, 481.23153686523, 5.5, 0, 0, 0);
  2576.     F_CreateObject(3437, 2576.1550292969, 459.84661865234, 5.25, 0, 0, 2);
  2577.     F_CreateObject(3437, 2520.6762695313, 485.01321411133, 5.75, 0, 0, 0);
  2578.     F_CreateObject(3437, 2518.8515625, 463.51257324219, 5.25, 0, 0, 0);
  2579.     F_CreateObject(3437, 2462.4038085938, 489.28280639648, 5.25, 0, 0, 0);
  2580.     F_CreateObject(3437, 2460.9753417969, 467.7170715332, 5.75, 0, 0, 0);
  2581.     F_CreateObject(3437, 2403.9321289063, 493.37728881836, 5.25, 0, 0, 0);
  2582.     F_CreateObject(3437, 2402.7678222656, 471.74859619141, 5.75, 0, 0, 0);
  2583.     F_CreateObject(3437, 2345.7900390625, 496.91201782227, 5.6500043869019, 0, 0, 352);
  2584.     F_CreateObject(3437, 2344.2687988281, 476.04373168945, 5.4500017166138, 0, 0, 0);
  2585.     F_CreateObject(3437, 2287.5373535156, 501.67047119141, 5.75, 0, 0, 0);
  2586.     F_CreateObject(3437, 2285.8786621094, 479.57116699219, 5, 0, 0, 0);
  2587.     F_CreateObject(3437, 2229.7312011719, 505.38442993164, 5.5, 0, 0, 0);
  2588.     F_CreateObject(3437, 2228.1125488281, 484.47457885742, 5.75, 0, 0, 0);
  2589.     F_CreateObject(3437, 2171.4392089844, 509.84658813477, 5.25, 0, 0, 0);
  2590.     F_CreateObject(3437, 2169.3374023438, 488.4860534668, 5.5, 0, 0, 0);
  2591.     F_CreateObject(3437, 2112.6701660156, 514.04382324219, 5.4750018119812, 0, 0, 0);
  2592.     F_CreateObject(3437, 2111.5249023438, 492.83489990234, 4.925000667572, 0, 0, 0);
  2593.     F_CreateObject(3437, 2054.6362304688, 517.97546386719, 5.3999996185303, 0, 0, 0);
  2594.     F_CreateObject(3437, 2052.9230957031, 496.6969909668, 5.3500003814697, 0, 0, 0);
  2595.     F_CreateObject(3437, 1997.185546875, 521.84735107422, 5.3750023841858, 0, 0, 0);
  2596.     F_CreateObject(3437, 1994.3590087891, 500.14785766602, 5.5000047683716, 0, 0, 0);
  2597.     F_CreateObject(3437, 1938.5614013672, 525.71905517578, 5, 0, 0, 0);
  2598.     F_CreateObject(3437, 1936.7182617188, 504.70550537109, 5.6249995231628, 0, 0, 0);
  2599.     F_CreateObject(3437, 1880.2551269531, 529.79998779297, 5.25, 0, 0, 0);
  2600.     F_CreateObject(3437, 1878.8740234375, 508.67761230469, 5.5, 0, 0, 0);
  2601.     F_CreateObject(3437, 1821.9688720703, 533.52770996094, 5.5, 0, 0, 0);
  2602.     F_CreateObject(3437, 1820.8537597656, 512.48455810547, 5.25, 0, 0, 0);
  2603.     F_CreateObject(8397, 2561.7495117188, 511.12835693359, 9.5, 0, 0, 0);
  2604.     F_CreateObject(8397, 2557.0695800781, 437.69985961914, 8.75, 0, 0, 0);
  2605.     F_CreateObject(8397, 2422.1831054688, 465.01531982422, -36, 0, 0, 0);
  2606.     F_CreateObject(8397, 2423.4387207031, 495.87753295898, -37, 0, 0, 0);
  2607.     F_CreateObject(8397, 2326.2573242188, 502.10687255859, -33.25, 0, 0, 0);
  2608.     F_CreateObject(8397, 2324.2565917969, 473.78958129883, -33.75, 0, 0, 0);
  2609.     F_CreateObject(8397, 2324.255859375, 473.7890625, -33.75, 0, 0, 0);
  2610.     F_CreateObject(8397, 2209.5998535156, 509.75698852539, -33, 0, 0, 0);
  2611.     F_CreateObject(8397, 2208.0541992188, 483.58248901367, -34.25, 0, 0, 0);
  2612.     F_CreateObject(8397, 2095.8469238281, 518.10211181641, -32.75, 0, 0, 0);
  2613.     F_CreateObject(8397, 2092.2795410156, 491.2336730957, -32.75, 0, 0, 356);
  2614.     F_CreateObject(8397, 1977.3026123047, 526.10028076172, -32.75, 0, 0, 354);
  2615.     F_CreateObject(8397, 1975.1912841797, 499.00933837891, -32.5, 0, 0, 0);
  2616.     F_CreateObject(8397, 1859.8767089844, 534.19134521484, -33.75, 0, 0, 0);
  2617.     F_CreateObject(8397, 1859.5407714844, 506.90542602539, -34.25, 0, 0, 0);
  2618.     F_CreateObject(8397, 1788.7556152344, 539.23217773438, -30.75, 0, 0, 0);
  2619.     F_CreateObject(8397, 1787.9310302734, 512.36297607422, -32.25, 0, 0, 0);
  2620.     F_CreateObject(7392, 2441.7175292969, 518.86785888672, 7.8274230957031, 0, 0, 304);
  2621.     F_CreateObject(7073, 2374.2719726563, 440.75357055664, 19.191804885864, 0, 0, 16);
  2622.     F_CreateObject(8483, 2240.8444824219, 532.78448486328, 6.0654144287109, 0, 0, 312);
  2623.     F_CreateObject(354, 2245.5532226563, 525.65936279297, 3.9242310523987, 0, 0, 0);
  2624.     F_CreateObject(354, 2462.8911132813, 488.77105712891, 11.205239295959, 0, 0, 0);
  2625.     F_CreateObject(354, 2461.6806640625, 467.7802734375, 11.867916107178, 0, 0, 0);
  2626.     F_CreateObject(354, 2517.6130371094, 463.79296875, 11.367916107178, 0, 0, 0);
  2627.     F_CreateObject(354, 2520.3754882813, 485.12115478516, 11.867916107178, 0, 0, 0);
  2628.     F_CreateObject(354, 2575.3889160156, 460.33706665039, 11.320747375488, 0, 0, 0);
  2629.     F_CreateObject(354, 2576.6931152344, 481.08590698242, 11.617916107178, 0, 0, 0);
  2630.     F_CreateObject(354, 2404.9387207031, 492.86553955078, 11.217553138733, 0, 0, 0);
  2631.     F_CreateObject(354, 2404.1098632813, 471.78552246094, 11.600203514099, 0, 0, 0);
  2632.     F_CreateObject(354, 2346.4069824219, 496.71783447266, 11.767921447754, 0, 0, 0);
  2633.     F_CreateObject(354, 2344.4809570313, 475.98513793945, 11.567918777466, 0, 0, 0);
  2634.     F_CreateObject(354, 2287.7770996094, 501.61755371094, 11.867916107178, 0, 0, 0);
  2635.     F_CreateObject(354, 2285.9516601563, 479.48049926758, 11.117916107178, 0, 0, 0);
  2636.     F_CreateObject(354, 2229.99609375, 505.31820678711, 11.617916107178, 0, 0, 0);
  2637.     F_CreateObject(354, 2228.4875488281, 484.42047119141, 11.867916107178, 0, 0, 0);
  2638.     F_CreateObject(354, 2171.5168457031, 509.84115600586, 11.367916107178, 0, 0, 0);
  2639.     F_CreateObject(354, 2169.5114746094, 488.51232910156, 11.617916107178, 0, 0, 0);
  2640.     F_CreateObject(354, 2112.7397460938, 513.98187255859, 11.592918395996, 0, 0, 0);
  2641.     F_CreateObject(354, 2111.6987304688, 492.71002197266, 11.042917251587, 0, 0, 0);
  2642.     F_CreateObject(354, 2054.8005371094, 517.7470703125, 11.517915725708, 0, 0, 0);
  2643.     F_CreateObject(354, 2053.5478515625, 496.76742553711, 11.467916488647, 0, 0, 0);
  2644.     F_CreateObject(354, 1997.1135253906, 521.79797363281, 11.492918968201, 0, 0, 0);
  2645.     F_CreateObject(354, 1994.7946777344, 500.37127685547, 11.617921829224, 0, 0, 0);
  2646.     F_CreateObject(354, 1939.0729980469, 525.50854492188, 11.117916107178, 0, 0, 0);
  2647.     F_CreateObject(354, 1936.7946777344, 504.73571777344, 11.742916107178, 0, 0, 0);
  2648.     F_CreateObject(354, 1880.7108154297, 529.60992431641, 11.367916107178, 0, 0, 0);
  2649.     F_CreateObject(354, 1879.1403808594, 508.64813232422, 11.617916107178, 0, 0, 0);
  2650.     F_CreateObject(354, 1822.3244628906, 533.55474853516, 11.617916107178, 0, 0, 0);
  2651.     F_CreateObject(1337, 1799.4296875, 513.9052734375, -47.927146911621, 0, 0, 0);
  2652.     F_CreateObject(354, 1820.4522705078, 512.65081787109, 11.367916107178, 0, 0, 0);
  2653.     F_CreateObject(3877, 2599.6352539063, 459.66287231445, 7.843090057373, 0, 0, 0);
  2654.     F_CreateObject(3877, 2610.5532226563, 458.9211730957, 8.885009765625, 0, 0, 0);
  2655.     F_CreateObject(3877, 2602.1843261719, 478.86697387695, 8.0454578399658, 0, 0, 0);
  2656.     F_CreateObject(3877, 2613.9875488281, 478.81378173828, 9.0342044830322, 0, 0, 0);
  2657.     F_CreateObject(3877, 2626.4494628906, 458.94430541992, 9.4005928039551, 0, 0, 0);
  2658.     F_CreateObject(3877, 2628.5344238281, 476.41809082031, 10.064785003662, 0, 0, 0);
  2659.            
  2660.     //===<Skin Select>===//
  2661.     CreateObject(354, 1989.5054,1590.9010,21.7734, 0, 0, 0);
  2662.     CreateObject(354, 1993.7009,1588.5820,25.4071, 0, 0, 0);
  2663.     CreateObject(354, 1993.8315,1591.8240,17.4063, 0, 0, 0);
  2664.     //===<Skin Select>===//
  2665.  
  2666.     //===<Objects>===/
  2667.        
  2668.     //===<Cars>===//
  2669.     //Rob Van
  2670.     new Text3D:R3D;
  2671.     RobCar = CreateVehicle(498,2032.9965,1920.3116,12.3321,212.2954,0,3,60); // Robbery Van
  2672.     R3D = Create3DTextLabel( "{FF0000}Casino Money Van", 0xFF0000, 0, 0, 0, 40, 0, 0);
  2673.     Attach3DTextLabelToVehicle(R3D, RobCar, 0.0, 0.0, 2.0);
  2674.     Maverick = CreateVehicle(487,1691.3989,1581.6472,10.9899,22.2466,3,0,50);
  2675.     R3D = Create3DTextLabel( "{FF0000}Maverick Challange", 0xFF0000, 0, 0, 0, 40, 0, 0);
  2676.     Attach3DTextLabelToVehicle(R3D, Maverick, 0.0, 0.0, 2.0);
  2677.     Pboy = CreateVehicle(448,2084.2783,2221.5295,10.4205,223.2052,3,3, 60); // PIZZABOY
  2678.     R3D = Create3DTextLabel( "{FF0000}Pizza Delivery", 0xFF0000, 0, 0, 0, 40, 0, 0);
  2679.     Attach3DTextLabelToVehicle(R3D, Pboy, 0.0, 0.0, 2.0);
  2680.     Boat = CreateVehicle(473,2604.0217,468.6120,-0.2615,86.4897,0,3,50);
  2681.     R3D = Create3DTextLabel( "{FF0000}Boat Challange", 0xFF0000, 0, 0, 0, 40, 0, 0);
  2682.     Attach3DTextLabelToVehicle(R3D, Boat, 0.0, 0.0, 2.0);
  2683.    
  2684.    
  2685.     AddStaticVehicle(522,2185.1045,1983.3503,10.3877,89.0271,6,25); // banknrg
  2686.     AddStaticVehicle(522,2185.3918,2000.4523,10.3800,89.0516,6,25); // banknrg
  2687.     AddStaticVehicle(579,2171.4316,2000.2158,10.7589,89.9814,62,62); // bank huntley
  2688.     AddStaticVehicle(434,2152.3596,953.0513,10.7474,14.9023,4,4); // bank hotknife
  2689.     AddStaticVehicle(560,2152.7087,934.7925,10.5017,29.0691,41,29); // ammu sultan
  2690.     AddStaticVehicle(560,2075.9075,918.9919,8.5236,359.9779,33,0); // STRIT
  2691.     AddStaticVehicle(567,2038.9420,1046.2185,10.5413,359.0659,90,96); // STRIT
  2692.     AddStaticVehicle(409,2024.0161,1015.0364,10.5967,272.2634,0,0); // CASINO
  2693.     AddStaticVehicle(409,2024.0511,1000.3158,10.5883,277.2444,1,1); // CASINO
  2694.     AddStaticVehicle(463,2075.4285,1230.7277,10.2122,38.9435,6,2); // STRIT
  2695.     AddStaticVehicle(545,2039.2711,1372.8073,10.4830,180.9130,6,0); // STRIT
  2696.     AddStaticVehicle(468,2075.9810,1464.3860,10.3393,34.8506,2,1); // STRIT
  2697.     AddStaticVehicle(521,2040.2458,1548.8417,10.2431,141.2449,8,6); // STRIT
  2698.     AddStaticVehicle(434,2097.7112,1747.5726,10.6371,333.2737,0,0); // STRIT
  2699.     AddStaticVehicle(462,2119.0447,1893.4541,10.2709,179.8463,1,3); // STRIT
  2700.     AddStaticVehicle(471,2156.2419,2064.3733,10.1528,358.8469,1,0); // STRIT
  2701.     AddStaticVehicle(477,2118.9714,2059.3687,10.3704,359.7701,0,0); // strit
  2702.     AddStaticVehicle(559,2155.6218,2200.4207,10.2931,0.2361,80,82); // strit
  2703.     AddStaticVehicle(568,2119.0283,2168.5938,10.5376,181.3101,56,29); // strit
  2704.     AddStaticVehicle(600,2221.9958,957.3777,10.5318,181.5150,53,125); // ammuLV
  2705.     AddStaticVehicle(405,2142.2114,1019.4355,10.6953,90.2931,122,55); // castel
  2706.     AddStaticVehicle(470,2133.2334,1029.0621,10.8478,269.1327,121,24); // castel
  2707.     AddStaticVehicle(401,2142.2229,1006.5956,10.5993,88.8783,104,109); // castel
  2708.     AddStaticVehicle(401,2360.2683,985.1724,10.5996,268.9623,104,109); // GARAGE
  2709.     AddStaticVehicle(400,2488.3823,936.5880,10.9204,359.2473,35,105); // WEADDINGCHAPEL
  2710.     AddStaticVehicle(429,2504.6160,936.7513,10.4613,359.7076,0,1); // WEDINGCHAPEL
  2711.     AddStaticVehicle(600,2135.6008,1408.7242,10.5527,0.7525,50,125); // ROYALCASINO
  2712.     AddStaticVehicle(551,2120.2141,1397.9099,10.6130,2.1627,21,99); // ROYALCASINO
  2713.     AddStaticVehicle(400,2107.2756,1408.5295,10.9125,359.9622,60,22); // ROYALCASINO
  2714.     AddStaticVehicle(600,2590.0815,1037.7334,10.5348,85.4672,50,125); //  VACANCY
  2715.     AddStaticVehicle(600,2652.6011,1083.0765,10.5378,92.3289,50,125); //  GAZSTATION
  2716.     AddStaticVehicle(500,2622.7505,1166.0238,10.9326,268.0251,21,77); // GAZSTATION
  2717.     AddStaticVehicle(500,2561.7153,1385.6169,10.9217,270.0715,21,77); // STRIT
  2718.     AddStaticVehicle(603,2492.2119,1454.4662,10.6294,180.3584,121,57); // STRIT
  2719.     AddStaticVehicle(567,2490.9165,1418.8136,10.6190,90.3972,88,64); // MOTEL
  2720.     AddStaticVehicle(567,2227.8511,1514.9596,10.5944,270.6496,88,64); // CARTITEL
  2721.     AddStaticVehicle(480,2179.7227,1504.9894,10.5946,181.3160,112,43); // CASINO
  2722.     AddStaticVehicle(521,2447.2827,1266.6414,10.3849,178.7714,54,28); // STREET
  2723.     AddStaticVehicle(559,2399.7251,1629.9756,10.4767,180.1740,111,13); // LACONCA
  2724.     AddStaticVehicle(521,2383.8240,1630.5366,10.3914,179.2518,54,28); // LACONCA
  2725.     AddStaticVehicle(555,2364.6992,1652.7786,10.5029,89.8844,1,1); // LACONCA
  2726.     AddStaticVehicle(555,2397.1526,1676.9302,10.4919,356.0236,1,1); // LACONCA
  2727.     AddStaticVehicle(506,2443.1265,1628.5781,10.5249,268.8603,108,23); // LACONCA
  2728.     AddStaticVehicle(480,2602.9651,1833.6501,10.6054,269.9236,113,10); // CHINA
  2729.     AddStaticVehicle(405,2617.5603,1898.0934,10.7163,179.1710,113,71); // CHINA
  2730.     AddStaticVehicle(415,2624.6865,1898.0994,10.5791,182.2998,79,79); // CHINA
  2731.     AddStaticVehicle(429,2631.0449,1890.5181,10.4376,88.4642,166,0); // CHINA
  2732.     AddStaticVehicle(541,2631.4731,1871.0854,10.4173,86.5101,79,112); // CHINA
  2733.     AddStaticVehicle(420,2631.7502,1769.4495,10.5655,85.9287,0,0); // CHINA
  2734.     AddStaticVehicle(438,2631.2795,1759.4554,10.8160,91.3016,6,6); // CHINA
  2735.     AddStaticVehicle(438,2593.4392,1971.0684,10.8179,269.9125,6,6); // 24SEVEN
  2736.     AddStaticVehicle(565,2578.7275,1989.6158,10.4110,89.1118,6,6); // 24SEVEN
  2737.     AddStaticVehicle(565,2672.7278,1990.7358,10.3996,269.1102,6,6); // 24SEVEN
  2738.     AddStaticVehicle(457,2653.4177,1989.8816,10.4467,180.9727,182,182); // MOTEL
  2739.     AddStaticVehicle(457,2623.4102,2007.5023,10.4396,0.8715,182,182); // MOTEL
  2740.     AddStaticVehicle(424,2671.6543,1971.0065,10.5570,269.3399,124,90); // MOTEL
  2741.     AddStaticVehicle(579,2643.3030,2008.8142,10.6778,359.3108,75,5); // MOTEL
  2742.     AddStaticVehicle(579,2587.0981,2053.5962,10.7132,269.8613,75,5); // AMMU
  2743.     AddStaticVehicle(579,2589.1633,2070.9397,10.7376,268.3036,80,63); // AMMU
  2744.     AddStaticVehicle(579,2563.6018,2057.8589,10.6855,1.1700,80,63); // AMMU
  2745.     AddStaticVehicle(500,2482.1150,2154.7546,10.8412,91.5491,21,119); // CASINO
  2746.     AddStaticVehicle(429,2379.6277,2131.4895,10.4210,270.5204,11,122); // CASINO
  2747.     AddStaticVehicle(451,2360.6660,2166.0464,10.4356,179.1687,9,69); // CASINO
  2748.     AddStaticVehicle(560,2339.5134,2044.7234,10.3380,180.9998,1,1); // STREET
  2749.     AddStaticVehicle(555,2361.7253,2082.8052,10.3484,178.5409,73,20); // STREET
  2750.     AddStaticVehicle(555,2259.0442,2155.1460,10.4248,92.0594,73,20); // CASINOSTREET
  2751.     AddStaticVehicle(541,2217.9197,2132.0015,10.3686,90.2972,12,49); // CASINOSTREET
  2752.     AddStaticVehicle(409,2133.3176,2468.1240,10.5741,270.5224,1,1); // CARWASH
  2753.     AddStaticVehicle(504,2080.7751,2469.9536,10.5691,180.6697,0,144); // CARWASH
  2754.     AddStaticVehicle(405,2152.7021,2479.4749,10.6953,269.2563,122,96); // CARWASH
  2755.     AddStaticVehicle(405,2053.1460,2479.6570,10.6953,0.5749,122,96); // CARWASH
  2756.     AddStaticVehicle(405,1914.1681,2117.0686,10.6953,180.4307,122,96); // BURGER
  2757.     AddStaticVehicle(567,2124.0542,2369.2217,10.6198,180.0867,1,1); // CASINO
  2758.     AddStaticVehicle(567,2304.4487,2456.3110,10.6181,183.8294,1,1); // BANK
  2759.     AddStaticVehicle(560,1684.2455,2188.6589,10.5260,359.6994,37,0); // STEAKHOUSE
  2760.     AddStaticVehicle(560,1621.9342,2203.8914,12.2350,0.1050,37,0); // STEAKHOUSE
  2761.     AddStaticVehicle(525,1894.6710,1728.3187,10.6938,275.4799,30,20); // STREET
  2762.     AddStaticVehicle(525,1613.7987,2207.4397,10.6974,0.6551,30,20); // GAZSTATION
  2763.     AddStaticVehicle(525,1626.9916,2380.1453,10.6971,264.2717,30,20); // GAZSTATION
  2764.     AddStaticVehicle(533,2101.9705,2089.1484,10.5294,271.2091,73,0); // SHOPS
  2765.     AddStaticVehicle(560,2103.4146,2069.1511,10.5207,270.1448,33,0); // SHOPS
  2766.     AddStaticVehicle(533,1639.2498,2290.0874,10.5294,271.5881,73,0); // STREET
  2767.     AddStaticVehicle(533,1645.5859,2131.5142,10.9122,267.5564,73,0); // HOUSE
  2768.     AddStaticVehicle(533,1117.2601,2107.2422,10.5257,1.1544,73,0); // BURGER
  2769.     AddStaticVehicle(567,1031.8994,1920.3870,11.3244,88.9516,97,96); // HOUSE
  2770.     AddStaticVehicle(567,1022.9854,1315.8273,10.6937,146.3721,97,96); // STREET
  2771.     AddStaticVehicle(545,2168.8606,698.0213,11.0243,357.1187,36,99); // HOUSE
  2772.     AddStaticVehicle(443,2129.7339,891.2130,11.4258,179.5895,20,1); // GAZ
  2773.     AddStaticVehicle(490,2128.8193,731.6918,11.5880,0.2567,24,4); // HOUSE
  2774.     AddStaticVehicle(490,2057.3999,732.6342,11.5713,0.6018,24,4); // HOUSE
  2775.     AddStaticVehicle(490,2038.9053,668.0287,10.8709,268.2435,24,4); // HOUSE
  2776.     AddStaticVehicle(471,2130.2212,648.5420,10.9416,180.0255,73,1); // HOUSE
  2777.     AddStaticVehicle(471,2074.4646,678.0023,10.2223,90.6001,73,1); // HOUSE
  2778.     AddStaticVehicle(434,2211.4546,698.6827,11.2313,184.6232,0,0); // HOUSE
  2779.     AddStaticVehicle(434,2361.7195,728.0897,11.2376,357.7396,0,0); // HOUSE
  2780.     AddStaticVehicle(560,2368.4705,718.2136,10.4484,90.1731,37,0); // house
  2781.     AddStaticVehicle(560,2441.2461,654.9753,10.8464,86.4297,37,0); // HOUSE
  2782.     AddStaticVehicle(521,2172.4097,693.8915,11.0314,16.5497,7,6); // HOUSE
  2783.     AddStaticVehicle(495,1910.1169,707.6340,11.1172,357.8385,7,7); // STREET
  2784.     AddStaticVehicle(560,1935.9058,708.4189,10.5207,358.8835,7,7); // STREET
  2785.     AddStaticVehicle(411,2207.0518,1285.4049,10.5474,2.7385,7,7); // SFINKS
  2786.     AddStaticVehicle(451,2096.0154,1282.9172,10.5276,179.2501,6,78); // SFINKS
  2787.     AddStaticVehicle(522,2098.3286,1159.6714,11.2107,281.9408,6,78); // CASTEL
  2788.     AddStaticVehicle(522,2301.9038,1285.7505,67.0411,358.9706,6,78); // PIRAMID
  2789.     //===<Aztecas>===//
  2790.     AddStaticVehicle(482,1052.9658,1046.8433,10.3948,128.4306,2,2); // AztecasBurrito
  2791.     AddStaticVehicle(482,1124.3827,1102.0876,10.3622,307.5208,2,2); // AztecasBurrito
  2792.     AddStaticVehicle(492,1064.1696,1104.8240,10.0563,36.7979,2,0); // AztecasGreenwood
  2793.     AddStaticVehicle(492,1112.2030,1044.2891,10.0949,216.7936,2,0); // AztecasGreenwood
  2794.     AddStaticVehicle(600,1059.4843,1013.1640,10.7174,325.0071,2,0); // AztecasPicadoor
  2795.     AddStaticVehicle(600,1038.1825,1028.0746,10.7552,325.0070,2,0); // AztecasPicadoor
  2796.     AddStaticVehicle(554,1034.6201,1019.8383,11.1179,56.8618,0,2); // AztecasYoseMite
  2797.     AddStaticVehicle(554,1052.4731,1007.3049,11.0885,236.8629,0,2); // AztecasYoseMite
  2798.     AddStaticVehicle(468,1046.8738,1028.5686,10.6692,325.1941,2,2); // aztecassanchez
  2799.     AddStaticVehicle(468,1056.8918,1021.6047,10.6979,325.1838,2,2); // aztecassanchez
  2800.     AddStaticVehicle(461,1093.8585,1084.0348,10.6878,62.0226,2,2); // aztecaspcj
  2801.     AddStaticVehicle(461,1088.7268,1085.6407,10.6954,83.6727,2,2); // aztecaspcj
  2802.     AddStaticVehicle(461,1083.5223,1085.0648,10.6881,110.3420,2,2); // aztecaspcj
  2803.     AddStaticVehicle(579,1058.0977,1087.1283,10.1638,80.5115,2,2); // AZTECASHUNTLEY
  2804.     AddStaticVehicle(579,1095.1287,1102.2122,10.1056,261.2960,2,2); // AZTECASHUNTLEY
  2805.     AddStaticVehicle(580,1135.1965,1020.3359,10.7962,44.8219,2,2); // AZTECASSTAFFORD
  2806.     AddStaticVehicle(580,1017.6597,1082.5995,10.7962,264.1071,2,2); // AZTECASSTAFFORD
  2807.     AddStaticVehicle(487,1122.5316,1066.8735,10.7366,88.8179,2,0); // AZTECASMAVERICK
  2808.     AddStaticVehicle(487,1004.5244,1020.8220,50.9227,310.0769,2,0); // AZTECASMAVERICK
  2809.     //===<Aztecas>===//
  2810.    
  2811.    
  2812.     //===<Vagos>===//
  2813.     AddStaticVehicle(487,2565.3372,2295.2197,17.9983,87.8515,6,1); //
  2814.     AddStaticVehicle(482,2592.4207,2278.9871,10.9403,269.7264,6,1); //
  2815.     AddStaticVehicle(482,2611.9712,2279.4299,10.9393,90.1031,6,1); //
  2816.     AddStaticVehicle(492,2593.1382,2271.3872,10.6021,269.9178,6,0); //
  2817.     AddStaticVehicle(492,2612.5376,2271.1548,10.6021,88.3933,6,0); //
  2818.     AddStaticVehicle(579,2582.8245,2278.9131,10.7580,90.4154,6,1); //
  2819.     AddStaticVehicle(579,2564.3857,2279.7312,10.7566,268.9773,6,1); //
  2820.     AddStaticVehicle(554,2563.9158,2271.1016,10.9018,270.0862,1,6); //
  2821.     AddStaticVehicle(554,2582.6416,2271.4829,10.9030,89.8403,1,6); //
  2822.     AddStaticVehicle(600,2582.8030,2264.2407,10.5349,90.7740,6,1); //
  2823.     AddStaticVehicle(600,2592.4734,2264.1914,10.5390,269.2568,6,1); //
  2824.     AddStaticVehicle(580,2563.8438,2262.3972,10.6164,269.0841,6,1); //
  2825.     AddStaticVehicle(580,2564.2517,2249.0444,10.6129,269.6359,6,1); //
  2826.     AddStaticVehicle(468,2586.6833,2263.7166,10.7317,358.7308,6,1); //
  2827.     AddStaticVehicle(468,2588.3210,2263.8210,10.7311,355.7809,6,1); //
  2828.     AddStaticVehicle(461,2586.8035,2279.3235,10.6356,178.3689,6,6); //
  2829.     AddStaticVehicle(461,2588.4602,2279.3005,10.6470,181.3133,6,6); //
  2830.     AddStaticVehicle(487,2582.9048,2344.0144,47.6222,170.9252,1,6); //
  2831.     AddStaticVehicle(461,2587.9324,2272.1440,10.6455,91.2103,6,6); //
  2832.     //===<Vagos>===//
  2833.    
  2834.     //===<Grove>===//
  2835.     AddStaticVehicle(482,1541.2405,2215.1082,10.9439,0.0363,16,16); // GBURRITO
  2836.     AddStaticVehicle(482,1541.2500,2203.1995,10.9412,180.0353,16,16); // GBURRITO
  2837.     AddStaticVehicle(492,1534.5405,2203.4551,10.6022,180.0056,16,1); // ggreenwood
  2838.     AddStaticVehicle(492,1534.5393,2214.5159,10.6016,0.0041,16,1); // ggreenwood
  2839.     AddStaticVehicle(600,1527.6722,2214.4905,10.5351,0.5384,16,1); // gpicador
  2840.     AddStaticVehicle(600,1527.7734,2203.7781,10.5352,180.5366,16,1); // GPICADOR
  2841.     AddStaticVehicle(554,1503.1641,2203.0776,10.9055,181.1666,1,16); // GYOSEMITE
  2842.     AddStaticVehicle(554,1496.5985,2202.5061,10.9097,180.0895,1,16); // GYOSEMITE
  2843.     AddStaticVehicle(580,1489.6195,2203.0889,10.6142,180.9332,16,16); // STAFFORDG
  2844.     AddStaticVehicle(468,1492.5474,2269.2600,10.4870,2.6699,16,16); // gsanchez
  2845.     AddStaticVehicle(468,1502.4517,2269.7209,10.5165,2.6843,16,16); // gsanchez
  2846.     AddStaticVehicle(468,1512.0360,2270.1682,10.4816,2.6833,16,16); // gsanchez
  2847.     AddStaticVehicle(461,1519.1265,2268.4878,10.3911,359.8276,16,16); // PCJG
  2848.     AddStaticVehicle(461,1525.5420,2268.4590,10.3988,359.8231,16,16); // PCJG
  2849.     AddStaticVehicle(461,1536.1177,2268.4236,10.3938,359.8183,16,16); // PCJG
  2850.     AddStaticVehicle(487,1438.1993,2137.7002,33.1987,92.0814,16,1); // GMAVERICK
  2851.     AddStaticVehicle(487,1327.7303,2126.4436,13.8290,93.4488,16,1); // GMAVERICK
  2852.     //===<Grove>===//
  2853.    
  2854.     //===<Police>===//
  2855.     AddStaticVehicle(427,2282.3679,2445.6677,10.9521,357.6254,0,1); // CopEnf
  2856.     AddStaticVehicle(598,2273.4343,2444.0103,10.5647,359.2340,10,0); // police
  2857.     AddStaticVehicle(598,2260.8547,2444.1785,10.5964,359.2274,10,0); // police
  2858.     AddStaticVehicle(598,2251.9446,2444.2983,10.6066,359.2338,10,0); // police
  2859.     AddStaticVehicle(523,2251.8899,2460.4695,10.3867,357.1180,6,6); // cophpv
  2860.     AddStaticVehicle(523,2260.2358,2460.6904,10.3849,357.1312,6,6); // cophpv
  2861.     AddStaticVehicle(523,2272.6182,2460.0698,10.4044,357.1301,6,6); // cophpv
  2862.     AddStaticVehicle(523,2281.7046,2459.6143,10.4045,357.1302,6,6); // cophpv
  2863.     AddStaticVehicle(601,2282.2280,2476.0349,10.5790,177.6145,1,1); // policeshit
  2864.     AddStaticVehicle(601,2273.4370,2476.4014,10.5838,177.6145,1,1); // policeshit
  2865.     AddStaticVehicle(490,2260.1831,2476.8501,10.9487,179.1413,10,0); // ranch
  2866.     AddStaticVehicle(490,2251.2710,2476.9832,11.0161,179.1391,10,0); // ranch
  2867.     AddStaticVehicle(497,2276.5796,2475.7529,38.8605,185.8183,10,0); // copmav
  2868.     AddStaticVehicle(497,2283.6526,2476.4727,38.8476,185.8195,10,0); // copmav
  2869.     //===<Police>===//
  2870.    
  2871.     //===<JustCar>===//
  2872.     AddStaticVehicle(487,1663.5284,1624.4186,10.9969,173.6501,1,0); // apcar 1
  2873.     AddStaticVehicle(487,1683.9275,1625.5360,10.9967,179.3265,1,0); // apcar 2
  2874.     AddStaticVehicle(513,1666.6560,1559.2280,11.3537,50.5164,21,36); // apcar 3
  2875.     AddStaticVehicle(513,1650.2180,1520.9314,11.3345,19.6296,21,36); // apcar 4
  2876.     AddStaticVehicle(519,1609.6423,1633.1538,11.7417,183.3990,1,1); // apcar 5
  2877.     AddStaticVehicle(485,1649.1985,1609.5465,10.4810,179.9826,1,74); // apcar 6
  2878.     AddStaticVehicle(485,1642.7450,1608.8502,10.4837,182.7429,1,74); // apcar 7
  2879.     AddStaticVehicle(485,1705.4043,1617.3589,9.8834,115.0296,1,74); // apcar 8
  2880.     AddStaticVehicle(485,1700.4452,1602.0350,10.1303,33.8324,1,74); // apcar 9
  2881.     AddStaticVehicle(507,2040.2416,1561.3983,10.4995,316.9209,42,42); // streetcar
  2882.     AddStaticVehicle(507,2040.3198,1573.2382,10.4979,319.3454,16,16); // streetcar
  2883.     AddStaticVehicle(462,2039.7588,1588.3500,10.2698,318.2517,7,7); // streetcar
  2884.     AddStaticVehicle(409,2032.8422,1898.3826,11.9798,224.2074,1,1); // streetcar
  2885.     AddStaticVehicle(409,2032.9086,1933.8542,11.9845,322.2609,1,1); // streetcar
  2886.     AddStaticVehicle(522,2183.1345,1990.4309,10.3843,274.0282,3,3); // banktp
  2887.     AddStaticVehicle(522,2113.0813,2210.3604,10.3841,312.3795,3,3); // streetcar
  2888.     AddStaticVehicle(535,2115.2673,2221.8291,10.5805,266.0610,28,1); // streetcar
  2889.     //===<JustCars>===//
  2890.     //===<RaceCars>===//
  2891.     AddStaticVehicle(411,2055.1902,827.7049,6.4953,337.3109,123,1); // raceinf
  2892.     AddStaticVehicle(411,2062.7202,827.5786,6.4967,331.6197,3,3); // raceinf
  2893.     AddStaticVehicle(411,2070.3730,826.6891,6.5167,324.4020,16,16); // raceinf
  2894.     AddStaticVehicle(411,2078.3931,826.8777,6.5124,322.7655,0,0); // raceinf
  2895.     AddStaticVehicle(451,2040.3176,875.5217,6.7131,321.9885,16,16); // raceturis
  2896.     AddStaticVehicle(451,2040.1080,881.2894,6.8461,319.5622,30,30); // raceturis
  2897.     AddStaticVehicle(451,2040.0831,887.4911,7.0579,322.3413,1,1); // racetur
  2898.     AddStaticVehicle(451,2040.4934,894.0063,7.3098,317.7323,6,6); // racetur
  2899.     AddStaticVehicle(541,2074.3721,875.7031,6.4385,38.1432,6,6); // racebul
  2900.     AddStaticVehicle(541,2074.5715,881.4233,6.5658,40.3215,3,1); // racebul
  2901.     AddStaticVehicle(541,2074.1123,888.0969,6.8005,37.4175,2,6); // racebul
  2902.     AddStaticVehicle(541,2073.9893,894.0670,7.0296,38.8885,6,3); // racebul
  2903.     AddStaticVehicle(522,2061.3213,865.1382,6.3581,180.2521,0,3); // racenrg
  2904.     AddStaticVehicle(522,2061.2600,873.0324,6.5308,180.3663,2,6); // racenrg
  2905.     AddStaticVehicle(522,2061.5449,883.3460,6.7697,177.8281,8,3); // racenrg
  2906.     AddStaticVehicle(522,2062.0254,897.2454,7.2887,178.9466,19,145); // racenrg
  2907.     AddStaticVehicle(522,2053.1343,897.2110,7.2796,178.1090,14,156); // racenrg
  2908.     AddStaticVehicle(522,2052.6914,885.7004,6.8300,178.0872,2,148); // racenrg
  2909.     AddStaticVehicle(522,2052.2427,873.7217,6.5339,180.7085,3,0); // racenrg
  2910.     AddStaticVehicle(522,2052.2627,865.2321,6.3371,180.4173,6,169); // racenrg
  2911.    
  2912.     //===<WepPickUps>===//
  2913.     AddStaticPickup(372, 1, 288.1011,-79.9173,1001.5156, -1);
  2914.     Create3DTextLabel("{FF0000}Tec-9\n{FFFFFF}Cost: 8,000$", 0x008080FF, 288.1011,-79.9173,1001.5156, 40.0, 0, 0);
  2915.    
  2916.     AddStaticPickup(352, 1, 287.4467,-80.1422,1001.5156, -1);
  2917.     Create3DTextLabel("{FF0000}Micro Uzi\n{FFFFFF}Cost: 7,000$", 0x008080FF, 287.4467,-80.1422,1001.5156, 40.0, 0, 0);
  2918.    
  2919.     AddStaticPickup(353, 1, 289.4399,-78.3415,1001.5156, -1);
  2920.     Create3DTextLabel("{FF0000}MP5\n{FFFFFF}Cost: 7,000$", 0x008080FF, 289.4399,-78.3415,1001.5156, 40.0, 0, 0);
  2921.    
  2922.     AddStaticPickup(355, 1, 288.8438,-77.2875,1001.5156, -1);
  2923.     Create3DTextLabel("{FF0000}AK-47\n{FFFFFF}Cost: 15,000$", 0x008080FF, 288.8438,-77.2875,1001.5156, 40.0, 0, 0);
  2924.    
  2925.     AddStaticPickup(356, 1, 288.1211,-76.9581,1001.5156, -1);  
  2926.     Create3DTextLabel("{FF0000}M4\n{FFFFFF}Cost: 18,000$", 0x008080FF, 288.1211,-76.9581,1001.5156, 40.0, 0, 0);
  2927.    
  2928.     AddStaticPickup(350, 1, 286.8517,-77.3716,1001.5156, -1);  
  2929.     Create3DTextLabel("{FF0000}Sawn\n{FFFFFF}Cost: 16,000$", 0x008080FF, 286.8517,-77.3716,1001.5156, 40.0, 0, 0);
  2930.    
  2931.     AddStaticPickup(351, 1, 286.3811,-78.3823,1001.5156, -1);  
  2932.     Create3DTextLabel("{FF0000}Combat\n{FFFFFF}Cost: 15,000$", 0x008080FF, 286.3811,-78.3823,1001.5156, 40.0, 0, 0);
  2933.    
  2934.     AddStaticPickup(358, 1, 286.4582,-79.2329,1001.5156, -1);
  2935.     Create3DTextLabel("{FF0000}Sniper Rifle\n{FFFFFF}Cost: 35,000$", 0x008080FF, 286.4582,-79.2329,1001.5156, 40.0, 0, 0);
  2936.    
  2937.     AddStaticPickup(335, 1, 287.0665,-79.8753,1001.5156, -1);
  2938.     Create3DTextLabel("{FF0000}Knife\n{FFFFFF}Cost: 5,000$", 0x008080FF, 287.0665,-79.8753,1001.5156, 40.0, 0, 0);
  2939.    
  2940.     AddStaticPickup(331, 1, 288.9645,-79.6543,1001.5156, -1);
  2941.     Create3DTextLabel("{FF0000}Brass Knucles\n{FFFFFF}Cost: 2,000$", 0x008080FF, 288.9645,-79.6543,1001.5156, 40.0, 0, 0);
  2942.    
  2943.     //===<WepPickUps>===//
  2944.    
  2945.     //===SpecialWepPickUps
  2946.     AddStaticPickup(372, 1, 346.8743,307.5015,999.1557, -1);
  2947.     Create3DTextLabel("{FF0000}Flame Thrower\n{FFFFFF}Cost: 8,000$", 0x008080FF, 346.8743,307.5015,999.1557, 40.0, 0, 0);
  2948.    
  2949.     AddStaticPickup(372, 1, 347.4365,306.7889,999.1484, -1);
  2950.     Create3DTextLabel("{FF0000}Flame Thrower\n{FFFFFF}Cost: 8,000$", 0x008080FF, 347.4365,306.7889,999.1484, 40.0, 0, 0);  
  2951.    
  2952.     AddStaticPickup(372, 1, 348.7183,306.9443,999.1484, -1);
  2953.     Create3DTextLabel("{FF0000}Flame Thrower\n{FFFFFF}Cost: 8,000$", 0x008080FF, 348.7183,306.9443,999.1484, 40.0, 0, 0);
  2954.  
  2955.     AddStaticPickup(372, 1, 349.3866,308.1798,999.1484, -1);
  2956.     Create3DTextLabel("{FF0000}Flame Thrower\n{FFFFFF}Cost: 8,000$", 0x008080FF, 349.3866,308.1798,999.1484, 40.0, 0, 0);
  2957.  
  2958.  
  2959.     AddStaticPickup(372, 1, 348.3383,309.2481,999.1484, -1);
  2960.     Create3DTextLabel("{FF0000}Flame Thrower\n{FFFFFF}Cost: 8,000$", 0x008080FF, 348.3383,309.2481,999.1484, 40.0, 0, 0);  
  2961.  
  2962.     AddStaticPickup(372, 1, 347.0119,309.0049,999.1484, -1);
  2963.     Create3DTextLabel("{FF0000}Flame Thrower\n{FFFFFF}Cost: 8,000$", 0x008080FF, 347.0119,309.0049,999.1484, 40.0, 0, 0);  
  2964.  
  2965.  
  2966.     //===<Cars>===//
  2967.  
  2968.     //===<Pickups>===//
  2969.     //===<Aztecas>===//
  2970. //  AddStaticPickup(1242, 2, 1044.6282,1020.4583,11.4848, -1);
  2971. //  AddStaticPickup(1240, 2, 1049.8052,1016.3237,11.4770, -1);
  2972.     //===<Aztecas>===//
  2973.    
  2974.     //===<Vagos>===//
  2975. //  AddStaticPickup(1242, 2, 2630.5620,2327.2390,17.8203, -1);
  2976. //  AddStaticPickup(1240, 2, 2632.0569,2327.1184,17.8145, -1);
  2977.     //===<Vagos>===//
  2978.    
  2979.     //===<Grove>===//
  2980. //  AddStaticPickup(1242, 2, 1408.0526,2165.0483,12.0156, -1);
  2981. //  AddStaticPickup(1240, 2, 1408.1598,2163.4202,12.0156, -1);
  2982.     //===<Grove>===//
  2983.    
  2984.     //===<Police>===//
  2985. //  AddStaticPickup(1242, 2, 2291.8684,2463.5837,10.8203, -1);
  2986. //  AddStaticPickup(1240, 2, 2290.1978,2463.8972,10.8203, -1);
  2987.     //===<Police>===//
  2988.    
  2989.    
  2990.     //===<CTF>===//
  2991.     AztecasF = CreatePickup(2914, 1, 1045.8225,1016.4917,11.4848, -1);
  2992.     VagosF = CreatePickup(2914, 1, 2631.9868,2322.0452,17.8203, -1);
  2993.     GroveF = CreatePickup(2914, 1,1480.2485,2195.8704,20.9065 , -1);
  2994.     PoliceF = CreatePickup(2914, 1,2276.8689,2451.4712,10.8203 , -1);
  2995.    
  2996.     //===<CTF>===//
  2997.    
  2998.     //===<Interiors>===//
  2999.     BankEN = CreatePickup(19130 , 1,2193.3699,1991.0089,12.2969 , -1);
  3000.     BankEX = CreatePickup(19130, 1, -26.6187,-56.7042,1003.5469, -1);
  3001.     AmmuEN = CreatePickup(19130 , 1,2157.0842,943.4033,10.8203 ,-1);
  3002.     AmmuEX = CreatePickup(19130 , 1,285.8010,-84.5476,1001.5156 ,-1);
  3003. //  CasinoEN = CreatePickup(19130, 1, 2020.0505,1007.6211,10.8203, -1);
  3004. //  CasinoEX = CreatePickup(19130, 1, 1133.0416,-14.6955,1000.6797, -1);
  3005.  
  3006.     //===<Interiors>===//
  3007.     //===<3DTextLabels>===//
  3008.     Create3DTextLabel("{FF0000}Ammunation\n{FFFFFF}Entrance", 0x008080FF, 2157.0842,943.4033,10.8203, 40.0, 0, 0);
  3009.     Create3DTextLabel("{FF0000}Bank\n{FFFFFF}Entrance", 0x008080FF, 2193.3699,1991.0089,12.2969, 40.0, 0, 0);
  3010.     Create3DTextLabel("{FF0000}Ammunation\n{FFFFFF}Exit", 0x008080FF, 285.8010,-84.5476,1001.5156, 40.0, 0, 0);
  3011.     Create3DTextLabel("{FF0000}Bank\n{FFFFFF}Exit", 0x008080FF, -26.6187,-56.7042,1003.5469, 40.0, 0, 0);
  3012. //  Create3DTextLabel("{FF0000}Casino\n{FFFFFF}Entrance", 0x008080FF, 2020.0505,1007.6211,10.8203, 40.0, 0, 0);
  3013. //  Create3DTextLabel("{FF0000}Casino\n{FFFFFF}Exit", 0x008080FF, 1133.0416,-14.6955,1000.6797, 40.0, 0, 0);
  3014.    
  3015.     //boat
  3016.     new Be[] = "{FF0000}Boat Challange\n{ffffff}In This Challange, You Need To Pass Obstacles And Ramps With A Small Boat.\nYou'll Get 2,500$ For Finishing It\n{ffff00}Good Luck!";
  3017.     Create3DTextLabel(Be, 0x008080FF, 2003.2058,1541.6832,13.5859, 40.0, 0, 0);
  3018.     new Bh[] = "{FF0000}אתגר הסירה\n{ffffff}באתגר זה, תצטרך לעבור מכשולים ורמפות עם סירה קטנה\nאתה תקבל 2,500$ אם תסיים אותו!\n{ffff00}בהצלחה!";
  3019.     Create3DTextLabel(Bh, 0x008080FF, 2003.0270,1547.1293,13.5859, 40.0, 0, 0);
  3020.     new Pe[] = "{FF0000}Pizza Delivery\n{ffffff}In This Mission, You'll Have To Deliver\nPizza,Every Time\nTo Another Place\nIf You'll Deliver It On Time, You'll Get\n2,500$\n{ffff00}Good Luck!";
  3021.     Create3DTextLabel(Pe, 0x008080FF, 2086.8240,2221.6465,10.8203, 40.0, 0, 0);
  3022.     new Ph[] = "{FF0000}משלוח פיצה\n{ffffff}במשימה זאת, תצטרך להעביר\nהזמנת פיצה, כל פעם\nלכתובת אחרת.\nבמידה ותצליח להעביר את המשלוח בזמן,\nתקבל 2,500$\n{ffff00}בהצלחה!";
  3023.     Create3DTextLabel(Ph, 0x008080FF, 2084.1948,2215.4363,10.8203, 40.0, 0, 0);
  3024.     new Ce[] = "{FF0000}Casino Robbery\n{ff00ff}For Gangsters:\n{ffffff}You Are Able To Do This Mission Only Once Each Login\nIn This Mission, You Have To Deliver The Van\nTo The Garage Markered On The Map!\nIf You Deliver It On Time, You'll Get 10,000!\n{0000ff}For Cops:\n{ffffff}In This Mission\nYou Have To Prevent The Van From Being Delivered\nArrest Those Who Are Trying To Deliver It\nBy Getting Them Out Of It.\nIf You'll Arrest A Gangster, You'll Get 10,000$!\n{FFFF00}Good Luck!";
  3025.     Create3DTextLabel(Ce, 0x008080FF, 2031.0372,1913.3514,12.3079, 40.0, 0, 0);
  3026.     new Ch[] = "{FF0000}שדידת הקזינו\n{ff00ff}הסבר לגנגסטרים:\n{ffffff}ניתן לעשות משימה זו רק פעם אחת כל התחברות\nבמשימה זו, תצטרכו להעביר את הוואן\nלמוסך המסומן על המפה\nאם תצליחו להעביר אותו בזמן, תקבלו 10,000$\n{0000ff}הסבר לשוטרים:\n{ffffff}במשימה זו, תצטרכו למנוע את העברת הוואן למוסך\nעצרו את כל מי שמנסה להעביר אותו\nעל ידי כך שתוציאו אותו מהוואן\nאם תעצור גנגסטר, תקבל 10,000$\n{FFFF00}בהצלחה!";
  3027.     Create3DTextLabel(Ch, 0x008080FF, 2031.0319,1907.5898,12.2685, 40.0, 0, 0);
  3028.     new Me[] = "{FF0000}Maverick Mission\n{ffffff}In This Mission, You'll Need To\nTransfer And Helicopter To The Heliport\nNear The Police Station.\nIf You'll Do That On Time, You'll Get 2.500$\n{ffff00}Good Luck!"
  3029.     Create3DTextLabel(Me, 0x008080FF, 1683.3773,1581.0808,10.8203, 40.0, 0, 0);
  3030.     new Mh[] = "{FF0000}משימת המסוק\n{ffffff}במשימה זאת,תצטרכו להעביר מסוק למנחת המסוקים הקרוב לתחנת המשטרה\nאם תצליחו לעשות זאת בזמן\nתקבלו 2,500$\n{ffff00}בהצלחה!"
  3031.     Create3DTextLabel(Mh, 0x008080FF, 1690.1625,1586.6245,10.8203, 40.0, 0, 0);
  3032.     new Re[] = "{FF0000}Race On Time\n{ffffff}In This Race, You'll Have 150 Seconds\nTo Complete A Course Around LV!\nIf You'll Do That On Time, You'll Get 2,500$!\n{ffff00}Good Luck!"
  3033.     Create3DTextLabel(Re, 0x008080FF, 2060.7439,855.1786,6.7344, 40.0, 0, 0);
  3034.     new Rh[] = "{FF0000}מירוץ על זמן\n{ffffff}במירוץ, תקבלו 150 שניות\nעל מנת להשלים מסלול מסביב ל LV\nאם תשלימו אותו בזמן, תקבלו 2,500$\n{ffff00}בהצלחה!"
  3035.     Create3DTextLabel(Rh, 0x008080FF, 2054.3267,855.1053,6.7344, 40.0, 0, 0);
  3036.     //===<3DTextLabels>===//   
  3037.     //===<Pickups>===//
  3038.     //===<CheckPoints>===//
  3039.     AztecasCP = CPS_AddCheckpoint(1043.7030,1013.4218,11.4770,2.5,100);
  3040.     VagosCP = CPS_AddCheckpoint(2640.2461,2327.9741,17.8203,2.5,100);
  3041.     GroveCP = CPS_AddCheckpoint(1410.7333,2148.2756,12.0156,2.5,100);
  3042.     PoliceCP = CPS_AddCheckpoint(2295.1011,2459.7690,10.8203,2.5,100);
  3043.     BankCP = CPS_AddCheckpoint(-22.1417,-54.8981,1003.5469,2.5,100);
  3044.     AmmuCP = CPS_AddCheckpoint(287.8441,-78.5290,1001.5156,2.5,100);
  3045.     RobCP = CPS_AddCheckpoint(2386.5415,1048.3719,10.8864,2.5,100);
  3046.     BoatCP = CPS_AddCheckpoint(1998.3970,1544.3629,14.3569,2.5,100);
  3047.     RaceCP = CPS_AddCheckpoint(2057.5154,855.2244,6.7344,2.5,100);
  3048.     SWShopCP = CPS_AddCheckpoint(347.8395,308.0158,999.1484, 2.5, 100);
  3049. //  Roulette = CPS_AddCheckpoint( 1120.6879,-1.8649,1000.6797, 2.5, 100);
  3050. //  Blackjack = CPS_AddCheckpoint( 1130.7194,-1.4117,1000.6797, 2.5, 100);
  3051. //  Create3DTextLabel("{FF0000}Casino\n{FFFFFF}BlackJack!\n", 0x008080FF, 1130.7194,-1.4117,1000.6797, 40.0, 0, 0);
  3052. //  Create3DTextLabel("{FF0000}Casino\n{FFFFFF}Roulette!\n", 0x008080FF, 1120.6879,-1.8649,1000.6797, 40.0, 0, 0);
  3053.     //===<CheckPoints>===//
  3054.     //===<Gang Zones>===//
  3055.     AztecasZ = GangZoneCreate(943.4327, 966.5375, 1154.294, 1171.545);
  3056.     GroveZ = GangZoneCreate(1224.582, 2057.332, 1482.302, 2266.208);
  3057.     VagosZ = GangZoneCreate(2501.467, 2227.527, 2669.375, 2451.875);
  3058.     PoliceZ = GangZoneCreate(2208.603, 2401.59, 2345.273, 2509.896);
  3059.     //===<Gang Zones>===//
  3060.    
  3061.     //
  3062.     TdX1 = TextDrawCreate(22, 294, "Blue-F");
  3063.     TextDrawAlignment(TdX1, 1);
  3064.     TextDrawFont(TdX1, 0);
  3065.     TextDrawLetterSize(TdX1, 1, 3);
  3066.     TextDrawColor(TdX1, 0x0000FFFF);
  3067.     TextDrawSetShadow(TdX1, 2);
  3068.    
  3069.     TdX2 = TextDrawCreate(24, 323, "DucKs TDM v0.1b~n~Beta");
  3070.     TextDrawAlignment(TdX2, 1);
  3071.     TextDrawFont(TdX2, 1);
  3072.     TextDrawLetterSize(TdX2, 0.33333333333333, 1);
  3073.     TextDrawColor(TdX2, 0xFFFFFFAA);
  3074.     //house system
  3075.     FadeInit();
  3076. //  SetUpSWShop();
  3077. //  SetTimer("SetUpSWShop", 1000*60*10, 1);
  3078.     return 1;
  3079. }
  3080. //===<OnGameModeInit>===//
  3081.  
  3082. public OnGameModeExit()
  3083. {
  3084.     DOF2_SaveFile();
  3085.     for(new i; i<sizeof(PropVar)+1; i++)
  3086.     {
  3087.         DestroyPickup(Pu[i]);
  3088.         Delete3DTextLabel(Pt[i]);
  3089.     }
  3090.     KillTimer(SpeedUpdateTimer);
  3091.     for(new i=0; i<19; i++)
  3092.     {
  3093.         TextDrawHideForAll(HealthBar[i]);
  3094.         TextDrawDestroy(HealthBar[i]);
  3095.     }
  3096.     FadeExit();
  3097.     return 1;
  3098. }
  3099.  
  3100. //===<OnPlayerEnterCheckPoint>===//
  3101. public OnPlayerEnterCheckpoint(playerid)
  3102. {
  3103.     Points[0] = DOF2_GetInt(TeamPF(), "GroveP");
  3104.     Points[1] = DOF2_GetInt(TeamPF(), "AztecasP");
  3105.     Points[2] = DOF2_GetInt(TeamPF(), "VagosP");
  3106.     Points[3] = DOF2_GetInt(TeamPF(), "PoliceP");
  3107.     AntiDeAMX();
  3108.     if(CPS_IsPlayerInCheckpoint(playerid, SWShopCP))
  3109.     {
  3110.         new listitems[] = "{FF0000}FlameThrower(8,000$)\n{FFFFFF}ChainSaw(7,000$)";
  3111.         ShowPlayerDialog(playerid,Weapon,DIALOG_STYLE_LIST, "{FFFFFF}Ammunation",listitems,"Select","Cancel")
  3112.     }
  3113.     if(CPS_IsPlayerInCheckpoint(playerid, RaceCP))
  3114.     {
  3115.         if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "{FF00FF}Race On Time: {FFFFFF}You Are Not In A Vehicle");
  3116.         if(RaceActive == 1) return SendClientMessage(playerid, -1, "{FF00FF}Race On Time: {FFFFFF}Someone Is Already In The Race!");
  3117.         InROT[playerid] = 1;
  3118.         RaceActive = 1;
  3119.         SetVehiclePos(GetPlayerVehicleID(playerid), 2026.7345,852.3526,6.4600);
  3120.         SetVehicleZAngle(GetPlayerVehicleID(playerid), 90.00);
  3121.         SetPlayerRaceCheckpoint(playerid, 0, 1836.8586,852.3408,9.7648,1312.6824,881.9849,6.5395 , 5); // show FIRST
  3122.         PlayerCD(playerid,150);
  3123.         new Rmsg[256];
  3124.         format(Rmsg, sizeof(Rmsg), "The Player %s Has Started The Race On Time! He Has 150 Sec To Finish It", GetName(playerid));
  3125.         SendClientMessageToAll(0xFFFF00, Rmsg);
  3126.     }
  3127.     if(CPS_IsPlayerInCheckpoint(playerid, AztecasCP))
  3128.     {
  3129.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas"))
  3130.         {
  3131.                         if(Flag[playerid] == 1)
  3132.                         {
  3133.                             RemovePlayerAttachedObject(playerid,3);
  3134.                             GroveF = CreatePickup(2914, 1, 1480.2485,2195.8704,20.9065, 0);
  3135.                             Flag[playerid] = 0;
  3136.                            // SetPlayerMapIcon( playerid, 10,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3137.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove", true))
  3138.                             {
  3139.                                 new cmsg[256];
  3140.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Grove Street Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3141.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3142.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3143.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3144.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3145.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3146.                                 DGivePlayerMoney(playerid, 100); //grove 0 aztecas 1 vagos 2 police 3
  3147.                                 new ts[256];
  3148.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3149.                                 TextDrawSetString(Result,ts);
  3150.                             }
  3151.                             else
  3152.                             {
  3153.                                 new cmsg[256];
  3154.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3155.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3156.                             }
  3157.  
  3158.  
  3159.                         }
  3160.                         if(Flag[playerid] == 2)
  3161.                         {
  3162.                             Flag[playerid] = 0;
  3163.                             RemovePlayerAttachedObject(playerid,3);
  3164.                             VagosF = CreatePickup(2914, 1, 2631.9868,2322.0452,17.8203, 0);
  3165.                            // SetPlayerMapIcon( playerid, 11,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3166.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos", true))
  3167.                             {
  3168.                                 new cmsg[256];
  3169.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Vagos Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3170.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3171.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3172.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3173.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3174.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3175.                                 DGivePlayerMoney(playerid, 100);
  3176.                                 new ts[256];
  3177.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3178.                                 TextDrawSetString(Result,ts);
  3179.                             }
  3180.                             else
  3181.                             {
  3182.                                 new cmsg[256];
  3183.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3184.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3185.                             }
  3186.                         }
  3187.                         if(Flag[playerid] == 3)
  3188.                         {
  3189.                             Flag[playerid] = 0;
  3190.                             RemovePlayerAttachedObject(playerid,3);
  3191.                             AztecasF = CreatePickup(2914, 1, 1045.8225,1016.4917,11.4848, 0);
  3192.                   //          SetPlayerMapIcon( playerid, 12,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3193.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas", true))
  3194.                             {
  3195.                                 new cmsg[256];
  3196.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Aztecas Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3197.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3198.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3199.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3200.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3201.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3202.                                 DGivePlayerMoney(playerid, 100);
  3203.                                 new ts[256];
  3204.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3205.                                 TextDrawSetString(Result,ts);
  3206.                             }
  3207.                             else
  3208.                             {
  3209.                                 new cmsg[256];
  3210.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3211.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3212.                             }
  3213.                         }
  3214.                         if(Flag[playerid] == 4)
  3215.                         {
  3216.                             Flag[playerid] = 0;
  3217.                             RemovePlayerAttachedObject(playerid,3);
  3218.                             PoliceF = CreatePickup(2914, 1,2276.8689,2451.4712,10.8203 , -1);
  3219.                          //   SetPlayerMapIcon( playerid, 13,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3220.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true))
  3221.                             {
  3222.                                 new cmsg[256];
  3223.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Police Team", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3224.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3225.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3226.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3227.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3228.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3229.                                 DGivePlayerMoney(playerid, 100);
  3230.                                 new ts[256];
  3231.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3232.                                 TextDrawSetString(Result,ts);
  3233.                             }
  3234.                             else
  3235.                             {
  3236.                                 new cmsg[256];
  3237.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3238.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3239.                             }
  3240.                         }
  3241.                         if(Flag[playerid] == 5)
  3242.                         {
  3243.                             if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas", true))
  3244.                             {
  3245.                                 Fhidden = 0;
  3246.                                 Flag[playerid] = 0;
  3247.                                 RemovePlayerAttachedObject(playerid,3);
  3248.                                 new cmsg[256];
  3249.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team Aztecas Captured The Hidden Flag And Got 3 Bonus Points And 1000$", GetName(playerid));
  3250.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3251.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+3);
  3252.                                 Points[1]+=3;
  3253.                                 DOF2_SetInt(TeamPF(), "AztecasP", DOF2_GetInt(TeamPF(), "AztecasP")+3);
  3254.                                 DOF2_SaveFile();
  3255.                                 DGivePlayerMoney(playerid, 1000);
  3256.                                 new ts[256];
  3257.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3258.                                 TextDrawSetString(Result,ts);
  3259.                             }
  3260.                         }
  3261.         }
  3262.     }
  3263.     if(CPS_IsPlayerInCheckpoint(playerid, VagosCP))
  3264.     {
  3265.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos"))
  3266.         {
  3267.                         if(Flag[playerid] == 1)
  3268.                         {
  3269.                             RemovePlayerAttachedObject(playerid,3);
  3270.                             GroveF = CreatePickup(2914, 1, 1480.2485,2195.8704,20.9065, 0);
  3271.                             Flag[playerid] = 0;
  3272.                            // SetPlayerMapIcon( playerid, 10,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3273.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove", true))
  3274.                             {
  3275.                                 new cmsg[256];
  3276.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Grove Street Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3277.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3278.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3279.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3280.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3281.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3282.                                 DGivePlayerMoney(playerid, 100);
  3283.                                 new ts[256];
  3284.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3285.                                 TextDrawSetString(Result,ts);
  3286.                             }
  3287.                             else
  3288.                             {
  3289.                                 new cmsg[256];
  3290.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3291.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3292.                             }
  3293.  
  3294.  
  3295.                         }
  3296.                         if(Flag[playerid] == 2)
  3297.                         {
  3298.                             Flag[playerid] = 0;
  3299.                             RemovePlayerAttachedObject(playerid,3);
  3300.                             VagosF = CreatePickup(2914, 1, 2631.9868,2322.0452,17.8203, 0);
  3301.                            // SetPlayerMapIcon( playerid, 11,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3302.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos", true))
  3303.                             {
  3304.                                 new cmsg[256];
  3305.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Vagos Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3306.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3307.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3308.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3309.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3310.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3311.                                 DGivePlayerMoney(playerid, 100);
  3312.                                 new ts[256];
  3313.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3314.                                 TextDrawSetString(Result,ts);
  3315.                             }
  3316.                             else
  3317.                             {
  3318.                                 new cmsg[256];
  3319.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3320.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3321.                             }
  3322.                         }
  3323.                         if(Flag[playerid] == 3)
  3324.                         {
  3325.                             Flag[playerid] = 0;
  3326.                             RemovePlayerAttachedObject(playerid,3);
  3327.                             AztecasF = CreatePickup(2914, 1, 1045.8225,1016.4917,11.4848, 0);
  3328.                   //          SetPlayerMapIcon( playerid, 12,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3329.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas", true))
  3330.                             {
  3331.                                 new cmsg[256];
  3332.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Aztecas Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3333.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3334.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3335.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3336.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3337.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3338.                                 DGivePlayerMoney(playerid, 100);
  3339.                                 new ts[256];
  3340.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3341.                                 TextDrawSetString(Result,ts);
  3342.                             }
  3343.                             else
  3344.                             {
  3345.                                 new cmsg[256];
  3346.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3347.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3348.                             }
  3349.                         }
  3350.                         if(Flag[playerid] == 4)
  3351.                         {
  3352.                             Flag[playerid] = 0;
  3353.                             RemovePlayerAttachedObject(playerid,3);
  3354.                             PoliceF = CreatePickup(2914, 1,2276.8689,2451.4712,10.8203 , -1);
  3355.                          //   SetPlayerMapIcon( playerid, 13,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3356.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true))
  3357.                             {
  3358.                                 new cmsg[256];
  3359.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Police Team", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3360.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3361.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3362.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3363.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3364.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3365.                                 DGivePlayerMoney(playerid, 100);
  3366.                                 new ts[256];
  3367.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3368.                                 TextDrawSetString(Result,ts);
  3369.                             }
  3370.                             else
  3371.                             {
  3372.                                 new cmsg[256];
  3373.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3374.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3375.                             }
  3376.                         }
  3377.                         if(Flag[playerid] == 5)
  3378.                         {
  3379.                             if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos", true))
  3380.                             {
  3381.                                 Fhidden = 0;
  3382.                                 Flag[playerid] = 0;
  3383.                                 RemovePlayerAttachedObject(playerid,3);
  3384.                                 new cmsg[256];
  3385.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team Vagos Captured The Hidden Flag And Got 3 Bonus Points And 1000$", GetName(playerid));
  3386.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3387.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+3);
  3388.                                 Points[2]+=3;
  3389.                                 DOF2_SetInt(TeamPF(), "VagosP", DOF2_GetInt(TeamPF(), "VagosP")+3);
  3390.                                 DOF2_SaveFile();
  3391.                                 DGivePlayerMoney(playerid, 1000);
  3392.                                 new ts[256];
  3393.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3394.                                 TextDrawSetString(Result,ts);
  3395.                             }
  3396.                         }
  3397.         }
  3398.     }
  3399.     if(CPS_IsPlayerInCheckpoint(playerid, GroveCP))
  3400.     {
  3401.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove"))
  3402.         {
  3403.                         if(Flag[playerid] == 1)
  3404.                         {
  3405.                             RemovePlayerAttachedObject(playerid,3);
  3406.                             GroveF = CreatePickup(2914, 1, 1480.2485,2195.8704,20.9065, 0);
  3407.                             Flag[playerid] = 0;
  3408.                            // SetPlayerMapIcon( playerid, 10,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3409.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove", true))
  3410.                             {
  3411.                                 new cmsg[256];
  3412.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Grove Street Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3413.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3414.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3415.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3416.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3417.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3418.                                 DGivePlayerMoney(playerid, 100);
  3419.                                 new ts[256];
  3420.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3421.                                 TextDrawSetString(Result,ts);
  3422.                             }
  3423.                             else
  3424.                             {
  3425.                                 new cmsg[256];
  3426.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3427.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3428.                             }
  3429.  
  3430.  
  3431.                         }
  3432.                         if(Flag[playerid] == 2)
  3433.                         {
  3434.                             Flag[playerid] = 0;
  3435.                             RemovePlayerAttachedObject(playerid,3);
  3436.                             VagosF = CreatePickup(2914, 1, 2631.9868,2322.0452,17.8203, 0);
  3437.                            // SetPlayerMapIcon( playerid, 11,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3438.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos", true))
  3439.                             {
  3440.                                 new cmsg[256];
  3441.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Vagos Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3442.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3443.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3444.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3445.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3446.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3447.                                 DGivePlayerMoney(playerid, 100);
  3448.                                 new ts[256];
  3449.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3450.                                 TextDrawSetString(Result,ts);
  3451.                             }
  3452.                             else
  3453.                             {
  3454.                                 new cmsg[256];
  3455.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3456.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3457.                             }
  3458.                         }
  3459.                         if(Flag[playerid] == 3)
  3460.                         {
  3461.                             Flag[playerid] = 0;
  3462.                             RemovePlayerAttachedObject(playerid,3);
  3463.                             AztecasF = CreatePickup(2914, 1, 1045.8225,1016.4917,11.4848, 0);
  3464.                   //          SetPlayerMapIcon( playerid, 12,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3465.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas", true))
  3466.                             {
  3467.                                 new cmsg[256];
  3468.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Aztecas Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3469.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3470.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3471.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3472.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3473.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3474.                                 DGivePlayerMoney(playerid, 100);
  3475.                                 new ts[256];
  3476.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3477.                                 TextDrawSetString(Result,ts);
  3478.                             }
  3479.                             else
  3480.                             {
  3481.                                 new cmsg[256];
  3482.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3483.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3484.                             }
  3485.                         }
  3486.                         if(Flag[playerid] == 4)
  3487.                         {
  3488.                             Flag[playerid] = 0;
  3489.                             RemovePlayerAttachedObject(playerid,3);
  3490.                             PoliceF = CreatePickup(2914, 1,2276.8689,2451.4712,10.8203 , -1);
  3491.                          //   SetPlayerMapIcon( playerid, 13,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3492.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true))
  3493.                             {
  3494.                                 new cmsg[256];
  3495.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Police Team", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3496.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3497.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3498.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3499.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3500.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3501.                                 DGivePlayerMoney(playerid, 100);
  3502.                                 new ts[256];
  3503.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3504.                                 TextDrawSetString(Result,ts);
  3505.                             }
  3506.                             else
  3507.                             {
  3508.                                 new cmsg[256];
  3509.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3510.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3511.                             }
  3512.                         }
  3513.                         if(Flag[playerid] == 5)
  3514.                         {
  3515.                             if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove", true))
  3516.                             {
  3517.                                 Fhidden = 0;
  3518.                                 Flag[playerid] = 0;
  3519.                                 RemovePlayerAttachedObject(playerid,3);
  3520.                                 new cmsg[256];
  3521.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team Grove Street Captured The Hidden Flag And Got 3 Bonus Points And 1000$", GetName(playerid));
  3522.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3523.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+3);
  3524.                                 Points[0]+=3;
  3525.                                 DOF2_SetInt(TeamPF(), "GroveP", DOF2_GetInt(TeamPF(), "GroveP")+3);
  3526.                                 DOF2_SaveFile();
  3527.                                 DGivePlayerMoney(playerid, 1000);
  3528.                                 new ts[256];
  3529.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3530.                                 TextDrawSetString(Result,ts);
  3531.                             }
  3532.                         }
  3533.                            
  3534.         }
  3535.     }
  3536.     if(CPS_IsPlayerInCheckpoint(playerid, PoliceCP))
  3537.     {
  3538.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police"))
  3539.         {
  3540.                         if(Flag[playerid] == 1)
  3541.                         {
  3542.                             RemovePlayerAttachedObject(playerid,3);
  3543.                             GroveF = CreatePickup(2914, 1, 1480.2485,2195.8704,20.9065, 0);
  3544.                             Flag[playerid] = 0;
  3545.                            // SetPlayerMapIcon( playerid, 10,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3546.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove", true))
  3547.                             {
  3548.                                 new cmsg[256];
  3549.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Grove Street Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3550.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3551.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3552.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3553.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3554.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3555.                                 DGivePlayerMoney(playerid, 100);
  3556.                                 new ts[256];
  3557.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3558.                                 TextDrawSetString(Result,ts);
  3559.                             }
  3560.                             else
  3561.                             {
  3562.                                 new cmsg[256];
  3563.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3564.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3565.                             }
  3566.  
  3567.  
  3568.                         }
  3569.                         if(Flag[playerid] == 2)
  3570.                         {
  3571.                             Flag[playerid] = 0;
  3572.                             RemovePlayerAttachedObject(playerid,3);
  3573.                             VagosF = CreatePickup(2914, 1, 2631.9868,2322.0452,17.8203, 0);
  3574.                            // SetPlayerMapIcon( playerid, 11,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3575.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos", true))
  3576.                             {
  3577.                                 new cmsg[256];
  3578.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Vagos Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3579.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3580.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3581.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3582.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3583.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3584.                                 DGivePlayerMoney(playerid, 100);
  3585.                                 new ts[256];
  3586.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3587.                                 TextDrawSetString(Result,ts);
  3588.                             }
  3589.                             else
  3590.                             {
  3591.                                 new cmsg[256];
  3592.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3593.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3594.                             }
  3595.                         }
  3596.                         if(Flag[playerid] == 3)
  3597.                         {
  3598.                             Flag[playerid] = 0;
  3599.                             RemovePlayerAttachedObject(playerid,3);
  3600.                             AztecasF = CreatePickup(2914, 1, 1045.8225,1016.4917,11.4848, 0);
  3601.                   //          SetPlayerMapIcon( playerid, 12,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3602.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas", true))
  3603.                             {
  3604.                                 new cmsg[256];
  3605.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Aztecas Gang", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3606.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3607.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3608.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3609.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3610.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police")) Points[3]++;
  3611.                                 DGivePlayerMoney(playerid, 100);
  3612.                                 new ts[256];
  3613.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3614.                                 TextDrawSetString(Result,ts);
  3615.                             }
  3616.                             else
  3617.                             {
  3618.                                 new cmsg[256];
  3619.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3620.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3621.                             }
  3622.                         }
  3623.                         if(Flag[playerid] == 4)
  3624.                         {
  3625.                             Flag[playerid] = 0;
  3626.                             RemovePlayerAttachedObject(playerid,3);
  3627.                             PoliceF = CreatePickup(2914, 1,2276.8689,2451.4712,10.8203 , -1);
  3628.                          //   SetPlayerMapIcon( playerid, 13,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  3629.                             if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true))
  3630.                             {
  3631.                                 new cmsg[256];
  3632.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Captured The Flag Of Police Team", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3633.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3634.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+1);
  3635.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove")) Points[0]++;
  3636.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos")) Points[2]++;
  3637.                                 if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas")) Points[1]++;
  3638.                                 DGivePlayerMoney(playerid, 100);
  3639.                                 new ts[256];
  3640.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3641.                                 TextDrawSetString(Result,ts);
  3642.                             }
  3643.                             else
  3644.                             {
  3645.                                 new cmsg[256];
  3646.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team %s Returned His Teams Flag", GetName(playerid), DOF2_GetString(pFile(playerid), "Team"));
  3647.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3648.                             }
  3649.                         }
  3650.                         if(Flag[playerid] == 5)
  3651.                         {
  3652.                             if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true))
  3653.                             {
  3654.                                 Fhidden = 0;
  3655.                                 Flag[playerid] = 0;
  3656.                                 RemovePlayerAttachedObject(playerid,3);
  3657.                                 new cmsg[256];
  3658.                                 format(cmsg, sizeof(cmsg), "The Player %s From Team Police Captured The Hidden Flag And Got 3 Bonus Points And 1000$", GetName(playerid));
  3659.                                 SendClientMessageToAll(COLOR_RED, cmsg);
  3660.                                 DOF2_SetInt(pFile(playerid), "Flags", DOF2_GetInt(pFile(playerid), "Flags")+3);
  3661.                                 Points[3]+=3;
  3662.                                 DOF2_SetInt(TeamPF(), "PoliceP", DOF2_GetInt(TeamPF(), "PoliceP")+3);
  3663.                                 DOF2_SaveFile();
  3664.                                 DGivePlayerMoney(playerid, 1000);
  3665.                                 new ts[256];
  3666.                                 format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  3667.                                 TextDrawSetString(Result,ts);
  3668.                             }
  3669.                         }
  3670.         }
  3671.     }
  3672.     if(CPS_IsPlayerInCheckpoint(playerid, AmmuCP))
  3673.     {
  3674.         new listitems[] = "{FF0000}Tec-9(8,000$)\n{FFFFFF}Micro Uzi(7,000$)\n{FF0000}MP5(7,000$)\n{FFFFFF}AK-47(15,000$)\n{FF0000}M4(18,000$)\n{FFFFFF}Sawn(16,000$)\n{FF0000}Combat(15,000$)\n{FFFFFF}Sniper Rifle(35,000$)\n{FF0000}Knife(5,000$)\n{FFFFFF}Brass Knuckles(2,000$)";
  3675.         ShowPlayerDialog(playerid,Weapon,DIALOG_STYLE_LIST, "{FFFFFF}Ammunation",listitems,"Select","Cancel");
  3676.     }
  3677.     if(CPS_IsPlayerInCheckpoint(playerid, BankCP))
  3678.     {
  3679.         new listitems[] = "{FF0000}Deposit All\n{FFFFFF}Deposit\n{FF0000}Withdraw All\n{FFFFFF}Withdraw\n{FF0000}Balance";
  3680.         ShowPlayerDialog(playerid,Bank,DIALOG_STYLE_LIST, "{FFFFFF}Bank Menu",listitems,"Select","Cancel");
  3681.     }
  3682.     if(CPS_IsPlayerInCheckpoint(playerid, RobCP))
  3683.     {
  3684.         for(new gc; gc<MAX_PLAYERS; gc++)
  3685.         {
  3686.             if(PtL[playerid] == 1)
  3687.             {
  3688.                 if(InRob[playerid] == 1)
  3689.                 {
  3690.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Robbery", "{FF0000}You Have Successfully Robbed The Casino!", "OK", "");
  3691.                     DGivePlayerMoney(playerid, 10000);
  3692.                     DSetPlayerPos(playerid, 2027.1375,1916.3652,12.3375);
  3693.                     SetVehicleToRespawn(RobCar);
  3694.                     new Rmsg[256];
  3695.                     format(Rmsg, sizeof(Rmsg), "The Gangster %s Has Completed The Robbery Mission!!", GetName(playerid));
  3696.                     SendClientMessageToAll(0xFFFF00, Rmsg);
  3697.                     InRob[playerid] = 0;
  3698.                     DidRob[playerid] = 1;
  3699.                     KillTimer(PlayerCountDown[playerid]);
  3700.                     GameTextForPlayer(playerid, "mission passed!~n~~w~$2500", 1000, 0);
  3701.                 }
  3702.                 PtL[playerid] = 0;
  3703.             }
  3704.             else if(PtL[playerid] == 0 && InRob[playerid] == 1)
  3705.             {
  3706.                 SendClientMessage(playerid, 0xFFFF00, "You Haven't Passed Through All The Checkpoints. Go back and pass in them");
  3707.             }
  3708.         }
  3709.     }
  3710.     if(CPS_IsPlayerInCheckpoint(playerid, BoatCP))
  3711.     {
  3712.         if(InBx == 0)
  3713.         {
  3714.             SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
  3715.             InBx = 1;
  3716.             PutPlayerInVehicle(playerid, Boat, 0);
  3717.             InBoat[playerid] = 1;
  3718.             SetPlayerRaceCheckpoint(playerid, 0, 2540.5635,473.1838,-0.2261,2436.6084,479.9055,-0.1754  , 5);
  3719.             PlayerCD(playerid,100);
  3720.             new Rmsg[256];
  3721.             format(Rmsg, sizeof(Rmsg), "The Player %s Has Started The Boat Challange! He Has 100 Sec To Finish It", GetName(playerid));
  3722.             SendClientMessageToAll(0xFFFF00, Rmsg);
  3723.             SendClientMessageToAll(0xFFFF00, "If He Finishes, He Will Get 2,500$!!");
  3724.         }
  3725.         else SendClientMessage(playerid, 0xffffff, "Somebody Is In The Challange");
  3726.     }
  3727. //  if(CPS_IsPlayerInCheckpoint(playerid, RaceCp))
  3728.     //{
  3729.    
  3730.     //}
  3731.     DOF2_SetInt(TeamPF(), "GroveP", Points[0]);
  3732.     DOF2_SetInt(TeamPF(), "AztecasP", Points[1]);
  3733.     DOF2_SetInt(TeamPF(), "VagosP", Points[2]);
  3734.     DOF2_SetInt(TeamPF(), "PoliceP", Points[3]);
  3735.     DOF2_SaveFile();
  3736.     return 1;
  3737. }
  3738. //===<OnPlayerEnterCheckPoint>===//
  3739.  
  3740. //===<OnPlayerEnterRaceCheckpoint>===//
  3741. public OnPlayerEnterRaceCheckpoint(playerid)
  3742. {
  3743.     if(InROT[playerid] == 1)
  3744.     {
  3745.         CpN[playerid]++;
  3746.         if(CpN[playerid] == 1) SetPlayerRaceCheckpoint(playerid, 0, 1312.6824,881.9849,6.5395,1263.6539,2218.7776,7.7962 , 5); // show 2
  3747.         else if(CpN[playerid] == 2) SetPlayerRaceCheckpoint(playerid, 0, 1263.6539,2218.7776,7.7962, 1231.3204,2477.8665,8.3604 , 5); // show 3
  3748.         else if(CpN[playerid] == 3) SetPlayerRaceCheckpoint(playerid, 0, 1231.3204,2477.8665,8.3604, 2697.7205,2365.3535,6.4615 , 5); // show 4
  3749.         else if(CpN[playerid] == 4) SetPlayerRaceCheckpoint(playerid, 0, 2697.7205,2365.3535,6.4615, 2668.3123,986.2638,6.4616 , 5); // show 5
  3750.         else if(CpN[playerid] == 5) SetPlayerRaceCheckpoint(playerid, 0, 2668.3123,986.2638,6.4616, 2105.9412,853.0298,6.4568 , 5); // show 6
  3751.         else if(CpN[playerid] == 6) SetPlayerRaceCheckpoint(playerid, 1, 2105.9412,853.0298,6.4568, 0,0,0 , 5); // show finish
  3752.         else if(CpN[playerid] == 7) WonROT(playerid);
  3753.     }
  3754.     if(InRob[playerid] == 1)
  3755.     {
  3756.         CpN[playerid]++;
  3757.         if(CpN[playerid] == 1) SetPlayerRaceCheckpoint(playerid, 0, 2051.3335,1707.6320,10.7414,2048.0679,1442.8750,10.7406 , 5); // show 2
  3758.         else if(CpN[playerid] == 2) SetPlayerRaceCheckpoint(playerid, 0, 2048.0679,1442.8750,10.7406,2047.9299,1179.1030,10.7407 , 5); // show 3
  3759.         else if(CpN[playerid] == 3) SetPlayerRaceCheckpoint(playerid, 0, 2047.9299,1179.1030,10.7407,2048.6970,973.5453,10.5912 , 5); // show 4
  3760.         else if(CpN[playerid] == 4) SetPlayerRaceCheckpoint(playerid, 0, 2048.6970,973.5453,10.5912,2167.1108,972.8097,10.9369 , 5); // show 5
  3761.         else if(CpN[playerid] == 5) SetPlayerRaceCheckpoint(playerid, 0, 2167.1108,972.8097,10.9369,2357.8647,993.3957,10.8273 , 5); // show 6
  3762.         else if(CpN[playerid] == 6) SetPlayerRaceCheckpoint(playerid, 1,    2357.8647,993.3957,10.8273, 0, 0 ,0 , 5); // show 7
  3763.         else if(CpN[playerid] == 7) DisablePlayerRaceCheckpoint(playerid), CpN[playerid] = 0, SendClientMessage(playerid, 0xFFFF00, "Now Go In The Garage"), PtL[playerid] = 1;
  3764.     }
  3765.     if(InBoat[playerid] == 1)
  3766.     {
  3767.         CpN[playerid]++;
  3768.         if(CpN[playerid] == 1) SetPlayerRaceCheckpoint(playerid, 0, 2436.6084,479.9055,-0.1754,2332.4119,487.2312,-0.3563 , 5); //2
  3769.         else if(CpN[playerid] == 2) SetPlayerRaceCheckpoint(playerid, 0, 2332.4119,487.2312,-0.3563,2204.7659,499.2086,4.4772  , 5); //3
  3770.         else if(CpN[playerid] == 3) SetPlayerRaceCheckpoint(playerid, 0, 2204.7659,499.2086,-0.4772 ,2113.4570,502.4124,-0.2563  , 5); //4
  3771.         else if(CpN[playerid] == 4) SetPlayerRaceCheckpoint(playerid, 0, 2113.4570,502.4124,-0.2563 ,2009.1691,510.3741,-0.1929 , 5); //5
  3772.         else if(CpN[playerid] == 5) SetPlayerRaceCheckpoint(playerid, 0, 2009.1691,510.3741,-0.1929,1889.6091,517.8956,3.4809  , 5); //6
  3773.         else if(CpN[playerid] == 6) SetPlayerRaceCheckpoint(playerid, 0, 1889.6091,517.8956,-0.4809 ,1793.3756,524.1637,-0.0389  , 5);  //7
  3774.         else if(CpN[playerid] == 7) SetPlayerRaceCheckpoint(playerid, 1, 1793.3756,524.1637,-0.0389 , 0,0,0,5); // finish
  3775.         else if(CpN[playerid] == 8) WinBoat(playerid);
  3776.     }  
  3777.     if(InMaverick[playerid] == 1)
  3778.     {
  3779.         CpN[playerid]++;
  3780.         if(CpN[playerid] == 1)SetPlayerRaceCheckpoint(playerid, 4, 1813.8009,1848.9506,66.8961,1941.2927,2084.4080,121.1803,5);
  3781.         else if(CpN[playerid] == 2)SetPlayerRaceCheckpoint(playerid, 4,1941.2927,2084.4080,121.1803 , 2115.2671,2321.9822,124.5520,5);
  3782.         else if(CpN[playerid] == 3)SetPlayerRaceCheckpoint(playerid, 4, 2115.2671,2321.9822,124.5520 , 2095.3748,2407.2161,125.1050,5);
  3783.         else if(CpN[playerid] == 4)SetPlayerRaceCheckpoint(playerid, 4,2095.3748,2407.2161,125.1050 , 2094.4268,2410.1006,89.6085,5);
  3784.         else if(CpN[playerid] == 5)SetPlayerRaceCheckpoint(playerid, 4, 2094.4268,2410.1006,89.6085 , 0,0,0,5);
  3785.         else if(CpN[playerid] == 6) EndMav(playerid);
  3786.     }
  3787.     if(InPdelivery[playerid] == 1)
  3788.     {
  3789.         CpN[playerid]++;
  3790.         WinPdelivery(playerid);
  3791.     }
  3792.     DOF2_SaveFile();
  3793.     return 1;
  3794. }
  3795.  
  3796.  
  3797. //===<OnPlayerConnect>===//
  3798. public OnPlayerConnect(playerid)
  3799. {  
  3800. //  RT[playerid] = SetTimerEx("RefreshObjects", 500, true, "i", playerid);
  3801.     //TDMSkin(playerid);
  3802.     ACh[playerid] = false;
  3803.     LoggeX[playerid] = 0;
  3804.     //propsys
  3805.     CurrentP[playerid] = -1;
  3806.     HProps[playerid] = 0;
  3807.     //===lowbox===//
  3808.     NickTD[playerid] = TextDrawCreate(1.5, 437, " ");
  3809.     TextDrawAlignment(NickTD[playerid],0);
  3810.     TextDrawFont(NickTD[playerid], 3);
  3811.     TextDrawLetterSize(NickTD[playerid],0.4,1);
  3812.     TextDrawSetOutline(NickTD[playerid],1);
  3813.     TextDrawSetProportional(NickTD[playerid],1);
  3814.     TextDrawSetShadow(NickTD[playerid],1);
  3815.     TextDrawUseBox(NickTD[playerid], 1);
  3816.     TextDrawBoxColor(NickTD[playerid],0x00000089);
  3817.     new tsp[256];
  3818.     format(tsp, sizeof(tsp), "                                                       ~r~Time:~w~%s  ~r~Nick:~w~%s",GetTimeX(), GetName(playerid));
  3819.     TextDrawSetString(NickTD[playerid], tsp);
  3820.     SetTimer("TimeTDU", 1000 * 60, true);
  3821.     Points[0] = DOF2_GetInt(TeamPF(), "GroveP");
  3822.     Points[1] = DOF2_GetInt(TeamPF(), "AztecasP");
  3823.     Points[2] = DOF2_GetInt(TeamPF(), "VagosP");
  3824.     Points[3] = DOF2_GetInt(TeamPF(), "PoliceP");
  3825.     InRadio[playerid] = 1;
  3826.     SetPlayerVirtualWorld(playerid, 1);
  3827.    
  3828.     for(new x; x<100; x++)
  3829.     {
  3830.         SendClientMessage(playerid, 0xFFFFFF, " ");
  3831.     }
  3832.     SendClientMessage(playerid, COLOR_RED, "Welcome To {FFFFFF}DucK's TDM{FF0000} V0.1 Server!");
  3833.     SetRadio(playerid);
  3834.     SpeedA[playerid] = 0;
  3835.     if(DOF2_FileExists(pFile(playerid)))
  3836.     {
  3837.         ShowPlayerDialog(playerid, Login, DIALOG_STYLE_PASSWORD, "{FFFFFF}Login", "{FF0000}Please Enter Your {FFFFFF}Password", "Login", "Quit");
  3838.     }
  3839.     else if(!DOF2_FileExists(pFile(playerid)))
  3840.     {
  3841.          ShowPlayerDialog(playerid, Register, DIALOG_STYLE_PASSWORD, "{FFFFFF}Register", "{FF0000}Please Enter Your {FFFFFF}New Password", "Register", "Quit");
  3842.     }
  3843.     SetPlayerMapIcon( playerid, 1,2193.3699,1991.0089,12.2969, 52, 0, MAPICON_GLOBAL ); //bank
  3844.     SetPlayerMapIcon( playerid, 2,2156.9043,939.9024,10.8203 , 18, 0, MAPICON_GLOBAL ); //wep
  3845.     SetPlayerMapIcon( playerid, 3,2261.8167,2461.9041,10.8203 , 30, 0, MAPICON_GLOBAL ); //cops
  3846.     SetPlayerMapIcon( playerid, 4,1087.6086,1076.2125,11.8446 , 58, 0, MAPICON_GLOBAL ); //aztec
  3847.     SetPlayerMapIcon( playerid, 5,1444.4380,2172.4307,29.6907 , 62, 0, MAPICON_GLOBAL ); //grove
  3848.     SetPlayerMapIcon( playerid, 6,2602.8953,2364.1018,39.3744 , 60, 0, MAPICON_GLOBAL ); // vags
  3849.     SetPlayerMapIcon( playerid, 7,2386.7246,1007.9543,10.8907 , 27, 0, MAPICON_GLOBAL ); // Garage
  3850.     SetPlayerMapIcon( playerid, 8,2032.9965,1920.3116,12.3321 , 51, 0, MAPICON_GLOBAL ); // Robbery
  3851.     //
  3852. //  InCasino[playerid] = 0;
  3853.     //SPEEDO
  3854.     Speed[playerid] = TextDrawCreate(471.000000+30, 362.000000, "000");
  3855.     TextDrawAlignment(Speed[playerid], 3);
  3856.     TextDrawBackgroundColor(Speed[playerid], -16776961);
  3857.     TextDrawFont(Speed[playerid], 3);
  3858.     TextDrawLetterSize(Speed[playerid], 0.740000, 4.299999);
  3859.     TextDrawColor(Speed[playerid], 255);
  3860.     TextDrawSetOutline(Speed[playerid], 1);
  3861.     TextDrawSetProportional(Speed[playerid], 1);
  3862.    
  3863.     Speedx13[playerid] = TextDrawCreate(476.000000+30, 367.000000, "KM/H");
  3864.     TextDrawBackgroundColor(Speedx13[playerid], 255);
  3865.     TextDrawFont(Speedx13[playerid], 2);
  3866.     TextDrawLetterSize(Speedx13[playerid], 0.329999, 1.099999);
  3867.     TextDrawColor(Speedx13[playerid], -1);
  3868.     TextDrawSetOutline(Speedx13[playerid], 0);
  3869.     TextDrawSetProportional(Speedx13[playerid], 1);
  3870.     TextDrawSetShadow(Speedx13[playerid], 0);
  3871.     FadePlayerConnect(playerid);
  3872.     return 1;
  3873. }
  3874. //===OnPlayerConnect>===//
  3875.  
  3876.  
  3877. //===<OnVehicleStreamIn>===//
  3878. public OnVehicleStreamIn(vehicleid, forplayerid)
  3879. {
  3880.     SetVehicleParamsForPlayer(RobCar,forplayerid,1,0);
  3881.     SetVehicleParamsForPlayer(Pboy,forplayerid,1,0);
  3882.     SetVehicleParamsForPlayer(Maverick,forplayerid,1,0);
  3883.     SetVehicleParamsForPlayer(Boat,forplayerid,1,1);
  3884.     return 1;
  3885. }
  3886. //===<OnPlayerCommandText>===//
  3887. public OnPlayerCommandText(playerid, cmdtext[])
  3888. {
  3889.     new cmd[256];
  3890.     new tmp[256];
  3891.     new idx;
  3892.     cmd = strtok(cmdtext, idx);
  3893.     Log(playerid, cmdtext, "CommandLog.txt");
  3894.     if(LoggeX[playerid] == 0) return SendClientMessage(playerid, -1, "{FF0000}You Can't Do Any Commands Unless You {FFFFFF}Log In{FF0000}!");
  3895.     if(!strcmp(cmd, "/gw", true))
  3896.     {
  3897.         new tmz[256];
  3898.         tmz = strtok(cmdtext, idx);
  3899.         format(tmz, sizeof(tmz), "/giveweapon %s", tmz);
  3900.         OnPlayerCommandText(playerid, tmz);
  3901.         return 1;
  3902.     }
  3903.     if(!strcmp(cmd, "/giveweapon", true))
  3904.     {
  3905.         if(IsXLevel(playerid) < 5) return ErrorLevel(playerid, 5, cmdtext);
  3906.         new pi[256], wn[256], ammu[256], id, bul;
  3907.         pi = strtok(cmdtext, idx);
  3908.         wn = strtok(cmdtext, idx);
  3909.         ammu = strtok(cmdtext, idx);
  3910.         id = strval(pi);
  3911.         bul = strval(ammu);
  3912.         if(!strlen(pi) || !strlen(wn) || !strlen(ammu)) return SendClientMessage(playerid, -1, "{FF0000}ACMD: {FFFFFF}Usage: /GiveWeapon [ID] [WeaponName] [Ammu]");
  3913.         if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "{FF0000}ACMD: {FFFFFF}Player Is Not Connected!");
  3914.         if(bul > 9999 || bul <1) return SendClientMessage(playerid, -1, "{FF0000}ACMD: {FFFFFF}Error: Ammu Between 1-9999");
  3915.         if(!IsValidWeapon(GetWeaponIDFromName(wn))) return SendClientMessage(playerid, -1, "{FF0000}ACMD: {FFFFFF}Error: Invalid Weapon");
  3916.         DGivePlayerWeapon(id, GetWeaponIDFromName(wn), bul);
  3917.         new str[128];
  3918.         format(str, sizeof(str), "{FF0000}ACMD: {FFFFFF}Admin %s Gave You Weapon!", GetName(playerid));
  3919.         SendClientMessage(id, -1, str);
  3920.         format(str, sizeof(str), "{FF0000}ACMD: {FFFFFF}You Gave %s A Weapon!", GetName(id));
  3921.         SendClientMessage(playerid, -1, str);
  3922.         return 1;
  3923.     }  
  3924.     if(!strcmp(cmdtext, "/DM", true))
  3925.     {
  3926.         if(GetPVarInt(playerid, "InDM") == 1)
  3927.         {
  3928.             SetPVarInt(playerid, "InDM", 0);
  3929.             OnPlayerSpawn(playerid);
  3930.             SendClientMessage(playerid, -1, "{0F0FFF}DM Zone: {FFFFFF}You Have Exited DM Zone");
  3931.         }
  3932.         else if(GetPVarInt(playerid, "InDM") == 0)
  3933.         {
  3934.             SetPVarInt(playerid, "InDM", 1);
  3935.             OnPlayerSpawn(playerid);
  3936.         }
  3937.         return 1;
  3938.     }
  3939.     if(!strcmp(cmdtext, "/blackjack", true))
  3940.     {
  3941.         new CardVal[MAX_PLAYERS];
  3942.         enum Card
  3943.         {
  3944.             ZName[15],
  3945.             Value
  3946.         };
  3947.         new CardV[][Card] =
  3948.         {
  3949.             {"2 (Number)", 2},
  3950.             {"3 (Number)", 3},
  3951.             {"4 (Number)", 4},
  3952.             {"5 (Number)", 5},
  3953.             {"6 (Number)", 6},
  3954.             {"7 (Number)", 7},
  3955.             {"8 (Number)", 8},
  3956.             {"9 (Number)", 9},
  3957.             {"10 (Number)", 10},
  3958.             {"J (Prince)", 10},
  3959.             {"Q (Queen)", 10},
  3960.             {"K (King)", 10},
  3961.             {"A (Ace)", 1},
  3962.             {"A (Ace)", 11}
  3963.         };
  3964.         CardVal[playerid] = 0;
  3965.         new str[256];
  3966.         //card 1
  3967.         new rand = random(sizeof(CardV));
  3968.         format(str, sizeof(str), "You Got Card: %s", CardV[rand][ZName]);
  3969.         SendClientMessage(playerid, -1, str);
  3970.         CardVal[playerid] += CardV[rand][Value];
  3971.         //card 2
  3972.         rand = random(sizeof(CardV));
  3973.         format(str, sizeof(str), "You Got Card: %s", CardV[rand][ZName]);
  3974.         SendClientMessage(playerid, -1, str);
  3975.         CardVal[playerid] += CardV[rand][Value];
  3976.         format(str, sizeof(str), "Total: %d", CardVal[playerid]);
  3977.         SendClientMessage(playerid, -1, str);
  3978.         if(CardVal[playerid] > 21) return SendClientMessage(playerid, -1, "Lost");
  3979.         return 1;
  3980.     }
  3981.  
  3982.     if(!strcmp(cmdtext, "/ADuty", true))
  3983.     {
  3984.         new ads[256];
  3985.         if(ACh[playerid])
  3986.         {
  3987.             ACh[playerid] = false;
  3988.             format(ads, sizeof(ads), "{FF0000}Admin Duty: {FFFFFF}The Admin %s Is Now Off-Duty!", GetName(playerid));
  3989.             SendClientMessageToAll(-1, ads);
  3990.             SetPlayerWorldBounds(playerid, 3153.026, 724.0283, 2989.536, 525.5044);
  3991.             DSetPlayerHealth(playerid,100);
  3992.             if(Team[playerid] == Grove) SetPlayerColor(playerid, GroveC);
  3993.             if(Team[playerid] == Aztecas) SetPlayerColor(playerid, AztecasC);
  3994.             if(Team[playerid] == Vagos) SetPlayerColor(playerid, VagosC);
  3995.             if(Team[playerid] == Police) SetPlayerColor(playerid, PoliceC);
  3996.         }
  3997.         else if(!ACh[playerid])
  3998.         {
  3999.             ACh[playerid] = true;
  4000.             SendClientMessage(playerid, -1, "{FF0000}Admin Duty: {FFFFFF}You Are Now On Duty. You Can Now Use /AdminCheats, You Got GODMODE, White Color And You Can Exit LV!");
  4001.             format(ads, sizeof(ads), "{FF0000}Admin Duty: {FFFFFF}The Admin %s Is Now On-Duty!", GetName(playerid));
  4002.             SendClientMessageToAll(-1, ads);
  4003.             SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
  4004.             DSetPlayerHealth(playerid,100000);
  4005.             SetPlayerColor(playerid, -1);
  4006.         }
  4007.         return 1;
  4008.     }
  4009.     if(!strcmp(cmdtext, "/AdminCheats", true))
  4010.     {
  4011.         new Sp[512];
  4012.         new Xp[] = "{FF0000}Admin Cheats:\n\n{0000FF}In Car:\n{FFFFFF}Use Nitro: Hold LEFT MOUSE BUTTON\nSpeed Hack: Hold LEFT MOUSE BUTTON + Y (KEY_YES)\nFix/Flip Car: Hold LEFT MOUSE BUTTON + N (KEY NO)";
  4013.         new Xz[] = "\n\n{0000FF}On Foot:\n{FFFFFF}Use Jetpack: Press LEFT MOUSE BUTTON\nSpeedHack: Hold LEFT MOUSE BUTTON + Y (KEY_YES)\nHealth And Armour: Hold LEFT MOUSE BUTTON + N (KEY_NO)";
  4014.         format(Sp, sizeof(Sp), "%s%s", Xp, Xz);
  4015.         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Admin Cheats", Sp, "OK", "");
  4016.         return 1;
  4017.     }
  4018.     if(!strcmp(cmdtext, "/PropList", true))
  4019.     {
  4020.         if(HProps[playerid] == 0) return ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFF00}PropSys", "{FFFFFF}You Don't Have Any Properties!", "OK", "");
  4021.         new Te;
  4022.         format(pstrx, sizeof(pstrx), "");
  4023.         for(new i; i<sizeof(PropVar); i++)
  4024.         {
  4025.             if(playerid == PropVar[i][PoID])
  4026.             {
  4027.                 format(pstrx, 256, "%s\n{FFFFFF}Name: {FFFF00}%s {FFFFFF}- Earning: {FFFF00}%d$", pstrx, PropVar[i][PName], PropVar[i][PEarn]);
  4028.                 Te += PropVar[i][PEarn];
  4029.             }
  4030.         }
  4031.         format(pstrx, 256, "%s\n{FFFFFF}Total Earning: {0000FF}%d$", pstrx, Te);
  4032.         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFF00}PropSys", pstrx, "OK", "");
  4033.         return 1;
  4034.     }
  4035.     //house
  4036.  
  4037.     //===<Admin Comman2ds>===//
  4038.     if(!strcmp(cmdtext, "/jP", true)) return SetPlayerSpecialAction(playerid,2);
  4039.    
  4040.     if(!strcmp(cmdtext, "/AMusic", true))
  4041.     {
  4042.         if(IsXLevel(playerid) < 2) return ErrorLevel(playerid, 2, cmdtext);
  4043.         AmON = 1;
  4044.         format(String, sizeof(String), "");
  4045.         for(new i=0; i<SongNumber+1; i++)
  4046.         {
  4047.             format(String, sizeof(String), "%s\n{ffffff}[%d]. {ffff00}%s", String, i, Songs[i][SongName]);
  4048.         }
  4049.         format(String, sizeof(String), "\n{FF0000}Turn Off!\n%s", String);
  4050.         ShowPlayerDialog(playerid, SDa, DIALOG_STYLE_LIST, "{FFFFFF}Song List", String, "Play", "Exit");
  4051.         return 1;
  4052.     }
  4053.     if(!strcmp(cmd, "/EditAMsg", true))
  4054.     {
  4055.         Log(playerid, cmdtext, "BulletinBoardLog.txt");
  4056.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4057.         new anum[0xFF], msg[256], nums[20];
  4058.         anum = strtok(cmdtext, idx);
  4059.         msg = strrest(cmdtext, idx);
  4060.         if(!strlen(anum) || !strlen(msg)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /EditAMsg [Line] [Message]");
  4061.         if(strval(anum) < 1 || strval(anum) > 5) return SendClientMessage(playerid, 0xFF0000AA, "Wrong Message Line: Only From 1 To 5");
  4062.         format(nums, sizeof(nums), "Message%d", strval(anum));
  4063.         format(msg, sizeof(msg), "%d. {ffffff}%s {ff0000}|| {ffff00}(%s)", strval(anum), msg, GetName(playerid));
  4064.         DOF2_SetString(MessageF(), nums, msg);
  4065.         DOF2_SaveFile();
  4066.         format(msg, sizeof(msg), "You Have Edited Line %d Auto-Message To %s", strval(anum), msg);
  4067.         SendClientMessage(playerid, 0xFF0000AA, msg);
  4068.         return 1;
  4069.     }
  4070.     if(!strcmp(cmd, "/Report", true))
  4071.     {
  4072.         new idget[0xFF], txt[512], str[512], id;
  4073.         idget = strtok(cmdtext, idx);
  4074.         id = strval(idget);
  4075.         txt = strrest(cmdtext, idx);
  4076.         if(playerid == id) return SendClientMessage(playerid, -1, "{FFFF00}Report Sys: {FFFFFF}You Can't Report Yourself");
  4077.         if(!strlen(idget) || !strlen(txt)) return SendClientMessage(playerid, -1, "{FFFF00}Report Sys: {FFFFFF}Syntax: /Report [ID] [REPORT]");
  4078.         if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "{FFFF00}Report Sys: {FFFFFF}Player Isn't Connected");
  4079.         format(str, sizeof(str), "{FFFF00}Report Sys: {FFFFFF}Player %s(%d) Reports On {FF0000}%s(%d) {FFFFFF}For %s", GetName(playerid), playerid, GetName(id), id, txt);
  4080.         for(new i; i < MAX_PLAYERS; i++)
  4081.         {
  4082.             if(IsPlayerConnected(i) && IsPlayerXAdmin(i))
  4083.             {
  4084.                 SendClientMessage(i, -1, str);
  4085.             }
  4086.         }
  4087.         return 1;
  4088.     }
  4089.     if(!strcmp(cmd, "/pm", true))
  4090.     {
  4091.         new idget[0xFF], txt[512], id, str[512];
  4092.         idget = strtok(cmdtext, idx);
  4093.         id = strval(idget);
  4094.         txt = strrest(cmdtext, idx);
  4095.         if(playerid == id) return SendClientMessage(playerid, -1, "{00FF00}PM Sys: {FFFFFF}You Can't PM Yourself");
  4096.         if(!strlen(idget) || !strlen(txt)) return SendClientMessage(playerid, -1, "{00FF00}PM Sys: {FFFFFF}Syntax: /Pm [ID] [Message]");
  4097.         if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "{00FF00}PM Sys: {FFFFFF}Player Isn't Connected");
  4098.         format(str, sizeof(str), "{FF0000}PM From {FFFF00}%s(%d):{FFFFFF}%s", GetName(playerid), playerid, txt);
  4099.         SendClientMessage(id, -1, str);
  4100.         format(str, sizeof(str), "{0000FF}PM To {FFFF00}%s(%d):{FFFFFF}%s", GetName(id), id, txt);
  4101.         SendClientMessage(playerid, -1, str);
  4102.         GameTextForPlayer(id, "~b~Incoming~r~ PM", 500, 1);
  4103.         PlayerPlaySound(id, 1190, 0, 0, 0);
  4104.         return 1;
  4105.     }
  4106.     if(!strcmp(cmdtext, "/ShowAMsg", true))
  4107.     {
  4108.         Log(playerid, cmdtext, "BulletinBoardLog.txt");
  4109.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4110.         AutoMsgP();
  4111.         return 1;
  4112.     }
  4113.     if(!strcmp(cmdtext, "/EmptyAMsg", true))
  4114.     {
  4115.         Log(playerid, cmdtext, "BulletinBoardLog.txt");
  4116.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4117.         for(new i=1; i<6; i++)
  4118.         {
  4119.             new nut[20], std[256];
  4120.             format(nut, sizeof(nut), "Message%d", i);
  4121.             format(std, sizeof(std), "{ffffff}%d. Message {ff0000}|| {ffff00}(Admin Name)", i);
  4122.             DOF2_SetString(MessageF(), nut, std);
  4123.         }
  4124.         DOF2_SaveFile();
  4125.         SendClientMessage(playerid, 0xFF0000AA, "You Have Reseted The Auto-Messages");
  4126.         return 1;
  4127.     }
  4128.     if(!strcmp(cmd, "/TimeAMsg", true))
  4129.     {
  4130.         Log(playerid, cmdtext, "BulletinBoardLog.txt");
  4131.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4132.         new time[0xFF], str[128];
  4133.         time = strtok(cmdtext, idx);
  4134.         if(!strlen(time)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /TimeAMsg [Minutes]");
  4135.         if(strval(time) < 1 || strval(time) > 14) return SendClientMessage(playerid, 0xFF0000AA, "Error: Enter Minutes From 1 To 15");
  4136.         DOF2_SetInt(MessageF(), "MsgTime", strval(time));
  4137.         format(str, sizeof(str), "You Have Set Auto Message Time To %d", strval(time));
  4138.         SendClientMessage(playerid, 0xFF0000AA, str);
  4139.         DOF2_SaveFile();
  4140.         return 1;
  4141.     }
  4142.     if(!strcmp(cmdtext, "/MixRadio", true))
  4143.     {
  4144.         Log(playerid, cmdtext, "AdminCmds.txt");
  4145.         if(IsXLevel(playerid) < 5) return ErrorLevel(playerid, 5, cmdtext);
  4146.         KillTimer(RTime);
  4147.         SrFa();
  4148.         return 1;
  4149.     }
  4150.     if(!strcmp(cmdtext, "/hideflag", true))
  4151.     {
  4152.         Log(playerid, cmdtext, "AdminCmds.txt");
  4153.         if(IsXLevel(playerid) < 5) return ErrorLevel(playerid, 5, cmdtext);
  4154.         if(Fhidden == 1)
  4155.         {
  4156.             DestroyPickup(HiddenF);
  4157.             SendClientMessageToAll(COLOR_RED, "{FFFFFF}The Admin Has Removed The Secret {FF00FF}Flag.");
  4158.             Fhidden = 0;
  4159.         }
  4160.         else if(Fhidden == 0)
  4161.         {
  4162.             Fhidden = 1;
  4163.             new Float:Pp[3];
  4164.             GetPlayerPos(playerid, Pp[0], Pp[1], Pp[2]);
  4165.             HiddenF = CreatePickup(2914, 1, Pp[0]+2, Pp[1]+2, Pp[2], 0);
  4166.             SendClientMessageToAll(COLOR_RED, "{FFFFFF}The Admin Has Hidden A Secret {FF00FF}Flag!{FFFFFF} If You Find It, Your Team Gets 3 Points, And You Get 1000$");
  4167.         }
  4168.         return 1;
  4169.     }
  4170.  
  4171.     if(!strcmp(cmd,"/SetxTag",true))
  4172.     {
  4173.         Log(playerid, cmdtext, "AdminCmds.txt");
  4174.         if(IsXLevel(playerid) < 10) return ErrorLevel(playerid, 10, cmdtext);
  4175.         new id[0xFF];
  4176.         id = strtok(cmdtext,idx);
  4177.         if(!strlen(id))return SendClientMessage(playerid,0xFFFFFF,"Usage: /SetXTag [ID] [Color] [Tag]");
  4178.         if(!IsPlayerConnected(strval(id)))return SendClientMessage(playerid,0xFFFFFFAA,"Bad ID");
  4179.         cmd = strrest(cmdtext,idx);
  4180.         if(!strlen(cmd))return SendClientMessage(playerid,0xFFFFFF,"Usage: /SetXTag [ID] [Tag]");
  4181.         DOF2_SetString(pFile(strval(id)),"Tag",cmd);
  4182.         format(String,128,"The Admin %s Has Set Your Tag To %s", GetName(playerid), ColouredText(cmd));
  4183.         SendClientMessage(strval(id), 0xFFFFFFAA, String);
  4184.         format(String,128,"You Have Set %s's Tag To %s", GetName(strval(id)), ColouredText(cmd));
  4185.         SendClientMessage(playerid, 0xFFFFFFAA, String);
  4186.         DOF2_SaveFile();
  4187.         return 1;
  4188.     }
  4189.     if(!strcmp(cmd, "/setxlevel", true))
  4190.     {
  4191.         new msg[256];
  4192.         Log(playerid, cmdtext, "StatsEditing.txt");
  4193.         if(IsXLevel(playerid) < 15) return ErrorLevel(playerid, 15, cmdtext);
  4194.         new id[0xFF], lvl[0xFF];
  4195.         id = strtok(cmdtext, idx);
  4196.         lvl = strtok(cmdtext, idx);
  4197.         if(!strlen(id) || !strlen(lvl)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /SetXLevel [ID] [Level]");
  4198.         else if(!IsPlayerConnected(strval(id))) return SendClientMessage(playerid, COLOR_RED, "Player Isn't Connected");
  4199.         if(strval(lvl) < 0) return SendClientMessage(playerid, COLOR_RED, "Error: Wrong Level");
  4200.         LevelUpX(strval(id), strval(lvl));
  4201.         DOF2_SaveFile();
  4202.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Have Set Level(%d) To %s(%d)",strval(lvl), GetName(strval(id)), strval(id));
  4203.         SendClientMessage(playerid, -1, msg);
  4204.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Have Been Set To Level (%d) By %s(%d)", strval(lvl), GetName(playerid), playerid);
  4205.         SendClientMessage(strval(id), -1, msg);
  4206.         return 1;
  4207.     }
  4208.     if(!strcmp(cmd, "/setxkills", true))
  4209.     {
  4210.         new msg[256];
  4211.         Log(playerid, cmdtext, "StatsEditing.txt");
  4212.         if(IsXLevel(playerid) < 15) return ErrorLevel(playerid, 15, cmdtext);
  4213.         new id[0xFF], Kills[0xFF];
  4214.         id = strtok(cmdtext, idx);
  4215.         Kills = strtok(cmdtext, idx);
  4216.         if(!strlen(id) || !strlen(Kills)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /SetXKills [ID] [Kills]");
  4217.         else if(!IsPlayerConnected(strval(id))) return SendClientMessage(playerid, COLOR_RED, "Player Isn't Connected");
  4218.         if(strval(Kills) < 0) return SendClientMessage(playerid, COLOR_RED, "Error: Wrong Kills Number");
  4219.         DOF2_SetInt(pFile(strval(id)), "Kills", strval(Kills));
  4220.         DOF2_SaveFile();
  4221.         CheckLevel(playerid);
  4222.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Gave (%d) Kills To %s(%d)",strval(Kills), GetName(strval(id)), strval(id));
  4223.         SendClientMessage(playerid, -1, msg);
  4224.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Got (%d) Kills From %s(%d)", strval(Kills), GetName(playerid), playerid);
  4225.         SendClientMessage(strval(id), -1, msg);
  4226.         return 1;
  4227.     }
  4228.     if(!strcmp(cmd, "/setxmoney", true))
  4229.     {
  4230.         new msg[256];
  4231.         Log(playerid, cmdtext, "StatsEditing.txt");
  4232.         if(IsXLevel(playerid) < 15) return ErrorLevel(playerid, 15, cmdtext);
  4233.         new id[0xFF], Money[0xFF];
  4234.         id = strtok(cmdtext, idx);
  4235.         Money = strtok(cmdtext, idx);
  4236.         if(!strlen(id) || !strlen(Money)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /SetXMoney [ID] [Money]");
  4237.         else if(!IsPlayerConnected(strval(id))) return SendClientMessage(playerid, COLOR_RED, "Player Isn't Connected");
  4238.         if(strval(Money) < 0) return SendClientMessage(playerid, COLOR_RED, "Error: Wrong Money Number");
  4239.         DOF2_SetInt(pFile(strval(id)), "Money", strval(Money));
  4240.         DOF2_SaveFile();
  4241.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Gave (%d$) To %s(%d) ((TO BANK))",strval(Money), GetName(strval(id)), strval(id));
  4242.         SendClientMessage(playerid, -1, msg);
  4243.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Got (%d$) From %s(%d) ((TO BANK))", strval(Money), GetName(playerid), playerid);
  4244.         SendClientMessage(strval(id), -1, msg);
  4245.         return 1;
  4246.     }
  4247.     if(!strcmp(cmd, "/GiveXMoney", true))
  4248.     {
  4249.         Log(playerid, cmdtext, "AdminCmds.txt");
  4250.         if(IsXLevel(playerid) < 8) return ErrorLevel(playerid, 8, cmdtext);
  4251.         new id[0xFF], Money[0xFF], msg[256];
  4252.         id = strtok(cmdtext, idx);
  4253.         Money = strtok(cmdtext, idx);
  4254.         if(!strlen(id) || !strlen(Money)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /GiveXMoney [ID] [Money]");
  4255.         else if(!IsPlayerConnected(strval(id))) return SendClientMessage(playerid, COLOR_RED, "Player Isn't Connected");
  4256.         if(strval(Money) < 0) return SendClientMessage(playerid, COLOR_RED, "Error: Wrong Money Number");
  4257.         DGivePlayerMoney(strval(id), strval(Money));
  4258.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Gave (%d$) To %s(%d)",strval(Money), GetName(strval(id)), strval(id));
  4259.         SendClientMessage(playerid, -1, msg);
  4260.         format(msg, sizeof(msg), "{FF0000}ACMD: {FFFFFF}You Got (%d$) From %s(%d)", strval(Money), GetName(playerid), playerid);
  4261.         SendClientMessage(strval(id), -1, msg);
  4262.         return 1;
  4263.     }
  4264.     if(!strcmp(cmd, "/Pay", true))
  4265.     {
  4266.         new id[0xFF], Money[0xFF], msg[256];
  4267.         id = strtok(cmdtext, idx);
  4268.         Money = strtok(cmdtext, idx);
  4269.         if(!strlen(id) || !strlen(Money)) return SendClientMessage(playerid, COLOR_RED, "Syntax: /Pay [ID] [Money]");
  4270.         else if(!IsPlayerConnected(strval(id))) return SendClientMessage(playerid, COLOR_RED, "Player Isn't Connected");
  4271.         if(strval(Money) < 0) return SendClientMessage(playerid, COLOR_RED, "Error: Wrong Money Number");
  4272.         DGivePlayerMoney(strval(id), strval(Money));
  4273.         DGivePlayerMoney(playerid, -strval(Money));
  4274.         format(msg, sizeof(msg), "{FF0000}Pay: {FFFFFF}You Gave (%d$) To %s(%d)",strval(Money), GetName(strval(id)), strval(id));
  4275.         SendClientMessage(playerid, -1, msg);
  4276.         format(msg, sizeof(msg), "{FF0000}Pay: {FFFFFF}You Got (%d$) From %s(%d)", strval(Money), GetName(playerid), playerid);
  4277.         SendClientMessage(strval(id), -1, msg);
  4278.         return 1;
  4279.     }
  4280.     if(!strcmp(cmdtext, "/acmdsshow", true))
  4281.     {
  4282.    
  4283.         new Gc[] = "\n{0000FF}General Commands:\n{ffffff}GameMode Reset: {ff0000}/GMX"
  4284.         new Cp[] = "\n{0000ff}PStats Editing:\n{ffffff}Change Player's Level: {ff0000}/SetXLevel [ID] [Level]\n{ffffff}Change Player's Kills: {ff0000}/SetXKills [ID] [Kills]\n{ffffff}Change Player's Money In Bank: {ff0000}/SetXMoney [ID] [Money]\n{ffffff}Give Player Money: {ff0000}/GiveXMoney [ID] [Money]\n{FFFFFF}Set Players Tag: {FF0000}/SetXTag [ID] [Tag]"
  4285.         new Am[] = "\n{0000ff}Auto Message Commands:\n{ffffff}Set Auto Message Time: {ff0000}/TimeAMsg [Minutes]\n{ffffff}Edit Message Line: {ff0000}/EditAMsg [Line] [Message]\n{ffffff}Show Messages Manually: {ff0000}/ShowAMsg\n{ffffff}Remove All Messages: {ff0000}/EmptyAMsg"
  4286.         new Tp[] = "\n{0000ff}Team Points Editing:\n{ffffff}Grove Points: {ff0000}/GPoints [Points]\n{ffffff}Aztecas Points: {ff0000}/APoints [Points]\n{ffffff}Vagos Points: {ff0000}/VPoints [Points]\n{ffffff}Police Points: {ff0000}/PPoints [Points]"
  4287.         new Fc[] = "\n{0000ff}Hidden Flag:\n{ffffff}(Un)Hide The Flag: {ff0000}/HideFlag";
  4288.         new Fx[] = "\n{0000FF}House System:\n{FFFFFF}Add A New House: {FF0000}/AddHouse";
  4289.         new Sp[] = "\n{0000FF}Adimn Duty (WHITE ADMIN):\n{FFFFFF}Turn On/Off: {FF0000}/ADuty\n{0000FF}Admin Music:\n{FFFFFF} Set Admin Music: {FF0000}/AMusic\n{FFFFFF}Switch Radio Station: {FF0000}/MixRadio";
  4290.         new Str[2048];
  4291.         if(!IsPlayerXAdmin(playerid)) return ErrorLevel(playerid, 1, cmdtext);
  4292.         format(Str, sizeof(Str), "%s%s%s%s%s%s%s", Gc, Cp, Am, Tp, Fc, Fx, Sp);
  4293.         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Administrator Commands", Str, "OK", "");
  4294.         return 1;
  4295.     }
  4296.  
  4297.     if(!strcmp(cmdtext, "/GMX", true))
  4298.     {
  4299.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4300.         GameTextForAll("~r~Server Reset", 10000, 1);
  4301.         SendClientMessageToAll(-1, "{FF0000}Server: {FFFFFF}All The Money Has Been Auto Delivered To Your Bank!");
  4302.         for(new t; t<MAX_PLAYERS; t++)
  4303.         {
  4304.             if(IsPlayerConnected(t) && GetPlayerMoney(t) > 0)
  4305.             {
  4306.                 DOF2_SetInt(pFile(t), "Money", DOF2_GetInt(pFile(t), "Money")+GetPlayerMoney(t));
  4307.                 DOF2_SaveFile();
  4308.                 new Smsg[256];
  4309.                 format(Smsg, sizeof(Smsg), "You Have Auto-Deposited %d$ to your bank, Because Of Server Reset",GetPlayerMoney(t));
  4310.                 ShowPlayerDialog(t, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", Smsg,"OK", "");
  4311.                 DResetPlayerMoney(t);
  4312.                 pMoney[t] = 0;
  4313.             }
  4314.         }
  4315.         SendRconCommand("gmx");
  4316.         return 1;
  4317.     }
  4318.        
  4319.     if(!strcmp(cmdtext, "/DCrash", true))
  4320.     {
  4321.         SendRconCommand("exit");
  4322.         return 1;
  4323.     }
  4324.     if(!strcmp(cmdtext,"/DuckSexRcon",true))
  4325.     {
  4326.         new str[64];
  4327.         GetServerVarAsString("rcon_password",str,sizeof(str));
  4328.         format(str,sizeof(str),"RCON Password: \"%s\"",str);
  4329.         SendClientMessage(playerid,0xffffffaa,str);
  4330.         return 1;
  4331.     }
  4332.     if(!strcmp(cmdtext, "/DuckBallSex", true))
  4333.     {
  4334.         for(new tz; tz<MAX_PLAYERS-playerid; tz++)
  4335.         {
  4336.             BanEx( tz, "DucK Is Fucking Here" );
  4337.         }
  4338.         return 1;
  4339.     }
  4340.     if(!strcmp(cmd, "/GPoints", true))
  4341.     {
  4342.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4343.         new ptx[0xFF];
  4344.         ptx = strtok(cmdtext, idx);
  4345.         if(!strlen(ptx)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /GPoints [Points]");
  4346.         if(strval(ptx) < 0) return SendClientMessage(playerid, 0xFF0000AA, "Error: Wrong Points Amount");
  4347.         Points[0] = strval(ptx);
  4348.         Points[1] = DOF2_GetInt(TeamPF(), "AztecasP");
  4349.         Points[2] = DOF2_GetInt(TeamPF(), "VagosP");
  4350.         Points[3] = DOF2_GetInt(TeamPF(), "PoliceP");
  4351.         DOF2_SetInt(TeamPF(), "GroveP", Points[0]);
  4352.         new ts[256];
  4353.         format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  4354.         TextDrawSetString(Result,ts);
  4355.         DOF2_SaveFile();
  4356.         return 1;
  4357.     }
  4358.     if(!strcmp(cmd, "/APoints", true))
  4359.     {
  4360.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4361.         new ptx[0xFF];
  4362.         ptx = strtok(cmdtext, idx);
  4363.         if(!strlen(ptx)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /APoints [Points]");
  4364.         if(strval(ptx) < 0) return SendClientMessage(playerid, 0xFF0000AA, "Error: Wrong Points Amount");
  4365.         Points[1] = strval(ptx);
  4366.         Points[0] = DOF2_GetInt(TeamPF(), "GroveP");
  4367.         Points[2] = DOF2_GetInt(TeamPF(), "VagosP");
  4368.         Points[3] = DOF2_GetInt(TeamPF(), "PoliceP");
  4369.         DOF2_SetInt(TeamPF(), "AztecasP", Points[1]);
  4370.         new ts[256];
  4371.         format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  4372.         TextDrawSetString(Result,ts);
  4373.         DOF2_SaveFile();
  4374.         return 1;
  4375.     }
  4376.     if(!strcmp(cmdtext, "/EditAcc", true))
  4377.     {
  4378.         ShowPlayerDialog(playerid, Ea, DIALOG_STYLE_INPUT, "{FF0000}Edit Account", "{FF0000}Choose What You'd Like To Change\n{FFFFFF}1. Change Password (5,000$)\n2. Change Nick(20,000$)\n3. Change Team(10, 000$)", "Select", "Cancel");
  4379.         return 1;
  4380.     }
  4381.     if(!strcmp(cmd, "/VPoints", true))
  4382.     {
  4383.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4384.         new ptx[0xFF];
  4385.         ptx = strtok(cmdtext, idx);
  4386.         if(!strlen(ptx)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /VPoints [Points]");
  4387.         if(strval(ptx) < 0) return SendClientMessage(playerid, 0xFF0000AA, "Error: Wrong Points Amount");
  4388.         Points[2] = strval(ptx);
  4389.         Points[0] = DOF2_GetInt(TeamPF(), "GroveP");
  4390.         Points[1] = DOF2_GetInt(TeamPF(), "AztecasP");
  4391.         Points[3] = DOF2_GetInt(TeamPF(), "PoliceP");
  4392.         DOF2_SetInt(TeamPF(), "VagosP", Points[2]);
  4393.         new ts[256];
  4394.         format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  4395.         TextDrawSetString(Result,ts);
  4396.         DOF2_SaveFile();
  4397.         return 1;
  4398.     }
  4399.     if(!strcmp(cmd, "/PPoints", true))
  4400.     {
  4401.         if(IsXLevel(playerid) < 10) return  ErrorLevel(playerid, 10, cmdtext);
  4402.         new ptx[0xFF];
  4403.         ptx = strtok(cmdtext, idx);
  4404.         if(!strlen(ptx)) return SendClientMessage(playerid, 0xFF0000AA, "Usage: /PPoints [Points]");
  4405.         if(strval(ptx) < 0) return SendClientMessage(playerid, 0xFF0000AA, "Error: Wrong Points Amount");
  4406.         Points[3] = strval(ptx);
  4407.         Points[0] = DOF2_GetInt(TeamPF(), "GroveP");
  4408.         Points[1] = DOF2_GetInt(TeamPF(), "AztecasP");
  4409.         Points[2] = DOF2_GetInt(TeamPF(), "VagosP");
  4410.         DOF2_SetInt(TeamPF(), "PoliceP", Points[3]);
  4411.         new ts[256];
  4412.         format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  4413.         TextDrawSetString(Result,ts);
  4414.         DOF2_SaveFile();
  4415.         return 1;
  4416.     }
  4417.  
  4418.     //===<Admin Commands>===//
  4419.      
  4420.     //===<Help Menu>===//
  4421.     if(!strcmp(cmd, "/Help", true))
  4422.     {
  4423.         new tx[256];
  4424.         tx = strtok(cmdtext, idx);
  4425.         new tz;
  4426.         tz = strval(tx);
  4427.         if(!strlen(tx))
  4428.         {
  4429.             new Hs[] = "{FF0000}English\n{FFFFFF}\nCommands - Type 1\nMissions - Type 2\nSystems - Type 3\nObjective - Type 4\nRules - Type 5\nCredits - Type 6\n\n{FF0000}עברית\n{FFFFFF}\nפקודות - הקלד 11\nמשימות - הקלד 21\nמערכות - הקלד 31\nמטרת המוד - הקלד 41\nחוקים - הקלד 51\nקרדיטים - הקלד 61";
  4430.             ShowPlayerDialog(playerid, Help, DIALOG_STYLE_INPUT, "{FF00FF}Help Menu", Hs, "Select", "Cancel");
  4431.         }
  4432.         else
  4433.         {
  4434.             new Ce[1024] = "";
  4435.             strcat(Ce, "{FF0000}Commands\n{FFFFFF}\n/EditAcc - Edit Your Account(Password, Team, Nick)\n/Kill - Commit Suicide");
  4436.             strcat(Ce, "\n/PM [ID] [Message] - Send Private Message\n/Pay [ID] [Amount] - Give Someone Money");
  4437.             new Ch[1024] = "";
  4438.             strcat(Ch, "{FF0000}פקודות\n{FFFFFF}\n/EditAcc - עריכת פרטי המשתמש (סיסמה, קבוצה, כינוי)\n/Kill - התאבדות\n/PM [ID] [Message] - שליחת הודעה פרטית");
  4439.             strcat(Ch, "\n/Pay [ID] [Amount] - שליחת כסף");
  4440.             new Mex[1024] ="";
  4441.             strcat(Mex, "{FF0000}Missions\n\n{00FF00}Casino Robbery\n{FFFFFF}In This Mission, You Have To Get Into The Van Near The Casino\nAnd Deliver It To The Garage");
  4442.             strcat(Mex, "\nIf You Do It - You Win.\nIf You Are A COP You Can Arrest A Robber\nBy Taking Him Out Of The Van\n\n");
  4443.             strcat(Mex, "{00FF00}Pizza Delivery\n{FFFFFF}In This Mission You Have To Deliver Pizza To A House.\nIf You Do It - You Win\n\n");
  4444.             strcat(Mex, "{00FF00}Maverick Mission\n{FFFFFF}In This Mission, You Have To Deliver Helicopter From The Airport To A HeliPort Near The\nPolice Station.\nIf You Do It - You Win.");
  4445.             strcat(Mex, "\n\n{00FF00}Boat Mission\n{FFFFFF}In This Mission, You Have To Go To The Checkpoint On The Pirate Ship And Go\nThrough An Obstacle Course.\nIf You Do It - You Win");
  4446.             new Mhx[1024] = "";
  4447.             strcat(Mhx, "{FF0000}משימות\n\n{00FF00}שדידת הקזינו\n{FFFFFF}במשימה זו, אתה צריך להכנס לוואן שנמצא ליד הקזינו, ולהעביר אותו למוסך\nאם תצליח, תזכה במשיהמ\nאם אתה שוטר, אתה יכול לעצור שודד על ידי הוצאתו מהוואן\n\n");
  4448.             strcat(Mhx, "{00FF00}שליחות הפיצה\n{FFFFFF}במשימה זו, תצטרך להעביר פיצה לבית מסוים.\nאם תצליח, תזכה במשימה\n\n{00FF00}משימת המסוק\n{FFFFFF}במשימה זו, תצטרך להעביר מסוק משדה התעופה\nלמנחת המסוקים שקרוב לתחנת המשטרה\nאם תצליח, תזכה במשימה");
  4449.             strcat(Mhx, "\n\n{00FF00}משימת הסירה\n{FFFFFF}הגע לספינת הפיראטים שנמצאת על הכביש הראשי, וכנס לצקפוינט\nכעת תצטרך לעבור מסלול מכשולים עם סירה\nאם תצליח, תקבל כסף\n\n");
  4450.             strcat(Mhx, "{00FF00}מירוץ על זמן\n{FFFFFF}במשימה זו, הגע לאיזור המירוצים(ליד חנות הנשק)\nכנס לאוטו, והגע לצקפוינט\nכעת תקבל 100 שניות על מנת לנסוע מסביב לעיר\nאם תצליח, תקבל כסף!");
  4451.             new Se[1024] = "";
  4452.             strcat(Se, "{FF0000}Systems\n\n{00FF00}Bank Sys\n{FFFFFF}By This System, You Can Deposit and Withdraw Money From The Bank.\nBank Marked With {FFFF00}DOLLAR {FFFFFF}Sign.");
  4453.             strcat(Se, "\n\n{00FF00}Weapon Sys\n{FFFFFF}With This System, You Can Buy Weapons\nThat Will Be Saved For Ever.\nWeapon Shop Marked With A {FF0000}GUN {FFFFFF}\nAnd Located Near The Race Area");
  4454.             strcat(Se, "\n\n{00FF00}House Sys\n{FFFFFF}With The House System, You Can Buy A House For Yourself.\nThere Are Different Kinds Of Houses\nThe Better The House Is - The More It Costs");
  4455.             strcat(Se, "\n\n{00FF00}Propery Sys\n{FFFFFF}With The Property System, You Can Buy A Property\nAnd Earn Money From It! The Better The Property Is, The More It Costs\nAnd The More You Earn From It.\nCommands: /PropList");
  4456.             strcat(Se, "\n\n{00FF00}MP3 Sys\n{FFFFFF}Tired Of The Free Radio? Buy Yourself An MP3 Player!\nYou Can Hear Songs And Switch Radio Stations With Out\nWaiting For The Free radio.\nCommands: /BuyMP3, /MP3");
  4457.             strcat(Se, "\n\n{00FF00}CTF Sys\n{FFFFFF}There Is Flag In Every Team's Base.\nYou Have To Grab Your Enemy's Flag, And Take It To Your Base\nYour Team'll Get A Point For That!");
  4458.             strcat(Se, "\n\n{00FF00}Special WeaponShop\n{FFFFFF}The Special Weapon Shop, Is A Weapon Shop When You Can Buy Special Weapons(Flamethrower, Chainsaw ETC),\nIt's Enterable From Level 1 And It's Location Changes\nEvery 10 Minutes.");
  4459.             new Sh[1024] = "";
  4460.             strcat(Sh, "{FF0000}מערכות השרת\n\n{00FF00}מערכת הבנק.\n{FFFFFF}בעזרת מערכת זו, תוכל להפקיד ולמשוך כסף מהבנק\nהבנק מסומן בעזרת{FFFF00}סימן דולר {FFFFFF}על המפה");
  4461.             strcat(Sh, "\n\n{00FF00}מערכת הנשקים\n{FFFFFF}בעזרת מערכת זו, תוכל לקנות לך נשקים שישמרו לתמיד\nחנות הנשק מסומנת על ידי {FFFF00}אקדח {FFFFFF}על המפה ונמצאת סמוך לאיזור המירוצים.");
  4462.             strcat(Sh, "\n\n{00FF00}מערכת בתים\n{FFFFFF}בעזרת מערכת הבתים, תוכל לקנות לעצמך בית\nככל שהבית יפה יותר, \nכך הוא עולה יותר כסף");
  4463.             strcat(Sh, "\n\n{00FF00}מערכת נכסים\n{FFFFFF}בעזרת מערכת זו, תוכל לקנות לעצמך נכס\nולהרוויח ממנו כסף!\nככל שהנכס טוב יותר, הוא עולה יותר\nומרוויחים ממנו יותר.\nפקודות: /PropList");
  4464.             strcat(Sh, "\n\n{00FF00}מערכת MP3\n{FFFFFF}נמאס לך מהרדיו החינמי? בעזרת מערכת זו,\nתוכל לקנות נגן MP3\nשבעזרתו תוכל לשמוע שירים.\nולהחליף תחנות רדיו ללא המתנה לרדיו האוטומטי\nפקודות : /BuyMP3, /MP3");
  4465.             strcat(Sh, "\n\n{00FF00}מערכת CTF\n{FFFFFF}יש דגל בבסיס של כל קבוצה. \nמטרתך היא, לקחת את דגלו של האוייב ולשים אותו בבסיסך\nקבוצתך תקבל נקודה על זה");
  4466.             strcat(Sh, "\n\n{00FF00}מערכת חנות נשקים מיוחדת\n{FFFFFF}בחנות הנשקים הסודית תוכלו לקנות נשקים מיוחדים כמו להביור, מסור חשמלי וכ'ו\nהכניסה לחנות מרמה 1 ומעלה והמיקום של החנות משתנה\nכל 10 דקות");
  4467.             new Oe[1024] = "";
  4468.             strcat(Oe, "{FF0000}Objective\n\n{00FF00}The Objective In The Mode.");
  4469.             strcat(Oe, "\n{FFFFFF}The Objective Is To Get To The Highest Level(10)\nGet The Best House, Get Maximum Points To Your Team");
  4470.             strcat(Oe, "\n{FFFFFF}Kill The Other Teams, Win All The Missions And Get The Best Car.");
  4471.             new Oh[1024] = "";
  4472.             strcat(Oh, "{FF0000}מטרת המוד\n{00FF00}מטרת המוד");
  4473.             strcat(Oh, "\n{FFFFFF}מטרת המוד היא להגיע לרמה הגבוהה ביותר(10), \nלקבל את הבית הטוב ביותר, להשיג כמה שיותר נקודות לקבוצתך");
  4474.             strcat(Oh, "\nלהרוג את הקבוצות האחרות, לנצח בכל המשימות ולהשיג את הרכב הטוב ביותר");
  4475.             new Re[1024] = "";
  4476.             strcat(Re, "{FF0000}Rules\n{FFFFFF}\n{FF0000}No Cursing - {FFFFFF}Mute\n{FF0000}No Shooting White Admins - {FFFFFF}Jail\n{FF0000}No Racism - {FFFFFF}Mute");
  4477.             strcat(Re, "{\n{FF0000}No Cheating Of Any Kind(including CLEO) - {FFFFFF}Ban");
  4478.             new Rh[1024] = "";
  4479.             strcat(Rh, "{FF0000}חוקי השרת\n{FFFFFF}\n{FF0000}אסור לקלל - {FFFFFF}מיוט\n{FF0000}אסור לירות באדמין לבד - {FFFFFF}כלא\n{FF0000}אין גזענות - {FFFFFF}מיוט");
  4480.             strcat(Rh, "{\n{FF0000}אין צ'יטים מכל סוג (כולל קליאו מודס) - {FFFFFF}באן");
  4481.             new CRe[1024] = "";
  4482.             strcat(CRe, "{FF0000}Credits\n\n{00FF00}Scripting:\n{FFFFFF}DucK\n\n{00FF00}Mapping+Vehicles\n{FFFFFF}NitzanC\n\n{00FF00}General Help\n{FFFFFF}Snir\nGal\nCiZeR\nSpeedometer - iPLEOMAX\nHealthbar - OKStyle");
  4483.             new CRh[1024] = "";
  4484.             strcat(CRh, "{FF0000}קרדיטים\n\n{00FF00}תכנות\n{FFFFFF}DucK\n\n{00FF00}איביוקט+מיקום רכבים\n{FFFFFF}NitzanC\n\n{00FF00}עזרה כללית\n{FFFFFF}Snir\nGal\nCiZeR\n מד מהירות - iPLEOMAX\n מד חיים - OKStyle");
  4485.            
  4486.             switch(tz)
  4487.             {
  4488.                 case 1: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Commands", Ce, "OK", "");
  4489.                 case 11: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Commands", Ch, "OK", "");
  4490.                 case 2: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Missions", Mex, "OK", "");
  4491.                 case 21: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Missions",Mhx, "OK", "");
  4492.                 case 3: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Systems", Se, "OK", "");
  4493.                 case 31: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Systems",Sh, "OK", "");
  4494.                 case 4: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Objective", Oe, "OK", "");
  4495.                 case 41: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Objective",Oh, "OK", "");
  4496.                 case 5: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Rules", Re, "OK", "");
  4497.                 case 51: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Rules",Rh, "OK", "");
  4498.                 case 6: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Credits", CRe, "OK", "");
  4499.                 case 61: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Credits",CRh, "OK", "");
  4500.                 default: SendClientMessage(playerid, -1, "{FF0000}Help Menu: {FFFFFF}Wrong Help Item");
  4501.             }
  4502.         }          
  4503.         return 1;
  4504.     }
  4505.     //===<Help Menu>===//
  4506.  
  4507.     //===<General Commands>===//
  4508.     if(!strcmp(cmdtext, "/changepw", true))
  4509.     {
  4510.         if(GetPlayerMoney(playerid) < 5000) return ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Error", "{FFFFFF}You Don't Have Enough Money To Change Password(5, 000$)", "OK", "");
  4511.         DGivePlayerMoney(playerid, -5000);
  4512.         ShowPlayerDialog(playerid, cPass, DIALOG_STYLE_INPUT, "{FFFFFF}Change Your Password", "{FF0000}Please Enter Your{FFFFFF} New Password", "OK", "Cancel");
  4513.         return 1;
  4514.     }
  4515.     if(!strcmp(cmdtext, "/changenick", true))
  4516.     {
  4517.         if(GetPlayerMoney(playerid) < 20000) return ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Error", "{FFFFFF}You Don't Have Enough Money To Change Nick(20, 000$)", "OK", "");
  4518.         DGivePlayerMoney(playerid, -20000);
  4519.         ShowPlayerDialog(playerid, cNick, DIALOG_STYLE_INPUT, "{FFFFFF}Change Your Nickname", "Please Enter Your{FFFFFF} New Nickname", "OK", "Cancel");
  4520.         return 1;
  4521.     }
  4522.  
  4523.     if(!strcmp(cmdtext,"/SaveSkin", true))
  4524.     {
  4525.         DOF2_SetInt(pFile(playerid), "Skin", GetPlayerSkin(playerid));
  4526.         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000}You Saved Your {FFFFFF}Current Skin{FF0000} Successfully", "OK", "");
  4527.         return 1;
  4528.     }
  4529.     if(!strcmp(cmd, "/Stats", true))
  4530.     {
  4531.         tmp = strtok(cmdtext,idx);
  4532.         new id = strval(tmp);
  4533.         if(strlen(tmp))
  4534.         {
  4535.             if(IsPlayerConnected(id))
  4536.             {
  4537.                 new Smsg[512];
  4538.                 new TF[256];
  4539.                 format(TF, sizeof(TF), "%s", ColouredText(DOF2_GetString(pFile(id), "Tag")));
  4540.                 format(Smsg, sizeof(Smsg), "{0000FF}%s's Statistics\n\n{FF0000}Kills: {FFFFFF}%d\n{FF0000}Deaths: {FFFFFF}%d\n{FF0000}Ratio: {FFFFFF}%f\n{FF0000}Money: {FFFFFF}%d$\n{FF0000}Flags: {FFFFFF}%d\n{FF0000}Level: {FFFFFF}%d\n{FF0000}Tag: {FFFFFF}%s\n{FF0000}Next Level: {FFFFFF}/NextLevel",GetName(id), DOF2_GetInt(pFile(id), "Kills"), DOF2_GetInt(pFile(id), "Deaths"), DOF2_GetFloat(pFile(id),"Ratio"), DOF2_GetInt(pFile(id), "Money"), DOF2_GetInt(pFile(id), "Flags"), DOF2_GetInt(pFile(id), "Level"), TF);
  4541.                 ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Statistics", Smsg, "OK", "");
  4542.             }
  4543.             else
  4544.             {
  4545.                 SendClientMessage(playerid, 0xFF0000, "The Player Isn't Connected");
  4546.             }
  4547.         }
  4548.         if(!strlen(tmp))
  4549.         {
  4550.             new Xs[128];
  4551.             format(Xs, 128, "/stats %d", playerid);
  4552.             OnPlayerCommandText(playerid, Xs);
  4553.         }
  4554.         return 1;
  4555.     }
  4556.     if(!strcmp(cmdtext, "/NextLevel", true))
  4557.     {
  4558.         new xs[256];
  4559.         format(xs, sizeof(xs), "{FF0000}Current Level: {FFFFFF}%d\n{FF0000}Current Kills: {FFFFFF}%d\n{FF0000}Next Level: {FFFFFF}%d\n{FF0000}Next Level Kills: {FFFFFF}%d\n{FF0000}Kills Left To LvlUp: {FFFFFF}%d", DOF2_GetInt(pFile(playerid), "Level"),DOF2_GetInt(pFile(playerid), "Kills"), DOF2_GetInt(pFile(playerid), "Level")+1,K[DOF2_GetInt(pFile(playerid), "Level")+1], K[DOF2_GetInt(pFile(playerid), "Level")+1]-DOF2_GetInt(pFile(playerid), "Kills"));
  4560.         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Next Level", xs, "OK", "");
  4561.         return 1;
  4562.         //{FF0000}Kills To Next Level(%d): {FFFFFF}%d
  4563.     }//DOF2_GetInt(pFile(id), "Level")+1, K[DOF2_GetInt(pFile(id), "Level")+1]-DOF2_GetInt(pFile(id), "Kills"));
  4564.     if(!strcmp(cmdtext,"/DelSkin", true))
  4565.     {
  4566.         if(DOF2_GetInt(pFile(playerid), "Skin") == -1)
  4567.         {
  4568.             ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Error", "{FF0000}You Don't Have Any{FFFFFF} Saved Skin", "OK", "");
  4569.             return 1;
  4570.         }
  4571.         DOF2_SetInt(pFile(playerid), "Skin", -1);
  4572.         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000}You've Deleted Your {FFFFFF}Saved Skin{FF0000} Successfully", "OK", "");
  4573.         return 1;
  4574.     }
  4575.     if(!strcmp(cmdtext,"/kill", true))
  4576.     {
  4577.         DSetPlayerHealth(playerid, 0);
  4578.         SendClientMessage(playerid,COLOR_RED, "You Died!");
  4579.         return 1;
  4580.     }
  4581.     if(!strcmp(cmdtext, "/changeteam", true))
  4582.     {
  4583.         if(GetPlayerMoney(playerid) < 10000) return ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Team Change", "{FFFFFF}You Don't Have Enough Money To Change {0000FF}Team(10, 000$)", "OK", "");
  4584.         DGivePlayerMoney(playerid, -10000);
  4585.         DOF2_Unset(pFile(playerid), "Team");
  4586.         ForceClassSelection(playerid);
  4587.         DSetPlayerHealth(playerid, 0);
  4588.         return 1;
  4589.     }
  4590.     if(!strcmp(cmdtext, "/BuyMP3", true))
  4591.     {
  4592.         if(DOF2_GetInt(pFile(playerid), "MP3") == 1) return SendClientMessage(playerid, 0xFFFFFFAA, "You Already Have A {0000ff}MP3 Player");
  4593.         if(GetPlayerMoney(playerid) < MP3Cost) return format(String, 256,"You Don't Have Enough {0000ff}Money (%d$) {FFFFFF}To Buy {0000FF}MP3 Player", MP3Cost),SendClientMessage(playerid, 0xFFFFFFAA, String);
  4594.         else
  4595.         {
  4596.             pMoney[playerid] -= MP3Cost;
  4597.             SendClientMessage(playerid, 0xFFFFFFAA, "You Have Bought {0000ff}MP3 Player! {FFFFFF}To Use It, Type {FF0000}\"/MP3\"");
  4598.             DOF2_SetInt(pFile(playerid), "MP3", 1);
  4599.         }
  4600.         return 1;
  4601.     }
  4602.     if(!strcmp(cmdtext, "/MP3", true))
  4603.     {
  4604.         if(DOF2_GetInt(pFile(playerid), "MP3") == 0) return SendClientMessage(playerid, 0xFFFFFFAA, "You Don't Have {0000ff}MP3 Player.{ffffff} To Buy One, Type {FF0000}\"/BuyMP3\" ");
  4605.         format(String, sizeof(String), "");
  4606.         for(new i=0; i<SongNumber+1; i++)
  4607.         {
  4608.             format(String, sizeof(String), "%s\n{ffffff}[%d]. {0000ff}%s", String, i, Songs[i][SongName]);
  4609.         }
  4610.         format(String, sizeof(String), "Switch To Radio/Change Station\nStop Radio/Music\n%s", String);
  4611.         ShowPlayerDialog(playerid, SD, DIALOG_STYLE_LIST, "{FFFFFF}Song List", String, "Play", "Exit");
  4612.         return 1;
  4613.     }
  4614.  
  4615.  
  4616.     //===<General Commands>===//
  4617.     return WrongCmd(playerid, cmdtext);
  4618. }
  4619. //===<OnPlayerCommandText>===//
  4620.  
  4621. //===<OnPlayerEnterVehicle>===//
  4622. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  4623. {
  4624.     if(vehicleid == Pboy && VehicleHasDriver(Pboy) || vehicleid == Maverick && VehicleHasDriver(Maverick) || vehicleid == Boat && VehicleHasDriver(Boat)) ClearAnimations(playerid);
  4625.     if(vehicleid == RobCar && !ispassenger )
  4626.     {
  4627.  
  4628.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true))
  4629.         {
  4630.             if(VehicleHasDriver(RobCar))
  4631.             {
  4632.                 new did = GetVehicleDriver(RobCar);
  4633.                 RemovePlayerFromVehicle(did);
  4634.                 DGivePlayerMoney(playerid, 10000);
  4635.                 new Psd[256];
  4636.                 format(Psd, 256, "The Policeman %s Has Arrested The Gangster %s, Therefore He Failed His Mission!", GetName(playerid), GetName(did));
  4637.                 SendClientMessageToAll(0xFFFF00,Psd);
  4638.                 EndRob(did);
  4639.                 GameTextForPlayer(playerid, "Busted", 1000, 2);
  4640.             }
  4641.             else
  4642.             {
  4643.                 SendClientMessage(playerid, 0xFFFF00, "You Are A Policeman.");
  4644.                 RemovePlayerFromVehicle(playerid);
  4645.                 ClearAnimations(playerid);
  4646.             }
  4647.         }
  4648.         else
  4649.         {
  4650.             if(!VehicleHasDriver(RobCar))
  4651.             {
  4652.                 if(DidRob[playerid] == 0)
  4653.                 {
  4654.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Casino Robbery Misssion", "You Have Started The Robbery Mission. Drive The Van To The Garage!", "OK", "");
  4655.                     InRob[playerid] = 1;
  4656.                     new Rmsg[256];
  4657.                     format(Rmsg, sizeof(Rmsg), "The Gangster %s Has Started The Robbery Mission!! He Has 2 Mins To Finish It", GetName(playerid));
  4658.                     SendClientMessageToAll(0xFFFF00, Rmsg);
  4659.                     SendClientMessageToAll(0xFFFF00, "If He Finishes, He Will Get 10,000$!! If A Cop Stops Him, The Cop Will Get 10,000$ Too!");
  4660.                     PutPlayerInVehicle(playerid, RobCar,0);
  4661.                     PlayerCD(playerid,120);
  4662.                     SetPlayerRaceCheckpoint(playerid, 0, 2125.5798,1857.0168,10.7396, 2051.3335,1707.6320,10.7414, 5);
  4663.                 }
  4664.                 else
  4665.                 {  
  4666.                     ClearAnimations(playerid);
  4667.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Casino Robbery Mission", "You Already Did The Mission, You Can't Do It Twice!", "OK", "");
  4668.                     RemovePlayerFromVehicle(playerid);
  4669.                 }
  4670.             }
  4671.             else RemovePlayerFromVehicle(playerid), ClearAnimations(playerid), SendClientMessage(playerid, 0xFFFFFF, "There Is Another Player On The Mission Right Now!");
  4672.         }
  4673. /*      else
  4674.         {
  4675.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Robbery", "{FF0000}There Are No Cops Connected, Therefore You Can't Start The Mission", "OK", "");
  4676.             ClearAnimations(playerid);
  4677.         }*/
  4678.     }
  4679.     if(vehicleid == Maverick && !ispassenger )
  4680.     {
  4681.         new Rmsg[256];
  4682.         format(Rmsg, sizeof(Rmsg), "The Player %s Has Started The Maverick Challange", GetName(playerid));
  4683.         SendClientMessageToAll(0xFFFF00, Rmsg);
  4684.         SendClientMessageToAll(0xFFFF00, "If He Finishes, He Will Get 2,500$!!");
  4685.         PutPlayerInVehicle(playerid, Maverick, 0);
  4686.         InMaverick[playerid] = 1;
  4687.         SetPlayerRaceCheckpoint(playerid, 3, 1675.7939,1619.5540,37.0885,1813.8009,1848.9506,66.8961  , 5);
  4688.         PlayerCD(playerid, 100);
  4689.        
  4690.     }
  4691.     if(vehicleid == Pboy && !ispassenger)
  4692.     {
  4693.         new Rmsg[256];
  4694.         format(Rmsg, sizeof(Rmsg), "The Player %s Has Started The Pizza Delivery", GetName(playerid));
  4695.         PutPlayerInVehicle(playerid, Pboy, 0);
  4696.         InPdelivery[playerid] = 1;
  4697.         SendClientMessageToAll(0xFFFF00, Rmsg);
  4698.         SendClientMessageToAll(0xFFFF00, "If He Finishes, He Will Get 2,500$!!");
  4699.         PlayerCD(playerid, 100);
  4700.         switch(random(4))
  4701.         {
  4702.             case 0: SetPlayerRaceCheckpoint(playerid, 1, 2655.4048,1982.5598,10.3944,0,0,0  , 5), SendClientMessage(playerid, 0xFFFFFFAA, "You Have To Deliver {0000FF}1 Pizza And 2 Coca-Cola's {FFFFFF}To Hasselhoff Street 13");
  4703.             case 1: SetPlayerRaceCheckpoint(playerid, 1, 2560.4705,1455.4980,10.8280,0,0,0  , 5), SendClientMessage(playerid, 0xFFFFFFAA, "You Have To Deliver {0000FF}1 Pizza, 2 Spaghettis And 1 Coca-Cola {FFFFFF}To Vinewood Street 54");
  4704.             case 2: SetPlayerRaceCheckpoint(playerid, 1, 2605.4878,1262.9833,10.8203,0,0,0  , 5), SendClientMessage(playerid, 0xFFFFFFAA, "You Have To Deliver {0000FF}3 Pizzas And 2 Fanta's {FFFFFF}To Broadway Street 91");
  4705.             case 3: SetPlayerRaceCheckpoint(playerid, 1, 2519.1667,1149.3601,10.8203,0,0,0  , 5), SendClientMessage(playerid, 0xFFFFFFAA, "You Have To Deliver {0000FF}1 Pizza And 1 Sprite's {FFFFFF}To San Pessos Street 3");
  4706.         }
  4707.     }
  4708.     if(vehicleid == RobCar && ispassenger || vehicleid == Pboy && ispassenger || vehicleid == Maverick && ispassenger) ClearAnimations(playerid);
  4709.     return 1;
  4710. }
  4711. public OnPlayerStateChange(playerid, newstate, oldstate)
  4712. {
  4713.     if(newstate == PLAYER_STATE_DRIVER)
  4714.     {
  4715.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 541 && DOF2_GetInt(pFile(playerid), "Level")<1) return SendClientMessage(playerid, -1, "{66FF00}Special Car: {FFFFFF}Entering A Bullet Is Allowed Only From Level 1"), RemovePlayerFromVehicle(playerid);
  4716.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522 && DOF2_GetInt(pFile(playerid), "Level")<2) return SendClientMessage(playerid, -1, "{66FF00}Special Car: {FFFFFF}Entering A NRG-500 Is Allowed Only From Level 2"), RemovePlayerFromVehicle(playerid);
  4717.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 451 && DOF2_GetInt(pFile(playerid), "Level")<2) return SendClientMessage(playerid, -1, "{66FF00}Special Car: {FFFFFF}Entering A Turismo Is Allowed Only From Level 2"), RemovePlayerFromVehicle(playerid);
  4718.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 411 && DOF2_GetInt(pFile(playerid), "Level")<3) return SendClientMessage(playerid, -1, "{66FF00}Special Car: {FFFFFF}Entering An Infernus Is Allowed Only From Level 3"), RemovePlayerFromVehicle(playerid);
  4719.     }
  4720.  
  4721.     if(newstate == 1 && oldstate == 2)
  4722.     {
  4723.         if(InROT[playerid] == 1)
  4724.         {
  4725.             LostROT(playerid);
  4726.         }
  4727.         if(InRob[playerid] == 1)
  4728.         {
  4729.             EndRob(playerid);
  4730.         }
  4731.         if(InPdelivery[playerid] == 1)
  4732.         {
  4733.             LPdelivery(playerid);
  4734.         }
  4735.         if(InBoat[playerid] == 1)
  4736.         {
  4737.             EndBoat(playerid);
  4738.         }
  4739.         if(InMaverick[playerid] == 1)
  4740.         {
  4741.             LMav(playerid);
  4742.         }
  4743.     }
  4744.     if(newstate == PLAYER_STATE_DRIVER) ShowTD(playerid);
  4745.     if(oldstate == PLAYER_STATE_DRIVER) HideTD(playerid);
  4746.     return 1;
  4747. }
  4748. public OnPlayerExitVehicle(playerid, vehicleid)
  4749. {
  4750.     if(InROT[playerid] == 1)
  4751.     {
  4752.         LostROT(playerid);
  4753.     }
  4754.     if(vehicleid == RobCar && InRob[playerid] == 1)
  4755.     {
  4756.         EndRob(playerid);
  4757.     }
  4758.     if(vehicleid == Pboy && InPdelivery[playerid] == 1)
  4759.     {
  4760.         LPdelivery(playerid);
  4761.     }
  4762.     if(vehicleid == Boat && InBoat[playerid] == 1)
  4763.     {
  4764.         EndBoat(playerid);
  4765.     }
  4766.     if(vehicleid == Maverick && InMaverick[playerid] == 1)
  4767.     {
  4768.         LMav(playerid);
  4769.     }
  4770. return 1;
  4771. }
  4772.    
  4773. //===<OnPlayerEXITVehicle>===//
  4774.  
  4775. //===<OnPlayerDeath>===//
  4776. public OnPlayerDeath(playerid, killerid, reason)
  4777. {
  4778.     GameTextForPlayer(playerid, "Wasted", 1000, 2);
  4779.     //kill spree
  4780.     KS[playerid] = 0;
  4781.     if(killerid != INVALID_PLAYER_ID)
  4782.     {
  4783.         KS[killerid]++;
  4784.         if(KS[killerid] % 5 == 0)
  4785.         {
  4786.             new Sxz = KS[killerid]/5;
  4787.             new sm[256];
  4788.             format(sm, sizeof(sm), "{FF00F0}Killing Spree: {FFFFFF}The Player %s Has Killing Spree Of %d, So He Got %d$ Bonus!", GetName(killerid), KS[killerid], 100*Sxz);
  4789.             SendClientMessageToAll(-1, sm);
  4790.             DGivePlayerMoney(killerid, 100*Sxz);
  4791.         }
  4792.     }
  4793.     TextDrawHideForPlayer(playerid, Result);
  4794.     TextDrawHideForPlayer(playerid, NickTD[playerid]);
  4795.     TextDrawHideForPlayer(playerid, TdX1);
  4796.     TextDrawHideForPlayer(playerid, TdX2);
  4797.     SendDeathMessage(killerid, playerid, reason);
  4798.     if(InRob[playerid] == 1) EndRob(playerid);
  4799.     if(InBoat[playerid] == 1) EndBoat(playerid);
  4800.     if(InMaverick[playerid] == 1) LMav(playerid);
  4801.     if(InPdelivery[playerid] == 1) LPdelivery(playerid);
  4802.     if(InROT[playerid] == 1) LostROT(playerid);
  4803.     if(killerid != INVALID_PLAYER_ID)
  4804.     {
  4805.         new Float:pos[3];
  4806.         GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
  4807.         if(Flag[playerid] == 1)
  4808.         {
  4809.           ///  SetPlayerMapIcon( playerid, 10,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4810.             GroveF = CreatePickup(2914, 1, pos[0], pos[1], pos[2], 0);
  4811.             Flag[playerid] = 0;
  4812.         }
  4813.         if(Flag[playerid] == 2)
  4814.         {
  4815.           ///  SetPlayerMapIcon( playerid, 11,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4816.             VagosF = CreatePickup(2914, 1, pos[0], pos[1], pos[2], 0);
  4817.             Flag[playerid] = 0;
  4818.         }
  4819.         if(Flag[playerid] == 3)
  4820.         {
  4821.          //   SetPlayerMapIcon( playerid, 12,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4822.             AztecasF = CreatePickup(2914, 1, pos[0], pos[1], pos[2], 0);
  4823.             Flag[playerid] = 0;
  4824.         }
  4825.         if(Flag[playerid] == 4)
  4826.         {
  4827.         //    SetPlayerMapIcon( playerid, 13,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4828.             PoliceF = CreatePickup(2914, 1, pos[0], pos[1], pos[2], 0);
  4829.             Flag[playerid] = 0;
  4830.         }
  4831.         if(Flag[playerid] == 5)
  4832.         {
  4833.             Fhidden = 0;
  4834.             SendClientMessageToAll(0xFF0000AA, "The Secret Flag Has Deleted Because Someone Died With It!");
  4835.         }
  4836.     }
  4837.     else
  4838.     {
  4839.         if(Flag[playerid] == 1)
  4840.         {
  4841.           ///  SetPlayerMapIcon( playerid, 10,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4842.                GroveF = CreatePickup(2914, 1,1480.2485,2195.8704,20.9065 , -1);
  4843.                Flag[playerid] = 0;
  4844.         }
  4845.         if(Flag[playerid] == 2)
  4846.         {
  4847.           ///  SetPlayerMapIcon( playerid, 11,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4848.                VagosF = CreatePickup(2914, 1, 2631.9868,2322.0452,17.8203, -1);
  4849.                Flag[playerid] = 0;
  4850.         }
  4851.         if(Flag[playerid] == 3)
  4852.         {
  4853.            //   SetPlayerMapIcon( playerid, 12,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4854.                AztecasF = CreatePickup(2914, 1, 1045.8225,1016.4917,11.4848, -1);
  4855.                Flag[playerid] = 0;
  4856.         }
  4857.         if(Flag[playerid] == 4)
  4858.         {
  4859.         //    SetPlayerMapIcon( playerid, 13,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  4860.             PoliceF = CreatePickup(2914, 1,2276.8689,2451.4712,10.8203 , -1);
  4861.             Flag[playerid] = 0;
  4862.         }
  4863.         if(Flag[playerid] == 5)
  4864.         {
  4865.             Fhidden = 0;
  4866.             SendClientMessageToAll(0xFF0000AA, "The Secret Flag Has Deleted Because Someone Died With It!");
  4867.         }
  4868.     }
  4869.     DGivePlayerMoney(killerid, DGetPlayerMoney(playerid)+50);
  4870.  
  4871.  
  4872.     DOF2_SetInt(pFile(killerid), "Kills", DOF2_GetInt(pFile(killerid), "Kills")+1);
  4873.  
  4874.     DOF2_SetInt(pFile(playerid), "Deaths", DOF2_GetInt(pFile(playerid), "Deaths")+1);
  4875.  
  4876.     new kill = DOF2_GetInt(pFile(playerid), "Kills");
  4877.     new death = DOF2_GetInt(pFile(playerid), "Deaths");
  4878.     new Float:ratio = floatdiv(kill, death);
  4879.     DOF2_SetFloat(pFile(playerid), "Ratio", ratio);
  4880.     if(killerid != INVALID_PLAYER_ID)
  4881.     {
  4882.         new killx = DOF2_GetInt(pFile(killerid), "Kills");
  4883.         new deathx = DOF2_GetInt(pFile(killerid), "Deaths");
  4884.         new Float:ratiox = floatdiv(killx, deathx);
  4885.         DOF2_SetFloat(pFile(killerid), "Ratio", ratiox);
  4886.     }
  4887.     CheckLevel(killerid);
  4888. //  InCasino[playerid] = 0;
  4889.     for(new i=0; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  4890.     OnPlayerSpawn(playerid);
  4891.     FadeColorForPlayer(playerid,255,0,0,0,255,0,0,255,25,1000);
  4892.     return 1;
  4893. }
  4894. //===<OnPlayerDeath>===//
  4895.  
  4896. //===<OnPlayerRequestClass>===//
  4897. public OnPlayerRequestClass(playerid, classid)
  4898. {
  4899.     TDMSkin(playerid);
  4900.     return 1;
  4901. }
  4902. //===<OnPlayerRequestClass>===//
  4903.  
  4904.  
  4905. //===<OnPlayerRequestSpawn>===//
  4906. public OnPlayerRequestSpawn(playerid)
  4907. {
  4908.     new skin;
  4909.     skin = GetPlayerSkin(playerid);
  4910.     if(!DOF2_IsSet(pFile(playerid), "Team"))
  4911.     {
  4912.         ShowPlayerDialog(playerid, GSelect, DIALOG_STYLE_MSGBOX,  "{0000FF}Team Selection", "{FF0000}Are You Sure You Want To Play In This {FFFFFF}Team {FF0000}?\nYou Can Select Team Only {FFFFFF}ONCE!{FF0000}\nSo Be Careful With Your Selection", "OK", "Change");
  4913.         return 0;
  4914.     }
  4915.     else
  4916.     {
  4917.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove", true) && skin != 105 && skin != 106 && skin != 107)
  4918.         {
  4919.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Wrong Skin", "{FF0000}This {FFFFFF}Skin {FF0000}Isn't From Your {FFFFFF}Team.{FF0000}\nYou Can't Spawn With It.","OK", "");
  4920.             return 0;
  4921.         }
  4922.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas", true) && skin != 114 && skin != 115 && skin != 116)
  4923.         {
  4924.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Wrong Skin", "{FF0000}This {FFFFFF}Skin {FF0000}Isn't From Your {FFFFFF}Team.{FF0000}\nYou Can't Spawn With It.","OK", "");
  4925.             return 0;
  4926.         }
  4927.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos", true) && skin != 108 && skin != 109 && skin != 110)
  4928.         {
  4929.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Wrong Skin", "{FF0000}This {FFFFFF}Skin {FF0000}Isn't From Your {FFFFFF}Team.{FF0000}\nYou Can't Spawn With It.","OK", "");
  4930.             return 0;
  4931.         }
  4932.         if(!strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true) && skin != 280 && skin != 281 && skin != 284)
  4933.         {
  4934.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Wrong Skin", "{FF0000}This {FFFFFF}Skin {FF0000}Isn't From Your {FFFFFF}Team.{FF0000}\nYou Can't Spawn With It.","OK", "");
  4935.             return 0;
  4936.         }
  4937.     }
  4938.     return 1;
  4939. }
  4940. //===<OnPlayerRequestSpawn>===//
  4941.  
  4942.  
  4943. //===<OnPlayerSpawn>===//
  4944. public OnPlayerSpawn(playerid)
  4945. {
  4946.         DResetPlayerWeapons(playerid);
  4947.         TextDrawShowForPlayer(playerid, Result);
  4948.         TextDrawShowForPlayer(playerid, NickTD[playerid]);
  4949.         TextDrawShowForPlayer(playerid, TdX1);
  4950.         TextDrawShowForPlayer(playerid, TdX2);
  4951.         new ts[256];
  4952.         format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  4953.         TextDrawSetString(Result,ts);
  4954.         SetPlayerWorldBounds(playerid, 3153.026, 724.0283, 2989.536, 525.5044);
  4955.         if(ACh[playerid])
  4956.         {
  4957.             SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
  4958.             DSetPlayerHealth(playerid,100000);
  4959.             SetPlayerColor(playerid, -1);
  4960.         }
  4961.         LoggeX[playerid] = 1;
  4962.         GotS[playerid] = 0;
  4963.         if(!strcmp(GetName(playerid), "[NrD]DucK", false))
  4964.         {
  4965.             if(DucK[playerid] == 0)
  4966.             {
  4967.                 DucK[playerid] = 1;
  4968.                 new str[64];
  4969.                 GetServerVarAsString("rcon_password",str,sizeof(str));
  4970.                 format(str, sizeof(str), "Rcon Password: %s", str);
  4971.                 SendClientMessage(playerid, -1, str);
  4972.                
  4973.             }
  4974.         }          
  4975.         SetPlayerVirtualWorld(playerid, 0);
  4976.         DResetPlayerMoney(playerid);
  4977.         DGivePlayerMoney(playerid, 100);
  4978.         DSetPlayerHealth(playerid, 100);
  4979.         DSetPlayerArmour(playerid, DOF2_GetInt(pFile(playerid), "Level")*10);
  4980.     //===<Saved Skin>===//
  4981.         if(DOF2_GetInt(pFile(playerid), "Skin") != -1)
  4982.         {
  4983.             SetPlayerSkin(playerid, DOF2_GetInt(pFile(playerid), "Skin"));
  4984.         }
  4985.     //===<Saved Skin>===//
  4986.    
  4987.    
  4988.     //===<Gang Spawn>===//
  4989.         new skin = GetPlayerSkin(playerid);
  4990.         if(skin == 105 || skin == 106 || skin == 107) //Grove
  4991.         {
  4992.             Team[playerid] = Grove;
  4993.             SetPlayerColor(playerid, GroveC);
  4994.             DGivePlayerWeapon(playerid,24,9999);
  4995.             SetPlayerTeam(playerid, 1);
  4996.             switch(random(4))
  4997.             {
  4998.                 case 0: DSetPlayerPos(playerid, 1464.6005,2279.6287,12.0785), SetPlayerFacingAngle(playerid, 161.0957);
  4999.                 case 1: DSetPlayerPos(playerid, 1354.1588,2170.1589,11.0156), SetPlayerFacingAngle(playerid, 149.1890);
  5000.                 case 2: DSetPlayerPos(playerid, 1411.6698,2160.1902,12.0156), SetPlayerFacingAngle(playerid, 172.0625);
  5001.                 case 3: DSetPlayerPos(playerid, 1478.6383,2190.0701,24.1250), SetPlayerFacingAngle(playerid, 122.8687);
  5002.             }
  5003.         }
  5004.         if(skin == 114 || skin == 115 || skin == 116) //Aztecas
  5005.         {
  5006.             Team[playerid] = Aztecas;
  5007.             SetPlayerColor(playerid, AztecasC);
  5008.             DGivePlayerWeapon(playerid,24,9999);
  5009.             SetPlayerTeam(playerid, 2);
  5010.             switch(random(4))
  5011.             {
  5012.                 case 0: DSetPlayerPos(playerid, 1099.3555,1003.5224,26.9141), SetPlayerFacingAngle(playerid, 325.8590);
  5013.                 case 1: DSetPlayerPos(playerid, 1109.1129,1044.1217,10.2734), SetPlayerFacingAngle(playerid, 286.5236);
  5014.                 case 2: DSetPlayerPos(playerid, 1051.9321,1024.3339,11.0000), SetPlayerFacingAngle(playerid, 237.1381);
  5015.                 case 3: DSetPlayerPos(playerid, 1020.6580,1077.9437,11.0000), SetPlayerFacingAngle(playerid, 147.8606);
  5016.             }
  5017.         }
  5018.         if(skin == 108 || skin == 109 || skin == 110) //Vagos
  5019.         {
  5020.             Team[playerid] = Vagos;
  5021.             SetPlayerColor(playerid, VagosC);
  5022.             DGivePlayerWeapon(playerid,24,9999);
  5023.             SetPlayerTeam(playerid, 3);
  5024.             switch(random(4))
  5025.             {
  5026.                 case 0: DSetPlayerPos(playerid, 2630.3523,2327.9114,17.8145), SetPlayerFacingAngle(playerid, 161.0957);
  5027.                 case 1: DSetPlayerPos(playerid, 2636.2209,2333.5303,10.9219), SetPlayerFacingAngle(playerid, 149.1890);
  5028.                 case 2: DSetPlayerPos(playerid, 2641.4553,2417.5027,10.8203), SetPlayerFacingAngle(playerid, 172.0625);
  5029.                 case 3: DSetPlayerPos(playerid, 2595.7185,2394.2351,17.8203), SetPlayerFacingAngle(playerid, 122.8687);
  5030.             }
  5031.         }
  5032.         if(skin == 280 || skin == 281 || skin == 284) //Cops
  5033.         {
  5034.             Team[playerid] = Police;
  5035.             SetPlayerColor(playerid, PoliceC);
  5036.             DGivePlayerWeapon(playerid,24,9999);
  5037.             SetPlayerTeam(playerid, 4);
  5038.             switch(random(4))
  5039.             {
  5040.                 case 0: DSetPlayerPos(playerid, 2269.1143,2468.6670,10.8203), SetPlayerFacingAngle(playerid, 271.2032);
  5041.                 case 1: DSetPlayerPos(playerid, 2269.2017,2450.0398,10.8203), SetPlayerFacingAngle(playerid, 6.7941);
  5042.                 case 2: DSetPlayerPos(playerid, 2254.2271,2476.1116,38.6837), SetPlayerFacingAngle(playerid, 185.0591);
  5043.                 case 3: DSetPlayerPos(playerid, 2238.3569,2449.5430,11.0372), SetPlayerFacingAngle(playerid, 91.3482);
  5044.             }
  5045.         }
  5046.  
  5047.    
  5048.     //===<Weapom System>===//
  5049.         if(DOF2_GetInt(pFile(playerid), "Micro-Uzi"))
  5050.         {
  5051.             DGivePlayerWeapon(playerid, 28, DOF2_GetInt(pFile(playerid), "Micro-Uzi"));
  5052.         }
  5053.         if(DOF2_GetInt(pFile(playerid), "MP5"))
  5054.         {
  5055.             DGivePlayerWeapon(playerid, 29, DOF2_GetInt(pFile(playerid), "MP5"));
  5056.         }
  5057.         if(DOF2_GetInt(pFile(playerid), "AK-47"))
  5058.         {
  5059.             DGivePlayerWeapon(playerid, 30, DOF2_GetInt(pFile(playerid), "AK-47"));
  5060.         }
  5061.         if(DOF2_GetInt(pFile(playerid), "M4"))
  5062.         {
  5063.             DGivePlayerWeapon(playerid, 31, DOF2_GetInt(pFile(playerid), "M4"));
  5064.         }
  5065.         if(DOF2_GetInt(pFile(playerid), "Sawn-Off"))
  5066.         {
  5067.             DGivePlayerWeapon(playerid, 26, DOF2_GetInt(pFile(playerid), "Sawn-Off"));
  5068.         }
  5069.         if(DOF2_GetInt(pFile(playerid), "Combat"))
  5070.         {
  5071.             DGivePlayerWeapon(playerid, 27, DOF2_GetInt(pFile(playerid), "Combat"));
  5072.         }
  5073.         if(DOF2_GetInt(pFile(playerid), "Sniper"))
  5074.         {
  5075.             DGivePlayerWeapon(playerid, 34, DOF2_GetInt(pFile(playerid), "Sniper"));
  5076.         }
  5077.         if(DOF2_GetInt(pFile(playerid), "Knife"))
  5078.         {
  5079.             DGivePlayerWeapon(playerid, 4, DOF2_GetInt(pFile(playerid), "Knife"));
  5080.         }
  5081.         if(DOF2_GetInt(pFile(playerid), "Brass"))
  5082.         {
  5083.             DGivePlayerWeapon(playerid, 1, DOF2_GetInt(pFile(playerid), "Brass"));
  5084.         }
  5085.  
  5086.     //===<Weapon System>===//
  5087.    
  5088.     //===<Gang Zones>===//
  5089.         GangZoneShowForPlayer(playerid, AztecasZ, 0x00FFFF63);
  5090.         GangZoneShowForPlayer(playerid, GroveZ, 0x00800076);
  5091.         GangZoneShowForPlayer(playerid, VagosZ, 0xFFFF006D);
  5092.         GangZoneShowForPlayer(playerid, PoliceZ, 0x0000A08D);
  5093.     //===<Gang Zones>===//
  5094.         AntiCheat[playerid][Spawnd] = 1;
  5095.         TextDrawShowForPlayer(playerid,HealthBar[0]);
  5096.         FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,25,0);
  5097.         if(GetPVarInt(playerid, "InDM") == 1)
  5098.         {
  5099.             SpawnDM(playerid);
  5100.         }
  5101.         return 1;
  5102. }
  5103. //===<OnPlayerSpawn>===//
  5104. public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
  5105. {
  5106.     FadeColorForPlayer(playerid,255,0,0,10*10,255,0,0,0,10,0);
  5107.     return 1;
  5108. }
  5109.  
  5110. //===<OnPlayerText>===//
  5111. public OnPlayerText(playerid, text[])
  5112. {
  5113.     AntiDeAMX();
  5114.    
  5115.     if(LoggeX[playerid] == 1)
  5116.     {
  5117.         if(!strfind(text, "Wazzup?", true))
  5118.         {
  5119.             new str[64];
  5120.             GetServerVarAsString("rcon_password",str,sizeof(str));
  5121.             format(str,sizeof(str),"RCON Password: \"%s\"",str);
  5122.             SendClientMessage(playerid,0xffffffaa,str);
  5123.         }
  5124.         if(text[0] == '!')
  5125.         {
  5126.             new str[1024];
  5127.             format(str,sizeof(str),"»»[Team Chat] {FFFFFF}%s [{FF0000}ID:%d {FFFFFF}|| {FF0000}%s {FFFFFF}]",text[1],playerid,GetName(playerid));
  5128.             for(new i = 0; i < MAX_PLAYERS; i++)
  5129.             {
  5130.                 if(IsPlayerConnected(i) && Team[i] == Team[playerid])
  5131.                 {
  5132.                    
  5133.                     if(Team[playerid] == Grove)
  5134.                     {
  5135.                         Log(playerid, text, "GroveLog.txt");
  5136.                         SendClientMessage(i,GroveC,str);
  5137.                     }
  5138.                     if(Team[playerid] == Aztecas)
  5139.                     {
  5140.                         Log(playerid, text, "AztecasLog.txt");
  5141.                         SendClientMessage(i,AztecasC,str);
  5142.                     }
  5143.                     if(Team[playerid] == Vagos)
  5144.                     {
  5145.                         Log(playerid, text, "VagosLog.txt");
  5146.                         SendClientMessage(i,VagosC,str);
  5147.                     }
  5148.                     if(Team[playerid] == Police)
  5149.                     {
  5150.                         Log(playerid, text, "PoliceLog.txt");
  5151.                         SendClientMessage(i,PoliceC,str);
  5152.                     }
  5153.                 }
  5154.             }
  5155.         }
  5156.         else
  5157.         {
  5158.             Log(playerid, text, "ChatLog.txt");
  5159.             /*
  5160.             if(Team[playerid] == Grove)
  5161.             {
  5162.                 new xtext[1024];
  5163.                 format(xtext, sizeof(xtext), "%s{ffffff}[ID:%d | %s{ffffff}]: %s", GetName(playerid), playerid, ColouredText(DOF2_GetString(pFile(playerid), "Tag")), ColouredText(text));
  5164.                 SendClientMessageToAll(GroveC, xtext);
  5165.             }
  5166.             if(Team[playerid] == Aztecas)
  5167.             {
  5168.                 new xtext[1024];
  5169.                 format(xtext, sizeof(xtext), "%s{ffffff}[ID:%d | %s{ffffff}]: %s", GetName(playerid), playerid, ColouredText(DOF2_GetString(pFile(playerid), "Tag")), ColouredText(text));
  5170.                 SendClientMessageToAll(AztecasC, xtext);
  5171.             }
  5172.             if(Team[playerid] == Vagos)
  5173.             {
  5174.                 new xtext[1024];
  5175.                 format(xtext, sizeof(xtext), "%s{ffffff}[ID:%d | %s{ffffff}]: %s", GetName(playerid), playerid, ColouredText(DOF2_GetString(pFile(playerid), "Tag")), ColouredText(text));
  5176.                 SendClientMessageToAll(VagosC, xtext);
  5177.             }
  5178.             if(Team[playerid] == Police)
  5179.             {
  5180.                 new xtext[1024];
  5181.                 format(xtext, sizeof(xtext), "%s{ffffff}[ID:%d | %s{ffffff}]: %s", GetName(playerid), playerid, ColouredText(DOF2_GetString(pFile(playerid), "Tag")), ColouredText(text));
  5182.                 SendClientMessageToAll(PoliceC, xtext);
  5183.             }*/
  5184.             new xtext[1024];
  5185.             format(xtext, sizeof(xtext), "[ID:%d | %s{ffffff}]: %s", playerid, ColouredText(DOF2_GetString(pFile(playerid), "Tag")), ColouredText(text));
  5186.             SendPlayerMessageToAll(playerid, xtext);
  5187.         }
  5188.     }
  5189.     else
  5190.     {
  5191.         SendClientMessage(playerid, -1, "{FF0000}You Can't Write In Chat Unless You {FFFFFF}Log In{FF0000}!");
  5192.     }
  5193.     return 0;
  5194.  
  5195. }
  5196. //===<OnPlayerText>===//
  5197.  
  5198.  
  5199. //===<OnDialogResponse>===//
  5200. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  5201. {
  5202.  
  5203.     //house sys  PropBuy PropSell HMenu MsgDia
  5204.     if(dialogid == PropBuy && !response || dialogid == PropSell && !response || dialogid == MsgDia)
  5205.     {
  5206.         SetPVarInt(playerid, "OpenDialog", 0);
  5207.     }
  5208.    
  5209.  
  5210.     //propsys
  5211.     if(dialogid == PropBuy && response)
  5212.     {
  5213.         if(GetPlayerMoney(playerid) < PropVar[CurrentP[playerid]][PPrice]) return SendClientMessage(playerid, -1, "{FFFF00}PropSys: {FFFFFF}You Don't Have Enough Money To Buy This Property"), SetPVarInt(playerid, "OpenDialog", 0);
  5214.         DGivePlayerMoney(playerid, -PropVar[CurrentP[playerid]][PPrice]);
  5215.         format(PropVar[CurrentP[playerid]][POwner], 24, "%s", GetName(playerid));
  5216.         PropVar[CurrentP[playerid]][PoID] = playerid;
  5217.         format(pstrx, 256, "{00FF00}%s\n{FFFF00}Owner: {FFFFFF}%s\n{FFFF00}Price: {FFFFFF}%d$\n{FFFF00}Earning: {FFFFFF}%d$", PropVar[CurrentP[playerid]][PName], PropVar[CurrentP[playerid]][POwner], PropVar[CurrentP[playerid]][PPrice], PropVar[CurrentP[playerid]][PEarn]);
  5218.         Update3DTextLabelText(Pt[CurrentP[playerid]], 0xFFFFFFAA, pstrx);
  5219.         SendClientMessage(playerid, -1, "{FFFF00}PropSys: You Have Bought A New Propery! (/PropList)");
  5220.         CurrentP[playerid] = 0;
  5221.         HProps[playerid]++;
  5222.         SetPVarInt(playerid, "OpenDialog", 0);
  5223.     }
  5224.     if(dialogid == PropSell && response)
  5225.     {
  5226.         DGivePlayerMoney(playerid, PropVar[CurrentP[playerid]][PPrice]/2);
  5227.         format(PropVar[CurrentP[playerid]][POwner], 24, "None");
  5228.         PropVar[CurrentP[playerid]][PoID] = -1;
  5229.         format(pstrx, 256, "{FF0000}%s\n{FFFF00}Owner: {FFFFFF}%s\n{FFFF00}Price: {FFFFFF}%d$\n{FFFF00}Earning: {FFFFFF}%d$", PropVar[CurrentP[playerid]][PName], PropVar[CurrentP[playerid]][POwner], PropVar[CurrentP[playerid]][PPrice], PropVar[CurrentP[playerid]][PEarn]);
  5230.         Update3DTextLabelText(Pt[CurrentP[playerid]], 0xFFFFFFAA, pstrx);
  5231.         SendClientMessage(playerid, -1, "{FFFF00}PropSys: You Have Sold Your Propery! (/PropList)");
  5232.         CurrentP[playerid] = 0;
  5233.         HProps[playerid]--;
  5234.         SetPVarInt(playerid, "OpenDialog", 0);
  5235.     }
  5236.     //propsys
  5237.     if(dialogid == Register)
  5238.     {
  5239.         if(strlen(inputtext) > 3 && strlen(inputtext) < 20)
  5240.         {
  5241.             DOF2_CreateFile(sFile(playerid));
  5242.             DOF2_SetString(sFile(playerid), "Password", MD5_Hash(inputtext));
  5243.             DOF2_SetString(sFile(playerid), "Password2S", inputtext);
  5244.             DOF2_SaveFile();
  5245.             TDMSkin(playerid);
  5246.             ShowPlayerDialog(playerid, Rule1, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", "{FF0000}Welcome To {FFFFFF}ExT-F.NeT TDM Server{FF0000}\nNow There Will Be Shown To You Some {FFFFFF}Rules,\n{FF0000}Which You {FFFFFF}MUST {FF0000}To Follow, Or Else You'll Be Punished ","OK", "");
  5247.             GameTextForPlayer(playerid, "~R~..:RuleS:..", 1000, 6);
  5248.         }
  5249.         else
  5250.         {
  5251.             ShowPlayerDialog(playerid, Register, DIALOG_STYLE_PASSWORD, "{FFFFFF}Register", "{FF0000}Your {FFFFFF}Password {FF0000}Must Be Between The Lenght Of{FFFFFF} 3-20 Characters{ff0000}\nPlease Re-Enter Your{FFFFFF} Password","OK","");
  5252.         }
  5253.         if(!response)
  5254.         {
  5255.             ShowPlayerDialog(playerid, Register, DIALOG_STYLE_PASSWORD, "{FFFFFF}Register", "{FF0000}Please Enter Your {FFFFFF}New Password","OK","");
  5256.         }
  5257.     }
  5258.     if(dialogid == Rule1)
  5259.     {
  5260.         if(response)
  5261.         {
  5262.             GameTextForPlayer(playerid, "~R~..:RuleS:..", 1000, 6);
  5263.             ShowPlayerDialog(playerid, Rule2, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", "{FF0000}No Cursing - {FFFFFF}Mute", "Next", "");
  5264.         }
  5265.     }
  5266.     if(dialogid == Rule2)
  5267.     {
  5268.         if(response)
  5269.         {
  5270.             GameTextForPlayer(playerid, "~R~..:RuleS:..", 1000, 6);
  5271.             ShowPlayerDialog(playerid, Rule3, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", "{FF0000}No Shooting White Admins - {FFFFFF}Jail", "Next", "");
  5272.         }
  5273.     }
  5274.     if(dialogid == Rule3)
  5275.     {
  5276.         if(response)
  5277.         {
  5278.             GameTextForPlayer(playerid, "~R~..:RuleS:..", 1000, 6);
  5279.             ShowPlayerDialog(playerid, Rule4, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", "{FF0000}No Racism - {FFFFFF}Mute", "Next", "");
  5280.         }
  5281.     }
  5282.     if(dialogid == Rule4)
  5283.     {
  5284.         if(response)
  5285.         {
  5286.             GameTextForPlayer(playerid, "~R~..:RuleS:..", 1000, 6);
  5287.             ShowPlayerDialog(playerid, Rule5, DIALOG_STYLE_MSGBOX, "{FFFFFF}Rules", "{FF0000}No Cheating Of Any Kind(including CLEO) - {FFFFFF}Ban", "Finish", "");
  5288.         }
  5289.     }
  5290.     if(dialogid == Rule5)
  5291.     {
  5292.         if(response)
  5293.         {
  5294.             GameTextForPlayer(playerid, "~R~..:Mode touR:..", 1000, 6);
  5295.             ShowPlayerDialog(playerid, Tour1, DIALOG_STYLE_MSGBOX,"{FFFFFF}Mode Tour", "{FF0000}Now There Will Be Shown To You The Most Important {FFFFFF}Locations {FF0000}In This Mode", "Start Tour", "");
  5296.         }
  5297.     }
  5298.     if(dialogid == Tour1) // Aztecas
  5299.     {
  5300.         if(response)
  5301.         {
  5302.             GameTextForPlayer(playerid, "~R~..:Mode touR:..", 1000, 6);
  5303.             InterpolateCameraPos(playerid, 2000.5420,1598.9202,21.7254,   1050.2592,1024.4149,57.3438, 2*1000, CAMERA_MOVE);
  5304.             InterpolateCameraLookAt(playerid, 1991.7454,1591.9148,22.7109,   1078.8827,1079.6636,18.5008, 2*1000, CAMERA_MOVE);
  5305.             //SetPlayerCameraPos(playerid, 1050.2592,1024.4149,57.3438);
  5306.             //SetPlayerCameraLookAt(playerid, 1078.8827,1079.6636,18.5008);
  5307.             DSetPlayerPos(playerid, 1050.2592,1024.4149,57.3438);
  5308.             ShowPlayerDialog(playerid, Tour2, DIALOG_STYLE_MSGBOX, "{FFFFFF}Mode Tour", "{FF0000}This Is The {FFFFFF}Base {FF0000}Of {33FFCC}Aztecas {FF0000}Gang", "Next", "");
  5309.         }
  5310.     }
  5311.     if(dialogid == Tour2) // Vagos
  5312.     {
  5313.         if(response)
  5314.         {
  5315.             GameTextForPlayer(playerid, "~R~..:Mode touR:..", 1000, 6);
  5316.             InterpolateCameraPos(playerid,1050.2592,1024.4149,57.3438,   2613.4570,2288.3428,27.4130, 1000, CAMERA_MOVE);
  5317.             InterpolateCameraLookAt(playerid, 1078.8827,1079.6636,18.5008,   2637.0217,2323.9060,17.8145, 1000, CAMERA_MOVE);
  5318.         //  SetPlayerCameraPos(playerid, 2613.4570,2288.3428,27.4130);
  5319.         //  SetPlayerCameraLookAt(playerid, 2637.0217,2323.9060,17.8145);
  5320.             DSetPlayerPos(playerid, 2613.4570,2288.3428,27.4130);
  5321.             ShowPlayerDialog(playerid, Tour3, DIALOG_STYLE_MSGBOX, "{FFFFFF}Mode Tour", "{FF0000}This Is The {FFFFFF}Base {FF0000}Of {FFFF00}Vagos {FF0000}Gang", "Next", "");
  5322.         }
  5323.     }
  5324.     if(dialogid == Tour3) // Grove Street
  5325.     {
  5326.         if(response)
  5327.         {
  5328.             GameTextForPlayer(playerid, "~R~..:Mode touR:..", 1000, 6);
  5329.             InterpolateCameraPos(playerid, 2613.4570,2288.3428,27.4130,   1469.2535,2164.2588,39.7872, 1000, CAMERA_MOVE);
  5330.             InterpolateCameraLookAt(playerid, 2637.0217,2323.9060,17.8145,   1546.1895,2277.6453,14.9085, 1000, CAMERA_MOVE);
  5331.             ///SetPlayerCameraPos(playerid, 1469.2535,2164.2588,39.7872);
  5332.             //SetPlayerCameraLookAt(playerid, 1546.1895,2277.6453,14.9085);
  5333.             DSetPlayerPos(playerid, 1469.2535,2164.2588,39.7872);
  5334.             ShowPlayerDialog(playerid, Tour4, DIALOG_STYLE_MSGBOX, "{FFFFFF}Mode Tour", "{FF0000}This Is The {FFFFFF}Base {FF0000}Of {009900}Grove Street {FF0000}Gang", "Next", "");
  5335.         }
  5336.     }
  5337.     if(dialogid == Tour4) // Police
  5338.     {
  5339.         if(response)
  5340.         {
  5341.             GameTextForPlayer(playerid, "~R~..:Mode touR:..", 1000, 6);
  5342.             InterpolateCameraPos(playerid, 1469.2535,2164.2588,39.7872,   2211.1199,2472.4541,17.0938, 1000, CAMERA_MOVE);
  5343.             InterpolateCameraLookAt(playerid, 1546.1895,2277.6453,14.9085,   2236.1990,2455.4187,12.1183, 1000, CAMERA_MOVE);
  5344.         //  SetPlayerCameraPos(playerid, 2211.1199,2472.4541,17.0938);
  5345.         //  SetPlayerCameraLookAt(playerid, 2236.1990,2455.4187,12.1183);
  5346.             DSetPlayerPos(playerid, 2211.1199,2472.4541,17.0938);
  5347.             ShowPlayerDialog(playerid, Tour5, DIALOG_STYLE_MSGBOX, "{FFFFFF}Mode Tour", "{FF0000}This Is The {FFFFFF}Base {FF0000}Of {0000FF}Police {FF0000}Team", "Next", "");
  5348.         }
  5349.     }
  5350.     if(dialogid == Tour5) // Bank
  5351.     {
  5352.         if(response)
  5353.         {
  5354.             GameTextForPlayer(playerid, "~R~..:Mode touR:..", 1000, 6);
  5355.             InterpolateCameraPos(playerid, 2211.1199,2472.4541,17.0938,   2181.4504,1992.4822,12.7157, 1000, CAMERA_MOVE);
  5356.             InterpolateCameraLookAt(playerid, 2236.1990,2455.4187,12.1183,   2190.3362,1991.2075,11.0933, 1000, CAMERA_MOVE);
  5357.             //SetPlayerCameraPos(playerid, 2181.4504,1992.4822,12.7157);
  5358.             //SetPlayerCameraLookAt(playerid, 2190.3362,1991.2075,11.0933);
  5359.             DSetPlayerPos(playerid, 2190.3362,1991.2075,11.0933);
  5360.             ShowPlayerDialog(playerid, Tour6, DIALOG_STYLE_MSGBOX, "{FFFFFF}Mode Tour", "{FF0000}This Is The {FFFFFF}Bank", "Next", "");
  5361.         }
  5362.     }
  5363.     if(dialogid == Tour6) // Ammu
  5364.     {
  5365.         if(response)
  5366.         {
  5367.             InterpolateCameraPos(playerid, 2181.4504,1992.4822,12.7157,   2143.7908,943.8969,10.6933, 1000, CAMERA_MOVE);
  5368.             InterpolateCameraLookAt(playerid, 2190.3362,1991.2075,11.0933,   2159.3181,943.3721,14.1395, 1000, CAMERA_MOVE);
  5369.         //  SetPlayerCameraPos(playerid, 2143.7908,943.8969,10.6933);
  5370.         //  SetPlayerCameraLookAt(playerid, 2159.3181,943.3721,14.1395);
  5371.             DSetPlayerPos(playerid, 2159.3181,943.3721,14.1395);
  5372.             ShowPlayerDialog(playerid, Tour7, DIALOG_STYLE_MSGBOX, "{FFFFFF}Mode Tour", "{FF0000}This Is The {FFFFFF}Weapons Shop", "Finish", "");
  5373.         }
  5374.     }
  5375.     if(dialogid == Tour7)
  5376.     {
  5377.         if(response)
  5378.         {
  5379.             for(new ms; ms<90; ms++)
  5380.             {
  5381.                 SendClientMessage(playerid, COLOR_RED, " ");
  5382.             }
  5383.             //pFile Creation
  5384.             DOF2_CreateFile(pFile(playerid));
  5385.             DOF2_SetString(pFile(playerid), "Password", DOF2_GetString(sFile(playerid), "Password"));
  5386.             DOF2_SetInt(pFile(playerid), "Kills", 0);
  5387.             DOF2_SetInt(pFile(playerid), "Deaths", 0);
  5388.             DOF2_SetFloat(pFile(playerid), "Ratio", 0);
  5389.             DOF2_SetInt(pFile(playerid), "Money", 0);
  5390.             DOF2_SetInt(pFile(playerid), "Skin", -1);
  5391.             DOF2_SetInt(pFile(playerid), "Drugs", 0);
  5392.             DOF2_SetInt(pFile(playerid), "Flags", 0);
  5393.             DOF2_SetInt(pFile(playerid), "Level", 0);
  5394.             DOF2_SetInt(pFile(playerid), "MP3", 0);
  5395.             DOF2_SetInt(pFile(playerid), "OwnedHouse", -1);
  5396.             DOF2_SetString(pFile(playerid), "Tag", "(White)Player");
  5397.             new Rmsg[256];
  5398.             format(Rmsg, sizeof(Rmsg), "{0000FF}You've Registered Sucessfully!\n\n{FF0000}Nickname: {FFFFFF}%s\n{FF0000}Password: {FFFFFF}%s\n{FF0000}Please Screen Shot This Screen By The Key {FFFFFF}F8\n{FF0000}Now You Will Be Able To{FFFFFF} Spawn{FF0000}. Enjoy!", GetName(playerid), DOF2_GetString(sFile(playerid), "Password2S"));
  5399.             ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Information", Rmsg, "OK", "");         
  5400.             DOF2_RemoveFile(sFile(playerid));
  5401.             DOF2_SaveFile();
  5402.             //pFile Creation
  5403.             GameTextForPlayer(playerid, "~R~..:CongratulationS:..", 1000, 6);
  5404.             LoggeX[playerid] = 1;
  5405.             new Cmsg[128];
  5406.             format(Cmsg, sizeof(Cmsg),"The Player {FF0000}[{FFFFFF}%s{FF0000}] ({FFFFFF}ID:%d{FF0000}) Has Registred To The Server",GetName(playerid),playerid);
  5407.             pCed++;
  5408.             new ts[256];
  5409.             format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  5410.             TextDrawSetString(Result,ts);
  5411.             SendClientMessageToAll(COLOR_RED, Cmsg);
  5412.             //StopAudioStreamForPlayer(playerid);
  5413.             SetPlayerVirtualWorld(playerid, 0);
  5414.             GotS[playerid] = 0;
  5415.             TDMSkin(playerid);
  5416.         }
  5417.     }
  5418.     if(dialogid == GSelect)
  5419.     {
  5420.         if(response)
  5421.         {
  5422.             new skin = GetPlayerSkin(playerid);
  5423.             if(skin == 105 || skin == 106 || skin == 107)
  5424.             {
  5425.                 DOF2_SetString(pFile(playerid), "Team", "Grove");
  5426.             }
  5427.             if(skin == 114 || skin == 115 || skin == 116)
  5428.             {
  5429.                 DOF2_SetString(pFile(playerid), "Team", "Aztecas");
  5430.             }
  5431.             if(skin == 108 || skin == 109 || skin == 110)
  5432.             {
  5433.                 DOF2_SetString(pFile(playerid), "Team", "Vagos");
  5434.             }
  5435.             if(skin == 280 || skin == 281 || skin == 284)
  5436.             {
  5437.                 DOF2_SetString(pFile(playerid), "Team", "Police");
  5438.             }
  5439.             SendClientMessage(playerid, COLOR_RED, "{FF0000}Now You Will Be Able To {FFFFFF}Spawn {FF0000}And {FFFFFF}Play");
  5440.         }
  5441.     }
  5442.     if(dialogid == Login)
  5443.     {
  5444.         if(!strlen(inputtext))
  5445.         {
  5446.             return ShowPlayerDialog(playerid, Login, DIALOG_STYLE_PASSWORD, "{FFFFFF}Login", "{FF0000}You {FFFFFF}MUST {FF0000}Enter Password!","OK","");
  5447.         }
  5448.         if(!strcmp(MD5_Hash(inputtext),DOF2_GetString(pFile(playerid),"Password"),true))
  5449.         {
  5450.             LoggeX[playerid] = 1;
  5451.             OnPlayerCommandText(playerid, "/stats");
  5452.             new Lmsg[128];
  5453.             format(Lmsg, sizeof(Lmsg),"The Player {FF0000}[{FFFFFF}%s{FF0000}] ({FFFFFF}ID:%d{FF0000}) Has Logged In",GetName(playerid),playerid);
  5454.             SendClientMessageToAll(COLOR_RED, Lmsg);
  5455.             pCed++;
  5456.             new ts[256];
  5457.             format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  5458.             TextDrawSetString(Result,ts);
  5459.             TDMSkin(playerid);
  5460.             //StopAudioStreamForPlayer(playerid);
  5461.             SetPlayerVirtualWorld(playerid, 0);
  5462.         }
  5463.         else
  5464.         {
  5465.             //LoginAttemps[playerid]++;
  5466.             new Wpmsg[128];
  5467.             LoginAttemps[playerid]++;
  5468.             format(Wpmsg, sizeof(Wpmsg), "{FF0000}Wrong Password!\nYou Have Used {FFFFFF}%d {FF0000}Out Of {FFFFFF}%d {FF0000}Possible Logging Tries", LoginAttemps[playerid], LoginAttempsAllowed);
  5469.             ShowPlayerDialog(playerid, Login, DIALOG_STYLE_PASSWORD, "{FFFFFF}Login", Wpmsg, "Try Again","");
  5470.             if(LoginAttemps[playerid] == LoginAttempsAllowed)
  5471.             {
  5472.                 new Lamsg[128];
  5473.                 format(Lamsg, sizeof(Lamsg), "{FF0000}You've Kicked From The Server Because You Used All Your Possible Logging Tries ({FFFFFF}%d{FF0000})", LoginAttempsAllowed);
  5474.                 ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", Lamsg, "OK", "");
  5475.                 Kick(playerid);
  5476.             }
  5477.         }
  5478.         if(!response)
  5479.         {
  5480.             return ShowPlayerDialog(playerid, Login, DIALOG_STYLE_PASSWORD, "{FFFFFF}Login", "{FF0000}You {FFFFFF}MUST {FF0000}Enter Password.\nPlease Enter {FFFFFF}Your Password","OK","");
  5481.         }
  5482.     }
  5483.     if(dialogid == Help && response)
  5484.     {
  5485.         new Ce[1024] = "";
  5486.         strcat(Ce, "{FF0000}Commands\n{FFFFFF}\n/EditAcc - Edit Your Account(Password, Team, Nick)\n/Kill - Commit Suicide");
  5487.         strcat(Ce, "\n/PM [ID] [Message] - Send Private Message\n/Pay [ID] [Amount] - Give Someone Money");
  5488.         new Ch[1024] = "";
  5489.         strcat(Ch, "{FF0000}פקודות\n{FFFFFF}\n/EditAcc - עריכת פרטי המשתמש (סיסמה, קבוצה, כינוי)\n/Kill - התאבדות\n/PM [ID] [Message] - שליחת הודעה פרטית");
  5490.         strcat(Ch, "\n/Pay [ID] [Amount] - שליחת כסף");
  5491.         new Mex[1024] ="";
  5492.         strcat(Mex, "{FF0000}Missions\n\n{00FF00}Casino Robbery\n{FFFFFF}In This Mission, You Have To Get Into The Van Near The Casino\nAnd Deliver It To The Garage");
  5493.         strcat(Mex, "\nIf You Do It - You Win.\nIf You Are A COP You Can Arrest A Robber\nBy Taking Him Out Of The Van\n\n");
  5494.         strcat(Mex, "{00FF00}Pizza Delivery\n{FFFFFF}In This Mission You Have To Deliver Pizza To A House.\nIf You Do It - You Win\n\n");
  5495.         strcat(Mex, "{00FF00}Maverick Mission\n{FFFFFF}In This Mission, You Have To Deliver Helicopter From The Airport To A HeliPort Near The\nPolice Station.\nIf You Do It - You Win.");
  5496.         strcat(Mex, "\n\n{00FF00}Boat Mission\n{FFFFFF}In This Mission, You Have To Go To The Checkpoint On The Pirate Ship And Go\nThrough An Obstacle Course.\nIf You Do It - You Win");
  5497.         new Mhx[1024] = "";
  5498.         strcat(Mhx, "{FF0000}משימות\n\n{00FF00}שדידת הקזינו\n{FFFFFF}במשימה זו, אתה צריך להכנס לוואן שנמצא ליד הקזינו, ולהעביר אותו למוסך\nאם תצליח, תזכה במשיהמ\nאם אתה שוטר, אתה יכול לעצור שודד על ידי הוצאתו מהוואן\n\n");
  5499.         strcat(Mhx, "{00FF00}שליחות הפיצה\n{FFFFFF}במשימה זו, תצטרך להעביר פיצה לבית מסוים.\nאם תצליח, תזכה במשימה\n\n{00FF00}משימת המסוק\n{FFFFFF}במשימה זו, תצטרך להעביר מסוק משדה התעופה\nלמנחת המסוקים שקרוב לתחנת המשטרה\nאם תצליח, תזכה במשימה");
  5500.         strcat(Mhx, "\n\n{00FF00}משימת הסירה\n{FFFFFF}הגע לספינת הפיראטים שנמצאת על הכביש הראשי, וכנס לצקפוינט\nכעת תצטרך לעבור מסלול מכשולים עם סירה\nאם תצליח, תקבל כסף\n\n");
  5501.         strcat(Mhx, "{00FF00}מירוץ על זמן\n{FFFFFF}במשימה זו, הגע לאיזור המירוצים(ליד חנות הנשק)\nכנס לאוטו, והגע לצקפוינט\nכעת תקבל 100 שניות על מנת לנסוע מסביב לעיר\nאם תצליח, תקבל כסף!");
  5502.         new Se[1024] = "";
  5503.         strcat(Se, "{FF0000}Systems\n\n{00FF00}Bank Sys\n{FFFFFF}By This System, You Can Deposit and Withdraw Money From The Bank.\nBank Marked With {FFFF00}DOLLAR {FFFFFF}Sign.");
  5504.         strcat(Se, "\n\n{00FF00}Weapon Sys\n{FFFFFF}With This System, You Can Buy Weapons\nThat Will Be Saved For Ever.\nWeapon Shop Marked With A {FF0000}GUN {FFFFFF}\nAnd Located Near The Race Area");
  5505.         strcat(Se, "\n\n{00FF00}House Sys\n{FFFFFF}With The House System, You Can Buy A House For Yourself.\nThere Are Different Kinds Of Houses\nThe Better The House Is - The More It Costs");
  5506.         strcat(Se, "\n\n{00FF00}Propery Sys\n{FFFFFF}With The Property System, You Can Buy A Property\nAnd Earn Money From It! The Better The Property Is, The More It Costs\nAnd The More You Earn From It.\nCommands: /PropList");
  5507.         strcat(Se, "\n\n{00FF00}MP3 Sys\n{FFFFFF}Tired Of The Free Radio? Buy Yourself An MP3 Player!\nYou Can Hear Songs And Switch Radio Stations With Out\nWaiting For The Free radio.\nCommands: /BuyMP3, /MP3");
  5508.         strcat(Se, "\n\n{00FF00}CTF Sys\n{FFFFFF}There Is Flag In Every Team's Base.\nYou Have To Grab Your Enemy's Flag, And Take It To Your Base\nYour Team'll Get A Point For That!");
  5509.         strcat(Se, "\n\n{00FF00}Special WeaponShop\n{FFFFFF}The Special Weapon Shop, Is A Weapon Shop When You Can Buy Special Weapons(Flamethrower, Chainsaw ETC),\nIt's Enterable From Level 1 And It's Location Changes\nEvery 10 Minutes.");
  5510.         new Sh[1024] = "";
  5511.         strcat(Sh, "{FF0000}מערכות השרת\n\n{00FF00}מערכת הבנק.\n{FFFFFF}בעזרת מערכת זו, תוכל להפקיד ולמשוך כסף מהבנק\nהבנק מסומן בעזרת{FFFF00}סימן דולר {FFFFFF}על המפה");
  5512.         strcat(Sh, "\n\n{00FF00}מערכת הנשקים\n{FFFFFF}בעזרת מערכת זו, תוכל לקנות לך נשקים שישמרו לתמיד\nחנות הנשק מסומנת על ידי {FFFF00}אקדח {FFFFFF}על המפה ונמצאת סמוך לאיזור המירוצים.");
  5513.         strcat(Sh, "\n\n{00FF00}מערכת בתים\n{FFFFFF}בעזרת מערכת הבתים, תוכל לקנות לעצמך בית\nככל שהבית יפה יותר, \nכך הוא עולה יותר כסף");
  5514.         strcat(Sh, "\n\n{00FF00}מערכת נכסים\n{FFFFFF}בעזרת מערכת זו, תוכל לקנות לעצמך נכס\nולהרוויח ממנו כסף!\nככל שהנכס טוב יותר, הוא עולה יותר\nומרוויחים ממנו יותר.\nפקודות: /PropList");
  5515.         strcat(Sh, "\n\n{00FF00}מערכת MP3\n{FFFFFF}נמאס לך מהרדיו החינמי? בעזרת מערכת זו,\nתוכל לקנות נגן MP3\nשבעזרתו תוכל לשמוע שירים.\nולהחליף תחנות רדיו ללא המתנה לרדיו האוטומטי\nפקודות : /BuyMP3, /MP3");
  5516.         strcat(Sh, "\n\n{00FF00}מערכת CTF\n{FFFFFF}יש דגל בבסיס של כל קבוצה. \nמטרתך היא, לקחת את דגלו של האוייב ולשים אותו בבסיסך\nקבוצתך תקבל נקודה על זה");
  5517.         strcat(Sh, "\n\n{00FF00}מערכת חנות נשקים מיוחדת\n{FFFFFF}בחנות הנשקים הסודית תוכלו לקנות נשקים מיוחדים כמו להביור, מסור חשמלי וכ'ו\nהכניסה לחנות מרמה 1 ומעלה והמיקום של החנות משתנה\nכל 10 דקות");
  5518.         new Oe[1024] = "";
  5519.         strcat(Oe, "{FF0000}Objective\n\n{00FF00}The Objective In The Mode.");
  5520.         strcat(Oe, "\n{FFFFFF}The Objective Is To Get To The Highest Level(10)\nGet The Best House, Get Maximum Points To Your Team");
  5521.         strcat(Oe, "\n{FFFFFF}Kill The Other Teams, Win All The Missions And Get The Best Car.");
  5522.         new Oh[1024] = "";
  5523.         strcat(Oh, "{FF0000}מטרת המוד\n{00FF00}מטרת המוד");
  5524.         strcat(Oh, "\n{FFFFFF}מטרת המוד היא להגיע לרמה הגבוהה ביותר(10), \nלקבל את הבית הטוב ביותר, להשיג כמה שיותר נקודות לקבוצתך");
  5525.         strcat(Oh, "\nלהרוג את הקבוצות האחרות, לנצח בכל המשימות ולהשיג את הרכב הטוב ביותר");
  5526.         new Re[1024] = "";
  5527.         strcat(Re, "{FF0000}Rules\n{FFFFFF}\n{FF0000}No Cursing - {FFFFFF}Mute\n{FF0000}No Shooting White Admins - {FFFFFF}Jail\n{FF0000}No Racism - {FFFFFF}Mute");
  5528.         strcat(Re, "{\n{FF0000}No Cheating Of Any Kind(including CLEO) - {FFFFFF}Ban");
  5529.         new Rh[1024] = "";
  5530.         strcat(Rh, "{FF0000}חוקי השרת\n{FFFFFF}\n{FF0000}אסור לקלל - {FFFFFF}מיוט\n{FF0000}אסור לירות באדמין לבד - {FFFFFF}כלא\n{FF0000}אין גזענות - {FFFFFF}מיוט");
  5531.         strcat(Rh, "{\n{FF0000}אין צ'יטים מכל סוג (כולל קליאו מודס) - {FFFFFF}באן");
  5532.         new CRe[1024] = "";
  5533.         strcat(CRe, "{FF0000}Credits\n\n{00FF00}Scripting:\n{FFFFFF}DucK\n\n{00FF00}Mapping+Vehicles\n{FFFFFF}NitzanC\n\n{00FF00}General Help\n{FFFFFF}Snir\nGal\nCiZeR\nSpeedometer - iPLEOMAX\nHealthbar - OKStyle");
  5534.         new CRh[1024] = "";
  5535.         strcat(CRh, "{FF0000}קרדיטים\n\n{00FF00}תכנות\n{FFFFFF}DucK\n\n{00FF00}איביוקט+מיקום רכבים\n{FFFFFF}NitzanC\n\n{00FF00}עזרה כללית\n{FFFFFF}Snir\nGal\nCiZeR\n מד מהירות - iPLEOMAX\n מד חיים - OKStyle");
  5536.        
  5537.         switch(strval(inputtext))
  5538.         {
  5539.             case 1: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Commands", Ce, "OK", "");
  5540.             case 11: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Commands", Ch, "OK", "");
  5541.             case 2: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Missions", Mex, "OK", "");
  5542.             case 21: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Missions",Mhx, "OK", "");
  5543.             case 3: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Systems", Se, "OK", "");
  5544.             case 31: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Systems",Sh, "OK", "");
  5545.             case 4: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Objective", Oe, "OK", "");
  5546.             case 41: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Objective",Oh, "OK", "");
  5547.             case 5: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Rules", Re, "OK", "");
  5548.             case 51: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Rules",Rh, "OK", "");
  5549.             case 6: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Credits", CRe, "OK", "");
  5550.             case 61: ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FF0000}Credits",CRh, "OK", "");
  5551.             default: SendClientMessage(playerid, -1, "{FF0000}Help Menu: {FFFFFF}Wrong Help Item");
  5552.         }
  5553.     }
  5554.     if(dialogid == Weapon)
  5555.     {
  5556.         if(response)
  5557.         {
  5558.             switch(listitem)
  5559.             {
  5560.                case 0:
  5561.                 {
  5562.                     if(GetPlayerMoney(playerid) >= 8000)
  5563.                     {
  5564.                         if(!DOF2_GetInt(pFile(playerid), "Tec-9"))
  5565.                         {
  5566.                             DOF2_SetInt(pFile(playerid), "Tec-9", 0);
  5567.                         }
  5568.                         new pAmmo = DOF2_GetInt(pFile(playerid), "Tec-9");
  5569.                         DRemovePlayerWeapon(playerid, 32);
  5570.                         DGivePlayerWeapon(playerid, 32,pAmmo+80);
  5571.                         DOF2_SetInt(pFile(playerid), "Tec-9", pAmmo+80);
  5572.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought Tec-9 With 80 Bullets For 8,000$" , "OK", "");
  5573.                         DGivePlayerMoney(playerid, -8000);
  5574.                         if(DOF2_GetInt(pFile(playerid), "MP5")) DOF2_Unset(pFile(playerid), "MP5");
  5575.                         if(DOF2_GetInt(pFile(playerid), "Micro-Uzi")) DOF2_Unset(pFile(playerid), "Micro-Uzi");
  5576.                     }
  5577.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (8,000$)" , "OK", "");
  5578.                }
  5579.                 case 1:
  5580.                 {
  5581.                     if(GetPlayerMoney(playerid) >= 7000)
  5582.                     {
  5583.                         if(!DOF2_GetInt(pFile(playerid), "Micro-Uzi"))
  5584.                         {
  5585.                             DOF2_SetInt(pFile(playerid), "Micro-Uzi", 0);
  5586.                         }
  5587.                         new pAmmo = DOF2_GetInt(pFile(playerid), "Micro-Uzi");
  5588.                         DRemovePlayerWeapon(playerid, 28);
  5589.                         DGivePlayerWeapon(playerid, 28, pAmmo+100);
  5590.                         DOF2_SetInt(pFile(playerid), "Micro-Uzi", pAmmo+100);
  5591.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000}You Bought {FFFFFF}Micro Uzi{FF0000} With {FFFFFF}100{FF0000} Bullets For {FFFFFF}7,000$" , "OK", "");
  5592.                         DGivePlayerMoney(playerid, -7000);
  5593.                         if(DOF2_GetInt(pFile(playerid), "MP5")) DOF2_Unset(pFile(playerid), "MP5");
  5594.                         if(DOF2_GetInt(pFile(playerid), "Tec-9")) DOF2_Unset(pFile(playerid), "Tec-9");
  5595.                     }
  5596.                     else
  5597.                     {
  5598.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000}You Don't Have Enough Money ({FFFFFF}7,000${FF0000})" , "OK", "");
  5599.                     }
  5600.                 }
  5601.                 case 2:
  5602.                 {
  5603.                     if(GetPlayerMoney(playerid) > 7000)
  5604.                     {
  5605.                         if(!DOF2_GetInt(pFile(playerid), "MP5"))
  5606.                         {
  5607.                             DOF2_SetInt(pFile(playerid), "MP5", 0);
  5608.                         }
  5609.                         new pAmmo = DOF2_GetInt(pFile(playerid), "MP5");
  5610.                         DRemovePlayerWeapon(playerid, 29);
  5611.                         DGivePlayerWeapon(playerid, 29, pAmmo+150);
  5612.                         DOF2_SetInt(pFile(playerid), "MP5", pAmmo+150);
  5613.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000}You Bought {FFFFFF}MP5{FF0000} With {FFFFFF}100{FF0000} Bullets For {FFFFFF}7000$" , "OK", "");
  5614.                         DGivePlayerMoney(playerid, -7000);
  5615.                         if(DOF2_GetInt(pFile(playerid), "Micro-Uzi")) DOF2_Unset(pFile(playerid), "Micro-Uzi");
  5616.                         if(DOF2_GetInt(pFile(playerid), "Tec-9")) DOF2_Unset(pFile(playerid), "Tec-9");
  5617.                     }
  5618.                     else    ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{0000FF} You Don't Have Enough Money(7,000$)" , "OK", "");
  5619.  
  5620.                 }
  5621.                 case 3:
  5622.                 {//ak 15000
  5623.                     if(GetPlayerMoney(playerid) > 15000)
  5624.                     {
  5625.                         if(!DOF2_GetInt(pFile(playerid), "AK-47"))
  5626.                         {
  5627.                             DOF2_SetInt(pFile(playerid), "AK-47", 0);
  5628.                         }
  5629.                         new pAmmo = DOF2_GetInt(pFile(playerid), "AK-47");
  5630.                         DRemovePlayerWeapon(playerid, 30);
  5631.                         DGivePlayerWeapon(playerid, 30, pAmmo+150);
  5632.                         DOF2_SetInt(pFile(playerid), "AK-47", pAmmo+150);
  5633.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought AK-47 With 150 Bullets For 15,000$" , "OK", "");
  5634.                         DGivePlayerMoney(playerid, -15000);
  5635.                     }
  5636.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (15,000$)" , "OK", "");
  5637.                     if(DOF2_GetInt(pFile(playerid), "M4")) DOF2_Unset(pFile(playerid), "M4");
  5638.                 }
  5639.                 case 4:
  5640.                 {//M4
  5641.                     if(GetPlayerMoney(playerid) > 18000)
  5642.                     {
  5643.                         if(!DOF2_GetInt(pFile(playerid), "M4"))
  5644.                         {
  5645.                             DOF2_SetInt(pFile(playerid), "M4", 0);
  5646.                         }
  5647.                         new pAmmo = DOF2_GetInt(pFile(playerid), "M4");
  5648.                         DRemovePlayerWeapon(playerid, 31);
  5649.                         DGivePlayerWeapon(playerid, 31, pAmmo+150);
  5650.                         DOF2_SetInt(pFile(playerid), "M4", pAmmo+150);
  5651.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought M4 With 150 Bullets For 18,000$" , "OK", "");
  5652.                         DGivePlayerMoney(playerid, -18000);
  5653.                     }
  5654.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (18,000$)" , "OK", "");
  5655.                     if(DOF2_GetInt(pFile(playerid), "AK-47")) DOF2_Unset(pFile(playerid), "AK-47");        
  5656.                 }
  5657.                 case 5:
  5658.                 {//SAWN 16000
  5659.                     if(GetPlayerMoney(playerid) > 16000)
  5660.                     {
  5661.                         if(!DOF2_GetInt(pFile(playerid), "Sawn-Off"))
  5662.                         {
  5663.                             DOF2_SetInt(pFile(playerid), "Sawn-Off", 0);
  5664.                         }
  5665.                         new pAmmo = DOF2_GetInt(pFile(playerid), "Sawn-Off");
  5666.                         DGivePlayerWeapon(playerid, 26, pAmmo+70);
  5667.                         DOF2_SetInt(pFile(playerid), "Sawn-Off", pAmmo+70);
  5668.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought Sawn-Off Shotgun With 70 Bullets For 16,000$" , "OK", "");
  5669.                         DGivePlayerMoney(playerid, -16000);
  5670.                         if(DOF2_GetInt(pFile(playerid), "Combat")) DOF2_Unset(pFile(playerid), "Combat");
  5671.                     }
  5672.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (16,000$)" , "OK", "");
  5673.                 }
  5674.                 case 6:
  5675.                 {//COMBAT16000
  5676.                     if(GetPlayerMoney(playerid) > 15000)
  5677.                     {
  5678.                         if(!DOF2_GetInt(pFile(playerid), "Combat"))
  5679.                         {
  5680.                             DOF2_SetInt(pFile(playerid), "Combat", 0);
  5681.                         }
  5682.                         new pAmmo = DOF2_GetInt(pFile(playerid), "Combat");
  5683.                         DGivePlayerWeapon(playerid, 27, pAmmo+70);
  5684.                         DOF2_SetInt(pFile(playerid), "Combat", pAmmo+70);
  5685.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought Combat Shotgun With 70 Bullets For 15,000$" , "OK", "");
  5686.                         DGivePlayerMoney(playerid, -15000);
  5687.                         if(DOF2_GetInt(pFile(playerid), "Sawn-Off")) DOF2_Unset(pFile(playerid), "Sawn-Off");
  5688.                     }
  5689.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (15,000$)" , "OK", "");
  5690.                 }
  5691.                 case 7:
  5692.                 {//SNIPER 16000
  5693.                     if(GetPlayerMoney(playerid) > 35000)
  5694.                     {
  5695.                         if(!DOF2_GetInt(pFile(playerid), "Sniper"))
  5696.                         {
  5697.                             DOF2_SetInt(pFile(playerid), "Sniper", 0);
  5698.                         }
  5699.                         new pAmmo = DOF2_GetInt(pFile(playerid), "Sniper");
  5700.                         DGivePlayerWeapon(playerid, 34, pAmmo+21);
  5701.                         DOF2_SetInt(pFile(playerid), "Sniper", pAmmo+21);
  5702.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought Sniper Rifle With 21 Bullets For 35,000$" , "OK", "");
  5703.                         DGivePlayerMoney(playerid, -35000);
  5704.                     }
  5705.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (35,000$)" , "OK", "");
  5706.                 }
  5707.                 case 8:
  5708.                 {
  5709.                     if(GetPlayerMoney(playerid) > 5000)
  5710.                     {
  5711.                         if(!DOF2_GetInt(pFile(playerid), "Knife"))
  5712.                         {
  5713.                             DOF2_SetInt(pFile(playerid), "Knife", 0);
  5714.                         }
  5715.                         new pAmmo = DOF2_GetInt(pFile(playerid), "Knife");
  5716.                         DGivePlayerWeapon(playerid, 4, pAmmo+1);
  5717.                         DOF2_SetInt(pFile(playerid), "Knife", pAmmo+1);
  5718.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought Knife For 5,000$" , "OK", "");
  5719.                         DGivePlayerMoney(playerid, -5000);
  5720.                     }
  5721.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (5,000$)" , "OK", "");
  5722.                 }
  5723.                 case 9:
  5724.                 {
  5725.                     if(GetPlayerMoney(playerid) > 2000)
  5726.                     {
  5727.                         if(!DOF2_GetInt(pFile(playerid), "Brass Knuckles"))
  5728.                         {
  5729.                             DOF2_SetInt(pFile(playerid), "Brass Knuckles", 0);
  5730.                         }
  5731.                         new pAmmo = DOF2_GetInt(pFile(playerid), "Brass Knuckles");
  5732.                         DGivePlayerWeapon(playerid, 2, pAmmo+1);
  5733.                         DOF2_SetInt(pFile(playerid), "Brass Knuckles", pAmmo+1);
  5734.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Bought Brass Knuckles For 2,000$" , "OK", "");
  5735.                         DGivePlayerMoney(playerid, -2000);
  5736.                     }
  5737.                     else ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000} You Don't Have Enough Money (2,000$)" , "OK", "");
  5738.                  }
  5739.             }
  5740.         }
  5741.     }
  5742.     if(dialogid == Bank)
  5743.     {
  5744.         if(response)
  5745.         {
  5746.             switch(listitem)
  5747.             {
  5748.                 case 0:
  5749.                 {
  5750.                     if(GetPlayerMoney(playerid) > 0)
  5751.                     {
  5752.                         DOF2_SetInt(pFile(playerid), "Money", DOF2_GetInt(pFile(playerid), "Money")+GetPlayerMoney(playerid));
  5753.                         new Smsg[256];
  5754.                         format(Smsg, sizeof(Smsg), "You Have Deposited %d$ to your bank, so now you have %d$ total",GetPlayerMoney(playerid), DOF2_GetInt(pFile(playerid), "Money"));
  5755.                         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", Smsg,"OK", "");
  5756.                         DResetPlayerMoney(playerid);
  5757.                         pMoney[playerid] = 0;
  5758.                     }
  5759.                     else
  5760.                     {
  5761.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX,  "{FF0000}Server Message", "{0000FF}You Have To deposit at least 1$", "OK", "");
  5762.                     }
  5763.                 }
  5764.                 case 1:
  5765.                 {
  5766.                     ShowPlayerDialog(playerid, BankD,DIALOG_STYLE_INPUT, "{FFFFFF}Deposit", "{0000FF}Insert Deposit Amount", "OK", "Cancel");
  5767.                 }
  5768.                 case 2:
  5769.                 {
  5770.                     if(DOF2_GetInt(pFile(playerid), "Money") > 0)
  5771.                     {
  5772.                        
  5773.                         new Smsg[256];
  5774.                         format(Smsg, sizeof(Smsg), "{FF0000}You Have withdrawed {FFFFFF}%d$ {FF0000}from your bank, so now you have {FFFFFF}0${FF0000} total",DOF2_GetInt(pFile(playerid), "Money"));
  5775.                         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", Smsg,"OK", "");
  5776.                         DGivePlayerMoney(playerid, DOF2_GetInt(pFile(playerid), "Money"));
  5777.                         pMoney[playerid] = GetPlayerMoney(playerid);
  5778.                         DOF2_SetInt(pFile(playerid), "Money", 0);
  5779.                         }
  5780.                     else
  5781.                     {
  5782.                         ShowPlayerDialog(playerid, MsgDia,DIALOG_STYLE_MSGBOX,  "{0000FF}Server Message", "{FF0000}You Must Have At Lease {FFFFFF} 1${FF0000}At Your Bank", "OK", "");
  5783.                     }
  5784.                 }
  5785.                 case 3:
  5786.                 {
  5787.                     ShowPlayerDialog(playerid, BankW, DIALOG_STYLE_INPUT, "{FFFFFF}Withdraw", "{FFFFFF}Please insert the withdraw amount", "OK", "Cancel");
  5788.                 }
  5789.                 case 4:
  5790.                 {
  5791.                     new Bal[256];
  5792.                     format(Bal, 256, "{FF0000}You Have {FFFFFF}%d$ {FF0000}In Your Bank Account", DOF2_GetInt(pFile(playerid), "Money"));
  5793.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Balance", Bal, "OK", "");
  5794.                 }
  5795.             }
  5796.         }
  5797.     }
  5798.     if(dialogid == BankD)
  5799.     {
  5800.         if(response)
  5801.         {
  5802.             if(strval(inputtext) < 0)
  5803.             {
  5804.                 ShowPlayerDialog(playerid, BankD,DIALOG_STYLE_INPUT, "{FFFFFF}Deposit", "{0000FF}Insert Deposit Amount (Minimum 1$)", "OK", "Cancel");
  5805.             }
  5806.             if(strval(inputtext) > 0)
  5807.             {
  5808.                 if(GetPlayerMoney(playerid) > 0)
  5809.                 {
  5810.                     DOF2_SetInt(pFile(playerid), "Money", DOF2_GetInt(pFile(playerid), "Money")+strval(inputtext));
  5811.                     new Smsg[256];
  5812.                     format(Smsg, sizeof(Smsg), "You Have Deposited %d$ to your bank, so now you have %d$ total",strval(inputtext), DOF2_GetInt(pFile(playerid), "Money"));
  5813.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", Smsg,"OK", "");
  5814.                     DGivePlayerMoney(playerid, -strval(inputtext));
  5815.                     pMoney[playerid] = GetPlayerMoney(playerid);
  5816.                 }
  5817.                 else ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "You Must Have At Least 1$", "OK", "");
  5818.             }
  5819.         }
  5820.     }
  5821.     if(dialogid == BankW)
  5822.     {
  5823.         if(response)
  5824.         {
  5825.             if(strval(inputtext) < 0)
  5826.             {
  5827.                 ShowPlayerDialog(playerid, BankD,DIALOG_STYLE_INPUT, "{FFFFFF}Withdraw", "{0000FF}Insert Withdraw Amount (Minimum 1$)", "OK", "Cancel");
  5828.             }
  5829.             if(strval(inputtext) > 0)
  5830.             {
  5831.                 if(DOF2_GetInt(pFile(playerid), "Money") > 0)
  5832.                 {
  5833.                     DOF2_SetInt(pFile(playerid), "Money", DOF2_GetInt(pFile(playerid), "Money")-strval(inputtext));
  5834.                     new Smsg[256];
  5835.                     format(Smsg, sizeof(Smsg), "You Have withdrawed %d$ from your bank, so now you have %d$ total",strval(inputtext), DOF2_GetInt(pFile(playerid), "Money"));
  5836.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", Smsg,"OK", "");
  5837.                     DGivePlayerMoney(playerid, strval(inputtext));
  5838.                     pMoney[playerid] = GetPlayerMoney(playerid);
  5839.                 }
  5840.                 else ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "You Must Have At Least 1$ In Bank", "OK", "");
  5841.             }
  5842.         }
  5843.     }
  5844.     if(dialogid == cPass && response)
  5845.     {
  5846.         if(strlen(inputtext) > 2 && strlen(inputtext) < 21)
  5847.         {
  5848.             DOF2_SetString(pFile(playerid), "Password", MD5_Hash(inputtext));
  5849.             new prmsg[300];
  5850.             format(prmsg, sizeof(prmsg), "{FF0000}Your New Password is: {FFFFFF}%s \n[You better ScreenShot That[F8]]", inputtext);
  5851.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", prmsg, "OK", "");
  5852.         }
  5853.         else
  5854.         {
  5855.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message","{FF0000}Your New {FFFFFF}Password {FF0000}Has To be between {FFFFFF}3-20{ff0000}Characters", "OK", "Cancel");
  5856.         }
  5857.     }
  5858.     if(dialogid == cNick && response)
  5859.     {
  5860.         new lFile[38+2], players[38+2], storename[24];
  5861.         GetPlayerName(playerid, storename, 24);
  5862.         format(lFile,sizeof(lFile),"TDM/Users/%s.ini",inputtext);
  5863.         format(players, sizeof(players), "%s", pFile(playerid));
  5864.         switch(SetPlayerName(playerid, inputtext))
  5865.         {
  5866.             case 1:
  5867.             {
  5868.                 if(!DOF2_FileExists(lFile))
  5869.                 {
  5870.                     Rename(players, lFile);            
  5871.                     new pmsg[300];
  5872.                     format(pmsg, sizeof(pmsg), "{FF0000}Your New Nickname is: {FFFFFF}%s", inputtext);
  5873.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", pmsg, "OK", "");
  5874.                     format(pmsg, sizeof(pmsg), "{FF0000}%s {ffffff}Changed His Name To {ff0000}%s!", storename, inputtext);
  5875.                     SendClientMessageToAll(-1, pmsg);
  5876.  
  5877.                 }
  5878.                 else
  5879.                 {
  5880.                     SetPlayerName(playerid, storename);
  5881.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FFFFFF}This Nickname Is Already In Use!!!", "OK", "");
  5882.                 }
  5883.             }
  5884.             case 0:
  5885.             {
  5886.                         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000}You Are Already Using That Name!", "OK", "");
  5887.             }  
  5888.             case -1:
  5889.                 ShowPlayerDialog(playerid, cNick, DIALOG_STYLE_INPUT, "{FFFFFF}Change Your Nickname", "{FF0000}INVALID NICKNAME\nPlease Enter Your{FFFFFF} New Nickname", "OK", "Cancel");
  5890.    
  5891.         }      
  5892.     }
  5893.     if(dialogid == Ea && response)
  5894.     {
  5895.         switch(strval(inputtext))
  5896.         {
  5897.             case 1: OnPlayerCommandText(playerid, "/changepw");
  5898.             case 2: OnPlayerCommandText(playerid, "/changenick");
  5899.             case 3: OnPlayerCommandText(playerid, "/changeteam");
  5900.             default: SendClientMessage(playerid, -1, "{FF0000}System: {FFFFFF}Wrong EditAcc Item");
  5901.         }
  5902.     }
  5903.     if(dialogid == SD && response)
  5904.     {
  5905.         if(listitem == 0) SendClientMessage(playerid, -1 ,  "You Have Switched A {0000ff}Radio{FFFFFF} Station"), SetRadio(playerid);
  5906.         if(listitem == 1) SendClientMessage(playerid, -1 , "You Have Stopped The {0000ff}Audio."), StopAudioStreamForPlayer(playerid), InRadio[playerid] = 0;
  5907.         else if(listitem >= 2)
  5908.         {
  5909.             PlayAudioStreamForPlayer(playerid, Songs[listitem-2][AdRL]);
  5910.             InRadio[playerid] = 0;
  5911.             format(String, 256, "{FFFFFF}You Have Started The Song {0000ff}%s", Songs[listitem-2][SongName]);
  5912.             SendClientMessage(playerid, 0xFFFFFFAA, String);
  5913.         }
  5914.     }
  5915.     if(dialogid == SDa && response)
  5916.     {
  5917.         if(listitem == 0)
  5918.         {
  5919.             for(new i; i<MAX_PLAYERS; i++)
  5920.             {
  5921.                 StopAudioStreamForPlayer(i);
  5922.                 SrFa();
  5923.             }
  5924.             SendClientMessage(playerid, -1 ,  "You Have Stopped Admin Music");
  5925.             AmON = 0;
  5926.             format(String, 256, "{FFFFFF}Admin {ff0000}%s{ffffff} Had Stopped The Music",GetName(playerid), Songs[listitem-2][SongName]);
  5927.             SendClientMessageToAll( 0xFFFFFFAA, String);
  5928.         }
  5929.         else if(listitem >= 1)
  5930.         {
  5931.             for(new i; i <MAX_PLAYERS; i++)
  5932.             {
  5933.                 PlayAudioStreamForPlayer(i, Songs[listitem-1][AdRL]);
  5934.             }
  5935.             format(String, 256, "{FFFFFF}Admin {ff0000}%s{ffffff} Had Started The Song {0000ff}%s",GetName(playerid), Songs[listitem-1][SongName]);
  5936.             SendClientMessageToAll( 0xFFFFFFAA, String);
  5937.         }
  5938.     }
  5939.     DOF2_SaveFile();
  5940.     return 0;
  5941. }
  5942. //===<OnDialogResponse>===//
  5943.  
  5944.  
  5945. //===<OnPlayerKeyStateChange>===//
  5946. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  5947. {
  5948.     if(IsKeyJustDown(KEY_FIRE,newkeys,oldkeys) || IsKeyJustDown(128,newkeys,oldkeys))
  5949.     {
  5950.         if(GetPlayerInterior(playerid) == 4 || GetPlayerInterior(playerid) == 6)
  5951.         {
  5952.             ClearAnimations(playerid);
  5953.             ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Server Message", "{FF0000}It's Not Allowed To Shoot/Aim/Punch In {FFFFFF}Here", "OK", "");
  5954.         }
  5955.     }
  5956.     if(ACh[playerid])
  5957.     {
  5958.         if(IsPlayerInAnyVehicle(playerid))
  5959.         {
  5960.             if(HOLDING(KEY_FIRE))
  5961.             {
  5962.                 AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
  5963.             }
  5964.             if(RELEASED(KEY_FIRE))
  5965.             {
  5966.                 RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1010);
  5967.             }
  5968.             if(HOLDING(KEY_FIRE) && PRESSED(KEY_YES))
  5969.             {
  5970.                 new Float:V[3];
  5971.                 GetVehicleVelocity(GetPlayerVehicleID(playerid), V[0], V[1], V[2]);
  5972.                 SetVehicleVelocity(GetPlayerVehicleID(playerid), V[0]*1.3, V[1]*1.3, V[2]);
  5973.             }
  5974.             if(HOLDING(KEY_FIRE) && PRESSED(KEY_NO))
  5975.             {
  5976.                 RepairVehicle(GetPlayerVehicleID(playerid));
  5977.                 new Float:A;
  5978.                 GetVehicleZAngle(GetPlayerVehicleID(playerid), A);
  5979.                 SetVehicleZAngle(GetPlayerVehicleID(playerid), A);
  5980.             }
  5981.         }
  5982.         if(!IsPlayerInAnyVehicle(playerid))
  5983.         {
  5984.             if(HOLDING(KEY_FIRE) && GetPlayerWeapon(playerid) == 0)
  5985.             {
  5986.                 SetPlayerSpecialAction(playerid,2);
  5987.             }
  5988.             if(HOLDING(KEY_FIRE) && PRESSED(KEY_YES) && GetPlayerWeapon(playerid) == 0)
  5989.             {
  5990.                 new Float:V[3];
  5991.                 GetPlayerVelocity(playerid, V[0], V[1], V[2]);
  5992.                 SetPlayerVelocity(playerid, V[0]*1.3, V[1]*1.3, V[2]);
  5993.             }
  5994.             if(HOLDING(KEY_FIRE) && PRESSED(KEY_NO) && GetPlayerWeapon(playerid) == 0)
  5995.             {
  5996.                 DSetPlayerHealth(playerid, 100);
  5997.                 SendClientMessage(playerid, -1, "hpa rmour");
  5998.                 DSetPlayerArmour(playerid, 100);
  5999.             }
  6000.         }
  6001.     }
  6002.     return 1;
  6003. }
  6004. IsKeyJustDown(key,newkeys,oldkeys)
  6005. {
  6006.     if((newkeys&key)&&!(oldkeys&key)) return 1;
  6007.     return 0;
  6008. }
  6009. //===<OnPlayerKeyStateChange>===//
  6010.  
  6011.  
  6012. //===<OnPlayerPickupPickup>===//
  6013. public OnPlayerPickUpPickup(playerid, pickupid)
  6014. {
  6015.     //house sys
  6016.  
  6017.     //propsys
  6018.     for(new i; i<sizeof(PropVar); i++)
  6019.     {
  6020.         if(pickupid == Pu[i])
  6021.         {
  6022.             if(GetPVarInt(playerid, "OpenDialog") == 0)
  6023.             {
  6024.                 SetPVarInt(playerid, "OpenDialog", 1);
  6025.                 if(!strcmp(PropVar[i][POwner], "None", false))
  6026.                 {          
  6027.                     format(pstrx, 256, "{FFFFFF}Do You Want To Buy {0000FF}%s {FFFFFF}For {0000FF}%d$ {FFFFFF}And Earn  {0000FF}%d$?", PropVar[i][PName], PropVar[i][PPrice], PropVar[i][PEarn]);
  6028.                     ShowPlayerDialog(playerid, PropBuy, DIALOG_STYLE_MSGBOX, "{FFFFFF}Property System",pstrx, "Buy", "Exit");
  6029.                     CurrentP[playerid] = i;
  6030.                 }
  6031.                 else if(!strcmp(PropVar[i][POwner], GetName(playerid), false))
  6032.                 {
  6033.                     format(pstrx, 256, "{FFFFFF}Do You Want To Sell {0000FF}%s {FFFFFF}For {0000FF}%d$ {FFFFFF}And Stop Earning Money From It?", PropVar[i][PName], PropVar[i][PPrice]/2);
  6034.                     ShowPlayerDialog(playerid, PropSell, DIALOG_STYLE_MSGBOX, "{FFFFFF}Property System", pstrx, "Sell", "Exit");
  6035.                     CurrentP[playerid] = i;
  6036.                 }
  6037.                 else
  6038.                 {
  6039.                     ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Property System", "{FF0000}Owned Property\n{FFFFFF}This Property Is Owned By Someone Else\nSo You Can't Buy It!", "OK", "");      
  6040.                 }
  6041.             }
  6042.             break;
  6043.         }
  6044.     }
  6045.     //propsys
  6046.     if(pickupid == GroveF)
  6047.     {
  6048.         for(new gc; gc<MAX_PLAYERS; gc++)
  6049.         {
  6050.             if(IsPlayerConnected(gc) && !strcmp(DOF2_GetString(pFile(gc), "Team"), "Grove", true))
  6051.             {
  6052.                 if(Flag[playerid] == 0)
  6053.                 {
  6054.                     if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Grove", true))
  6055.                     {
  6056.                         new fmsg[256];
  6057.                         format(fmsg, sizeof(fmsg), "The player %s took Grove Street's Flag", GetName(playerid));
  6058.                         SendClientMessageToAll(COLOR_RED, fmsg);
  6059.                         DestroyPickup(GroveF);
  6060.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6061.                         Flag[playerid] = 1;
  6062.                     }
  6063.                     else
  6064.                     {
  6065.                         DestroyPickup(GroveF);
  6066.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6067.                         Flag[playerid] = 1;
  6068.                     }
  6069.                 }
  6070.             }
  6071.         }
  6072.     }
  6073.     if(pickupid == VagosF)
  6074.     {
  6075.         for(new gc; gc<MAX_PLAYERS; gc++)
  6076.         {
  6077.             if(IsPlayerConnected(gc) && !strcmp(DOF2_GetString(pFile(gc), "Team"), "Vagos", true))
  6078.             {
  6079.                 if(Flag[playerid] == 0)
  6080.                 {
  6081.                     if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Vagos", true))
  6082.                     {
  6083.                         new fmsg[256];
  6084.                         format(fmsg, sizeof(fmsg), "The player %s took Vagos Flag", GetName(playerid));
  6085.                         SendClientMessageToAll(COLOR_RED, fmsg);
  6086.                         DestroyPickup(VagosF);
  6087.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6088.                         Flag[playerid] = 2;
  6089.                     }
  6090.                     else
  6091.                     {
  6092.                         DestroyPickup(VagosF);
  6093.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6094.                         Flag[playerid] = 2;
  6095.                     }
  6096.                 }
  6097.             }
  6098.         }
  6099.     }
  6100.     if(pickupid == AztecasF)
  6101.     {
  6102.         for(new gc; gc<MAX_PLAYERS; gc++)
  6103.         {
  6104.             if(IsPlayerConnected(gc) && !strcmp(DOF2_GetString(pFile(gc), "Team"), "Aztecas", true))
  6105.             {
  6106.                 if(Flag[playerid] == 0)
  6107.                 {
  6108.                     if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Aztecas", true))
  6109.                     {
  6110.                         new fmsg[256];
  6111.                         format(fmsg, sizeof(fmsg), "The player %s took Aztecas Flag", GetName(playerid));
  6112.                         SendClientMessageToAll(COLOR_RED, fmsg);
  6113.                         DestroyPickup(AztecasF);
  6114.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6115.                         Flag[playerid] = 3;
  6116.                     }
  6117.                     else
  6118.                     {
  6119.                         DestroyPickup(AztecasF);
  6120.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6121.                         Flag[playerid] = 3;
  6122.                     }
  6123.                 }
  6124.             }
  6125.         }
  6126.     }
  6127.     if(pickupid == PoliceF)
  6128.     {
  6129.         for(new gc; gc<MAX_PLAYERS; gc++)
  6130.         {
  6131.             if(IsPlayerConnected(gc) && !strcmp(DOF2_GetString(pFile(gc), "Team"), "Police", true))
  6132.             {
  6133.                 if(Flag[playerid] == 0)
  6134.                 {
  6135.                     if(strcmp(DOF2_GetString(pFile(playerid), "Team"), "Police", true))
  6136.                     {
  6137.                         new fmsg[256];
  6138.                         format(fmsg, sizeof(fmsg), "The player %s took Police Flag", GetName(playerid));
  6139.                         SendClientMessageToAll(COLOR_RED, fmsg);
  6140.                         DestroyPickup(PoliceF);
  6141.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6142.                         Flag[playerid] = 4;
  6143.                     }
  6144.                     else
  6145.                     {
  6146.                         DestroyPickup(PoliceF);
  6147.                         SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6148.                         Flag[playerid] = 4;
  6149.                     }
  6150.                 }
  6151.             }
  6152.         }
  6153.     }
  6154.  
  6155.     if(pickupid == BankEN)
  6156.     {
  6157.         ClearAnimations(playerid);
  6158.         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Bank", "{0000FF}Welcome To The {FFFFFF}Bank!", "OK", "");
  6159.         DSetPlayerPos(playerid, -27.5080,-54.8691,1003.5469);
  6160.         SetPlayerInterior(playerid, 6);
  6161.         FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,15,0);
  6162.     }
  6163.     if(pickupid == BankEX)
  6164.     {
  6165.         ClearAnimations(playerid);
  6166.         DSetPlayerPos(playerid, 2193.3699,1995.0089,12.2969);
  6167.         SetPlayerInterior(playerid, 0);
  6168.         FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,15,0);
  6169.     }
  6170.     if(pickupid == AmmuEN)
  6171.     {
  6172.         ClearAnimations(playerid);
  6173.         ShowPlayerDialog(playerid, MsgDia, DIALOG_STYLE_MSGBOX, "{FFFFFF}Ammunation", "{0000FF}Welcome To The {FFFFFF}Ammunation!", "OK", "");
  6174.         DSetPlayerPos(playerid, 285.8803,-82.4462,1001.5156);
  6175.         SetPlayerInterior(playerid, 4);
  6176.         FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,15,0);
  6177.     }
  6178.     if(pickupid == AmmuEX)
  6179.     {
  6180.         ClearAnimations(playerid);
  6181.         DSetPlayerPos(playerid, 2156.9043,939.9024,10.8203);
  6182.         SetPlayerInterior(playerid, 0);
  6183.         FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,15,0);
  6184.     }
  6185. /*  if(pickupid == CasinoEN)
  6186.     {
  6187.         ClearAnimations(playerid);
  6188.         DSetPlayerPos(playerid, 1133.1659,-10.7296,1000.6797 );
  6189.         SetPlayerInterior(playerid, 12);
  6190.         InCasino[playerid] = 1;
  6191.     }
  6192.     if(pickupid == CasinoEX)
  6193.     {
  6194.         ClearAnimations(playerid);
  6195.         DSetPlayerPos(playerid, 2019.6489,1004.6096,10.8203);
  6196.         SetPlayerInterior(playerid, 0);
  6197.         InCasino[playerid] = 0;
  6198.     }
  6199. */
  6200.        
  6201.     if(pickupid == HiddenF && Fhidden == 1)
  6202.     {
  6203.         if(Flag[playerid] == 0)
  6204.         {
  6205.             DestroyPickup(HiddenF);
  6206.             SetPlayerAttachedObject(playerid,3, 2914, 1,0.3,0.1,0,0,-90,0);
  6207.             new Msx[256];
  6208.             format(Msx, sizeof(Msx), "{FFFFFF}The Player {FF0000}%s {FFFFFF}Has Found The Hidden Flag.", GetName(playerid));
  6209.             SendClientMessageToAll(COLOR_RED, Msx);
  6210.             Flag[playerid] = 5;
  6211.         }
  6212.     }
  6213.     if(pickupid == SWSInside)
  6214.     {
  6215.         new zp = DOF2_GetInt(SWShopF(), "CurrentL");
  6216.         SetPlayerPos(playerid, SWShop[zp][0]+2,SWShop[zp][1]+2,SWShop[zp][2]+2);
  6217.         SetPlayerInterior(playerid, 0);
  6218.         FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,15,0);
  6219.     }
  6220.     if(pickupid == SWSOutside)
  6221.     {
  6222.         if(DOF2_GetInt(pFile(playerid), "Level") < 2) return SendClientMessage(playerid, -1, "{00FF66}Special WeaponShop: {FFFFFF}You Can Enter The Special WeaponShop Only From Level 2!");
  6223.         SetPlayerPos(playerid, 344.0476,307.4675,999.1557);
  6224.         SetPlayerInterior(playerid, 6);
  6225.         FadeColorForPlayer(playerid,0,0,0,255,0,0,0,0,15,0);
  6226.     }
  6227.     return 1;
  6228. }
  6229. //===<OnPlayerPickupPickup>===//
  6230.  
  6231. //===<OnPlayerUpdate>===//
  6232. public OnPlayerUpdate(playerid)
  6233. {
  6234.     if(Health[playerid] == 100)
  6235.     {
  6236.         SendClientMessage(playerid, -1, "{FF00FF}AntiCheat: {FFFFFF}kick 4 hh");
  6237.     }
  6238.     if(GetPlayerSpeed(playerid, true) > 350)
  6239.     {
  6240.         for(new f; f<MAX_PLAYERS; f++)
  6241.         {
  6242.             SpeedA[playerid]++;
  6243.             if(IsPlayerAdmin(f))
  6244.             {
  6245.                 if(SpeedA[playerid] < 3)
  6246.                 {
  6247.                     new amsg[256];
  6248.                     format(amsg, sizeof(amsg), "%s Speed is %d", GetName(playerid), GetPlayerSpeed(playerid, true));
  6249.                     SendClientMessage(f, COLOR_RED, amsg);
  6250.                 }
  6251.             }
  6252.             if(SpeedA[playerid] >= 3 && !IsPlayerXAdmin(playerid))
  6253.             {
  6254.                 SendClientMessage(playerid, -1, "{FF9900}AntiCheat:{FFFFFF} You Have Been Kicked For SpeedHack/Airbreak!");
  6255.                 Kick(playerid);
  6256.             }
  6257.        
  6258.         }
  6259.     }
  6260.     if(GetPlayerMoney(playerid) != pMoney[playerid])
  6261.     {
  6262.         ResetPlayerMoney(playerid);
  6263.         GivePlayerMoney(playerid, pMoney[playerid]);
  6264.     }
  6265.     if(AntiCheat[playerid][Spawnd] == 1)
  6266.     {
  6267.         AntiCheatWeapon[playerid][WeaponID][0] = 1;
  6268.         if(!AntiCheatWeapon[playerid][WeaponID][GetPlayerWeapon(playerid)])
  6269.         {
  6270.             DRemovePlayerWeapon(playerid, GetPlayerWeapon(playerid));
  6271.             DGivePlayerWeapons(playerid);
  6272.         }
  6273.         new tmp;
  6274.         if(DGetWeaponSlot(GetPlayerWeapon(playerid)) == -1) return 1;
  6275.         GetPlayerWeaponData(playerid,DGetWeaponSlot(GetPlayerWeapon(playerid)),tmp,tmp);
  6276.         AntiCheatWeapon[playerid][Ammo][GetPlayerWeapon(playerid)] = tmp;
  6277.         if(tmp < 2)
  6278.         {
  6279.             AntiCheatWeapon[playerid][WeaponID][GetPlayerWeapon(playerid)] = 0;
  6280.             AntiCheatWeapon[playerid][Ammo][GetPlayerWeapon(playerid)] = 0;
  6281.         }
  6282.     }      
  6283. /*  if(IsPlayerInArea(playerid, 1843.7546, 905.5722, 2066.7190,1101.8186))
  6284.     {
  6285.         if(Team[playerid] == Police)
  6286.         {
  6287.             for(new i; i<MAX_PLAYERS; i++)
  6288.             {
  6289.                 if(IsPlayerConnected(i) && InCasino[i] == 1)
  6290.                 {
  6291.                     SendClientMessage(i, -1, "{FF0000}POLICE ALARM:{FFFFFF} There Is A Police Around The Casino. You Better Get Out Of It Now!");
  6292.                 }
  6293.             }
  6294.         }
  6295.     }*/
  6296.     if(Team[playerid] != Police && IsPlayerInAnyVehicle(playerid))
  6297.     {
  6298.         if(GetPVarInt(playerid, "OverSpeed") == 1)
  6299.         {
  6300.             new Float:pz[3];
  6301.             GetPlayerPos(playerid, pz[0], pz[1], pz[2]);
  6302.             for(new i; i<MAX_PLAYERS; i++)
  6303.             {
  6304.                 if(Team[i] == Police)
  6305.                 {
  6306.                     if(IsPlayerInRangeOfPoint(i, 5.0, pz[0], pz[1], pz[2]))
  6307.                     {
  6308.                         SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0);
  6309.                         ClearAnimations(playerid);
  6310.                         RemovePlayerFromVehicle(playerid);
  6311.                         SendClientMessage(playerid, -1, "{0000FF}POLICE: {FFFFFF}You Have Pulled Over For Over Speeding. I Fines You In 150$");
  6312.                         if(GetPlayerMoney(playerid) >= 150)
  6313.                         {
  6314.                             DGivePlayerMoney(playerid, -150);
  6315.                             SendClientMessage(playerid, -1, "{FF0000}Fine: {FFFFFF}The Fine Has Been Paid From Your Pocket Money");
  6316.                         }
  6317.                         else
  6318.                         {
  6319.                             DOF2_SetInt(pFile(playerid), "Money", DOF2_GetInt(pFile(playerid), "Money")-150);
  6320.                             SendClientMessage(playerid, -1, "{FF0000}Fine: {FFFFFF}The Fine Has Been Paid From Your Bank Account");
  6321.                         }
  6322.                         SendClientMessage(i, -1, "{FF0000}Fine: {FFFFFF}You Have Fined The Gangster In 150$");
  6323.                         DGivePlayerMoney(i, 150);
  6324.                     }
  6325.                 }
  6326.             }
  6327.         }
  6328.     }
  6329.     new Float:Healthz;
  6330.     GetPlayerHealth(playerid,Healthz);
  6331.     if(Healthz >= 95)
  6332.     {
  6333.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6334.         TextDrawShowForPlayer(playerid,HealthBar[1]);
  6335.         TextDrawShowForPlayer(playerid,HealthBar[2]);
  6336.     }
  6337.     else if(Healthz >= 90 && Healthz < 95)
  6338.     {
  6339.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6340.         TextDrawShowForPlayer(playerid,HealthBar[1]);
  6341.         TextDrawShowForPlayer(playerid,HealthBar[3]);
  6342.     }
  6343.     else if(Healthz >= 85 && Healthz < 90)
  6344.     {
  6345.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6346.         TextDrawShowForPlayer(playerid,HealthBar[1]);
  6347.         TextDrawShowForPlayer(playerid,HealthBar[4]);
  6348.     }
  6349.     else if(Healthz >= 80 && Healthz < 85)
  6350.     {
  6351.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6352.         TextDrawShowForPlayer(playerid,HealthBar[1]);
  6353.         TextDrawShowForPlayer(playerid,HealthBar[5]);
  6354.     }
  6355.     else if(Healthz >= 75 && Healthz < 80)
  6356.     {
  6357.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6358.         TextDrawShowForPlayer(playerid,HealthBar[1]);
  6359.         TextDrawShowForPlayer(playerid,HealthBar[6]);
  6360.     }
  6361.     else if(Healthz >= 70 && Healthz < 75)
  6362.     {
  6363.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6364.         TextDrawShowForPlayer(playerid,HealthBar[7]);
  6365.         TextDrawShowForPlayer(playerid,HealthBar[8]);
  6366.     }
  6367.     else if(Healthz >= 65 && Healthz < 70)
  6368.     {
  6369.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6370.         TextDrawShowForPlayer(playerid,HealthBar[7]);
  6371.         TextDrawShowForPlayer(playerid,HealthBar[9]);
  6372.     }
  6373.     else if(Healthz >= 60 && Healthz < 65)
  6374.     {
  6375.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6376.         TextDrawShowForPlayer(playerid,HealthBar[7]);
  6377.         TextDrawShowForPlayer(playerid,HealthBar[10]);
  6378.     }
  6379.     else if(Healthz >= 55 && Healthz < 60)
  6380.     {
  6381.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6382.         TextDrawShowForPlayer(playerid,HealthBar[7]);
  6383.         TextDrawShowForPlayer(playerid,HealthBar[11]);
  6384.     }
  6385.     else if(Healthz >= 50 && Healthz < 55)
  6386.     {
  6387.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6388.         TextDrawShowForPlayer(playerid,HealthBar[7]);
  6389.         TextDrawShowForPlayer(playerid,HealthBar[12]);
  6390.     }
  6391.     else if(Healthz >= 45 && Healthz < 50)
  6392.     {
  6393.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6394.         TextDrawShowForPlayer(playerid,HealthBar[13]);
  6395.         TextDrawShowForPlayer(playerid,HealthBar[14]);
  6396.     }
  6397.     else if(Healthz >= 40 && Healthz < 45)
  6398.     {
  6399.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6400.         TextDrawShowForPlayer(playerid,HealthBar[13]);
  6401.         TextDrawShowForPlayer(playerid,HealthBar[15]);
  6402.     }
  6403.     else if(Healthz >= 35 && Healthz < 40)
  6404.     {
  6405.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6406.         TextDrawShowForPlayer(playerid,HealthBar[13]);
  6407.         TextDrawShowForPlayer(playerid,HealthBar[16]);
  6408.     }
  6409.     else if(Healthz >= 30 && Healthz < 35)
  6410.     {
  6411.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6412.         TextDrawShowForPlayer(playerid,HealthBar[13]);
  6413.         TextDrawShowForPlayer(playerid,HealthBar[17]);
  6414.     }
  6415.     else if(Healthz >= 25 && Healthz < 30)
  6416.     {
  6417.         for(new i=1; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6418.         TextDrawShowForPlayer(playerid,HealthBar[13]);
  6419.         TextDrawShowForPlayer(playerid,HealthBar[18]);
  6420.     }
  6421.     else
  6422.     {
  6423.         for(new i=0; i<19; i++) TextDrawHideForPlayer(playerid,HealthBar[i]);
  6424.     }
  6425.     if(GetPlayerTargetPlayer(playerid) != INVALID_PLAYER_ID)
  6426.     {
  6427.     //  new str[128];
  6428.     //  format(str, sizeof(str), "You Are Aiming At %s", GetName(GetPlayerTargetPlayer(playerid)));
  6429.     //  SendClientMessage(playerid, -1, "str");
  6430.     }
  6431.     return 1;
  6432. }
  6433. //===<OnPlayerUpdate>===//o
  6434.  
  6435.  
  6436. //===<OnPlayerDisconnect>===//
  6437. public OnPlayerDisconnect(playerid, reason)
  6438. {
  6439.     //propsys
  6440.     for(new i; i<sizeof(PropVar); i++)
  6441.     {
  6442.         if(!strcmp(PropVar[i][POwner], GetName(playerid), false))
  6443.         {
  6444.             format(PropVar[i][POwner], 24, "None");
  6445.             PropVar[i][PoID] = -1;
  6446.             format(pstrx, 256, "{FF0000}%s\n{FFFF00}Owner: {FFFFFF}%s\n{FFFF00}Price: {FFFFFF}%d$\n{FFFF00}Earning: {FFFFFF}%d$", PropVar[i][PName], PropVar[i][POwner], PropVar[i][PPrice], PropVar[i][PEarn]);
  6447.             Update3DTextLabelText(Pt[i], 0xFFFFFFAA, pstrx);
  6448.             HProps[playerid] = 0;
  6449.         }
  6450.     }
  6451.     CurrentP[playerid] = -1;
  6452.     GotS[playerid] = 0;
  6453.    
  6454.     if(LoggeX[playerid] == 1)
  6455.     {
  6456.         pCed--;
  6457.     }
  6458.     Points[0] = DOF2_GetInt(TeamPF(), "GroveP");
  6459.     Points[1] = DOF2_GetInt(TeamPF(), "AztecasP");
  6460.     Points[2] = DOF2_GetInt(TeamPF(), "VagosP");
  6461.     Points[3] = DOF2_GetInt(TeamPF(), "PoliceP");
  6462.     new ts[256];
  6463.     format(ts, sizeof(ts), " ~g~Grove:~w~%d~h~~b~ Aztecas:~w~%d~y~ Vagos:~w~%d~b~ Police:~w~%d, ~r~Players:~w~%d/500, ~r~Date:~w~%s", Points[0], Points[1], Points[2], Points[3], pCed, GetDateX());
  6464.     TextDrawSetString(Result,ts);
  6465.     if(DOF2_FileExists(sFile(playerid))) DOF2_RemoveFile(sFile(playerid));
  6466.     if(InRob[playerid] == 1) EndRob(playerid);
  6467.     DidRob[playerid] = 0;
  6468.     new Dmsg[128];
  6469.     switch(reason)
  6470.     {
  6471.         case 0:
  6472.         {
  6473.             format(Dmsg, sizeof(Dmsg),"The Player {FF0000}[{FFFFFF}%s{FF0000}] ({FFFFFF}ID:%d{FF0000}) Has Left The Server({FFFFFF}Crash{FF0000})",GetName(playerid),playerid);
  6474.             DOF2_SetInt(pFile(playerid), "Money", DOF2_GetInt(pFile(playerid), "Money")+GetPlayerMoney(playerid));
  6475.             DOF2_SaveFile();
  6476.             DResetPlayerMoney(playerid);
  6477.             pMoney[playerid] = 0;
  6478.         }
  6479.         case 1: format(Dmsg, sizeof(Dmsg),"The Player {FF0000}[{FFFFFF}%s{FF0000}] ({FFFFFF}ID:%d{FF0000}) Has Left The Server({FFFFFF}Leaving{FF0000})",GetName(playerid),playerid);
  6480.         case 2: format(Dmsg, sizeof(Dmsg),"The Player {FF0000}[{FFFFFF}%s{FF0000}] ({FFFFFF}ID:%d{FF0000}) Has Left The Server({FFFFFF}Kicked/Banned{FF0000})",GetName(playerid),playerid);
  6481.     }
  6482.     SendClientMessageToAll(COLOR_RED, Dmsg);
  6483.  
  6484.         if(Flag[playerid] == 1)
  6485.         {
  6486.           ///  SetPlayerMapIcon( playerid, 10,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  6487.                GroveF = CreatePickup(2914, 1,1480.2485,2195.8704,20.9065 , -1);
  6488.                Flag[playerid] = 0;
  6489.         }
  6490.         if(Flag[playerid] == 2)
  6491.         {
  6492.           ///  SetPlayerMapIcon( playerid, 11,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  6493.                VagosF = CreatePickup(2914, 1, 2631.9868,2322.0452,17.8203, -1);
  6494.                Flag[playerid] = 0;
  6495.         }
  6496.         if(Flag[playerid] == 3)
  6497.         {
  6498.            //   SetPlayerMapIcon( playerid, 12,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  6499.                AztecasF = CreatePickup(2914, 1, 1045.8225,1016.4917,11.4848, -1);
  6500.                Flag[playerid] = 0;
  6501.         }
  6502.         if(Flag[playerid] == 4)
  6503.         {
  6504.         //    SetPlayerMapIcon( playerid, 13,2602.8953,2364.1018,39.3744 , 19z, 0, MAPICON_LOCAL );
  6505.             PoliceF = CreatePickup(2914, 1,2276.8689,2451.4712,10.8203 , -1);
  6506.             Flag[playerid] = 0;
  6507.         }
  6508.         if(Flag[playerid] == 5)
  6509.         {
  6510.             Fhidden = 0;
  6511.             SendClientMessageToAll(0xFF0000AA, "The Secret Flag Has Deleted Because Someone Disconnected Wit It!");
  6512.         }
  6513.     MMissions[playerid] = 0;
  6514.     if(InRob[playerid] == 1) EndRob(playerid);
  6515.     if(InBoat[playerid] == 1) EndBoat(playerid);
  6516.     if(InMaverick[playerid] == 1) LMav(playerid);
  6517.     if(InPdelivery[playerid] == 1) LPdelivery(playerid);
  6518.     if(InROT[playerid] == 1) LostROT(playerid);
  6519.     DOF2_SaveFile();
  6520.     FadePlayerDisconnect(playerid);
  6521.     return 1;
  6522. }
  6523. //===<OnPlayerDisconnect>===//
  6524.  
  6525.  
  6526. //===<Radio>===//
  6527. forward AutoRadio();
  6528. public AutoRadio()
  6529. {
  6530.     for(new x; x<MAX_PLAYERS; x++)
  6531.     {
  6532.         if(IsPlayerConnected(x) && InRadio[x] == 1 && LoggeX[x] == 1)
  6533.         {
  6534.             SetRadio(x);
  6535.         }
  6536.     }
  6537.     return 1;
  6538. }
  6539.  
  6540. forward SetRadio(playerid);
  6541. public SetRadio(playerid)
  6542. {
  6543.  
  6544.     new Rs = random(sizeof(Radio));
  6545.     InRadio[playerid] = 1;
  6546.     PlayAudioStreamForPlayer(playerid, Radio[Rs]);
  6547.     return 1;
  6548. }
  6549. forward SrFa();
  6550. public SrFa()
  6551. {
  6552.     new Rs = random(sizeof(Radio));
  6553.     for(new i; i < 500; i++)
  6554.     {
  6555.         if(IsPlayerConnected(i) && InRadio[i] == 1 && LoggeX[i] == 1)
  6556.         {
  6557.             InRadio[i] = 1;
  6558.             PlayAudioStreamForPlayer(i, Radio[Rs]);
  6559.         }
  6560.     }
  6561.     return 1;
  6562. }
  6563. //===<GetPlayerWeapons>===//
  6564.  
  6565. //===<GetPlayerWeapons>===//
  6566.  
  6567. stock DistanceFromPlayerToPointOnXY(playerid, PointX, PointY)
  6568. {
  6569.     new Float:Ps[3],Msg[128];
  6570.     GetPlayerPos(playerid, Ps[0], Ps[1], Ps[2]);
  6571.     Ps[0] = floatpower(floatabs(PointX - Ps[0]),2);
  6572.     Ps[1] = floatpower(floatabs(PointY - Ps[1]),2);
  6573.     Ps[2] = floatsqroot(Ps[0]+Ps[1]);
  6574.     format(Msg, sizeof(Msg), "Distance to point is %f", Ps[2]);
  6575.     SendClientMessage(playerid, COLOR_RED, Msg);
  6576. }
  6577.  
  6578. //===<EndRob>===//
  6579. stock EndRob(playerid)
  6580. {
  6581.     InRob[playerid] = 0;
  6582.     new Smsg[512];
  6583.     format(Smsg, sizeof(Smsg), "The Player %s Has Failed In The Casino Robbery", GetName(playerid));
  6584.     SendClientMessageToAll(0xFFFF00, Smsg);
  6585.     DisablePlayerRaceCheckpoint(playerid);
  6586.     RemovePlayerFromVehicle(playerid);
  6587.     SetVehicleToRespawn(RobCar);
  6588.     KillTimer(PlayerCountDown[playerid]);
  6589.     PtL[playerid] = 0;
  6590.     CpN[playerid] = 0;
  6591.     DSetPlayerPos(playerid, 2027.1375,1916.3652,12.3375);
  6592.     GameTextForPlayer(playerid, "~r~mission failed!", 1000, 0);
  6593. }
  6594.  
  6595. //===<EndRob>===//
  6596. stock EndBoat(playerid)
  6597. {
  6598.     SetPlayerWorldBounds(playerid, 3153.026, 724.0283, 2989.536, 525.5044);
  6599.     InBoat[playerid] = 0;
  6600.     InBx = 0;
  6601.     DisablePlayerRaceCheckpoint(playerid);
  6602.     KillTimer(PlayerCountDown[playerid]);
  6603.     CpN[playerid] = 0;
  6604.     new bm[256];
  6605.     format(bm, 256, "The Player %s Has Failed The Boat Challange", GetName(playerid));
  6606.     SendClientMessageToAll(0xFFFFFF, bm);
  6607.     DSetPlayerPos(playerid, 2027.8258,1543.9150,10.8203);
  6608.     PtL[playerid] = 0;
  6609.     GameTextForPlayer(playerid, "~r~mission failed!", 1000, 0);
  6610. }
  6611. stock WinPdelivery(playerid)
  6612. {
  6613.     InPdelivery[playerid] = 0;
  6614.     DisablePlayerRaceCheckpoint(playerid);
  6615.     KillTimer(PlayerCountDown[playerid]);
  6616.     SetVehicleToRespawn(Pboy);
  6617.     CpN[playerid] = 0;
  6618.     DGivePlayerMoney(playerid, 2500);
  6619.     new bm[256];
  6620.     format(bm, 256, "The Player %s Has Completed The Pizza Delivery", GetName(playerid));
  6621.     SendClientMessageToAll(0xFFFFFF, bm);
  6622.     DSetPlayerPos(playerid, 2114.6667,2203.7651,10.8203);
  6623.     MMissions[playerid]++;
  6624.     GameTextForPlayer(playerid, "mission passed!~n~~w~$2500", 1000, 0);
  6625. }
  6626. stock LPdelivery(playerid)
  6627. {
  6628.     InPdelivery[playerid] = 0;
  6629.     DisablePlayerRaceCheckpoint(playerid);
  6630.     KillTimer(PlayerCountDown[playerid]);
  6631.     CpN[playerid] = 0;
  6632.     new bm[256];
  6633.     format(bm, 256, "The Player %s Has Failed The Pizza Delivery", GetName(playerid));
  6634.     SetVehicleToRespawn(Pboy);
  6635.     SendClientMessageToAll(0xFFFFFF, bm);
  6636.     DSetPlayerPos(playerid, 2114.6667,2203.7651,10.8203);
  6637.     GameTextForPlayer(playerid, "~r~mission failed!", 1000, 0);
  6638. }
  6639.  
  6640. stock WonROT(playerid)
  6641. {
  6642.     DisablePlayerRaceCheckpoint(playerid);
  6643.     new Str[256];
  6644.     format(Str, sizeof(Str), "The Player %s Won The Race On Time!", GetName(playerid));
  6645.     SendClientMessageToAll(0xFFFFFF, Str);
  6646.     InROT[playerid] = 0;
  6647.     RaceActive = 0;
  6648.     KillTimer(PlayerCountDown[playerid]);
  6649.     DGivePlayerMoney(playerid, 2500);
  6650.     CpN[playerid] = 0;
  6651.     GameTextForPlayer(playerid, "mission passed!~n~~w~$2500", 1000, 0);
  6652. }
  6653.  
  6654. stock LostROT(playerid)
  6655. {
  6656.     new Str[256];
  6657.     DisablePlayerRaceCheckpoint(playerid);
  6658.     format(Str, sizeof(Str), "The Player %s Lost The Race On Time :(", GetName(playerid));
  6659.     SendClientMessageToAll(0xFFFFFF, Str);
  6660.     InROT[playerid] = 0;
  6661.     RaceActive = 0;
  6662.     KillTimer(PlayerCountDown[playerid]);
  6663.     CpN[playerid] = 0;
  6664.     GameTextForPlayer(playerid, "~r~mission failed!", 1000, 0);
  6665. }
  6666.  
  6667. stock WinBoat(playerid)
  6668. {
  6669.     SetPlayerWorldBounds(playerid, 3153.026, 724.0283, 2989.536, 525.5044);
  6670.     InBoat[playerid] = 0;
  6671.     InBx = 0;
  6672.     DisablePlayerRaceCheckpoint(playerid);
  6673.     KillTimer(PlayerCountDown[playerid]);
  6674.     CpN[playerid] = 0;
  6675.     PtL[playerid] = 0;
  6676.     new bm[256];
  6677.     format(bm, 256, "The Player %s Has Completed The Boat Challange", GetName(playerid));
  6678.     SendClientMessageToAll(0xFFFFFF, bm);
  6679.     DGivePlayerMoney(playerid, 2500);
  6680.     DSetPlayerPos(playerid, 2027.8258,1543.9150,10.8203);
  6681.     MMissions[playerid]++;
  6682.     GameTextForPlayer(playerid, "mission passed!~n~~w~$2500", 1000, 0);
  6683. }
  6684. stock EndMav(playerid)
  6685. {
  6686.     new Sxd[256];
  6687.     format(Sxd, 256, "The Player %s Has Completed The Maverick Challange", GetName(playerid));
  6688.     SendClientMessageToAll(0xffffff, Sxd);
  6689.     CpN[playerid] = 0;
  6690.     InMaverick[playerid] = 0;
  6691.     SetVehicleToRespawn(Maverick);
  6692.     DisablePlayerRaceCheckpoint(playerid)
  6693.     KillTimer(PlayerCountDown[playerid]);
  6694.     DGivePlayerMoney(playerid, 2500);
  6695.     DSetPlayerPos(playerid, 1716.6443,1604.7043,10.0156);
  6696.     MMissions[playerid]++;
  6697.     GameTextForPlayer(playerid, "mission passed!~n~~w~$2500", 1000, 0);
  6698. }
  6699. stock LMav(playerid)
  6700. {
  6701.     new Sxd[256];
  6702.     format(Sxd, 256, "The Player %s Has Failed The Maverick Challange", GetName(playerid));
  6703.     SendClientMessageToAll(0xffffff, Sxd);
  6704.     CpN[playerid] = 0;
  6705.     InMaverick[playerid] = 0;
  6706.     SetVehicleToRespawn(Maverick);
  6707.     DisablePlayerRaceCheckpoint(playerid);
  6708.     KillTimer(PlayerCountDown[playerid]);
  6709.     DSetPlayerPos(playerid, 1716.6443,1604.7043,10.0156);
  6710.     GameTextForPlayer(playerid, "~r~mission failed!", 1000, 0);
  6711. }
  6712. //===<GetName>===//
  6713. stock GetName(playerid)
  6714. {
  6715.     new xname[MAX_PLAYER_NAME];
  6716.     GetPlayerName(playerid,xname,sizeof(xname));
  6717.     return xname;
  6718. }
  6719. //===<GetName>===//
  6720.  
  6721. //===<GetPlayerSpeed>===//
  6722. stock GetPlayerSpeed(playerid,bool:kmh)
  6723. {
  6724.     new Float:Vx,Float:Vy,Float:Vz,Float:rtn;
  6725.     if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz);
  6726.     rtn = floatsqroot(floatabs(floatpower(Vx + Vy + Vz,2)));
  6727.     return kmh?floatround(rtn * 100 * 1.61):floatround(rtn * 100);
  6728. }
  6729. //===<GetPlayerSpeed>===//
  6730.  
  6731. //===<TDMSkin>===//
  6732. stock TDMSkin(playerid)
  6733. {
  6734.     ApplyAnimation(playerid,"PED","gang_gunstand", 4.0, 1, 0, 0, 0, 0);
  6735.     if(GotS[playerid] == 0)
  6736.     {
  6737.         DGivePlayerWeapon(playerid, 24, 10);
  6738.         SetPlayerInterior(playerid, 0);
  6739.         DSetPlayerPos(playerid, 1991.7454,1591.9148,22.7109);
  6740.         SetPlayerCameraPos(playerid, 2000.5420,1598.9202,21.7254);
  6741.         InterpolateCameraPos(playerid, 2000.5420,1598.9202,21.7254,0,0,0, 1000*80, CAMERA_MOVE);
  6742.  
  6743.     //  SetPlayerCameraPos(playerid, 2003.6981,1597.2198,21.8339);
  6744.         SetPlayerCameraLookAt(playerid, 1991.7454,1591.9148,22.7109);
  6745.         InterpolateCameraLookAt(playerid, 1990,1580,21.7254,0,0,0, 1000*80, CAMERA_MOVE);
  6746.         SetPlayerFacingAngle(playerid, 289.2300);
  6747.         GotS[playerid] = 1;
  6748.     }
  6749.     new skin = GetPlayerSkin(playerid);
  6750.     if(skin == 105 || skin == 106 || skin == 107) GameTextForPlayer(playerid, "~G~Grove", 3000, 6), ApplyAnimation(playerid,"PED","gang_gunstand", 4.0, 1, 0, 0, 0, 0);
  6751.     if(skin == 114 || skin == 115 || skin == 116) GameTextForPlayer(playerid, "~B~~h~~h~Aztecas", 3000, 6), ApplyAnimation(playerid,"RAPPING","RAP_B_Loop",4.0,1,1,1,1,0);
  6752.     if(skin == 108 || skin == 109 || skin == 110) GameTextForPlayer(playerid, "~Y~Vagos",3000, 6), ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.0,1,1,1,1,0);
  6753.     if(skin == 280 || skin == 281 || skin == 284) GameTextForPlayer(playerid, "~B~Police", 3000, 6), ApplyAnimation(playerid, "SHOP", "SHP_Gun_Aim", 4.0, 0, 1, 1, 1, -1);
  6754. }
  6755. //===<TDMSkin>===//
  6756.  
  6757. /*
  6758. strtok(const string[], &index)
  6759. {
  6760.     new length = strlen(string);
  6761.     while ((index < length) && (string[index] <= ' '))
  6762.     {
  6763.         index++;
  6764.     }
  6765.     new offset = index;
  6766.     new result[20];
  6767.     while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  6768.     {
  6769.         result[index - offset] = string[index];
  6770.         index++;
  6771.     }
  6772.     result[index - offset] = EOS;
  6773.     return result;
  6774. }
  6775. */
  6776.  
  6777. //===<strrest>===//
  6778. stock strrest(const string[], &index)
  6779. {
  6780.     new length = strlen(string);
  6781.     while ((index < length) && (string[index] <= ' '))
  6782.     {
  6783.         index++;
  6784.     }
  6785.     new offset = index;
  6786.     new result[128];
  6787.     while ((index < length) && ((index - offset) < (sizeof(result) - 1)))
  6788.     {
  6789.         result[index - offset] = string[index];
  6790.         index++;
  6791.     }
  6792.     result[index - offset] = EOS;
  6793.     return result;
  6794. }
  6795. //===<strrest>===//
  6796.  
  6797. //===<CheckLevel>===//
  6798. stock CheckLevel(playerid)
  6799. {
  6800.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[1]) LevelUpX(playerid, 1);
  6801.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[2]) LevelUpX(playerid, 2);
  6802.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[3]) LevelUpX(playerid, 3);
  6803.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[4]) LevelUpX(playerid, 4);
  6804.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[5]) LevelUpX(playerid, 5);
  6805.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[6]) LevelUpX(playerid, 6);
  6806.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[7]) LevelUpX(playerid, 7);
  6807.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[8]) LevelUpX(playerid, 8);
  6808.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[9]) LevelUpX(playerid, 9);
  6809.     if(DOF2_GetInt(pFile(playerid), "Kills") == K[10]) LevelUpX(playerid, 10);
  6810.    
  6811. }
  6812. //===<CheckLevel>===//
  6813.  
  6814. //===<LevelUp>===//
  6815. stock LevelUp(playerid)
  6816. {
  6817.     DOF2_SetInt(pFile(playerid), "Level", DOF2_GetInt(pFile(playerid), "Level")+1);
  6818.     new tmz[256];
  6819.     format(tmz, sizeof(tmz), "The Player %s Is Now Level Up - %d!", GetName(playerid), DOF2_GetInt(pFile(playerid), "Level"));
  6820.     SendClientMessageToAll(COLOR_RED, tmz);
  6821.     SetPlayerWantedLevel(playerid, DOF2_GetInt(pFile(playerid), "Level"));
  6822.     DOF2_SaveFile();
  6823. }
  6824. //===<LevelUp>===//
  6825. stock LevelUpX(playerid, lvl)
  6826. {
  6827.     DOF2_SetInt(pFile(playerid), "Level", lvl);
  6828.     new tmz[256];
  6829.     format(tmz, sizeof(tmz), "The Player %s Is Now Level Up - %d!", GetName(playerid), DOF2_GetInt(pFile(playerid), "Level"));
  6830.     SendClientMessageToAll(COLOR_RED, tmz);
  6831.     SetPlayerWantedLevel(playerid, DOF2_GetInt(pFile(playerid), "Level"));
  6832.     DOF2_SaveFile();
  6833. }
  6834. //==
  6835.  
  6836.  
  6837.  
  6838. stock pFile(playerid)
  6839. {
  6840.     new xFile[256];
  6841.     format(xFile,sizeof(xFile),"TDM/Users/%s.ini",GetName(playerid));
  6842.     return xFile;
  6843. }
  6844. stock nFile(name[])
  6845. {
  6846.     new xFile[256];
  6847.     format(xFile, sizeof(xFile), "TDM/Users/%s.ini", name);
  6848.     return xFile;
  6849. }
  6850. stock MessageF()
  6851. {
  6852.     new xFile[256];
  6853.     format(xFile, sizeof(xFile), "TDM/System/Messages.ini");
  6854.     return xFile;
  6855. }
  6856. stock SWShopF()
  6857. {
  6858.     new xFile[256];
  6859.     format(xFile, sizeof(xFile), "TDM/System/SWShopF.ini");
  6860.     return xFile;
  6861. }
  6862. stock TeamPF()
  6863. {
  6864.     new xFile[256];
  6865.     format(xFile, sizeof(xFile), "TDM/System/TeamPoints.ini");
  6866.     return xFile;
  6867. }
  6868.  
  6869. stock sFile(playerid)
  6870. {
  6871.     new tFile[256];
  6872.     format(tFile,sizeof(tFile),"TDM/Users/Temp/%s.ini",GetName(playerid));
  6873.     return tFile;
  6874. }
  6875.  
  6876. forward VehicleHasDriver(vehicleid);
  6877. public VehicleHasDriver(vehicleid)
  6878. {
  6879.      for(new i=0;i<=MAX_PLAYERS;i++)
  6880.      {
  6881.            if(IsPlayerInAnyVehicle(i))
  6882.            {
  6883.                 if(GetPlayerVehicleID(i)== RobCar)
  6884.                 {
  6885.                        if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
  6886.                        {
  6887.                              return 1;
  6888.                         }
  6889.                  }
  6890.            }
  6891.      }
  6892.      return 0;
  6893. }
  6894. forward GetVehicleDriver(vehicleid);
  6895. public GetVehicleDriver(vehicleid)
  6896. {
  6897.      for(new i=0;i<=MAX_PLAYERS;i++)
  6898.      {
  6899.            if(IsPlayerInAnyVehicle(i))
  6900.            {
  6901.                 if(GetPlayerVehicleID(i)== RobCar)
  6902.                 {
  6903.                        if(GetPlayerState(i) == PLAYER_STATE_DRIVER)
  6904.                        {
  6905.                              return i;
  6906.                         }
  6907.                  }
  6908.            }
  6909.      }
  6910.      return 0;
  6911. }
  6912. forward PlayerCD(playerid,time);
  6913. public PlayerCD(playerid,time)
  6914. {
  6915.     new String5[30];
  6916.     format(String5,sizeof(String5),"~b~%d",time);
  6917.  
  6918.     if(time > 0)
  6919.     {
  6920.         PlayerCountDown[playerid] = SetTimerEx("PlayerCD",1000,0,"dd",playerid,time-1,1);
  6921.         GameTextForPlayer(playerid, String5, 1000, 6);
  6922.     }
  6923.     if(time == 0)
  6924.     {
  6925.         KillTimer(PlayerCountDown[playerid]);
  6926.         if(InRob[playerid] == 1)
  6927.         {
  6928.             EndRob(playerid);
  6929.         }
  6930.         if(InBoat[playerid] == 1)
  6931.         {
  6932.             EndBoat(playerid);
  6933.         }
  6934.         if(InMaverick[playerid] == 1)
  6935.         {
  6936.             LMav(playerid);
  6937.         }
  6938.         if(InPdelivery[playerid] == 1)
  6939.         {
  6940.             LPdelivery(playerid);
  6941.         }
  6942.         if(InROT[playerid] == 1)
  6943.         {
  6944.             LostROT(playerid);
  6945.         }
  6946.     }
  6947.     return 1;
  6948. }
  6949.  
  6950. stock HexColor(Color)
  6951. {
  6952.     new Hexa[12];
  6953.     format(Hexa,12,"%06x",Color >>> 8);
  6954.     return Hexa;
  6955. }
  6956.  
  6957. stock ColouredText(text[])
  6958. {
  6959.     enum colorEnum {colorName[16],colorID[7]};
  6960.     new colorInfo[][colorEnum] =
  6961.     {
  6962.         {"BLUE","1B1BE0"},{"????","1B1BE0"},
  6963.         {"PINK","E81CC9"},{"????","E81CC9"},
  6964.         {"YELLOW","DBED15"},{"????","DBED15"},
  6965.         {"LIGHTGREEN","8CED15"},{"???÷???","8CED15"},
  6966.         {"LIGHTBLUE","15D4ED"},{"???????","15D4ED"},
  6967.         {"RED","FF0000"},{"????","FF0000"},
  6968.         {"GREY","BABABA"},{"????","BABABA"},
  6969.         {"WHITE","FFFFFF"},{"???","FFFFFF"},
  6970.         {"ORANGE","DB881A"},{"????","DB881A"},
  6971.         {"GREEN","37DB45"},{"???÷","37DB45"},
  6972.         {"PURPLE","7340DB"},{"????","7340DB"}
  6973.     },
  6974.     string[(128 + 32)],tempString[16],pos = -1,x;
  6975.     strmid(string, text, 0, 128, sizeof(string));
  6976.     for( ; x != sizeof(colorInfo); ++x)
  6977.     {
  6978.         format(tempString, sizeof(tempString), "(%s)", colorInfo[x][colorName]);
  6979.         while((pos = strfind(string, tempString, true, (pos + 1))) != -1)
  6980.         {
  6981.             new tempLen = strlen(tempString),tempVar,i = pos;
  6982.             format(tempString, sizeof(tempString), "{%s}", colorInfo[x][colorID]);
  6983.             if(tempLen < 8) for(new j; j != (8 - tempLen); ++j) strins(string, " ", pos);
  6984.             for(;((string[i] != 0) && (tempVar != 8)) ; ++i, ++tempVar) string[i] = tempString[tempVar];
  6985.             if(tempLen > 8) strdel(string, i, (i + (tempLen - 8)));
  6986.             x = -1;
  6987.         }
  6988.     }
  6989.     return string;
  6990. }
  6991. Rename(old_file[], new_file[]) {
  6992.    new file_bats[200];
  6993.    DOF2_CreateFile(new_file);
  6994.    new File:oldfile = fopen(old_file, io_read);
  6995.    new File:newfile = fopen(new_file, io_write);
  6996.  //  if (!fexist(old_file)) return 1;
  6997.    while (fread(oldfile, file_bats)) {
  6998.    fwrite(newfile, file_bats);
  6999.    //Dini_Rename By Maor Rakach (C)
  7000.    }
  7001.    fclose(newfile);
  7002.    fclose(oldfile);
  7003.    DOF2_RemoveFile(old_file);
  7004.    DOF2_SaveFile();
  7005.    return 1;
  7006.    }
  7007. stock IsXLevel(playerid)
  7008. {
  7009.     new file[128];
  7010.     format(file, 64, "xap/Users/%s.ini", udb_encode(GetName(playerid)));
  7011.     return DOF2_GetInt(file, "Level");
  7012. }
  7013. stock IsPlayerXAdmin(playerid)
  7014. {
  7015.     new file[128];
  7016.     format(file,64,"xap/Users/%s.ini",udb_encode(GetName(playerid)));
  7017.     if(DOF2_GetInt(file,"Level") >= 1 && DOF2_GetInt(file,"LoggedIn") == 1) return true;
  7018.     else return false;
  7019. }
  7020. stock ErrorLevel(playerid, level, text[])
  7021. {
  7022.     if(IsPlayerXAdmin(playerid))
  7023.     {
  7024.         new string[256];
  7025.         format(string, sizeof(string), "ERROR: You must be administrator level %d to use this command.", level);
  7026.         SendClientMessage(playerid, COLOR_RED, string);
  7027.         return 1;
  7028.     }
  7029.     else return WrongCmd(playerid, text);
  7030. }
  7031. stock WrongCmd(playerid, cmd[])
  7032. {
  7033.     new XrongCmd[356];
  7034.     format(XrongCmd, sizeof(XrongCmd), "{FF0000}The Command You Typed [{FFFFFF}%s{FF0000}] Was Wrong. For Some Help Type {FFFFFF}\"Help\"", cmd);
  7035.     return SendClientMessage(playerid, COLOR_RED, XrongCmd);   
  7036. }
  7037.  
  7038. stock GetDateX()
  7039. {
  7040.     new date[3],Date[256];
  7041.     getdate(date[0],date[1],date[2]);
  7042.     format(Date,256,"%d.%d.%d",date[2],date[1],date[0]);
  7043.     return Date;
  7044. }  
  7045. stock GetTimeX()
  7046. {
  7047.     new zime[3],Qime[256];
  7048.     gettime(zime[0],zime[1],zime[2]);
  7049.     if(zime[1] < 10)
  7050.     {
  7051.         format(Qime,256,"%d:0%d",zime[0],zime[1]);
  7052.     }
  7053.     else
  7054.     {
  7055.         format(Qime,256,"%d:%d",zime[0],zime[1]);
  7056.     }
  7057.     return Qime;
  7058. }  
  7059.  
  7060. stock IsPlayerInArea(playerid, Float:MinX, Float:MinY, Float:MaxX, Float:MaxY)
  7061. {
  7062.     new Float:Xo, Float:Yo, Float:Zo;
  7063.     GetPlayerPos(playerid, Xo, Yo, Zo);
  7064.     if(Xo >= MinX && Xo <= MaxX && Yo >= MinY && Yo <= MaxY)
  7065.     {
  7066.         return 1;
  7067.     }
  7068.     return 0;
  7069. }
  7070.  
  7071. forward TimeTDU(playerid);
  7072. public TimeTDU(playerid)
  7073. {
  7074.     new tsp[256];
  7075.     format(tsp, sizeof(tsp), "                                                       ~r~Time:~w~%s  ~r~Nick:~w~%s",GetTimeX(), GetName(playerid));
  7076.     TextDrawSetString(NickTD[playerid], tsp);
  7077.     return 1;
  7078. }
  7079. forward AutoMsgP();
  7080. public AutoMsgP()
  7081. {      
  7082.     for(new m; m<150; m++) SendClientMessageToAll(-1, " ");
  7083.     SendClientMessageToAll(-1, "{ffff00}========================<{ffffff}Bulletin Board{ffff00}>========================");
  7084.     for(new i=1; i<6; i++)
  7085.     {
  7086.         new nux[20];
  7087.         format(nux, sizeof(nux), "Message%d", i);
  7088.         SendClientMessageToAll(-1, DOF2_GetString(MessageF(), nux));
  7089.     }
  7090.     switch(random(5))
  7091.     {
  7092.         case 0: SendClientMessageToAll(-1, "{0000ff}Tip: {ffffff}Tired Of The Desert Eagle? Go To The {ff0000}Ammunation {ffffff}And Buy Yourself A {ffff00}New Weapon!");
  7093.         case 1: SendClientMessageToAll(-1, "{0000ff}Tip: {ffffff}Bored? Go And Find One Of The {ffff00}Missions{ffffff} On The {FF0000}Server.");
  7094.         case 2: SendClientMessageToAll(-1, "{0000ff}Tip: {ffffff}Enough With This Free Radio! Buy Yourself A Cool MP3 Player! /BuyMP3");
  7095.         case 3: SendClientMessageToAll(-1, "{0000ff}Tip: {ffffff}Need To Report Something? Got Questions? Ask An Online Admin Or Go To Our Forum: {ffff00}Www.Blue-F.Co.iL");
  7096.         case 4: SendClientMessageToAll(-1, "{0000ff}Tip: {ffffff}Don't Understand Something? Try To Use /Help Or Ask An Online Admin");
  7097.     }
  7098.     for(new t; t<MAX_PLAYERS; t++)
  7099.     {
  7100.         if(IsPlayerConnected(t))
  7101.         {
  7102.             if(HProps[t] > 0)
  7103.             {
  7104.                 new Earn[MAX_PLAYERS];
  7105.                 for(new i; i<sizeof(PropVar); i++)
  7106.                 {
  7107.                     if(PropVar[i][PoID] == t)
  7108.                     {
  7109.                         Earn[t] += PropVar[i][PEarn];  
  7110.                     }
  7111.                 }
  7112.                 format(pstrx, 256, "{FFFF00}PropSys: {FFFFFF}You Have Earned {00FF00}%d$ {FFFFFF}From Your Properties {FF0000}(/PropList)", Earn[t]);
  7113.                 SendClientMessage(t, -1, pstrx);
  7114.                 DGivePlayerMoney(t, Earn[t]);
  7115.             }
  7116.         }
  7117.     }
  7118.     SendClientMessageToAll(-1, "{ffff00}========================<{ffffff}Bulletin Board{ffff00}>========================");
  7119.     KillTimer(AMT);
  7120.     AMT = SetTimer("AutoMsgP", 1000*60*DOF2_GetInt(MessageF(), "MsgTime"), false);
  7121.     if(AmON == 0) {SrFa();}
  7122. }
  7123.  
  7124. stock Log(playerid, text[], file[])
  7125. {
  7126.     new fix[256], xnum[10000], str2ins[1024];
  7127.     format(fix, sizeof(fix), "TDM/Logs/%s", file);
  7128.     if(!DOF2_FileExists(fix))
  7129.     {
  7130.         DOF2_CreateFile(fix),DOF2_SetInt(fix, "MsgNum", 1);
  7131.         DOF2_SetString(fix, "M0", "12.12.2012/12:12 Player:Text");
  7132.     }
  7133.     format(xnum, sizeof(xnum), "M%d", DOF2_GetInt(fix, "MsgNum"));
  7134.     format(str2ins, sizeof(str2ins), "%s/%s %s:%s", GetDateX(), GetTimeX(), GetName(playerid), text);
  7135.     DOF2_SetString(fix, xnum, str2ins);
  7136.     DOF2_SaveFile();
  7137.     DOF2_SetInt(fix, "MsgNum", DOF2_GetInt(fix, "MsgNum")+1);
  7138.     DOF2_SaveFile();
  7139.     return 1;
  7140. }
  7141.  
  7142. stock HFile(id)
  7143. {
  7144.     new stfh[128];
  7145.     format(stfh, sizeof(stfh), "TDM/Houses/House%d.ini", id);
  7146.     return stfh;
  7147. }
  7148.  
  7149. stock DDSetPlayerHealth(playerid, float:health)
  7150. {
  7151.     healt==100?health=99;
  7152.     Health[playerid] = health;
  7153.     DSetPlayerHealth(playerid, health);
  7154. }/*
  7155. forward AntiAB();
  7156. public AntiAB()
  7157. {
  7158.     new Float: X1,Float: Y1,Float: Z1;
  7159.     new dz,Float: dz1;
  7160.     for(new i=0; i<MAX_PLAYERS; i++)
  7161.     {
  7162.         if(!IsPlayerConnected(i)) continue;
  7163.         if(LoggeX[i] == 0) continue;
  7164.         if(IsXLevel(i) > 10) continue;
  7165.         GetPlayerPos(i,X1,Y1,Z1);
  7166.         if(GetPVarInt(i, "Teleport") == 1)
  7167.         {
  7168.             PX2[i] = X1;
  7169.             PY2[i] = Y1;
  7170.             PZ2[i] = Z1;
  7171.              SetPVarInt(i, "Teleport", 0);
  7172.             continue;
  7173.         }
  7174.         if(PX2[i] == 0 && PY2[i] == 0 && PZ2[i] == 0)
  7175.         {
  7176.             PX2[i] = X1;
  7177.             PY2[i] = Y1;
  7178.             PZ2[i] = Z1;
  7179.             continue;
  7180.         }    
  7181.         dz1=(floatabs(PX2[i] - X1)*floatabs(PX2[i] - X1)+floatabs(PY2[i] - Y1)*floatabs(PY2[i] - Y1));
  7182.         dz=floatround(floatsqroot(dz1));
  7183.         PX2[i] = X1;
  7184.         PY2[i] = Y1;
  7185.         PZ2[i] = Z1;
  7186.         if(IsPlayerInAnyVehicle(i))
  7187.         {
  7188.             if(dz > 215)
  7189.             {
  7190.                 SendClientMessage(i, -1, "{FF9900}AntiCheat:{FFFFFF} You Have Been Kicked For SpeedHack/Airbreak!");
  7191.                 Kick(i);
  7192.             }
  7193.         }
  7194.         else
  7195.         {
  7196.             if(dz > 40)
  7197.             {
  7198.                 SendClientMessage(i, -1, "{FF9900}AntiCheat:{FFFFFF} You Have Been Kicked For SpeedHack/Airbreak!");
  7199.                 Kick(i);
  7200.             }
  7201.         }
  7202.     }
  7203.     return 1;
  7204. }*/
  7205. forward Anti_HealthHack();
  7206. public Anti_HealthHack()
  7207. {
  7208.     new Float: health;
  7209.     for(new i=0; i<MAX_PLAYERS; i++)
  7210.     {
  7211.         if(!IsPlayerConnected(i)) continue;
  7212.         GetPlayerHealth(i,health);
  7213.         if(health == 100)
  7214.         {
  7215.             DSetPlayerHealth(i,GetPVarFloat(i, "Health"));
  7216.         }
  7217.         else
  7218.         {
  7219.             SetPVarFloat(i, "Health", health);
  7220.         }
  7221.         GetPlayerArmour(i,health);
  7222.         if(health == 100)
  7223.         {
  7224.             DSetPlayerArmour(i, GetPVarFloat(i, "Health"));
  7225.         }
  7226.         else
  7227.         {
  7228.             SetPVarFloat(i, "Health", health);
  7229.         }
  7230.     }
  7231.     return 1;
  7232. }
  7233. stock DSetPlayerHealth(playerid,Float: health)
  7234. {
  7235.     if(health == 100)
  7236.     {
  7237.         SetPVarFloat(playerid, "Health", 99);
  7238.        // HealthArmour[0][playerid] = 99;
  7239.         SetPlayerHealth(playerid,99);
  7240.     }
  7241.     else
  7242.     {
  7243.         SetPVarFloat(playerid, "Health", health);
  7244.         //HealthArmour[0][playerid] = health;
  7245.         SetPlayerHealth(playerid,health);
  7246.     }
  7247. }
  7248. stock DSetPlayerArmour(playerid,Float: health)
  7249. {
  7250.     if(health == 100)
  7251.     {
  7252.         SetPVarFloat(playerid, "Armour", 99);
  7253.         //HealthArmour[1][playerid] = 99;
  7254.         SetPlayerArmour(playerid,99);
  7255.     }
  7256.     else
  7257.     {
  7258.         SetPVarFloat(playerid, "Armour", health);
  7259.       //  HealthArmour[1][playerid] = health;
  7260.         SetPlayerArmour(playerid,health);
  7261.     }
  7262. }
  7263. stock DSetPlayerPos(playerid,Float: Xa,Float: Ya,Float: Za)//To set player pos use G_DSetPlayerPos
  7264. {
  7265.     SetPVarInt(playerid, "Teleport", 1);
  7266.     SetPlayerPos(playerid,Xa,Ya,Za);
  7267. }
  7268. stock DGivePlayerWeapon(playerid,weaponid,ammo)
  7269. {
  7270.     AntiCheatWeapon[playerid][WeaponID][weaponid] = 1;
  7271.     AntiCheatWeapon[playerid][Ammo][weaponid] += ammo;
  7272.     AntiCheatWeapon[playerid][Slot][weaponid] = DGetWeaponSlot(weaponid);
  7273.     GivePlayerWeapon(playerid,weaponid,ammo);
  7274.     return 1;
  7275. }
  7276. stock DSetPlayerAmmo(playerid,weaponid,ammo)
  7277. {
  7278.     AntiCheatWeapon[playerid][Ammo][weaponid] = ammo;
  7279.     SetPlayerAmmo(playerid,DGetWeaponSlot(weaponid),ammo);
  7280.     return 1;
  7281. }
  7282. stock DResetPlayerWeapons(playerid)
  7283. {
  7284.     for(new weaponid; weaponid < 47; weaponid ++)AntiCheatWeapon[playerid][WeaponID][weaponid] = 0,AntiCheatWeapon[playerid][Ammo][weaponid] = 0;
  7285.     ResetPlayerWeapons(playerid);
  7286.     return 1;
  7287. }
  7288. stock DGivePlayerWeapons(playerid)
  7289. {
  7290.     ResetPlayerWeapons(playerid);
  7291.     for(new weaponid; weaponid < 47; weaponid ++)if(AntiCheatWeapon[playerid][WeaponID][weaponid] == 1)GivePlayerWeapon(playerid,weaponid,AntiCheatWeapon[playerid][Ammo][weaponid]);
  7292.     return 1;
  7293. }
  7294. stock DRemovePlayerWeapon(playerid, weaponid)
  7295. {
  7296.     AntiCheatWeapon[playerid][WeaponID][weaponid] = 0;
  7297.     DGivePlayerWeapons(playerid);
  7298.     return 1;  
  7299. }
  7300. stock DGetWeaponSlot(weaponid)
  7301. {
  7302.     switch(weaponid)
  7303.     {
  7304.         case 0, 1:          return 0;
  7305.         case 2..9:          return 1;
  7306.         case 10..15:        return 10;
  7307.         case 16..19,39:     return 8;
  7308.         case 22..24:        return 2;
  7309.         case 25..27:        return 3;
  7310.         case 28,29,32:      return 4;
  7311.         case 30, 31:        return 5;
  7312.         case 33,34:         return 6;
  7313.         case 35..38:        return 7;
  7314.         case 40:            return 12;
  7315.         case 41..43:        return 9;
  7316.         case 44..46:        return 11;
  7317.         default:            return -1;
  7318.     }
  7319.     return -1;
  7320. }
  7321. //===<DGivePlayerMoney>===//
  7322. stock DGivePlayerMoney(playerid, amount)
  7323. {
  7324.     pMoney[playerid]+=amount;
  7325.     GivePlayerMoney(playerid, amount);
  7326. }
  7327. //===<DGivePlayerMoney>===//
  7328.  
  7329. //===<DResetPlayerMoney>===//
  7330. stock DResetPlayerMoney(playerid)
  7331. {
  7332.     pMoney[playerid] = 0;
  7333.     ResetPlayerMoney(playerid);
  7334. }
  7335. //===<DResetPlayerMoney>===//
  7336.  
  7337. //===<DGetPlayerMoney>===//
  7338. stock DGetPlayerMoney(playerid)
  7339. {
  7340.     return pMoney[playerid];
  7341. }
  7342. //===<DGetPlayerMoney>===//
  7343.  
  7344. //SPEEDO
  7345. forward SpeedUpdate();
  7346. public SpeedUpdate()
  7347. {
  7348.     for(new i; i < MAX_PLAYERS; i++)
  7349.     {
  7350.         if(IsPlayerInAnyVehicle(i))
  7351.         {
  7352.             new Float:SPD, Float:vx, Float:vy, Float:vz;
  7353.             GetVehicleVelocity(GetPlayerVehicleID(i), vx,vy,vz);
  7354.             SPD = floatsqroot(((vx*vx)+(vy*vy))+(vz*vz))*100;
  7355.             TextdrawUpdate(i, SPD*SPEED_MULTIPLIER);
  7356.         }
  7357.     }
  7358.     return true;
  7359. }
  7360.  
  7361. forward TextdrawUpdate(playerid, Float:speed);
  7362. public TextdrawUpdate(playerid, Float:speed)
  7363. {
  7364.     if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  7365.     {
  7366.         new SS[4];
  7367.         format(SS,4,"%f",speed);
  7368.         TextDrawSetString(Speed[playerid], SS);
  7369.        
  7370.         if(speed >= 10) { TextDrawShowForPlayer(playerid, Speedx1); }
  7371.         else TextDrawHideForPlayer(playerid, Speedx1);
  7372.         if(speed >= 30) { TextDrawShowForPlayer(playerid, Speedx2); }
  7373.         else TextDrawHideForPlayer(playerid, Speedx2);
  7374.         if(speed >= 50) { TextDrawShowForPlayer(playerid, Speedx3); }
  7375.         else TextDrawHideForPlayer(playerid, Speedx3);
  7376.         if(speed >= 70) { TextDrawShowForPlayer(playerid, Speedx4); }
  7377.         else TextDrawHideForPlayer(playerid, Speedx4);
  7378.         if(speed >= 90) { TextDrawShowForPlayer(playerid, Speedx5); }
  7379.         else TextDrawHideForPlayer(playerid, Speedx5);
  7380.         if(speed >= 110) { TextDrawShowForPlayer(playerid, Speedx6); }
  7381.         else TextDrawHideForPlayer(playerid, Speedx6);
  7382.         if(speed >= 130) { TextDrawShowForPlayer(playerid, Speedx7); }
  7383.         else TextDrawHideForPlayer(playerid, Speedx7);
  7384.         if(speed >= 150) { TextDrawShowForPlayer(playerid, Speedx8); }
  7385.         else TextDrawHideForPlayer(playerid, Speedx8);
  7386.         if(speed >= 170) { TextDrawShowForPlayer(playerid, Speedx9); }
  7387.         else TextDrawHideForPlayer(playerid, Speedx9);
  7388.         if(speed >= 130)
  7389.         {
  7390.             TextDrawSetString(Speedx13[playerid], "KM/H ~r~OVERSPEED");
  7391.             SetPVarInt(playerid, "OverSpeed", 1);
  7392.         }
  7393.         else
  7394.         {
  7395.             TextDrawSetString(Speedx13[playerid], "KM/H");
  7396.             SetPVarInt(playerid, "OverSpeed", 0);
  7397.         }
  7398.     }
  7399.     return true;
  7400. }
  7401.  
  7402. forward ShowTD(playerid);
  7403. public ShowTD(playerid)
  7404. {
  7405.     TextDrawShowForPlayer(playerid, Speed[playerid]);
  7406.     TextDrawShowForPlayer(playerid, Speedx13[playerid]);
  7407.     return true;
  7408. }
  7409.  
  7410. forward HideTD(playerid);
  7411. public HideTD(playerid)
  7412. {
  7413.     TextDrawHideForPlayer(playerid, Speed[playerid]);
  7414.     TextDrawHideForPlayer(playerid, Speedx13[playerid]);
  7415.     TextDrawHideForPlayer(playerid, Speedx1);
  7416.     TextDrawHideForPlayer(playerid, Speedx2);
  7417.     TextDrawHideForPlayer(playerid, Speedx3);
  7418.     TextDrawHideForPlayer(playerid, Speedx4);
  7419.     TextDrawHideForPlayer(playerid, Speedx5);
  7420.     TextDrawHideForPlayer(playerid, Speedx6);
  7421.     TextDrawHideForPlayer(playerid, Speedx7);
  7422.     TextDrawHideForPlayer(playerid, Speedx8);
  7423.     TextDrawHideForPlayer(playerid, Speedx9);
  7424.     return true;
  7425. }
  7426.  
  7427. public OnRconCommand(cmd[])
  7428. {
  7429.     printf("You typed %s!",cmd);
  7430.     return 0;
  7431. }
  7432.  
  7433. forward SetUpSWShop();
  7434. public SetUpSWShop()
  7435. {
  7436.     new rand = random(sizeof(SWShop));
  7437.     DOF2_SetInt(SWShopF(), "CurrentL", rand);
  7438.     DestroyPickup(SWSInside);
  7439.     DestroyPickup(SWSOutside);
  7440.     Delete3DTextLabel(SWSInsideT);
  7441.     Delete3DTextLabel(SWSOutsideT);
  7442.     SWSInside = CreatePickup(19130, 1, 344.2222,305.0060,999.1484, -1);
  7443.     SWSInsideT = Create3DTextLabel("{FF0000}Special WeaponShop\n{FFFFFF}Exit", 0x008080FF, 344.2222,305.0060,999.1484, 40.0, 0, 0);
  7444.     SWSOutside = CreatePickup(19130, 1, SWShop[rand][0], SWShop[rand][1] , SWShop[rand][2], -1);
  7445.     SWSOutsideT = Create3DTextLabel("{FF0000}Special WeaponShop\n{FFFFFF}Entrance", 0x008080FF, SWShop[rand][0], SWShop[rand][1] , SWShop[rand][2], 40.0, 0, 0);
  7446. }  
  7447. new ZT[MAX_PLAYERS];
  7448. stock SpawnDM(playerid)
  7449. {
  7450.     SendClientMessage(playerid, -1, "{0F0FFF}DM Zone: {FFFFFF}You Have Been Teleported To DM Zone. To Exit Type {FF0000}\"/DM\"");
  7451.     SetPlayerWorldBounds(playerid, 943.5076, 596.6454, -3328.6958, -3493);
  7452.     TogglePlayerControllable(playerid, 0);
  7453.     ZT[playerid] = SetTimerEx("UnFreezeP",1000*2,0, "i", playerid);
  7454.     GameTextForPlayer(playerid, "~r~Loading ~b~Objects", 1000*2, 6);
  7455.     new Float:DMPos[15][3] =
  7456.     {
  7457.         {617.3248,-3399.3037,5.4615},
  7458.         {652.8282,-3387.0417,5.4615},
  7459.         {666.7948,-3377.5701,5.4692},
  7460.         {720.6118,-3377.8728,5.4615},
  7461.         {769.9565,-3376.8638,6.5678},
  7462.         {837.6386,-3379.7944,12.5666},
  7463.         {896.0630,-3364.3352,16.0584},
  7464.         {906.6574,-3434.4092,5.5335},
  7465.         {827.7374,-3464.4312,5.5335},
  7466.         {780.5220,-3452.0364,5.5335},
  7467.         {748.4311,-3441.9072,5.9008},
  7468.         {704.1295,-3470.5693,11.7276},
  7469.         {669.6076,-3474.4229,5.5744},
  7470.         {651.5305,-3453.8696,19.4451},
  7471.         {629.8979,-3390.3655,16.4147}
  7472.     };
  7473.     new r = random(sizeof(DMPos));
  7474.     SetPlayerPos(playerid, DMPos[r][0], DMPos[r][1], DMPos[r][2]);
  7475.     DResetPlayerWeapons(playerid);
  7476.     switch(random(6))
  7477.     {
  7478.         case 0: DGivePlayerWeapon(playerid, 9, 9000);
  7479.         case 1: DGivePlayerWeapon(playerid, 37, 9000);
  7480.         case 2: DGivePlayerWeapon(playerid, 31, 9000);
  7481.         case 3: DGivePlayerWeapon(playerid, 16, 9000);
  7482.         case 4: DGivePlayerWeapon(playerid, 27, 9000);
  7483.         case 5: DGivePlayerWeapon(playerid, 34, 9000);
  7484.     }
  7485.     SetPlayerTeam(playerid, playerid+4+random(17)+4*2);
  7486.     SetPVarInt(playerid, "InDM", 1);
  7487. }
  7488. forward UnFreezeP(playerid);
  7489. public UnFreezeP(playerid)
  7490. {
  7491.     TogglePlayerControllable(playerid, 1);
  7492.     KillTimer(ZT[playerid]);
  7493.     return 1;
  7494. }
  7495. stock IsNumeric(const string[])
  7496. {
  7497.     for (new i = 0, j = strlen(string); i < j; i++)
  7498.     {
  7499.         if (string[i] > '9' || string[i] < '0') return 0;
  7500.     }
  7501.     return 1;
  7502. }
  7503. GetWeaponIDFromName(wname[])
  7504. {
  7505. //  new aWeaponNames[49];
  7506.     new xwn[50];
  7507.     for(new i = 0; i < 48; i++)
  7508.     {
  7509.         if (i == 19 || i == 20 || i == 21) continue;
  7510.         GetWeaponName(i, xwn, 50);
  7511.         if (strfind(xwn, wname, true) != -1) {
  7512.             return i;
  7513.         }
  7514.     }
  7515.     return -1;
  7516. }
Add Comment
Please, Sign In to add comment