· 9 years ago · Jan 21, 2017, 02:02 AM
1#include <a_samp>
2#include <zcmd>
3#include <sscanf2>
4#include <streamer>
5#include <a_mysql>
6#include <progress2>
7#include <ConvertDays>
8#include <MapAndreas>
9
10/*
11~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 Script by RodrigoMSR
13 Mapas e areas de looting by Kitten aka AldenJ
14~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
16 Sumário (Ctrl + F):
17 Enums
18 Variáveis
19 TextDraws
20 Bars
21 Callbacks
22 Comandos de admin
23 Comandos normais
24 Stocks
25 Admin funcs
26 Clan funcs
27*/
28
29#include "../MySQL_Config.ini"
30
31#define forum "www.sa-mp.com"
32
33#define DIALOG_NONE 0
34#define DIALOG_REGISTRO 1
35#define DIALOG_LOGIN 2
36#define DIALOG_INV0 3
37#define DIALOG_INV 4
38#define DIALOG_INV2 5
39#define DIALOG_LOOT 6
40#define DIALOG_CIT 7
41
42#define MaxAdminLevel 5
43
44#define SendClientMessageF(%0,%1,%2,%3) format(scmf,sizeof(scmf),%2,%3), SendClientMessage(%0,%1,scmf)
45#define SendClientMessageToAllF(%1,%2,%3) format(scmf,sizeof(scmf),%2,%3), SendClientMessageToAll(%1,scmf)
46#define SendMessageToAdminsF(%1,%2,%3) format(scmf,sizeof(scmf),%2,%3), SendMessageToAdmins(%1,scmf)
47
48// Cores
49#define vermelho 0xFF0000FF
50#define verde 0x00FF00FF
51#define azul 0x4444FFFF
52#define amarelo 0xFFFF00FF
53#define rosa 0xFF00FFFF
54#define ciano 0x00FFFFFF
55#define branco 0xFFFFFFFF
56#define cinza 0x828282FF
57#define preto 0x222222FF
58#define marrom 0x8A3A40FF
59#define laranja 0xFF7A17FF
60#define shopbuy 0x77FF77FF
61#define COR_ADM 0x008CFFFF
62#define COR_VIP 0x00FFC3AA
63#define COR_KILL 0xFFC852FF
64#define lightblue 0x33CCFFAA
65
66#undef MAX_PLAYERS
67#define MAX_PLAYERS 100
68
69#define MAX_ITENS 18
70#define MAX_MAPITENS 4000
71
72#define PROP_WORLD 2352
73
74#define vFile "Server/Veiculos.txt"
75#define iFile "Server/Inv/user_%d.txt"
76
77//Enums
78enum sInfo
79{
80 sNome[30],
81 sObjc,
82 Float:sZ,
83 Float:sRotX,
84 Float:sRotY,
85 Float:sRotZ,
86 sColor
87};
88
89enum iInfo
90{
91 iArma,
92 iModel,
93 iAmmo,
94 iUsed
95};
96
97enum mInfo
98{
99 mArma,
100 mModel,
101 mAmmo,
102 mObjc,
103 Text3D:mLabel,
104 Float:mPos[3]
105};
106
107enum vInfo
108{
109 Float:vFuel,
110 Float:vSpPos[4],
111 vColor[2]
112};
113
114enum pInfo
115{
116 mID,
117 pSenha,
118 pCash,
119 pMatou,
120 pMorreu,
121 pAdmin,
122 pSkin,
123 pClan[25],
124 pClanL,
125 bool:pLogado,
126 pGod,
127 pGodcar,
128 pACar,
129 Float:pFome,
130 Float:pSede,
131 pArma[3],
132 pArmaA[3],
133 pPassF,
134 pFSP,
135 Float:pCPos[4],
136 pCPosInt,
137 pCPosW,
138 pSlots,
139 CITAmmo,
140 pHideCK,
141 pLastV,
142 pKicked,
143 pDTime,
144 pPropTime,
145 pExp
146};
147
148enum propInfo {
149Icon,
150Float:entX,
151Float:entY,
152Float:entZ,
153Float:entA,
154intID,
155Float:intX,
156Float:intY,
157Float:intZ,
158Float:intA,
159Type
160};
161
162//Variáveis
163new Player[MAX_PLAYERS][pInfo];
164new Item[MAX_PLAYERS][MAX_ITENS][iInfo];
165new MapItem[MAX_MAPITENS][mInfo];
166//new Inv[MAX_PLAYERS][MAX_ITENS];
167new Veiculo[MAX_VEHICLES][vInfo];
168new InvT[MAX_PLAYERS][25];
169new InvTSelect[MAX_PLAYERS] = {-1, ...};
170new LootDialog[MAX_PLAYERS][10];
171new ChatKill[6][3];
172new MySQL:MCID;
173new query[3000];
174new scmf[128];
175new getName[MAX_PLAYER_NAME];
176new WNames[48][30];
177new HKTTimer[MAX_PLAYERS] = {-1, ...};
178new pFPS[MAX_PLAYERS];
179new pDrunkLevelLast[MAX_PLAYERS];
180
181new Float:Spawns[][4] =
182{
183 {2880.5957,-2170.0557,3.4774,38.7993}, //Los Santos
184 {972.4814,-2110.8853,3.4027,345.1821},
185 {2941.1909,-2051.7246,3.5480,89.9617},
186 {2912.9241,-2020.3119,1.2104,100.6778},
187 {2880.6594,-1846.5564,2.1070,157.8120},
188 {17.2789,-1546.8250,2.6433,299.1058},
189 {-32.6180,-1593.1462,3.3386,342.3671},
190 {-61.9838,-1624.4888,3.5350,1.4180},
191 {6.0960,-2518.5007,36.6484,65.3176},
192 {-1984.1560,-2429.6050,30.6250,64.5606},
193 {165.4114,-254.1129,1.5781,89.1862},
194 {103.1874,-190.0887,1.5526,176.9362},
195 {-474.7529,-42.6864,59.9844,139.2315},
196 {256.5624,-137.6565,1.5781,67.3940},
197 {664.9687,-459.8052,16.3359,181.3389},
198 {2328.6951,51.1456,32.9884,21.3912},
199 {-877.9271,-382.6847,15.7645,117.4575}, //San Fierro
200 {-741.8128,-111.7056,67.0503,45.2231},
201 {-2928.0564,-629.5295,2.7627,274.2302},
202 {-2915.4749,-501.5479,3.0981,274.2302},
203 {-2910.9980,-126.1767,3.0636,271.8487},
204 {-2959.2498,429.4636,2.0893,270.6581},
205 {-2625.6543,1450.8965,7.1875,196.8179},
206 {-1895.1195,2171.1807,1.7822,316.6610}, //Las Venturas
207 {-2020.9771,2343.1365,2.3820,332.9521},
208 {-2315.8979,2518.4412,2.5308,100.7698},
209 {-800.1105,673.5194,10.7457,300.4251},
210 {-684.6343,1277.7700,9.1661,80.5282},
211 {-726.5945,1617.8795,27.1172,101.1849},
212 {-1450.4762,2552.3130,55.8359,53.9547},
213 {-423.2437,2191.0681,42.1336,329.8134},
214 {-535.2921,2593.2822,53.4154,269.9010},
215 {-785.7039,2770.6057,45.6349,202.4110},
216 {603.9664,1241.7435,11.7188,159.9435},
217 {19.6538,1173.1602,19.4757,5.1554},
218 {-1505.0404,1965.5636,48.4219,303.6554},
219 {-1227.3040,1835.5507,41.6093,325.1060},
220 {-648.0820,1055.0486,12.1262,146.9012},
221 {797.2725,1678.9242,5.2813,335.4253},
222 {302.2009,1150.2301,8.5859,207.2289},
223 {-292.0122,1802.3247,42.7813,158.8080}
224};
225
226new ItemStats[13][sInfo] =
227{
228 {" ", 0, 0.0, 0.0, 0.0, 0.0, ""}, //0 = modelo invalido
229 {"Munição de Pistola", 2043, -0.8951, 0.0, 0.0, 0.0, 0xA6A6A6FF},
230 {"Munição de SMG", 2043, -0.8951, 0.0, 0.0, 0.0, 0xA6A6A6FF},
231 {"Munição de Escopeta", 2043, -0.8951, 0.0, 0.0, 0.0, 0xA6A6A6FF},
232 {"Munição de Assalto", 2043, -0.8951, 0.0, 0.0, 0.0, 0xA6A6A6FF},
233 {"Munição de Rifle", 2043, -0.8951, 0.0, 0.0, 0.0, 0xA6A6A6FF},
234 {"Caixa de Ferramentas", 19921, -0.8975, 0.0, 0.0, 0.0, 0xFF4A4AFF},
235 {"Galão de Gasolina", 1650, -0.693, 0.0, 0.0, 0.0, 0xFF4A4AFF},
236 {"Pizza", 19571, -0.9575, -90.0000, 0.0, 0.0, 0xFFE100FF},
237 {"Garrafa de Ãgua", 2683, -0.8655, 0.0, 0.0, 0.0, 0x00AAFFFF},
238 {"GPS", 18875, -0.9824, 0.0, 0.0, 0.0, 0x69CDFFFF},
239 {"Mochila Média", 3026, -1.0009, -90.0000, 0.0, 0.0, 0x4FFF4FFF},
240 {"Mochila Grande", 3026, -1.0009, -90.0000, 0.0, 0.0, 0x00F200FF}
241};
242
243new VehicleNames[212][] = {
244 "Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus",
245 "Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi","Washington","Bobcat","Mr Whoopee","BF Injection",
246 "Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie",
247 "Stallion","Rumpo","RC Bandit","Romero","Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder",
248 "Reefer","Tropic","Flatbed","Yankee","Caddy","Solair","Berkley's RC Van","Skimmer","PCJ-600","Faggio","Freeway","RC Baron","RC Raider",
249 "Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR3 50","Walton","Regina",
250 "Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper","Rancher","FBI Rancher","Virgo","Greenwood",
251 "Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxville","Benson","Mesa","RC Goblin","Hotring Racer A","Hotring Racer B",
252 "Bloodring Banger","Rancher","Super GT","Elegant","Journey","Bike","Mountain Bike","Beagle","Cropdust","Stunt","Tanker","RoadTrain",
253 "Nebula","Majestic","Buccaneer","Shamal","Hydra","FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck",
254 "Willard","Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent","Bullet","Clover",
255 "Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada","Yosemite","Windsor","Monster A",
256 "Monster B","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash","Tahoma","Savanna","Bandito","Freight","Trailer",
257 "Kart","Mower","Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","Newsvan","Tug","Trailer A","Emperor",
258 "Wayfarer","Euros","Hotdog","Club","Trailer B","Trailer C","Andromada","Dodo","RC Cam","Launch","Police Car (LSPD)","Police Car (SFPD)",
259 "Police Car (LVPD)","Police Ranger","Picador","S.W.A.T. Van","Alpha","Phoenix","Glendale","Sadler","Luggage Trailer A","Luggage Trailer B",
260 "Stair Trailer","Boxville","Farm Plow","Utility Trailer"
261};
262
263new Float:GPostos[15][3] = {
264 {-2407.8611,976.3331,45.2969},
265 {2115.5420,920.5876,10.8203},
266 {2639.3667,1106.0605,10.8203},
267 {1595.8346,2199.3477,10.8203},
268 {1937.0374,-1772.8907,13.3828},
269 {-2244.2881,-2561.0908,31.9219},
270 {1382.5778,462.5392,20.1371},
271 {-1675.9326,413.1237,7.1797},
272 {655.6162,-565.1900,16.3359},
273 {-1606.2611,-2713.7996,48.5335},
274 {611.8992,1694.8169,6.9922},
275 {1004.6554,-940.1149,42.1797},
276 {2147.2659,2747.8293,10.8203},
277 {-1328.1542,2677.3376,50.0625},
278 {-91.0039,-1168.9154,2.4237}
279};
280
281//Looting areas - by Kitten aka AldenJ
282enum lootVars
283{
284 Float:xLoo,
285 Float:yLoo,
286 Float:zLoo
287}
288
289new DayZSA_Market[][lootVars] =
290{
291 {-2442.3359375,754.7587890625,35.171875},
292 {2205.326171875,-2508.48828125,13.76850605011},
293 {-2671.720703125,257.9287109375,4.6328125},
294 {2136.4296875,-2290.13671875,20.664632797241},
295 {-2520.8330078125,-36.458984375,25.6171875},
296 {1923.390625,-2128.73046875,13.578104019165},
297 {1975.5244140625,-2013.361328125,13.546875},
298 {-2529.3408203125,-1.025390625,25.6171875},
299 {-2323.716796875,-158.8447265625,35.5546875},
300 {1765.7021484375,-2020.013671875,14.140814781189},
301 {1950.662109375,-1985.2998046875,13.546875},
302 {2403.4306640625,-1899.1259765625,13.546875},
303 {2517.2373046875,-1957.5498046875,16.79335975647},
304 {2461.3701171875,-1943.20703125,16.887882232666},
305 {2483.2880859375,-1958.69921875,13.581447601318},
306 {-2336.8671875,-166.53125,35.5546875},
307 {2046.83984375,-1900.123046875,13.553800582886},
308 {-1816.5380859375,618.6845703125,35.171875},
309 {1579.89453125,-1800.193359375,13.24654006958},
310 {1568.623046875,-1898.0087890625,13.560886383057},
311 {-2191.6728515625,636.6650390625,49.442939758301},
312 {822.326171875,-1756.5634765625,13.654552459717},
313 {501.1884765625,-1757.45703125,14.176206588745},
314 {353.2783203125,-2034.671875,7.8359375},
315 {352.927734375,-2030.24609375,7.8359375},
316 {-2767.8701171875,788.8642578125,52.78125},
317 {-1912.4794921875,827.966796875,35.234931945801},
318 {-2355.81640625,1008.0888671875,50.8984375},
319 {-2524.49609375,1216.2236328125,37.668563842773},
320 {-2491.9248046875,2363.158203125,10.272946357727},
321 {1048.5634765625,-1584.5595703125,13.523545265198},
322 {1066.6240234375,-1605.919921875,13.613391876221},
323 {1113.6767578125,-1605.8408203125,13.647103309631},
324 {1123.29296875,-1609.0283203125,13.60457611084},
325 {1123.662109375,-1633.3466796875,13.669480323792},
326 {1104.9833984375,-1632.740234375,13.605573654175},
327 {1079.0,-1632.494140625,13.58229637146},
328 {1069.4130859375,-1632.072265625,13.594591140747},
329 {1074.9169921875,-1604.5244140625,20.494478225708},
330 {1081.3330078125,-1633.19140625,20.4938621521},
331 {1111.6103515625,-1634.0859375,20.561660766602},
332 {1162.0361328125,-1585.29296875,13.546875},
333 {1162.076171875,-1602.0419921875,13.546875},
334 {-1808.5185546875,946.10546875,24.890625},
335 {-1321.904296875,2703.63671875,50.26628112793},
336 {-1272.349609375,2712.6669921875,50.26628112793},
337 {-1450.51171875,2593.8076171875,55.8359375},
338 {-1440.2353515625,2609.853515625,55.8359375},
339 {-1720.9404296875,1360.052734375,7.1853160858154},
340 {-1509.32421875,2609.998046875,55.8359375},
341 {2711.244140625,-1497.6298828125,30.553512573242},
342 {2633.6201171875,-1342.5322265625,36.192161560059},
343 {2710.8974609375,-1288.3837890625,58.9453125},
344 {2711.1044921875,-1310.6787109375,58.9453125},
345 {2153.3876953125,-1013.435546875,62.928932189941},
346 {2014.298828125,-1078.955078125,24.841756820679},
347 {2353.107421875,-1358.89453125,24.3984375},
348 {2000.6201171875,-1282.7119140625,23.971115112305},
349 {1982.6611328125,-1282.6025390625,23.971883773804},
350 {2007.140625,-1282.2138671875,23.974639892578},
351 {1974.5302734375,-1285.033203125,28.491893768311},
352 {2001.1806640625,-1285.1396484375,28.488073348999},
353 {1929.509765625,-1775.4658203125,13.546875},
354 {-1212.65625,1830.96875,41.9296875},
355 {-1226.5849609375,1834.5458984375,41.653701782227},
356 {-856.6572265625,1536.330078125,22.587043762207},
357 {-745.498046875,1590.0,26.9821434021},
358 {2105.4404296875,-1808.6201171875,13.5546875},
359 {2101.9228515625,-1807.626953125,13.5546875},
360 {-552.03515625,2595.7861328125,53.93478012085},
361 {-553.451171875,2592.08984375,53.93478012085},
362 {-550.0869140625,2582.2275390625,53.93478012085},
363 {-550.2685546875,2609.255859375,53.93478012085},
364 {-315.140625,1773.8125,43.640625},
365 {2324.4580078125,-1645.021484375,14.827047348022},
366 {-310.9453125,1305.6240234375,53.664344787598},
367 {2472.3798828125,-1530.3017578125,24.186376571655},
368 {-289.3818359375,2691.306640625,62.6875},
369 {-254.7392578125,2603.1591796875,62.858154296875},
370 {-89.0263671875,1378.2607421875,10.469839096069},
371 {-102.7587890625,1373.509765625,10.2734375},
372 {662.833984375,1716.7861328125,7.1875},
373 {673.2060546875,1706.1298828125,7.1875},
374 {638.552734375,1684.0107421875,7.1875},
375 {642.9814453125,1678.396484375,7.1875},
376 {175.666015625,1174.2470703125,14.7578125},
377 {-168.9990234375,1032.6728515625,19.734413146973},
378 {982.8994140625,2563.0966796875,10.739549636841},
379 {1151.955078125,2072.2470703125,11.0625},
380 {1164.1435546875,2086.056640625,10.8203125},
381 {1156.6396484375,2100.333984375,11.0625},
382 {2150.5400390625,2734.6796875,11.176349639893},
383 {2170.517578125,2795.2265625,10.8203125},
384 {2812.8134765625,2588.619140625,10.081407546997},
385 {2825.5654296875,2604.57421875,10.8203125},
386 {2787.6826171875,2560.68359375,9.9147701263428},
387 {2756.58203125,2475.91796875,11.0625},
388 {2793.6455078125,2438.8818359375,11.0625},
389 {2801.7109375,2430.205078125,11.0625},
390 {2844.5390625,2412.0615234375,11.068956375122},
391 {2860.123046875,2428.44140625,11.068956375122},
392 {2883.734375,2450.9794921875,11.068956375122},
393 {2898.8232421875,2466.232421875,11.068956375122},
394 {2781.7880859375,1455.0029296875,10.771492004395},
395 {-2155.1611328125,-2460.2734375,30.8515625},
396 {1685.08984375,-2238.333984375,13.546875},
397 {251.3271484375,-57.4375,1.5703125},
398 {245.1015625,-60.158203125,1.5703125},
399 {255.708984375,-53.201171875,1.5703125},
400 {244.8916015625,-55.5947265625,1.5776442289352},
401 {248.775390625,-54.8583984375,1.5776442289352},
402 {872.1162109375,-26.212890625,63.884567260742},
403 {1367.564453125,248.1337890625,19.566932678223},
404 {1415.71484375,261.328125,19.552904129028},
405 {2331.833984375,75.078125,26.620975494385},
406 {1153.7890625,-1458.7431640625,15.796875},
407 {1199.3037109375,-919.005859375,43.116374969482},
408 {1314.509765625,-898.5380859375,39.578125},
409 {1306.6376953125,-898.564453125,39.578125},
410 {1557.8095703125,953.7001953125,10.812507629395},
411 {1552.1123046875,1044.982421875,10.8203125},
412 {1367.08984375,2223.5634765625,11.0234375},
413 {1377.6796875,2329.3935546875,10.8203125},
414 {1378.431640625,2366.939453125,10.818092346191},
415 {1693.8310546875,2208.4697265625,11.069177627563},
416 {1601.0966796875,2222.0966796875,11.0625},
417 {1886.0283203125,2080.9326171875,11.0625},
418 {1873.67578125,2072.310546875,11.0625},
419 {1961.6787109375,2445.6435546875,11.178249359131},
420 {1923.7177734375,2447.1787109375,11.368927955627},
421 {2052.4091796875,2044.4716796875,11.057899475098},
422 {2086.9853515625,2065.0859375,11.057899475098},
423 {2070.6796875,2097.708984375,11.057899475098},
424 {1966.67578125,2147.0322265625,10.8203125},
425 {1967.2861328125,2160.1875,10.8203125},
426 {2055.4130859375,2292.490234375,10.8203125},
427 {2103.365234375,2255.12109375,11.0234375},
428 {2103.427734375,2237.3427734375,11.0234375},
429 {2090.6962890625,2223.4677734375,11.0234375},
430 {2187.916015625,2474.2587890625,11.2421875},
431 {2070.8896484375,2439.0380859375,49.522216796875},
432 {2213.2841796875,2525.1650390625,10.8203125},
433 {2116.734375,897.189453125,11.1796875},
434 {2638.0927734375,1129.04296875,11.1796875},
435 {2217.1220703125,1432.0537109375,11.0546875},
436 {2198.0234375,1476.30859375,11.0546875},
437 {2193.53125,1678.6162109375,12.3671875},
438 {2637.6904296875,1672.421875,11.0234375},
439 {2623.0458984375,1716.439453125,11.0234375},
440 {2638.578125,1751.240234375,11.228747367859},
441 {2553.8359375,1845.1494140625,11.0234375},
442 {2572.3037109375,1903.2744140625,11.0234375},
443 {2598.5732421875,1888.44921875,11.0234375},
444 {2388.126953125,2022.107421875,10.8203125},
445 {2438.7197265625,2064.361328125,10.8203125},
446 {2491.0048828125,2065.0380859375,10.8203125},
447 {2482.8291015625,2003.43359375,10.8203125},
448 {2540.6533203125,2149.2666015625,10.8203125},
449 {2596.8427734375,2381.171875,17.8203125},
450 {2516.2470703125,2299.21484375,10.8203125},
451 {2423.166015625,2547.6044921875,10.8203125},
452 {2478.041015625,2529.080078125,10.830163002014},
453 {2470.125,2544.7138671875,22.078125},
454 {2283.6826171875,2547.439453125,10.8203125},
455 {1009.1875,-930.05078125,42.328125},
456 {823.54296875,-1024.171875,25.147163391113},
457 {812.2626953125,-1030.015625,24.830501556396},
458 {974.177734375,-1257.70703125,16.887786865234},
459 {996.978515625,-1296.158203125,13.546875},
460 {999.58984375,-1295.748046875,13.546875},
461 {928.103515625,-1352.8330078125,13.34375}
462};
463
464/*
465new DayZSA_Farms[][lootVars] =
466{
467 {-1115.7578125,-1638.9384765625,76.3671875},
468 {-2635.875,714.337890625,27.943759918213},
469 {-1976.5029296875,427.15625,24.657264709473},
470 {-1354.087890625,2058.705078125,53.1171875},
471 {-1513.001953125,1978.2646484375,48.421875},
472 {-1513.3935546875,1971.8173828125,48.421875},
473 {-1504.04296875,1972.1533203125,48.421875},
474 {-1052.4267578125,1547.734375,33.437610626221},
475 {-641.3017578125,2715.2802734375,72.375},
476 {-624.716796875,2709.775390625,72.375},
477 {-604.4365234375,2715.7958984375,72.72306060791},
478 {-439.6220703125,2228.0205078125,43.109375},
479 {-377.25390625,2242.3759765625,42.618461608887},
480 {-375.56640625,2257.8310546875,43.06192779541},
481 {-400.951171875,2200.44140625,42.4296875},
482 {-392.611328125,2486.23828125,41.372394561768},
483 {-12.3974609375,2346.7666015625,24.140625},
484 {578.787109375,1224.7607421875,11.711267471313},
485 {572.88671875,1221.32421875,11.711267471313},
486 {639.8046875,1236.189453125,11.701827049255},
487 {418.4423828125,1165.1923828125,7.887414932251},
488 {407.7529296875,1162.9384765625,7.9095220565796},
489 {300.62890625,1141.271484375,9.1374855041504},
490 {-1078.2314453125,-1154.40625,129.21875},
491 {-1065.3251953125,-1157.4287109375,129.21875},
492 {-1036.728515625,-1185.537109375,129.21875},
493 {-1061.1689453125,-1205.46875,129.75645446777},
494 {-951.060546875,-530.763671875,25.953638076782},
495 {-914.5185546875,-533.6328125,25.953638076782},
496 {-923.6982421875,-497.7255859375,26.765625},
497 {-347.9560546875,-1045.6669921875,59.8125},
498 {-350.033203125,-1036.1044921875,59.6640625},
499 {-382.6474609375,-1040.46484375,58.928451538086},
500 {-385.662109375,-1153.30859375,69.518951416016},
501 {-382.6884765625,-1438.8076171875,26.14489364624},
502 {-382.8759765625,-1426.30078125,26.293727874756},
503 {-401.7822265625,-1419.7373046875,26.328125},
504 {-78.4384765625,-1169.9111328125,2.1367826461792},
505 {-68.74609375,-1545.6875,3.0043075084686},
506 {-102.8818359375,-1575.30859375,2.6171875},
507 {-91.2294921875,-1592.5517578125,3.0043075084686},
508 {-418.8896484375,-1759.2001953125,6.21875},
509 {-282.98046875,-2174.5419921875,28.661544799805},
510 {-265.767578125,-2213.1220703125,29.041954040527},
511 {-39.7099609375,-2493.8671875,36.6484375},
512 {-27.7490234375,-2485.369140625,36.6484375},
513 {-13.517578125,-2500.9833984375,36.655464172363},
514 {-17.583984375,-2527.06640625,36.655464172363},
515 {24.4990234375,-2646.6298828125,40.464256286621},
516 {33.4814453125,-2649.908203125,40.728469848633},
517 {-1562.140625,-2733.275390625,48.743457794189},
518 {-1623.455078125,-2693.2626953125,48.742660522461},
519 {-2070.529296875,-2317.3115234375,30.731250762939},
520 {-2075.9306640625,-2312.3330078125,31.13125038147},
521 {-2191.921875,-2255.1806640625,33.3203125},
522 {-2198.93359375,-2243.5791015625,33.3203125},
523 {-2409.8232421875,-2189.9716796875,34.0390625},
524 {-2816.1865234375,-1530.6953125,140.84375},
525 {-1864.6572265625,-1559.265625,22.2109375},
526 {-1424.2744140625,-1478.6591796875,105.03207397461},
527 {-1438.732421875,-1544.6201171875,102.18502807617},
528 {-1462.2158203125,-1582.9296875,101.7578125},
529 {-1449.9501953125,-1459.2919921875,101.7578125},
530 {-607.5927734375,-1073.896484375,23.499340057373},
531 {-594.6728515625,-1057.0361328125,23.355651855469},
532 {-576.5341796875,-1032.095703125,23.832122802734},
533 {-574.740234375,-1484.22265625,14.34375},
534 {-1634.10546875,-2232.53515625,31.4765625},
535 {-1115.6142578125,-1637.23828125,76.3671875},
536 {-568.48046875,-1482.4150390625,10.008075714111},
537 {-746.8447265625,-131.2373046875,65.835411071777},
538 {-758.3359375,-131.5419921875,65.835411071777},
539 {-548.3115234375,-75.208984375,62.859375},
540 {-542.7138671875,-60.947265625,62.9921875},
541 {-545.4716796875,-196.5,78.413536071777},
542 {-561.58984375,-176.9716796875,78.413543701172},
543 {-487.962890625,-168.33984375,78.2109375},
544 {-473.134765625,-168.4306640625,78.2109375},
545 {-59.7998046875,84.2744140625,3.1171875},
546 {-48.4873046875,27.51953125,6.484375},
547 {-20.6171875,81.9970703125,3.1096496582031},
548 {-89.615234375,-54.6318359375,3.1171875},
549 {-120.4091796875,-102.11328125,3.1180820465088},
550 {-70.751953125,-98.4501953125,3.1180820465088},
551 {-59.31640625,48.4609375,6.4765625},
552 {-66.6845703125,38.744140625,6.4760594367981},
553 {-144.732421875,-50.1650390625,3.1171875},
554 {-61.4541015625,32.8349609375,3.1102695465088},
555 {-109.1025390625,-3.560546875,3.1171875},
556 {-70.8857421875,37.3623046875,3.1102695465088},
557 {-52.908203125,56.3974609375,3.1102695465088},
558 {-35.3310546875,52.841796875,3.109375},
559 {-91.349609375,-24.6943359375,3.1171875},
560 {-74.087890625,-109.162109375,3.1180820465088},
561 {-144.634765625,-96.06640625,3.1180820465088},
562 {-144.7724609375,-86.36328125,3.1180820465088},
563 {374.4228515625,-116.408203125,1.2477531433105},
564 {357.5263671875,-116.6533203125,1.2581691741943},
565 {354.2265625,-116.6494140625,1.260570526123},
566 {867.8134765625,-24.603515625,64.0390625},
567 {869.24609375,-16.4560546875,63.1953125},
568 {1918.212890625,173.666015625,37.269790649414},
569 {1914.94140625,152.7763671875,37.230663299561},
570 {1932.447265625,146.6201171875,37.28125},
571 {1568.1416015625,29.9248046875,24.1640625},
572 {1566.48828125,23.4306640625,24.1640625},
573 {1549.2861328125,13.6142578125,24.143926620483},
574 {1540.6923828125,12.3232421875,24.136585235596},
575 {1539.20703125,18.298828125,24.140625},
576 {1547.556640625,21.19140625,24.140625},
577 {1513.83203125,19.08984375,24.140625},
578 {1512.51171875,9.712890625,24.140625},
579 {1519.1669921875,14.900390625,24.140625},
580 {1546.9169921875,-34.158203125,21.302310943604},
581 {1553.822265625,-24.1748046875,21.377689361572},
582 {1050.8388671875,-313.5302734375,73.99308013916},
583 {1040.072265625,-299.3740234375,73.99308013916},
584 {1051.3291015625,-287.40234375,73.99308013916},
585 {1024.8525390625,-313.1611328125,73.99308013916},
586 {1012.921875,-298.2265625,73.99308013916},
587 {1013.6298828125,-286.1455078125,73.99308013916}
588};*/
589
590new DayZSA_Military[][lootVars] =
591{
592 {-2554.7705078125,-13.7060546875,12.671875},
593 {-1716.439453125,-43.021484375,3.5546875},
594 {-1670.8447265625,705.4541015625,30.6015625},
595 {-2176.123046875,718.9609375,53.890956878662},
596 {-1389.716796875,2637.3203125,55.984375},
597 {-1380.51171875,2641.134765625,55.625045776367},
598 {-345.6181640625,1535.7685546875,75.5625},
599 {-346.1875,1547.19140625,75.5625},
600 {-340.5126953125,1543.2158203125,75.5625},
601 {-347.9462890625,1607.69140625,75.882217407227},
602 {-308.9384765625,1541.392578125,75.5625},
603 {404.9765625,2478.1826171875,16.484375},
604 {154.5009765625,2412.947265625,17.55677986145},
605 {197.982421875,2434.8388671875,16.986110687256},
606 {314.771484375,2411.30859375,17.745491027832},
607 {331.2509765625,2591.3115234375,17.471616744995},
608 {279.2216796875,2641.8974609375,16.936672210693},
609 {324.6072,1937.5347,17.6406},
610 {338.8560,1936.4545,17.6406},
611 {339.9987,1959.2100,17.6406},
612 {324.7736,1973.0422,17.6406},
613 {339.4502,1972.1008,17.6406},
614 {324.3599,1996.2249,17.6406},
615 {130.1083984375,2583.8837890625,17.186950683594},
616 {209.400390625,2609.2880859375,17.347387313843},
617 {141.1826171875,1875.015625,17.843418121338},
618 {155.865234375,1903.4921875,18.6650390625},
619 {232.822265625,1841.21484375,17.640625},
620 {285.6748046875,1966.7314453125,17.640625},
621 {268.568359375,1954.2724609375,17.640625},
622 {282.6669921875,1943.1591796875,17.640625},
623 {285.3740234375,1979.07421875,17.640625},
624 {269.49609375,1986.1474609375,17.640625},
625 {282.0595703125,2000.0634765625,17.640625},
626 {284.240234375,2013.51953125,17.640625},
627 {268.6796875,2018.572265625,17.640625},
628 {280.6923828125,2033.57421875,17.640625},
629 {353.73828125,2030.513671875,23.867307662964},
630 {215.8583984375,1819.9404296875,6.4140625},
631 {250.48046875,1797.2734375,7.4140625},
632 {244.7841796875,1825.1845703125,7.5546875},
633 {260.3115234375,1815.8583984375,1.0078125},
634 {287.1142578125,1816.2734375,1.0078125},
635 {280.2822265625,1820.791015625,4.7176899909973},
636 {329.984375,1839.3076171875,7.828125},
637 {296.86328125,1846.36328125,7.7265625},
638 {273.1826171875,1873.0068359375,8.7578125},
639 {274.6279296875,1855.9345703125,8.7648944854736},
640 {266.8427734375,1891.8330078125,8.4375},
641 {269.0341796875,1876.6123046875,-3.471396446228},
642 {268.5,1891.5048828125,-12.860445022583},
643 {268.6533203125,1876.896484375,-22.242134094238},
644 {268.9384765625,1883.416015625,-30.09375},
645 {265.0361328125,1881.3916015625,-30.390625},
646 {266.6064453125,1894.2109375,33.8984375},
647 {-217.2509765625,978.083984375,19.498880386353},
648 {-315.3505859375,830.384765625,14.2421875},
649 {795.162109375,1686.50390625,5.28125},
650 {813.080078125,1673.8876953125,5.28125},
651 {777.697265625,1871.5849609375,4.9077544212341},
652 {1054.2607421875,2269.8408203125,10.8203125},
653 {2595.4658203125,2790.1005859375,10.8203125},
654 {-1422.9892578125,512.4384765625,3.0390625},
655 {-1376.5263671875,511.8603515625,3.0390625},
656 {-1368.65234375,496.662109375,3.0444478988647},
657 {-1340.92578125,491.7978515625,11.1953125},
658 {-1288.083984375,490.724609375,11.1953125},
659 {-1291.515625,512.4990234375,11.1953125},
660 {616.7314453125,-611.7666015625,17.2265625},
661 {1524.501953125,-1677.99609375,6.21875},
662 {1368.712890625,-1280.0537109375,13.546875},
663 {1752.4580078125,2080.4111328125,10.8203125},
664 {1767.5576171875,2080.3896484375,10.8203125},
665 {2158.8330078125,942.259765625,10.8203125},
666 {2200.185546875,1393.439453125,10.8203125},
667 {2346.017578125,1518.05078125,42.81559753418},
668 {2458.677734375,1922.0908203125,10.86473274231},
669 {2477.2314453125,1956.134765625,10.546496391296},
670 {2576.9140625,2081.4833984375,10.812986373901},
671 {2538.52734375,2084.9775390625,10.8203125},
672 {2238.0517578125,2231.6865234375,10.809753417969},
673 {2238.900390625,2236.65625,10.803951263428},
674 {2301.5126953125,2454.03515625,10.8203125},
675 {2339.0712890625,2457.0361328125,14.96875},
676 {2388.7509765625,2469.291015625,10.8203125},
677 {2294.79296875,2486.5478515625,3.2734375},
678 {2233.494140625,2467.16796875,-7.4475412368774},
679 {2233.9970703125,2448.5634765625,-7.453125},
680 // 2k island
681 {777.9775,-2853.8333,5.6078},
682 {772.4682,-2853.8972,5.6078},
683 {772.2394,-2842.2400,5.5843},
684 {771.3828,-2835.7249,4.2331},
685 {784.1740,-2835.7568,4.2272},
686 {804.0578,-2842.3098,4.2253},
687 {780.5759,-2902.0693,6.3367},
688 {771.1031,-2909.1729,6.3367},
689 {759.8653,-2896.6062,6.3367},
690 {744.8954,-2898.1096,6.3367},
691 {759.9103,-2918.4077,6.3080},
692 {763.4586,-2933.1753,8.9159},
693 {839.8438,-2943.7688,7.7542},
694 {833.1843,-2946.5300,4.3606},
695 {823.8573,-2959.2200,2.9542},
696 {828.6514,-2963.0303,4.2542},
697 {840.4807,-2960.4021,3.7433},
698 {848.2685,-2952.7253,4.2542},
699 {850.0618,-2947.5376,3.6430},
700 {841.6868,-2942.0144,4.0610},
701 {974.6116,-2865.7935,1.9788},
702 {929.3654,-2776.2595,1.7531},
703 {927.9824,-2752.8550,3.4003},
704 {807.3971,-2747.5007,2.7291},
705 {791.1901,-2738.6211,2.7351},
706 {797.8240,-2739.9517,4.6103},
707 {791.2281,-2749.4932,1.9121},
708 {786.8776,-2757.0645,1.7531},
709 {2776.3916015625,-2445.9912109375,13.63644695282}, // industrial
710 {2776.302734375,-2465.4873046875,13.636467933655},
711 {2794.921875,-2483.4482421875,13.641567230225},
712 {2776.123046875,-2504.1513671875,13.633953094482},
713 {2743.7646484375,-2452.8408203125,13.86225605011},
714 {2799.1015625,-2393.4853515625,13.95600605011},
715 {-2457.4091796875,777.58203125,35.171875},
716 {2776.4013671875,-2408.6435546875,13.648777008057},
717 {2786.978515625,-2428.1826171875,13.633860588074},
718 {2505.9169921875,-2454.0302734375,17.882808685303},
719 {2513.732421875,-2417.6318359375,17.882808685303},
720 {2430.7978515625,-2467.2958984375,13.632326126099},
721 {2503.6875,-2640.958984375,13.86225605011},
722 {2156.107421875,-2667.9794921875,17.882808685303},
723 {2522.244140625,-2207.9345703125,17.357162475586},
724 {2582.486328125,-2207.126953125,17.357162475586},
725 {2707.0185546875,-2188.779296875,13.546875},
726 {2588.0048828125,-2192.29296875,13.546875},
727 {2198.08984375,-2412.8046875,13.546875},
728 {-2717.859375,197.87109375,4.3418498039246},
729 {-2729.1767578125,72.939453125,4.3359375},
730 {-2742.349609375,129.5283203125,4.5390625},
731 {2210.150390625,-2205.2861328125,15.171091079712},
732 {2160.1572265625,-2232.23828125,13.305326461792},
733 {2167.23046875,-2264.46875,13.309000968933},
734 {2222.744140625,-2273.068359375,14.764669418335},
735 {2272.5087890625,-2264.4091796875,14.764669418335},
736 {-2528.4912109375,-20.396484375,16.421875},
737 {2094.72265625,-2155.9580078125,13.6328125},
738 {-2492.84375,155.6650390625,8.4730567932129},
739 {-2489.359375,94.734375,25.6171875},
740 {1984.5498046875,-2155.3212890625,13.546875},
741 {2163.51953125,-1988.986328125,14.133599281311},
742 {2228.294921875,-2060.638671875,13.546875},
743 {2201.482421875,-1969.498046875,13.78413105011},
744 {2225.234375,-2040.5390625,17.271224975586},
745 {-2562.443359375,323.0859375,10.5625},
746 {2371.6875,-2114.6640625,27.1796875},
747 {-2498.576171875,315.3271484375,29.1328125},
748 {2512.251953125,-2073.181640625,26.5546875},
749 {1856.962890625,-2336.6005859375,13.546875},
750 {1840.83203125,-2638.27734375,13.546875},
751 {2133.15234375,-2410.599609375,13.546875},
752 {1683.9970703125,-2006.8037109375,14.129119873047},
753 {-2312.7890625,-81.3466796875,35.3203125},
754 {-2151.6669921875,-147.22265625,36.467098236084},
755 {-2138.875,-247.572265625,36.515625},
756 {-2181.48828125,-205.2939453125,36.515625},
757 {-2109.4970703125,1.3935546875,35.3203125},
758 {-2026.8974609375,67.322265625,28.691593170166},
759 {-2102.4658203125,-16.56640625,35.3203125},
760 {2014.154296875,-2142.572265625,13.546875},
761 {-2135.8994140625,260.365234375,35.416137695312},
762 {-2060.3955078125,254.4658203125,37.178237915039},
763 {-2038.4873046875,171.05078125,28.8359375},
764 {2517.330078125,-1975.669921875,15.806817054749},
765 {2490.5400390625,-1975.6357421875,15.806816101074},
766 {2440.1650390625,-1970.5771484375,13.546875},
767 {-2054.3291015625,309.2421875,41.864288330078},
768 {-1942.6982421875,271.9892578125,41.047080993652},
769 {-1905.5556640625,220.7880859375,35.15625},
770 {2440.7470703125,-1899.701171875,13.553356170654},
771 {-1811.0859375,-228.443359375,18.375},
772 {-1890.5712890625,-205.8447265625,14.304314613342},
773 {-1812.966796875,-136.107421875,6.1635961532593},
774 {-1864.2919921875,-145.5126953125,11.8984375},
775 {-1723.8125,-115.4794921875,3.5489187240601},
776 {-1577.10546875,25.8125,17.328125},
777 {-1699.376953125,76.025390625,3.5546875},
778 {-1639.8642578125,-35.89453125,3.8062529563904},
779 {-2094.9404296875,-104.001953125,35.3203125},
780 {-1979.365234375,426.9423828125,24.620567321777},
781 {2107.96484375,-1876.0947265625,13.546875},
782 {-1959.6044921875,620.4697265625,35.15119934082},
783 {1918.2236328125,-1864.302734375,13.561338424683},
784 {1851.8330078125,-1854.669921875,13.3828125},
785 {1855.572265625,-1857.4453125,13.3828125},
786 {-1606.2333984375,672.068359375,-4.90625},
787 {-1614.291015625,687.51171875,7.1875},
788 {1659.78515625,-1802.490234375,13.551996231079},
789 {1600.4599609375,-1842.94140625,13.500748634338},
790 {1610.8515625,-1897.546875,13.547914505005},
791 {-2277.353515625,528.3818359375,35.171875},
792 {-2567.2490234375,552.7353515625,14.560428619385},
793 {-2447.671875,522.552734375,30.3671875},
794 {1180.7099609375,-1877.30078125,13.558115959167},
795 {867.7431640625,-1799.00390625,13.815788269043},
796 {534.6474609375,-1819.181640625,6.5712623596191},
797 {403.716796875,-1729.150390625,9.3225193023682},
798 {-2661.3984375,780.7861328125,49.984375},
799 {477.9423828125,-1745.3037109375,9.3753871917725},
800 {-2569.2197265625,850.6640625,54.728054046631},
801 {-2473.40625,1065.9775390625,55.7265625},
802 {-1951.9853515625,305.5302734375,41.047080993652},
803 {-1952.626953125,306.1337890625,35.46875},
804 {-1942.427734375,276.8486328125,35.473926544189},
805 {-1924.1845703125,307.748046875,41.046875},
806 {-1828.5634765625,49.87890625,15.122790336609},
807 {-1706.7421875,-4.7578125,3.5489187240601},
808 {-1720.9599609375,11.4248046875,3.6017475128174},
809 {-1253.5400390625,48.671875,14.136159896851},
810 {-1478.693359375,-43.5625,6.0},
811 {-1477.609375,-42.32421875,6.0},
812 {-1476.90234375,-58.015625,6.0},
813 {-1386.990234375,-128.1787109375,6.0},
814 {-1388.478515625,-284.5263671875,6.0},
815 {-1448.7568359375,-564.4248046875,14.171875},
816 {-1472.970703125,-518.5029296875,14.171875},
817 {-1405.8056640625,-536.5751953125,14.171875},
818 {-1333.8408203125,-504.0439453125,14.171875},
819 {-1391.2783203125,-481.28515625,14.17760848999},
820 {-1373.59765625,-523.1064453125,14.387755393982},
821 {-2254.005859375,2384.23828125,4.8753604888916},
822 {-2283.8837890625,2286.287109375,5.0520958900452},
823 {-2292.5751953125,2288.9736328125,4.9279627799988},
824 {-1827.052734375,673.751953125,30.43127822876},
825 {2642.6103515625,-1954.4521484375,13.546875},
826 {-2438.6748046875,1028.6884765625,50.390625},
827 {988.9541015625,-1751.853515625,13.501810073853},
828 {-2385.6103515625,2216.5029296875,4.984375},
829 {-2434.7314453125,2259.6591796875,4.984375},
830 {-2434.7138671875,2313.1669921875,4.984375},
831 {-2277.4765625,541.400390625,35.171875},
832 {-2237.4697265625,2353.96875,4.9795379638672},
833 {-2237.6259765625,2328.5283203125,4.9917659759521},
834 {-2186.2587890625,2417.8935546875,5.1900615692139},
835 {-1976.796875,1222.302734375,31.804220199585},
836 {1059.9755859375,-1607.0107421875,20.486064910889},
837 {-2163.0830078125,1232.802734375,33.9296875},
838 {-1389.384765625,2631.7880859375,55.984375},
839 {1217.2373046875,-1694.0810546875,19.734375},
840 {-2232.9521484375,1108.0458984375,80.000846862793},
841 {1275.37109375,-1693.55859375,19.734375},
842 {1271.240234375,-1663.734375,19.734375},
843 {-1695.42578125,1035.39453125,45.2109375},
844 {-1477.6123046875,2641.919921875,58.787948608398},
845 {-1484.66796875,2613.5341796875,58.787948608398},
846 {-1477.1865234375,2612.6484375,58.78125},
847 {-1484.5830078125,2641.2255859375,58.78125},
848 {-1421.85546875,2592.2119140625,55.805564880371},
849 {-1512.234375,1277.25390625,7.1793155670166},
850 {-1581.439453125,1277.2626953125,7.1793193817139},
851 {-1505.345703125,2625.1787109375,55.8359375},
852 {-1740.6875,1429.1533203125,7.1875},
853 {-1734.6669921875,1480.083984375,7.1875},
854 {-1734.6396484375,1526.626953125,7.1875},
855 {-1459.62109375,2616.5546875,55.8359375},
856 {-1783.3955078125,1479.1494140625,7.1875},
857 {-1834.2744140625,1429.4599609375,7.1875},
858 {-1828.0693359375,1503.068359375,7.1841449737549},
859 {-1936.0712890625,1492.87109375,7.1846542358398},
860 {-1904.830078125,1461.33984375,7.1784248352051},
861 {-1976.72265625,1272.982421875,7.6033039093018},
862 {-1788.0654296875,1209.064453125,25.125},
863 {-1784.8193359375,1209.0751953125,25.125},
864 {2728.212890625,-2381.5576171875,17.340341567993},
865 {2649.189453125,-2380.65625,17.340341567993},
866 {2771.345703125,-1628.1552734375,12.177460670471},
867 {2767.8173828125,-1606.0390625,10.921875},
868 {2662.1533203125,-1591.6259765625,13.733552932739},
869 {2657.189453125,-1589.662109375,13.975473403931},
870 {2686.1572265625,-1472.4228515625,30.562562942505},
871 {2786.0751953125,-1436.072265625,30.453125},
872 {2784.5732421875,-1466.1904296875,30.453125},
873 {2779.732421875,-1415.9208984375,24.745338439941},
874 {2052.8408203125,-1093.19140625,24.60772895813},
875 {1988.037109375,-1083.453125,24.847997665405},
876 {2128.4111328125,-1153.3740234375,23.999715805054},
877 {2209.7900390625,-1183.6982421875,33.53125},
878 {2195.6474609375,-1153.080078125,33.524044036865},
879 {2413.5537109375,-1433.1435546875,24.002767562866},
880 {2410.8359375,-1410.435546875,24.116115570068},
881 {1880.806640625,-1312.376953125,14.500373840332},
882 {1888.21875,-1320.0537109375,14.500373840332},
883 {1863.4541015625,-1305.39453125,13.564666748047},
884 {1912.0556640625,-1777.8564453125,13.3828125},
885 {2195.7939453125,-1506.9921875,23.942268371582},
886 {2188.78125,-1506.7568359375,23.934396743774},
887 {2182.078125,-1503.638671875,23.953277587891},
888 {2174.5849609375,-1502.818359375,23.956878662109},
889 {2482.080078125,-1464.7060546875,24.016670227051},
890 {2507.96875,-1470.78125,24.035413742065},
891 {-1438.2265625,1491.7197265625,1.8671875},
892 {-1393.9892578125,1482.345703125,1.8671875},
893 {-1384.146484375,1485.1513671875,8.90625},
894 {-1375.58203125,1488.880859375,11.203125},
895 {-1477.5126953125,1491.2021484375,8.2578125},
896 {-2472.4375,1551.5849609375,33.227333068848},
897 {-2474.591796875,1554.1279296875,33.234375},
898 {-2473.9599609375,1533.3359375,28.828125},
899 {-2388.375,1547.650390625,2.1171875},
900 {-2366.5205078125,1535.642578125,2.1171875},
901 {-769.458984375,1483.8896484375,24.552076339722},
902 {-897.0498046875,1970.2177734375,60.635875701904},
903 {2442.919921875,-1759.125,13.591394424438},
904 {-911.96875,2686.4091796875,42.370262145996},
905 {-738.3603515625,2755.755859375,47.2265625},
906 {-226.3466796875,1407.875,69.9375},
907 {-317.9130859375,2659.14453125,63.869228363037},
908 {388.6513671875,2603.099609375,16.484375},
909 {377.728515625,2590.71484375,16.484375},
910 {315.5087890625,2543.5087890625,16.812480926514},
911 {335.2490234375,2548.2568359375,16.802839279175},
912 {301.111328125,2543.0947265625,16.819511413574},
913 {280.3330078125,2542.486328125,16.817897796631},
914 {212.16796875,1811.8154296875,21.8671875},
915 {210.9345703125,1834.892578125,17.640625},
916 {237.46875,1857.9521484375,17.856994628906},
917 {246.6162109375,1859.0380859375,14.084012985229},
918 {245.3564453125,1876.9365234375,8.7578125},
919 {240.4501953125,1861.759765625,8.7578125},
920 {266.8359375,1839.326171875,6.4769406318665},
921 {248.4287109375,1816.5673828125,7.5546875},
922 {214.4873046875,1826.7333984375,6.4140625},
923 {187.6884765625,1371.734375,23.734375},
924 {1576.45703125,-1474.689453125,14.220542907715},
925 {215.294921875,1467.6572265625,23.734375},
926 {246.6611328125,1436.59375,23.37028503418},
927 {247.2685546875,1386.244140625,23.37028503418},
928 {153.4189453125,1392.3291015625,10.5859375},
929 {152.869140625,1427.5263671875,10.591223716736},
930 {120.7529296875,1457.1083984375,10.62112903595},
931 {353.9873046875,1304.2353515625,13.362517356873},
932 {434.228515625,1271.048828125,10.023582458496},
933 {625.8408203125,1358.8427734375,13.182829856873},
934 {577.0146484375,1427.8330078125,12.331267356873},
935 {538.203125,1472.2490234375,5.6047048568726},
936 {486.564453125,1529.7919921875,1.4532699584961},
937 {436.458984375,1566.5390625,12.784392356873},
938 {-99.3193359375,1085.2294921875,19.7421875},
939 {321.30859375,872.3779296875,20.399021148682},
940 {322.3681640625,857.4912109375,20.40625},
941 {565.2353515625,824.109375,-22.127143859863},
942 {680.2529296875,827.109375,-38.992092132568},
943 {691.91796875,847.9931640625,-39.007717132568},
944 {587.9296875,871.0205078125,-42.497318267822},
945 {816.4755859375,856.998046875,12.7890625},
946 {565.2099609375,1311.640625,11.268767356873},
947 {801.9951171875,1669.6689453125,5.28125},
948 {769.88671875,2053.193359375,6.7109375},
949 {782.0654296875,2067.880859375,6.7109375},
950 {756.97265625,2075.8623046875,6.7109375},
951 {1049.11328125,2908.890625,47.82311630249},
952 {1065.9228515625,2914.05859375,47.82311630249},
953 {2006.623046875,2908.3876953125,47.82311630249},
954 {2024.85546875,2914.5341796875,47.82311630249},
955 {2810.7294921875,2918.40234375,36.5046043396},
956 {2918.853515625,2119.3095703125,17.895481109619},
957 {2818.671875,854.90234375,10.016822814941},
958 {2856.1015625,855.2392578125,9.9886856079102},
959 {2845.658203125,953.3330078125,10.75},
960 {2816.5166015625,971.9853515625,10.75},
961 {2699.150390625,876.2041015625,10.457724571228},
962 {2686.73828125,835.8828125,19.081390380859},
963 {2560.8037109375,786.283203125,5.3157968521118},
964 {2571.9599609375,786.2587890625,10.954463005066},
965 {2559.4072265625,787.1552734375,10.954463005066},
966 {1727.9169921875,733.181640625,10.8203125},
967 {1723.525390625,707.7177734375,10.8203125},
968 {1664.3408203125,733.4111328125,10.8203125},
969 {1606.748046875,708.228515625,10.8203125},
970 {1606.783203125,729.6123046875,10.8203125},
971 {1038.689453125,1015.6962890625,11.0},
972 {1059.0615234375,1239.1982421875,10.827476501465},
973 {1060.6962890625,1277.2705078125,10.8203125},
974 {1042.611328125,1305.5810546875,10.8203125},
975 {939.115234375,1739.154296875,8.8515625},
976 {952.1171875,1769.9970703125,8.8515625},
977 {976.6630859375,2081.0,10.8203125},
978 {925.6767578125,2083.236328125,10.8203125},
979 {926.4384765625,2057.66796875,10.8203125},
980 {967.640625,2159.4072265625,10.8203125},
981 {1091.0048828125,2116.341796875,15.350400924683},
982 {1079.990234375,2132.2490234375,10.8203125},
983 {1085.25390625,2119.986328125,10.8203125},
984 {1063.5029296875,2079.5068359375,10.8203125},
985 {1125.619140625,2008.794921875,10.8203125},
986 {1125.2802734375,1985.640625,10.8203125},
987 {1085.5263671875,1911.3779296875,10.8203125},
988 {1111.28125,1914.15234375,10.8203125},
989 {1053.90234375,2252.34375,10.8203125},
990 {1025.453125,2268.9248046875,10.8203125},
991 {1103.5712890625,2326.3046875,10.8203125},
992 {1121.9013671875,2342.8671875,10.8203125},
993 {1153.9189453125,2341.7431640625,10.8203125},
994 {1070.7001953125,2170.1552734375,16.71875},
995 {2103.4658203125,2677.0498046875,10.812969207764},
996 {2108.1220703125,2652.4365234375,10.812969207764},
997 {2120.177734375,2655.0498046875,10.812969207764},
998 {2142.5478515625,2718.3193359375,10.8203125},
999 {2193.6806640625,2791.447265625,10.8203125},
1000 {2198.767578125,2791.92578125,10.8203125},
1001 {2214.35546875,2792.78515625,10.8203125},
1002 {2207.486328125,2725.767578125,10.8203125},
1003 {2263.376953125,2753.75,10.8203125},
1004 {2263.515625,2778.1767578125,10.8203125},
1005 {2289.6416015625,2783.9775390625,10.8203125},
1006 {2291.798828125,2755.451171875,10.8203125},
1007 {2291.7548828125,2739.0244140625,10.8203125},
1008 {2315.318359375,2768.935546875,10.8203125},
1009 {2335.0419921875,2786.3701171875,10.8203125},
1010 {2343.5244140625,2766.2724609375,10.8203125},
1011 {2358.9091796875,2774.96875,10.8203125},
1012 {2420.7333984375,2780.388671875,10.8203125},
1013 {2502.482421875,2777.712890625,10.8203125},
1014 {2551.6826171875,2815.7275390625,10.8203125},
1015 {2596.8330078125,2808.8125,11.015830993652},
1016 {2613.2099609375,2810.5712890625,10.8203125},
1017 {2608.689453125,2839.23046875,10.8203125},
1018 {2624.767578125,2840.0634765625,10.8203125},
1019 {2598.2841796875,2799.8720703125,10.8203125},
1020 {2717.3310546875,2849.201171875,10.8203125},
1021 {2737.30859375,2753.4443359375,10.8203125},
1022 {2714.6796875,2673.611328125,10.8203125},
1023 {2622.2392578125,2715.6875,36.538642883301},
1024 {2662.0908203125,2676.90234375,10.8203125},
1025 {2681.4990234375,2667.1689453125,10.8203125},
1026 {2793.83984375,2530.25390625,11.0625},
1027 {2905.978515625,2491.16796875,11.0625},
1028 {2808.833984375,2019.7890625,10.8203125},
1029 {2800.5009765625,2020.421875,10.812992095947},
1030 {2808.4169921875,1986.646484375,10.8203125},
1031 {2807.7001953125,1634.1181640625,10.8203125},
1032 {2816.5810546875,1687.5234375,10.8203125},
1033 {2823.9375,1634.9892578125,10.8203125},
1034 {2832.07421875,1689.4052734375,10.8203125},
1035 {2839.3994140625,1634.103515625,10.8203125},
1036 {2847.9248046875,1689.35546875,10.8203125},
1037 {2868.0625,1588.8525390625,10.8203125},
1038 {2867.9873046875,1621.4189453125,10.8203125},
1039 {2874.4990234375,1587.3759765625,10.8203125},
1040 {2882.8896484375,1621.7314453125,10.8203125},
1041 {2889.8212890625,1590.45703125,10.8203125},
1042 {2899.5361328125,1620.791015625,10.8203125},
1043 {2781.5419921875,1444.8740234375,10.696803092957},
1044 {2856.9775390625,1284.5283203125,11.390625},
1045 {2857.044921875,1308.8486328125,11.390625},
1046 {2815.3505859375,1244.990234375,11.3125},
1047 {2774.4541015625,1243.3193359375,11.3125},
1048 {-1951.3173828125,1000.6396484375,35.175628662109},
1049 {-1320.685546875,493.205078125,18.234375},
1050 {-1479.3505859375,430.0,7.1875},
1051 {-1422.6416015625,372.73046875,7.1875},
1052 {-1465.4599609375,337.732421875,7.1875},
1053 {-1728.029296875,181.03515625,3.5546875},
1054 {-1691.2890625,-87.5361328125,3.5715780258179},
1055 {-1197.2041015625,-130.8515625,14.1484375},
1056 {-1233.2412109375,-86.5556640625,14.29193687439},
1057 {-1816.6513671875,-180.69140625,9.3984375},
1058 {-2084.64453125,-743.4033203125,32.171875},
1059 {-2096.4130859375,-809.65234375,32.171875},
1060 {-2067.6474609375,-860.0107421875,32.171875},
1061 {-2079.0458984375,-925.1484375,32.171875},
1062 {-2095.75390625,-966.0205078125,32.171875},
1063 {-1964.25,-755.33984375,35.890884399414},
1064 {-1945.4501953125,-806.0654296875,35.93962097168},
1065 {-1964.26171875,-879.8671875,36.262706756592},
1066 {-1945.1962890625,-911.0498046875,35.890884399414},
1067 {-1963.6259765625,-959.3974609375,36.290878295898},
1068 {-2520.646484375,-624.9404296875,132.78553771973},
1069 {-2521.90625,-624.951171875,132.78158569336},
1070 {-2535.2138671875,-688.673828125,139.3203125},
1071 {-2505.955078125,-666.00390625,139.3203125},
1072 {-1940.962890625,-1091.6123046875,32.175434112549},
1073 {-1948.9638671875,-1091.5654296875,32.175434112549},
1074 {-1437.4697265625,-964.10546875,201.05328369141},
1075 {-1424.443359375,-967.3876953125,200.81311035156},
1076 {-1181.90234375,-1133.8779296875,129.21875},
1077 {-1184.7333984375,-1143.9267578125,129.21875},
1078 {-993.9638671875,-700.7119140625,32.0078125},
1079 {-1053.3310546875,-694.8388671875,32.3515625},
1080 {-1103.5712890625,-752.294921875,32.0078125},
1081 {-1115.271484375,-667.0048828125,32.0078125},
1082 {-1067.7939453125,-597.3525390625,32.0078125},
1083 {-576.1923828125,-538.9931640625,25.5234375},
1084 {-529.0849609375,-539.048828125,25.5234375},
1085 {-520.630859375,-506.4384765625,24.515340805054},
1086 {-619.578125,-490.775390625,25.5234375},
1087 {-395.06640625,-1148.8955078125,69.414436340332},
1088 {-58.3115234375,-1112.5966796875,1.3712005615234},
1089 {-69.4423828125,-1104.060546875,1.078125},
1090 {-87.0576171875,-1212.1640625,2.890625},
1091 {-90.9384765625,-1576.271484375,2.6171875},
1092 {-263.8203125,-2183.5810546875,28.937950134277},
1093 {-1971.6767578125,-2431.595703125,30.625},
1094 {-1992.8837890625,-2388.359375,30.625},
1095 {-2091.8896484375,-2260.0693359375,30.625},
1096 {-2120.6064453125,-2296.5361328125,30.631944656372},
1097 {-2198.0224609375,-2329.6279296875,30.625},
1098 {-2183.4765625,-2430.1669921875,35.5234375},
1099 {-2156.3916015625,-2552.9521484375,30.6171875},
1100 {-2241.3623046875,-2479.634765625,31.216468811035},
1101 {-2226.1494140625,-2400.462890625,31.984375},
1102 {-2191.7451171875,-2432.1484375,31.484375},
1103 {-2015.0400390625,-2395.818359375,30.625},
1104 {-2816.2548828125,-1515.603515625,140.84375},
1105 {-1830.9814453125,-1603.1318359375,23.015625},
1106 {-1805.3876953125,-1602.94140625,23.015625},
1107 {-1920.52734375,-1671.5361328125,23.015625},
1108 {-1849.0419921875,-1604.025390625,21.7578125},
1109 {-1846.5400390625,-1708.5849609375,41.113433837891},
1110 {-1425.5751953125,-1553.6083984375,102.359375},
1111 {-1467.59375,-1522.412109375,101.75132751465},
1112 {-1632.8955078125,-2247.5673828125,31.4765625},
1113 {-1119.7041015625,-1626.40234375,76.37393951416},
1114 {-1112.24609375,-1677.064453125,76.3671875},
1115 {-1079.4052734375,-1296.880859375,129.21875},
1116 {-489.4853515625,-716.05078125,25.248840332031},
1117 {-77.2392578125,-1136.3759765625,1.078125},
1118 {1636.1298828125,-2237.677734375,13.506058692932},
1119 {1572.5693359375,-2242.9287109375,-2.7005190849304},
1120 {1568.48046875,-2333.177734375,-2.6844439506531},
1121 {1792.9951171875,-2334.0615234375,-2.6847453117371},
1122 {1806.4775390625,-2303.0615234375,-2.5784506797791},
1123 {1598.80078125,-2639.578125,13.546875},
1124 {1685.734375,-2638.685546875,13.601192474365},
1125 {1757.38671875,-2640.12890625,13.624307632446},
1126 {1898.04296875,-2640.3408203125,13.634287834167},
1127 {-726.4716796875,-104.1103515625,68.285224914551},
1128 {-435.5908203125,-59.4892578125,58.875},
1129 {-107.7705078125,-219.7900390625,1.9970067739487},
1130 {-121.533203125,-232.7431640625,1.421875},
1131 {-155.19921875,-293.9130859375,3.9053149223328},
1132 {-132.642578125,-313.8212890625,2.7646160125732},
1133 {-114.1904296875,-314.3271484375,2.7646160125732},
1134 {-84.361328125,-301.16015625,2.7646157741547},
1135 {-49.3046875,-269.6494140625,6.633186340332},
1136 {-11.07421875,-269.5751953125,5.4296875},
1137 {32.3818359375,-290.8232421875,2.195987701416},
1138 {84.34375,-314.5419921875,1.578125},
1139 {93.677734375,-308.94921875,1.578125},
1140 {90.53515625,-185.2373046875,1.484375},
1141 {121.9404296875,-294.06640625,1.578125},
1142 {79.8994140625,-179.513671875,1.5788015127182},
1143 {151.1376953125,-300.646484375,1.578125},
1144 {194.771484375,-225.9521484375,1.778618812561},
1145 {220.5595703125,-233.78515625,1.778618812561},
1146 {243.986328125,-47.2861328125,1.578125},
1147 {321.0517578125,-44.62890625,1.5699377059937},
1148 {331.26171875,-39.9609375,2.2255229949951},
1149 {344.6259765625,-71.193359375,2.4308085441589},
1150 {374.6015625,-76.740234375,1.3828125},
1151 {105.8173828125,-189.13671875,1.5086135864258},
1152 {312.5322265625,-153.5458984375,1.578125},
1153 {308.158203125,-191.17578125,1.578125},
1154 {303.169921875,-238.26953125,1.578125},
1155 {162.3916015625,-43.6484375,1.578125},
1156 {155.21484375,-21.7392578125,1.578125},
1157 {159.08203125,-22.6591796875,1.578125},
1158 {277.880859375,5.529296875,2.4217844009399},
1159 {209.603515625,26.099609375,2.57080078125},
1160 {214.177734375,22.1083984375,2.57080078125},
1161 {202.302734375,-182.6708984375,1.578125},
1162 {1206.623046875,174.1494140625,20.466976165771},
1163 {1243.7236328125,216.51953125,19.5546875},
1164 {1268.3505859375,232.5703125,25.048685073853},
1165 {1254.826171875,241.130859375,19.5546875},
1166 {1357.919921875,361.603515625,20.499504089355},
1167 {1323.5478515625,286.693359375,20.045194625854},
1168 {1199.2802734375,243.4189453125,19.5546875},
1169 {1427.1650390625,270.5390625,19.5546875},
1170 {1418.296875,221.408203125,19.561782836914},
1171 {2321.544921875,-62.4482421875,26.484375},
1172 {2318.248046875,-51.705078125,26.484375},
1173 {2315.5703125,33.6708984375,27.473955154419},
1174 {2324.9736328125,12.3369140625,26.484375},
1175 {2315.2060546875,56.0517578125,26.481512069702},
1176 {636.0791015625,-499.974609375,16.3359375},
1177 {710.0751953125,-569.740234375,16.3359375},
1178 {812.3603515625,-562.751953125,16.3359375},
1179 {843.13671875,-603.37109375,18.421875},
1180 {797.4208984375,-620.9560546875,16.3359375},
1181 {725.626953125,-469.60546875,16.3359375},
1182 {684.79296875,-444.8583984375,16.3359375},
1183 {1579.150390625,-1413.5146484375,13.546875},
1184 {1702.2421875,-1469.3564453125,13.546875},
1185 {1580.3486328125,-1634.7626953125,13.561421394348},
1186 {1611.162109375,-1720.8974609375,6.21875},
1187 {1291.7822265625,-1253.8310546875,13.546875},
1188 {1297.7333984375,-1254.0087890625,13.546875},
1189 {1319.7333984375,-1241.2666015625,13.546875},
1190 {1122.3857421875,-1334.6923828125,12.765430450439},
1191 {1112.900390625,-1334.5439453125,12.777824401855},
1192 {1095.501953125,-1333.6240234375,12.854690551758},
1193 {1084.4580078125,-1223.2919921875,15.8203125},
1194 {1107.0908203125,-1180.970703125,18.788990020752},
1195 {1702.1064453125,913.7470703125,10.8203125},
1196 {1732.7607421875,987.923828125,10.8203125},
1197 {1629.96875,962.341796875,10.808609962463},
1198 {1630.2109375,976.7177734375,10.8203125},
1199 {1624.7265625,1039.009765625,10.8203125},
1200 {1641.337890625,1074.083984375,10.8203125},
1201 {1707.5380859375,1074.3359375,10.8203125},
1202 {1612.294921875,915.7236328125,10.694253921509},
1203 {1524.279296875,1009.5546875,10.8203125},
1204 {1466.189453125,1067.859375,10.007030487061},
1205 {1468.21875,1039.86328125,10.176633834839},
1206 {1451.1953125,972.626953125,10.113735198975},
1207 {1407.1533203125,969.900390625,10.812976837158},
1208 {1404.8310546875,1147.681640625,10.8203125},
1209 {1354.0390625,1153.826171875,10.8203125},
1210 {1357.412109375,1043.3046875,10.8203125},
1211 {1317.8544921875,1252.9453125,14.273136138916},
1212 {1267.9306640625,1335.9736328125,10.812978744507},
1213 {1269.349609375,1372.19140625,10.8203125},
1214 {1304.330078125,1612.9052734375,10.8203125},
1215 {1340.673828125,1701.0634765625,10.8203125},
1216 {1345.853515625,1751.7734375,10.8203125},
1217 {1595.265625,1449.966796875,10.828193664551},
1218 {1567.91796875,1152.4404296875,10.8125},
1219 {1588.4033203125,1152.64453125,10.805154800415},
1220 {1667.9609375,1327.03515625,10.76210975647},
1221 {1653.267578125,1687.5673828125,10.8203125},
1222 {1661.232421875,1699.3662109375,10.8203125},
1223 {1716.154296875,1616.421875,10.04080581665},
1224 {1734.1572265625,1168.533203125,10.8203125},
1225 {1714.0908203125,1161.8291015625,10.785179138184},
1226 {1679.5263671875,1165.91796875,10.8203125},
1227 {1715.9091796875,1314.2109375,10.8203125},
1228 {1684.2109375,1849.6982421875,10.8203125},
1229 {1723.640625,2026.0478515625,10.8203125},
1230 {1311.5478515625,2085.80859375,10.8203125},
1231 {1490.9951171875,2364.2392578125,10.8203125},
1232 {1515.6279296875,2364.55078125,10.8203125},
1233 {1642.16015625,2338.59765625,9.9275417327881},
1234 {1678.6640625,2340.228515625,10.005611419678},
1235 {1677.1953125,2312.1484375,9.8829164505005},
1236 {1658.9814453125,2200.345703125,10.8203125},
1237 {1751.7412109375,2233.44140625,10.8203125},
1238 {1751.6025390625,2202.806640625,10.8203125},
1239 {1914.9599609375,1988.7490234375,7.5945882797241},
1240 {1856.3515625,1979.90234375,7.5950384140015},
1241 {1913.951171875,1931.6240234375,13.784772872925},
1242 {1932.2236328125,1816.25390625,12.714401245117},
1243 {1915.0048828125,1727.3134765625,12.714403152466},
1244 {2016.1767578125,1751.3125,12.77968120575},
1245 {1947.13671875,2070.68359375,10.8203125},
1246 {2008.15234375,2224.7578125,11.185302734375},
1247 {1983.005859375,2262.955078125,20.525520324707},
1248 {2063.337890625,2239.943359375,10.114772796631},
1249 {2185.8486328125,2503.96484375,10.8203125},
1250 {2117.591796875,2416.0634765625,36.6171875},
1251 {2098.9580078125,2420.9765625,74.578598022461},
1252 {2174.9921875,961.966796875,10.8203125},
1253 {2379.8017578125,1041.314453125,10.8203125},
1254 {2497.515625,1213.3046875,10.8203125},
1255 {2588.2197265625,1202.5556640625,10.8203125},
1256 {2599.9150390625,1267.041015625,10.8203125},
1257 {2230.4013671875,1431.62109375,11.0546875},
1258 {2297.9111328125,1458.0966796875,36.421875},
1259 {2609.7099609375,1437.61328125,10.8203125},
1260 {2609.2578125,1437.6875,10.8203125},
1261 {2407.87890625,1723.3291015625,10.8203125},
1262 {2477.8564453125,1761.0068359375,10.8203125},
1263 {2466.38671875,1762.009765625,10.8203125},
1264 {2454.20703125,1761.912109375,10.8203125},
1265 {2351.79296875,1882.0380859375,10.671875},
1266 {2220.0244140625,1979.2744140625,9.8671274185181},
1267 {2277.4658203125,1969.9189453125,15.5703125},
1268 {2297.9990234375,1981.5712890625,20.822093963623},
1269 {2298.341796875,1980.94140625,26.299333572388},
1270 {2277.263671875,1944.7265625,32.0078125},
1271 {2515.4912109375,2321.9970703125,10.8203125},
1272 {2295.2236328125,2440.34765625,10.8203125},
1273 {2295.6240234375,2477.6123046875,10.8203125},
1274 {1033.5419921875,-1116.2109375,23.893451690674},
1275 {1011.9638671875,-1116.595703125,23.898933410645},
1276 {901.11328125,-1202.6923828125,16.983215332031},
1277 {836.623046875,-1203.15625,16.9765625},
1278 {861.3544921875,-1256.3896484375,14.760587692261},
1279 {846.0087890625,-1292.974609375,13.652151107788},
1280 {910.306640625,-1235.380859375,17.218402862549},
1281 {915.8447265625,-1235.5244140625,17.2109375},
1282 {979.2724609375,-1254.681640625,16.946468353271},
1283 {1031.8544921875,-1448.833984375,13.554634094238},
1284 {1005.0517578125,-1463.7822265625,13.555473327637},
1285 {855.6826171875,-1360.052734375,13.745624542236},
1286 {858.552734375,-1422.9619140625,12.336584091187},
1287 {992.896484375,-1521.701171875,13.552418708801},
1288 {733.05078125,-1359.1865234375,23.579231262207},
1289 {732.6806640625,-1335.3681640625,13.538493156433},
1290 {435.0791015625,-1361.904296875,14.809816360474},
1291 {438.4423828125,-1360.453125,14.816032409668},
1292 {442.7666015625,-1355.5517578125,14.82363986969},
1293 {564.359375,-1293.5673828125,17.248237609863}, // end of industrial
1294 {-4734.4189,-2909.8511,33.6087}, // START OF COLD ISLAND
1295 {-5078.0059,-2819.7085,53.3284},
1296 {-5075.1079,-2816.9480,51.6410},
1297 {-5128.1470,-2801.9077,47.6671},
1298 {-5128.5933,-2808.6584,50.7087},
1299 {-5121.6108,-2816.3315,52.7136},
1300 {-5105.8271,-2819.4258,52.9792},
1301 {-4742.4922,-2911.5706,33.6087},
1302 {-4743.8516,-2901.8198,33.6087},
1303 {-4718.2534,-2895.9500,33.6087},
1304 {-4738.3101,-2966.8889,34.2499},
1305 {-4747.9937,-2967.9919,34.2427},
1306 {-4747.4507,-2974.2021,34.3244},
1307 {-4740.3906,-2993.2993,34.5847},
1308 {-4744.2578,-2970.1682,37.5750},
1309 {-4735.9429,-2992.7395,37.6887},
1310 {-4741.5107,-2904.5168,36.9750},
1311 {-4717.6118,-2902.9336,37.0675},
1312 {-4683.5269,-2898.7290,33.9219},
1313 {-4698.3926,-2920.4736,33.7740},
1314 {-4665.8960,-2912.6919,33.7683},
1315 {-4647.0347,-2931.6321,34.0677},
1316 {-4643.2217,-2940.9321,34.1989},
1317 {-4632.2969,-2930.1409,34.0914},
1318 {-4685.5601,-2949.1616,34.1817},
1319 {-4710.2275,-2959.9319,34.2488},
1320 {-4677.2754,-2983.6267,34.6506},
1321 {-4686.5522,-2983.6501,34.6239},
1322 {-4685.6465,-2979.8149,34.5770},
1323 {-4790.4307,-2992.9004,51.3263},
1324 {-4792.8984,-2983.8269,51.3236},
1325 {-4783.2749,-2980.5691,51.3201},
1326 {-4775.9067,-2960.5308,33.9812},
1327 {-4794.4780,-2973.3926,34.1078},
1328 {-4798.2910,-2974.4575,34.1078},
1329 {-4778.8384,-2958.1052,33.9414},
1330 {-4788.3096,-2933.0457,33.5903},
1331 {-4788.7207,-2938.8186,33.6637},
1332 {-4810.6680,-2933.4739,33.5307},
1333 {-4809.4233,-2932.0886,33.5164},
1334 {-4845.9761,-2928.4045,33.3623},
1335 {-4857.0200,-2930.6682,33.3594},
1336 {-4871.7852,-2945.6216,33.5093},
1337 {-4875.8066,-2951.1436,33.5689},
1338 {-4876.1802,-2969.9883,33.9078},
1339 {-4877.5215,-2965.7229,33.9078},
1340 {-4844.3091,-2990.9438,34.3537},
1341 {-4837.6948,-2987.9272,34.2745},
1342 {-4840.7134,-2960.6990,33.7945},
1343 {-4930.6602,-3028.8401,34.4117},
1344 {-4933.4424,-3042.3484,34.5780},
1345 {-5011.4287,-2980.3694,59.7004},
1346 {-5013.8081,-2962.3613,60.4006},
1347 {-5002.9937,-2902.1147,48.4543},
1348 {-4997.1592,-2900.1604,47.4468},
1349 {-4957.8511,-2748.7319,18.9554},
1350 {-4953.9556,-2750.4075,18.9554},
1351 {-4936.3799,-2725.2043,6.3548},
1352 {-5060.2202,-2759.8779,28.3469},
1353 {-5060.5161,-2764.1592,33.4782},
1354 {-5060.2744,-2764.2283,41.8781},
1355 {-5072.8491,-2727.8462,13.3054},
1356 {-5068.5781,-2730.5305,13.8691},
1357 {-5059.8452,-2704.3799,3.6984},
1358 {-5051.0249,-2694.5464,3.6984},
1359 {-5001.3081,-2670.9429,26.1782},
1360 {-4999.5093,-2671.1841,34.5781},
1361 {-4513.2822,-2852.0918,20.1661},
1362 {-4510.0952,-2840.4958,17.7957},
1363 {-4506.9980,-2835.5808,17.1682},
1364 {-4592.2085,-2973.8840,37.3516},
1365 {-4597.9858,-2974.1760,37.8444},
1366 {-4600.5752,-2967.0759,36.0090},
1367 {-4602.3340,-2959.1824,34.8755},
1368 {-4598.3472,-2936.2058,33.2008},
1369 {-4607.3745,-2935.3784,33.7286},
1370 {-4607.9043,-2927.0261,32.7219},// END OF COLD
1371 {414.7119,-3296.3953,4.7855},
1372 {407.4610,-3300.5620,5.5920},
1373 {410.5316,-3313.2559,6.3774},
1374 {414.6100,-3318.1563,6.5750},
1375 {391.6071,-3359.4958,11.3152},
1376 {384.4986,-3359.3015,12.3729},
1377 {376.9888,-3359.7449,12.2452},
1378 {409.1035,-3374.6235,10.5094},
1379 {452.8504,-3425.1726,4.3511},
1380 {472.0038,-3440.4158,3.9414},
1381 {447.1546,-3683.5754,19.6440},
1382 {453.9521,-3676.5195,20.1140},
1383 {461.9095,-3679.4248,23.9534},
1384 {455.8982,-3691.0408,23.9105},
1385 {448.7321,-3696.9783,23.8360},
1386 {451.3527,-3711.2971,25.9468},
1387 {455.1996,-3716.6350,27.4099},
1388 {450.1326,-3717.9929,26.4542},
1389 {440.5056,-3718.8718,24.4618},
1390 {436.2605,-3717.9795,25.6463},
1391 {430.5428,-3722.7346,24.4719},
1392 {433.8222,-3728.2805,23.9901},
1393 {424.2554,-3725.6892,23.5785},
1394 {423.7076,-3728.9595,21.9053},
1395 {403.9844,-3736.1487,19.7183},
1396 {287.4912,-3684.6199,45.1853},
1397 {305.7474,-3666.9343,41.4322},
1398 {311.3778,-3655.0464,40.6176},
1399 {295.1956,-3662.5378,42.7106},
1400 {289.3443,-3655.2734,43.4491},
1401 {293.3673,-3641.7261,43.0676},
1402 {295.4311,-3635.6328,42.5237}
1403};
1404
1405new DayZSA_Loots[][lootVars] =
1406{
1407 {-2105.1796875,659.5048828125,52.476016998291},
1408 {-2122.7890625,660.1171875,52.494960784912},
1409 {-2161.1806640625,660.69140625,52.440773010254},
1410 {-2156.9794921875,715.134765625,69.5625},
1411 {-2540.779296875,831.962890625,52.09375},
1412 {-2543.5556640625,922.765625,67.09375},
1413 {-2553.427734375,985.7685546875,78.2734375},
1414 {-2719.1953125,-318.9580078125,7.84375},
1415 {-2791.75,-160.4765625,10.0546875},
1416 {-2784.1376953125,-99.5029296875,10.0546875},
1417 {-2730.771484375,-174.17578125,7.203125},
1418 {-2677.7392578125,-179.662109375,4.328125},
1419 {-2689.53125,-141.2802734375,7.203125},
1420 {-2723.15234375,-113.3740234375,7.203125},
1421 {-2632.52734375,-108.0048828125,4.328125},
1422 {-2679.94140625,-155.75,4.328125},
1423 {-2632.181640625,-191.0283203125,7.203125},
1424 {-2619.455078125,-153.2880859375,4.3359375},
1425 {-2590.529296875,-106.01953125,4.3296241760254},
1426 {-2733.2177734375,-109.572265625,4.328125},
1427 {-2782.1259765625,-148.6162109375,7.1872329711914},
1428 {-2791.7412109375,-24.3642578125,10.0546875},
1429 {2416.958984375,-2454.0576171875,13.640612602234},
1430 {-2781.07421875,-26.6162109375,7.3766598701477},
1431 {-2734.8994140625,-53.6279296875,4.3354206085205},
1432 {-2731.0927734375,-12.6806640625,7.203125},
1433 {-2725.55078125,-36.1650390625,7.1953125},
1434 {-2724.6787109375,-57.98828125,4.3425788879395},
1435 {-2781.7265625,21.095703125,7.1796875},
1436 {-2734.1474609375,25.7275390625,4.3353595733643},
1437 {-2790.44921875,7.244140625,7.1953125},
1438 {-2723.0166015625,21.908203125,7.203125},
1439 {-2664.251953125,-8.732421875,6.1328125},
1440 {-2718.8681640625,52.302734375,4.3359375},
1441 {-2689.376953125,74.5224609375,7.203125},
1442 {2273.20703125,-2371.5419921875,17.421871185303},
1443 {-2686.9892578125,115.25,7.1953125},
1444 {-2677.7412109375,132.431640625,4.335750579834},
1445 {-2681.5703125,91.333984375,7.203125},
1446 {-2679.9130859375,68.3857421875,4.328125},
1447 {2447.8544921875,-2209.4921875,26.6328125},
1448 {-2631.6923828125,57.8232421875,4.328125},
1449 {-2631.8662109375,105.4345703125,4.5250973701477},
1450 {-2620.9384765625,120.8359375,7.203125},
1451 {-2622.375,71.7958984375,4.3359375},
1452 {-2619.466796875,57.779296875,4.3359375},
1453 {-2620.7958984375,103.37890625,7.203125},
1454 {-2791.6767578125,77.447265625,10.0546875},
1455 {-2791.6845703125,103.6552734375,10.0546875},
1456 {-2791.6201171875,130.3515625,7.859375},
1457 {-2783.59765625,138.4697265625,10.0546875},
1458 {-2781.361328125,91.9453125,7.1796875},
1459 {-2783.810546875,189.72265625,10.0546875},
1460 {-2780.9443359375,210.013671875,7.3766598701477},
1461 {-2791.7958984375,212.0029296875,10.0546875},
1462 {-2789.4150390625,183.896484375,10.0625},
1463 {-2720.626953125,127.52734375,7.0390625},
1464 {-2689.21484375,96.3095703125,7.203125},
1465 {-2760.80078125,142.8271484375,7.03125},
1466 {-2632.37890625,274.76953125,4.3347663879395},
1467 {-2624.2607421875,250.9365234375,4.5094723701477},
1468 {-2654.486328125,200.240234375,5.0},
1469 {-2678.177734375,200.3193359375,7.1953125},
1470 {-2683.3466796875,192.1875,7.1953125},
1471 {-2654.3681640625,190.7880859375,4.328125},
1472 {-2627.869140625,179.1484375,4.3401975631714},
1473 {-2621.79296875,168.8271484375,7.1953125},
1474 {2529.234375,-2250.3193359375,3.0},
1475 {-2649.146484375,376.1025390625,6.1592502593994},
1476 {-2766.4765625,375.21875,6.3346824645996},
1477 {-2729.5869140625,351.921875,4.7109375},
1478 {-2620.99609375,-185.7578125,7.203125},
1479 {-2558.9501953125,-199.0283203125,10.887868881226},
1480 {-2515.1201171875,-172.2314453125,25.078411102295},
1481 {-2541.33203125,-145.84765625,15.688335418701},
1482 {-2524.0888671875,-79.9541015625,21.780969619751},
1483 {2138.8505859375,-2292.7666015625,14.780059814453},
1484 {2122.322265625,-2268.7783203125,20.671875},
1485 {2229.953125,-2286.5478515625,14.375131607056},
1486 {-2538.826171875,44.474609375,8.608250617981},
1487 {2226.75,-2262.5888671875,13.554685592651},
1488 {-2507.6923828125,51.005859375,25.623983383179},
1489 {-2588.2236328125,59.15625,4.3359375},
1490 {-2591.5322265625,170.0634765625,4.6730613708496},
1491 {-2577.947265625,104.255859375,4.3359375},
1492 {-2545.4833984375,193.333984375,13.0390625},
1493 {2021.88671875,-2067.1806640625,17.357158660889},
1494 {2043.19140625,-2124.6103515625,13.6328125},
1495 {-2454.6328125,-135.880859375,26.191104888916},
1496 {1926.3515625,-2127.6796875,13.579386711121},
1497 {-2432.1279296875,-182.7470703125,35.3125},
1498 {-2431.5146484375,-109.6416015625,35.3203125},
1499 {-2430.8583984375,9.8046875,35.318264007568},
1500 {1990.486328125,-1998.98046875,13.546875},
1501 {1940.0703125,-2038.7099609375,13.546875},
1502 {1936.3857421875,-1983.3828125,13.546875},
1503 {-2545.384765625,118.939453125,22.140625},
1504 {-2488.7578125,130.7890625,25.8671875},
1505 {-2463.4296875,131.7529296875,35.171875},
1506 {2201.9130859375,-1971.7041015625,13.78413105011},
1507 {-2548.392578125,194.8271484375,6.2325587272644},
1508 {-2579.7734375,309.8671875,5.1796875},
1509 {2280.111328125,-2046.1591796875,13.546875},
1510 {-2571.2275390625,246.6923828125,10.380719184875},
1511 {-2622.861328125,375.8916015625,6.1592502593994},
1512 {-2594.951171875,458.486328125,14.609375},
1513 {2431.83203125,-2137.091796875,13.546875},
1514 {2527.3076171875,-2129.2861328125,13.546875},
1515 {-2425.6650390625,338.533203125,36.99991607666},
1516 {-2228.8994140625,253.7900390625,35.3203125},
1517 {-2183.375,199.9150390625,35.3203125},
1518 {-2219.51171875,100.3720703125,35.3203125},
1519 {1951.85546875,-2187.693359375,13.546875},
1520 {-2200.306640625,-79.642578125,35.3203125},
1521 {-2218.875,-180.6923828125,35.365856170654},
1522 {-2270.1845703125,-156.142578125,35.3203125},
1523 {1083.7578125,-2033.1240234375,69.0078125},
1524 {1122.390625,-2043.921875,74.4296875},
1525 {1121.125,-2007.8056640625,74.4296875},
1526 {1815.701171875,-1976.759765625,13.546875},
1527 {1831.8251953125,-1996.826171875,13.546875},
1528 {1731.6982421875,-2055.0126953125,13.572721481323},
1529 {1673.8896484375,-2122.5712890625,14.146014213562},
1530 {1694.28515625,-2082.1337890625,13.546875},
1531 {1714.8828125,-2125.41015625,14.056648254395},
1532 {1762.29296875,-2102.0341796875,13.856951713562},
1533 {1804.908203125,-2141.689453125,13.546875},
1534 {1846.451171875,-2021.099609375,13.546875},
1535 {1863.1640625,-2019.9775390625,13.546875},
1536 {1858.8203125,-2080.7197265625,15.03125},
1537 {1870.9697265625,-2020.482421875,13.546875},
1538 {1899.0322265625,-1997.6650390625,13.546875},
1539 {1920.576171875,-2086.7236328125,13.577843666077},
1540 {-2177.2421875,10.7216796875,35.3203125},
1541 {-2027.69140625,-40.7685546875,38.8046875},
1542 {1846.9462890625,-2116.369140625,15.170427322388},
1543 {1894.630859375,-2133.23046875,15.466326713562},
1544 {-2171.7919921875,250.6259765625,35.336006164551},
1545 {2333.375,-1943.3095703125,14.96875},
1546 {-2242.1787109375,122.328125,35.3203125},
1547 {2387.0634765625,-1941.490234375,13.546875},
1548 {-2265.8994140625,33.01953125,35.3203125},
1549 {-2287.04296875,-79.845703125,35.3203125},
1550 {-2313.0947265625,-11.6533203125,35.3203125},
1551 {2437.9951171875,-2020.248046875,13.902541160583},
1552 {2515.3583984375,-2027.7763671875,13.546875},
1553 {2526.203125,-2000.7529296875,13.78261089325},
1554 {-1968.5322265625,110.001953125,27.6875},
1555 {-2025.8759765625,-101.044921875,35.1640625},
1556 {2635.2255859375,-1993.6181640625,13.993547439575},
1557 {2660.84375,-1984.49609375,13.550971984863},
1558 {2673.8603515625,-2020.2509765625,14.168166160583},
1559 {-2080.7451171875,-407.314453125,38.734375},
1560 {-1993.1416015625,-443.4228515625,38.734375},
1561 {2786.7822265625,-1922.8232421875,17.3203125},
1562 {2751.5166015625,-1950.9462890625,13.546875},
1563 {2736.0234375,-1974.9482421875,13.546034812927},
1564 {2728.2529296875,-1919.462890625,13.539363861084},
1565 {-1709.1103515625,406.3779296875,7.4189829826355},
1566 {-1923.2841796875,433.2978515625,35.254241943359},
1567 {2333.525390625,-1883.5400390625,15.0},
1568 {2332.294921875,-1922.615234375,12.300741195679},
1569 {-2054.3359375,457.095703125,35.300045013428},
1570 {2296.49609375,-1883.05078125,14.234375},
1571 {2261.166015625,-1906.74609375,14.9375},
1572 {-2106.7265625,338.134765625,35.171875},
1573 {-2214.21875,493.427734375,35.171875},
1574 {-2093.103515625,513.841796875,35.171875},
1575 {-1940.0380859375,555.080078125,35.171875},
1576 {-1807.3115234375,531.25390625,35.539566040039},
1577 {-1605.6103515625,710.2880859375,13.8671875},
1578 {1869.5263671875,-1913.0859375,15.256797790527},
1579 {1850.52734375,-1914.865234375,15.256797790527},
1580 {1847.662109375,-1870.5869140625,13.578125},
1581 {1789.375,-1871.720703125,13.564960479736},
1582 {-1729.24609375,650.0126953125,25.110088348389},
1583 {-1929.267578125,639.1357421875,46.5625},
1584 {-1619.111328125,867.921875,7.6953125},
1585 {-1493.103515625,886.2890625,7.1875},
1586 {-1447.17578125,919.0634765625,7.1875},
1587 {-1703.9638671875,785.5986328125,25.736047744751},
1588 {-1749.3125,873.0576171875,25.0859375},
1589 {1488.2373046875,-1911.6669921875,24.190805435181},
1590 {1438.9794921875,-1918.8115234375,24.416709899902},
1591 {-1786.2587890625,772.7470703125,24.890625},
1592 {1453.3564453125,-1885.36328125,23.1484375},
1593 {-1967.392578125,743.8095703125,45.4453125},
1594 {-2099.3818359375,602.53125,45.096294403076},
1595 {1489.544921875,-1847.30078125,13.546875},
1596 {1450.00390625,-1848.8515625,13.96875},
1597 {1470.18359375,-1770.9287109375,18.795755386353},
1598 {1493.5146484375,-1772.1767578125,18.795755386353},
1599 {-2208.333984375,695.2158203125,49.4375},
1600 {1338.7646484375,-1777.2900390625,13.538893699646},
1601 {1378.732421875,-1753.1376953125,14.140625},
1602 {1352.4580078125,-1758.0810546875,13.5078125},
1603 {1337.400390625,-1819.83203125,13.550866127014},
1604 {1213.8720703125,-1815.3349609375,16.59375},
1605 {1212.9775390625,-1811.822265625,16.59375},
1606 {1209.6083984375,-1751.4228515625,13.593654632568},
1607 {-2800.16015625,374.880859375,6.3359375},
1608 {1144.279296875,-1765.66796875,13.612593650818},
1609 {1170.3505859375,-1862.4501953125,13.772918701172},
1610 {-2456.1337890625,504.0732421875,30.078125},
1611 {-2347.4150390625,495.97265625,30.641031265259},
1612 {1020.33984375,-1901.1484375,12.666422843933},
1613 {-2280.0615234375,654.4853515625,49.4453125},
1614 {984.8310546875,-1830.962890625,13.333910942078},
1615 {-2368.8896484375,711.55078125,35.17308807373},
1616 {960.322265625,-1823.7724609375,13.328245162964},
1617 {-2213.8408203125,720.77734375,49.40625},
1618 {-2168.5458984375,821.1298828125,64.973213195801},
1619 {791.4951171875,-1753.921875,13.443346977234},
1620 {768.275390625,-1745.72265625,13.077295303345},
1621 {718.2763671875,-1783.91015625,13.6328125},
1622 {572.25,-1765.8583984375,14.398722648621},
1623 {-2340.1103515625,796.7646484375,41.989013671875},
1624 {568.712890625,-1762.2470703125,5.8157567977905},
1625 {-2447.6240234375,821.5927734375,35.1796875},
1626 {-2541.2744140625,733.4091796875,28.056119918823},
1627 {-2661.5478515625,722.1953125,27.961761474609},
1628 {499.326171875,-1870.8916015625,4.6769704818726},
1629 {-2864.9677734375,681.51953125,23.460912704468},
1630 {674.787109375,-1867.716796875,5.4609375},
1631 {-2888.5,794.6943359375,35.03125},
1632 {-2868.1318359375,836.2431640625,39.5078125},
1633 {-2840.15234375,884.6396484375,44.0546875},
1634 {-2844.4931640625,921.5751953125,44.0546875},
1635 {399.6533203125,-2068.6455078125,10.745077133179},
1636 {-2866.0341796875,957.32421875,44.0546875},
1637 {400.513671875,-2065.7412109375,10.748622894287},
1638 {361.294921875,-2072.01171875,10.6953125},
1639 {-2907.2626953125,1026.990234375,36.828125},
1640 {-2900.716796875,1080.826171875,32.1328125},
1641 {-2905.2587890625,1171.9189453125,13.6640625},
1642 {314.0048828125,-1771.341796875,4.6501817703247},
1643 {290.4140625,-1764.025390625,4.546875},
1644 {171.2255859375,-1769.328125,4.4670028686523},
1645 {160.7001953125,-1766.35546875,6.796875},
1646 {-2738.3203125,746.625,49.189296722412},
1647 {-2738.578125,801.5126953125,53.0625},
1648 {-2651.9990234375,826.8935546875,49.984375},
1649 {-2687.60546875,803.1123046875,49.9765625},
1650 {-2652.7548828125,731.8720703125,27.957878112793},
1651 {-2656.0595703125,695.287109375,27.935955047607},
1652 {-2638.3505859375,728.234375,27.965827941895},
1653 {-2640.048828125,730.693359375,30.075717926025},
1654 {-2622.501953125,783.1640625,44.859375},
1655 {1780.7333984375,-1705.94140625,13.5234375},
1656 {1699.734375,-1665.74609375,20.205995559692},
1657 {-2620.67578125,855.5283203125,53.568695068359},
1658 {-2657.369140625,848.6103515625,64.0078125},
1659 {-2653.2548828125,851.5947265625,64.014892578125},
1660 {2018.19921875,-1703.623046875,14.234375},
1661 {-2580.666015625,920.36328125,64.984375},
1662 {-2542.490234375,943.21875,64.0},
1663 {-2511.763671875,1020.671875,77.212951660156},
1664 {-2572.8955078125,1155.013671875,55.734909057617},
1665 {-2523.896484375,1142.6962890625,55.7265625},
1666 {-2486.3193359375,1141.9541015625,55.7265625},
1667 {-2430.7255859375,1140.1650390625,55.7265625},
1668 {-2385.4306640625,1135.0029296875,55.7265625},
1669 {-2534.14453125,1150.4560546875,55.606960296631},
1670 {-2512.5712890625,1046.0087890625,65.512168884277},
1671 {-2576.6865234375,992.35546875,78.2734375},
1672 {-2648.087890625,952.1796875,71.959915161133},
1673 {-2641.10546875,935.6025390625,72.445816040039},
1674 {-2670.79296875,927.869140625,79.703125},
1675 {-2719.208984375,917.32421875,67.600875854492},
1676 {-2711.130859375,968.6748046875,54.4609375},
1677 {-2737.0263671875,846.4697265625,59.27278137207},
1678 {-2620.1806640625,833.017578125,52.09375},
1679 {-2593.2373046875,883.4677734375,63.25},
1680 {-2413.0849609375,920.875,45.495388031006},
1681 {-2369.90625,846.65234375,43.7890625},
1682 {-2370.494140625,770.8046875,35.045497894287},
1683 {-2309.7568359375,720.7900390625,49.4140625},
1684 {-1706.255859375,29.8837890625,3.5546875},
1685 {-2017.7783203125,331.3955078125,35.171875},
1686 {-2627.091796875,2319.1240234375,8.3104915618896},
1687 {-2627.53125,2310.21484375,8.3140296936035},
1688 {-2639.546875,2349.1591796875,8.4840850830078},
1689 {-2159.2314453125,753.7568359375,69.514846801758},
1690 {-2118.1787109375,795.80078125,69.568389892578},
1691 {-2056.2685546875,820.6025390625,60.074989318848},
1692 {-1947.0849609375,790.0537109375,55.724136352539},
1693 {-1956.5302734375,766.6357421875,55.725494384766},
1694 {-1986.2353515625,660.1337890625,46.568286895752},
1695 {-1917.0634765625,671.431640625,46.5625},
1696 {-2291.9345703125,2282.28125,4.9792766571045},
1697 {-1880.5390625,822.62890625,35.177783966064},
1698 {-1951.2939453125,883.7041015625,38.50732421875},
1699 {-1953.09765625,824.728515625,42.5234375},
1700 {-2046.8876953125,896.4609375,53.115028381348},
1701 {-2099.5439453125,897.380859375,76.7109375},
1702 {-2116.9609375,927.802734375,86.079063415527},
1703 {-2159.5185546875,983.771484375,80.0},
1704 {-2041.9365234375,1020.5859375,54.677085876465},
1705 {-2017.599609375,984.314453125,47.962516784668},
1706 {-2126.052734375,832.546875,69.5625},
1707 {-2223.42578125,795.779296875,49.434646606445},
1708 {-2285.2978515625,829.1748046875,57.170230865479},
1709 {-2234.142578125,888.5244140625,66.652717590332},
1710 {-2294.791015625,969.9736328125,65.334289550781},
1711 {-2333.3525390625,943.3544921875,53.981349945068},
1712 {-2448.248046875,972.8310546875,45.296875},
1713 {1097.2744140625,-1829.2568359375,16.59375},
1714 {-2351.78125,1226.12109375,33.065242767334},
1715 {-2383.1181640625,1262.92578125,26.330062866211},
1716 {-2383.13671875,1337.3291015625,12.704105377197},
1717 {-2433.76171875,1247.7568359375,33.543380737305},
1718 {-2477.1708984375,1287.291015625,22.71538734436},
1719 {-2433.0810546875,1338.123046875,8.5078125},
1720 {-2598.787109375,2357.36328125,9.8829956054688},
1721 {-2597.97265625,2364.6982421875,9.8829956054688},
1722 {-2624.841796875,1412.529296875,7.09375},
1723 {-2582.083984375,2300.3154296875,7.0028858184814},
1724 {-2582.58984375,2306.712890625,7.0028858184814},
1725 {945.75,-1742.5810546875,13.554628372192},
1726 {-2662.4541015625,1423.625,23.8984375},
1727 {-2473.466796875,2404.85546875,16.666370391846},
1728 {-2467.2998046875,2409.001953125,16.666431427002},
1729 {-2660.6474609375,1423.822265625,23.8984375},
1730 {-2558.138671875,2261.3583984375,5.0616064071655},
1731 {-2518.8916015625,2236.94140625,5.1875},
1732 {-2510.9248046875,1053.482421875,65.184410095215},
1733 {-2564.291015625,992.2587890625,78.2734375},
1734 {-2503.2177734375,2366.169921875,4.9801826477051},
1735 {-2655.0634765625,985.83203125,64.991287231445},
1736 {952.8359375,-1750.529296875,16.09974861145},
1737 {-2707.033203125,864.4609375,70.703125},
1738 {-2708.3837890625,852.9736328125,70.703125},
1739 {-2737.572265625,866.14453125,64.6328125},
1740 {1083.5673828125,-1697.2802734375,13.546875},
1741 {-2706.9921875,722.8583984375,37.5390625},
1742 {793.9755859375,-1700.279296875,14.033567428589},
1743 {-2428.388671875,2368.30078125,5.4436712265015},
1744 {794.951171875,-1687.7119140625,14.463310241699},
1745 {-2372.560546875,614.0341796875,30.939836502075},
1746 {782.015625,-1661.9453125,13.43461894989},
1747 {-2325.4052734375,579.8740234375,30.298212051392},
1748 {-2386.3583984375,2398.0888671875,8.8520927429199},
1749 {768.0849609375,-1702.7763671875,5.1507549285889},
1750 {-2217.0009765625,577.939453125,35.171875},
1751 {-2379.6025390625,2443.66796875,10.169355392456},
1752 {-2386.43359375,2446.5810546875,10.169355392456},
1753 {-2188.6455078125,602.9736328125,35.1640625},
1754 {-2193.0634765625,647.4208984375,49.4375},
1755 {-2472.556640625,2450.2431640625,17.323022842407},
1756 {-2478.9404296875,2449.1982421875,17.323022842407},
1757 {-2479.0146484375,2488.603515625,18.229986190796},
1758 {-2128.3837890625,619.0263671875,51.888767242432},
1759 {693.546875,-1698.849609375,3.8148174285889},
1760 {-2446.072265625,2513.0029296875,15.700329780579},
1761 {694.7978515625,-1686.05859375,4.3461227416992},
1762 {-2093.90234375,746.4248046875,69.5625},
1763 {-2066.4052734375,755.412109375,71.890625},
1764 {-2048.7001953125,755.439453125,64.15625},
1765 {653.0830078125,-1719.681640625,14.760129928589},
1766 {-2047.9453125,786.7783203125,64.15625},
1767 {-2066.3515625,786.7685546875,71.890625},
1768 {850.7080078125,-1688.8798828125,14.9397315979},
1769 {851.0283203125,-1718.9765625,14.945223808289},
1770 {-2018.3974609375,784.58203125,45.4453125},
1771 {-2188.8427734375,2412.421875,5.15625},
1772 {-2016.20703125,897.4267578125,45.4453125},
1773 {890.72265625,-1637.328125,14.9296875},
1774 {862.80078125,-1637.8037109375,14.942176818848},
1775 {-1851.595703125,988.52734375,35.373413085938},
1776 {936.6318359375,-1613.9462890625,14.951719284058},
1777 {961.986328125,-1612.642578125,14.942341804504},
1778 {-1874.517578125,1002.9794921875,37.778400421143},
1779 {986.544921875,-1623.6884765625,14.9296875},
1780 {-1589.71875,2706.115234375,56.176181793213},
1781 {-1988.4599609375,1038.865234375,55.7265625},
1782 {-1603.8671875,2689.3701171875,55.285556793213},
1783 {982.1689453125,-1702.234375,14.964391708374},
1784 {-1550.9228515625,2699.6728515625,56.269931793213},
1785 {-2113.25390625,1042.162109375,71.52188873291},
1786 {-1569.30078125,2629.9853515625,55.840278625488},
1787 {954.8623046875,-1586.669921875,13.546875},
1788 {982.9990234375,-1613.4287109375,13.517053604126},
1789 {-2140.29296875,1190.37890625,55.7265625},
1790 {-1670.7763671875,2545.4189453125,85.322410583496},
1791 {-2065.986328125,1159.828125,46.6484375},
1792 {-1667.3193359375,2486.291015625,87.172271728516},
1793 {-2036.5498046875,1197.66015625,46.234375},
1794 {-1939.35546875,1227.6513671875,31.647394180298},
1795 {-2061.77734375,1232.759765625,31.436279296875},
1796 {-1482.40625,2702.3271484375,56.254306793213},
1797 {-1466.345703125,2692.7568359375,56.269931793213},
1798 {-1450.88671875,2690.876953125,56.176181793213},
1799 {-2152.6787109375,1248.7138671875,25.723867416382},
1800 {-2280.8388671875,1149.1005859375,61.609375},
1801 {-2238.50390625,1135.62890625,67.244506835938},
1802 {-2282.4140625,1070.03515625,81.70255279541},
1803 {-2239.7451171875,1037.275390625,83.849937438965},
1804 {-2238.796875,962.17578125,66.652183532715},
1805 {1182.35546875,-1635.0908203125,13.953125},
1806 {1165.14453125,-1648.408203125,14.0},
1807 {1208.0810546875,-1644.49609375,13.551703453064},
1808 {1230.158203125,-1610.78125,13.546875},
1809 {1286.142578125,-1583.453125,13.546875},
1810 {-2282.498046875,916.9443359375,66.6484375},
1811 {1258.1455078125,-1583.8603515625,13.546875},
1812 {1241.8994140625,-1582.005859375,13.487106323242},
1813 {-2210.7080078125,934.3779296875,69.044372558594},
1814 {1216.8056640625,-1582.8935546875,13.546875},
1815 {1184.6748046875,-1583.1826171875,13.553085327148},
1816 {-2174.1484375,902.669921875,80.0078125},
1817 {-2126.4375,1050.2275390625,80.0078125},
1818 {-2190.4404296875,1080.2470703125,80.0078125},
1819 {-2197.0576171875,1065.8515625,55.851322174072},
1820 {-1989.88671875,1118.2568359375,54.46875},
1821 {-1992.2333984375,1109.5595703125,53.215702056885},
1822 {1286.8515625,-1625.6796875,13.546875},
1823 {-1848.119140625,1082.5380859375,46.082084655762},
1824 {1213.7568359375,-1638.6787109375,11.796875},
1825 {-1836.1298828125,1054.5283203125,46.078125},
1826 {1215.1533203125,-1676.26953125,11.796875},
1827 {1215.4697265625,-1671.5966796875,11.796875},
1828 {1265.119140625,-1676.375,13.546875},
1829 {-1780.2353515625,1025.720703125,25.313758850098},
1830 {-1806.322265625,979.560546875,24.890625},
1831 {-1715.82421875,1017.95703125,17.917835235596},
1832 {-1707.888671875,1018.419921875,17.917835235596},
1833 {-1758.0185546875,963.916015625,24.897708892822},
1834 {-1750.4970703125,964.119140625,24.890625},
1835 {-1749.173828125,900.390625,25.0859375},
1836 {-1810.5966796875,902.7138671875,24.996131896973},
1837 {-1319.9130859375,2704.384765625,50.26628112793},
1838 {-1697.5947265625,885.3671875,25.085273742676},
1839 {-1694.443359375,951.7783203125,24.890625},
1840 {-1701.66015625,1083.7275390625,45.364379882812},
1841 {-1445.013671875,2652.4765625,56.269931793213},
1842 {-1685.2197265625,1042.7490234375,54.703125},
1843 {-1692.5009765625,1041.966796875,56.90625},
1844 {-1459.5888671875,2653.4716796875,55.8359375},
1845 {-1445.625,2636.2998046875,56.254306793213},
1846 {-1429.990234375,2583.6455078125,56.887584686279},
1847 {-1728.296875,1138.4921875,38.603340148926},
1848 {-1658.23046875,1208.2958984375,7.25},
1849 {-1657.8486328125,1206.876953125,13.671875},
1850 {-1683.8203125,1209.6943359375,21.15625},
1851 {-1651.9228515625,1203.73046875,13.671875},
1852 {-1549.92578125,1169.955078125,7.1875},
1853 {-1518.9580078125,1143.3271484375,7.1875},
1854 {-1519.568359375,2609.55859375,55.8359375},
1855 {-1466.28125,2610.453125,55.8359375},
1856 {-1681.125,1350.302734375,7.1721897125244},
1857 {-1677.6015625,1353.677734375,9.8046875},
1858 {-1663.9833984375,1406.296875,7.1796875},
1859 {-1629.1533203125,1388.310546875,7.1875},
1860 {-1670.7919921875,1339.8427734375,7.1875},
1861 {-1653.3564453125,1354.69921875,7.1859359741211},
1862 {-1513.2900390625,2645.880859375,56.176181793213},
1863 {-1783.3994140625,1537.8251953125,7.1875},
1864 {-1891.443359375,1447.9384765625,7.1848773956299},
1865 {-1956.7509765625,1345.25390625,7.1875},
1866 {-1929.7412109375,1374.978515625,7.1875},
1867 {-2043.798828125,1261.5126953125,9.1895523071289},
1868 {-1294.099609375,2524.6044921875,87.476791381836},
1869 {-1292.0693359375,2514.833984375,87.092361450195},
1870 {-1321.5791015625,2506.8232421875,89.5703125},
1871 {-1883.720703125,1299.7607421875,7.1796875},
1872 {-1844.009765625,1332.70703125,7.1796875},
1873 {-1798.103515625,1341.697265625,7.1796875},
1874 {-1756.755859375,1320.3828125,7.1875},
1875 {-1305.3330078125,2547.935546875,90.328125},
1876 {-1739.32421875,1304.216796875,7.1875},
1877 {-1711.357421875,1231.705078125,17.923469543457},
1878 {-1901.9736328125,1239.8623046875,26.131290435791},
1879 {-1643.0888671875,1172.935546875,7.1875},
1880 {-1774.6650390625,1113.638671875,45.4453125},
1881 {-1799.974609375,1206.595703125,25.125},
1882 {-1852.4931640625,1162.2333984375,40.940418243408},
1883 {-1901.9619140625,1222.646484375,33.744285583496},
1884 {-1929.982421875,1190.52734375,45.4453125},
1885 {-1997.3837890625,1190.546875,45.4453125},
1886 {-2189.0498046875,1163.9794921875,55.7265625},
1887 {-2238.091796875,1190.7646484375,55.725227355957},
1888 {-2238.314453125,1154.1728515625,59.692321777344},
1889 {-2297.9453125,1096.3759765625,79.853385925293},
1890 {-2281.9619140625,979.47265625,70.926986694336},
1891 {-2238.888671875,944.02734375,66.652183532715},
1892 {-2168.71875,743.857421875,64.96125793457},
1893 {-2128.3828125,690.29296875,65.523544311523},
1894 {-2279.830078125,587.888671875,37.236404418945},
1895 {-2339.8828125,679.787109375,38.392864227295},
1896 {-2158.6142578125,888.83203125,80.0078125},
1897 {-2129.673828125,943.015625,80.0},
1898 {-2124.7880859375,1104.759765625,79.541061401367},
1899 {-2054.5107421875,1194.177734375,45.457427978516},
1900 {-1828.90234375,1338.880859375,7.1796875},
1901 {-1693.0576171875,1249.966796875,7.189022064209},
1902 {2744.8359375,-2014.96875,13.5546875},
1903 {2801.4306640625,-1947.8447265625,17.3203125},
1904 {2763.845703125,-1823.1318359375,11.846822738647},
1905 {2804.529296875,-1774.9765625,11.84375},
1906 {2795.94140625,-1723.66796875,11.84375},
1907 {2674.6962890625,-1787.2060546875,11.84375},
1908 {2813.078125,-1644.232421875,10.883123397827},
1909 {2811.95703125,-1637.833984375,10.94800567627},
1910 {2821.515625,-1603.890625,11.084532737732},
1911 {2852.095703125,-1523.9375,11.153960227966},
1912 {2795.5498046875,-1539.826171875,10.921875},
1913 {2757.943359375,-1515.923828125,28.598701477051},
1914 {2683.8037109375,-1540.4609375,26.087358474731},
1915 {2668.0068359375,-1457.427734375,30.540340423584},
1916 {2764.3232421875,-1476.1640625,30.453125},
1917 {2751.1396484375,-1421.7392578125,32.046253204346},
1918 {2753.732421875,-1419.1005859375,39.3664894104},
1919 {2754.2275390625,-1384.1318359375,39.372711181641},
1920 {2773.6650390625,-1402.2998046875,24.7421875},
1921 {2710.2939453125,-1421.623046875,16.25},
1922 {2862.7451171875,-1441.4228515625,10.942241668701},
1923 {2792.15625,-1465.6298828125,40.0625},
1924 {2818.7421875,-1466.765625,32.125},
1925 {2794.216796875,-1427.798828125,20.21875},
1926 {2613.7705078125,-1394.43359375,34.931190490723},
1927 {2592.8203125,-1324.166015625,39.12483215332},
1928 {2590.294921875,-1321.5458984375,39.894317626953},
1929 {2752.2744140625,-1324.013671875,50.0},
1930 {2755.447265625,-1301.8134765625,53.09375},
1931 {2812.46875,-1287.7197265625,42.216262817383},
1932 {2780.1640625,-1289.623046875,42.632743835449},
1933 {2783.5634765625,-1333.5498046875,32.258140563965},
1934 {2812.142578125,-1332.0810546875,32.207908630371},
1935 {2778.802734375,-1365.7109375,24.604793548584},
1936 {2807.5556640625,-1369.9189453125,23.417491912842},
1937 {2853.2119140625,-1366.115234375,14.1640625},
1938 {2842.33984375,-1336.2236328125,14.742118835449},
1939 {2847.8857421875,-1309.1572265625,14.790662765503},
1940 {2809.2177734375,-1189.091796875,25.317050933838},
1941 {2807.9443359375,-1177.3212890625,25.378120422363},
1942 {2820.58203125,-1160.361328125,25.341686248779},
1943 {2793.703125,-1082.28125,30.71875},
1944 {2666.2001953125,-1107.6357421875,69.400970458984},
1945 {2629.4951171875,-1068.3662109375,69.617057800293},
1946 {2612.2919921875,-1081.6611328125,69.597839355469},
1947 {2610.4111328125,-1096.9375,69.514892578125},
1948 {2626.513671875,-1098.6513671875,69.367218017578},
1949 {2621.3955078125,-1119.2119140625,67.545845031738},
1950 {2614.283203125,-1202.2919921875,60.0},
1951 {2608.5859375,-1207.875,59.0703125},
1952 {2608.1591796875,-1216.6357421875,56.762214660645},
1953 {2614.6767578125,-1239.6708984375,49.786777496338},
1954 {2698.8125,-1202.8974609375,67.981636047363},
1955 {2692.04296875,-1224.041015625,61.467155456543},
1956 {2672.2861328125,-1237.6181640625,55.769592285156},
1957 {2661.802734375,-1216.6318359375,62.057613372803},
1958 {2588.4580078125,-975.6484375,81.391235351562},
1959 {2582.697265625,-953.837890625,81.387008666992},
1960 {2529.14453125,-963.65234375,82.363723754883},
1961 {2499.455078125,-948.7939453125,82.267784118652},
1962 {2472.3134765625,-964.630859375,80.138618469238},
1963 {2454.17578125,-964.7099609375,80.073120117188},
1964 {2579.7705078125,-1033.521484375,69.580101013184},
1965 {2561.263671875,-1034.2744140625,69.575614929199},
1966 {2527.078125,-1060.8125,69.567825317383},
1967 {2513.33984375,-1027.87890625,70.0859375},
1968 {2505.1318359375,-1020.552734375,70.0859375},
1969 {2478.220703125,-1062.4609375,66.8359375},
1970 {2468.0244140625,-1011.853515625,59.7734375},
1971 {2433.9296875,-1012.8134765625,54.34375},
1972 {2389.9501953125,-1037.375,53.564434051514},
1973 {2370.0009765625,-1035.58984375,54.410556793213},
1974 {2335.3798828125,-1045.0556640625,52.358196258545},
1975 {2298.2197265625,-1054.1796875,49.933994293213},
1976 {2256.8583984375,-1069.4482421875,49.4765625},
1977 {2258.994140625,-1029.8837890625,52.679298400879},
1978 {2267.07421875,-1031.421875,59.294151306152},
1979 {2219.318359375,-1046.7607421875,57.662059783936},
1980 {2249.68359375,-1059.6806640625,55.96875},
1981 {2206.556640625,-988.3662109375,63.9296875},
1982 {2188.3203125,-998.0244140625,62.840515136719},
1983 {2185.7216796875,-997.8642578125,66.46875},
1984 {2176.5703125,-982.5595703125,64.46875},
1985 {2142.8916015625,-978.728515625,61.379306793213},
1986 {2121.9423828125,-971.0498046875,58.207431793213},
1987 {2109.0263671875,-1000.4287109375,60.5078125},
1988 {2066.3505859375,-991.0703125,48.799369812012},
1989 {2056.2587890625,-967.2822265625,46.027828216553},
1990 {2040.896484375,-1014.2470703125,39.7421875},
1991 {2571.443359375,-1091.830078125,67.225723266602},
1992 {2519.7060546875,-1114.5751953125,56.207511901855},
1993 {2453.134765625,-1107.65234375,43.388641357422},
1994 {2438.5380859375,-1104.8828125,42.751155853271},
1995 {2374.568359375,-1138.94921875,29.058792114258},
1996 {2396.5009765625,-1133.5830078125,30.71875},
1997 {2510.5693359375,-1129.529296875,41.127861022949},
1998 {2285.7451171875,-1102.5478515625,37.9765625},
1999 {2249.259765625,-1103.6142578125,41.6015625},
2000 {2187.4267578125,-1082.453125,43.842967987061},
2001 {2219.8798828125,-1082.4580078125,41.630508422852},
2002 {2202.345703125,-1056.236328125,47.107879638672},
2003 {2157.119140625,-1070.9384765625,39.950454711914},
2004 {2138.20703125,-1072.9228515625,27.270616531372},
2005 {2116.7734375,-1049.60546875,26.367670059204},
2006 {2054.30859375,-1067.548828125,25.783622741699},
2007 {2039.37109375,-1061.7158203125,25.650810241699},
2008 {1892.412109375,-1068.2373046875,23.9375},
2009 {1916.2900390625,-1072.822265625,24.253681182861},
2010 {1938.0576171875,-1068.0625,24.418003082275},
2011 {1958.0791015625,-1076.9267578125,24.796701431274},
2012 {1958.7119140625,-1116.0625,27.830497741699},
2013 {1945.291015625,-1116.25,27.447629928589},
2014 {1925.37890625,-1114.482421875,27.088310241699},
2015 {1888.9873046875,-1112.984375,26.275810241699},
2016 {1998.02734375,-1114.7236328125,26.773735046387},
2017 {2004.1845703125,-1115.0048828125,27.125},
2018 {2029.408203125,-1121.5654296875,26.416379928589},
2019 {2045.119140625,-1111.8828125,26.361747741699},
2020 {2094.2353515625,-1125.69921875,27.689872741699},
2021 {2090.580078125,-1163.9970703125,26.588254928589},
2022 {2090.44921875,-1233.9052734375,25.477380752563},
2023 {2107.2646484375,-1250.5537109375,25.48588180542},
2024 {2133.24609375,-1232.818359375,24.421875},
2025 {2151.2109375,-1285.6005859375,24.19647026062},
2026 {2094.416015625,-1275.6552734375,25.497339248657},
2027 {2096.490234375,-1277.3701171875,25.49262046814},
2028 {2100.8515625,-1321.87109375,25.953125},
2029 {2122.5712890625,-1321.7568359375,26.626171112061},
2030 {2113.5283203125,-1358.5498046875,23.984375},
2031 {2130.3740234375,-1362.748046875,25.546340942383},
2032 {2146.8779296875,-1366.91015625,25.64178276062},
2033 {2187.9775390625,-1364.3330078125,25.82928276062},
2034 {2206.30078125,-1364.052734375,25.672866821289},
2035 {2253.5390625,-1364.14453125,24.53125},
2036 {2232.71484375,-1280.1455078125,25.3671875},
2037 {2191.7138671875,-1275.6845703125,25.15625},
2038 {2191.189453125,-1238.0439453125,23.9765625},
2039 {2229.7109375,-1241.53125,25.65625},
2040 {2250.3671875,-1238.8798828125,25.8984375},
2041 {2232.4921875,-1177.318359375,29.804386138916},
2042 {2352.0947265625,-1180.208984375,27.975339889526},
2043 {2337.216796875,-1234.009765625,27.9765625},
2044 {2349.7744140625,-1281.587890625,27.9765625},
2045 {2383.3935546875,-1367.8515625,24.491352081299},
2046 {2402.79296875,-1329.9208984375,25.403764724731},
2047 {2388.138671875,-1279.7783203125,25.129104614258},
2048 {2420.884765625,-1220.4638671875,25.485147476196},
2049 {2435.2666015625,-1289.1884765625,25.347854614258},
2050 {2435.7802734375,-1321.3994140625,24.779174804688},
2051 {2467.21484375,-1412.640625,23.75},
2052 {2466.9775390625,-1425.2802734375,23.75},
2053 {2464.0390625,-1317.8935546875,27.390625},
2054 {2480.41015625,-1329.8525390625,28.292972564697},
2055 {2469.0625,-1277.4130859375,30.366352081299},
2056 {2502.1044921875,-1324.89453125,33.429763793945},
2057 {2496.0166015625,-1390.96875,28.839567184448},
2058 {2475.9150390625,-1400.0908203125,28.834657669067},
2059 {2495.916015625,-1431.7099609375,29.016227722168},
2060 {2492.173828125,-1240.556640625,37.361846923828},
2061 {2515.2861328125,-1242.2958984375,39.022338867188},
2062 {2529.9462890625,-1244.068359375,43.65625},
2063 {2550.12890625,-1234.271484375,49.001361846924},
2064 {2557.572265625,-1210.79296875,54.53125},
2065 {2528.0341796875,-1209.48828125,50.28125},
2066 {2537.396484375,-1362.9814453125,30.457332611084},
2067 {2015.623046875,-1289.8779296875,23.984375},
2068 {2002.3154296875,-1309.7451171875,25.222122192383},
2069 {2158.673828125,-1489.306640625,26.654174804688},
2070 {2148.6591796875,-1485.41015625,26.623416900635},
2071 {2149.6455078125,-1432.9677734375,26.018363952637},
2072 {2150.353515625,-1419.4072265625,25.921875},
2073 {2151.1083984375,-1400.7060546875,26.128503799438},
2074 {2188.5517578125,-1417.90234375,26.15625},
2075 {2191.66015625,-1455.3330078125,25.740631103516},
2076 {2190.3427734375,-1488.7939453125,25.77459526062},
2077 {2232.7568359375,-1469.3779296875,24.581628799438},
2078 {2248.591796875,-1469.337890625,24.149597167969},
2079 {-1371.396484375,2053.23046875,52.515625},
2080 {-1426.8818359375,2171.048828125,50.625},
2081 {2245.6708984375,-1396.880859375,24.0},
2082 {-1503.2607421875,1978.3623046875,48.421875},
2083 {2352.00390625,-1412.2373046875,23.992404937744},
2084 {-1500.2109375,1960.158203125,49.0234375},
2085 {2414.0576171875,-1424.5029296875,23.982444763184},
2086 {2508.5029296875,-1493.6025390625,23.998546600342},
2087 {1797.8603515625,-1578.8251953125,14.090040206909},
2088 {-2471.451171875,1537.7080078125,33.234375},
2089 {-2477.275390625,1550.2998046875,33.234375},
2090 {1787.0849609375,-1638.8837890625,14.469971656799},
2091 {1772.720703125,-1658.798828125,14.42511177063},
2092 {1739.966796875,-1562.626953125,14.162391662598},
2093 {1771.6943359375,-1548.0390625,9.9088573455811},
2094 {1910.2412109375,-1911.9130859375,15.256797790527},
2095 {1937.435546875,-1907.333984375,15.256797790527},
2096 {-1049.486328125,1550.572265625,33.437610626221},
2097 {-782.046875,1557.677734375,27.1171875},
2098 {-797.072265625,1557.283203125,27.124444961548},
2099 {-734.2724609375,1547.3525390625,38.979309082031},
2100 {-732.8095703125,1539.7578125,40.473579406738},
2101 {-731.419921875,1535.5341796875,40.236835479736},
2102 {-771.595703125,1447.5087890625,13.9453125},
2103 {-811.673828125,1420.900390625,13.9453125},
2104 {-810.2216796875,1469.8037109375,19.22875213623},
2105 {-828.146484375,1463.216796875,14.657393455505},
2106 {-792.99609375,1627.375,27.15625},
2107 {-636.259765625,1445.943359375,13.996495246887},
2108 {-692.5068359375,960.24609375,12.220783233643},
2109 {-671.8203125,960.7392578125,12.1328125},
2110 {-671.74609375,970.9345703125,12.1328125},
2111 {-690.490234375,970.71484375,12.201937675476},
2112 {-690.787109375,939.44921875,13.6328125},
2113 {-685.3828125,941.7919921875,13.6328125},
2114 {-683.9716796875,932.15234375,13.6328125},
2115 {2139.546875,-1733.9208984375,17.2890625},
2116 {2155.958984375,-1733.3662109375,17.281345367432},
2117 {-825.3759765625,1823.8203125,7.0000076293945},
2118 {-608.0703125,1831.8974609375,7.0},
2119 {2147.3056640625,-1819.6796875,16.140625},
2120 {2149.7861328125,-1803.84375,16.153861999512},
2121 {2247.59375,-1795.16015625,13.546875},
2122 {2275.5673828125,-1788.400390625,13.546875},
2123 {-782.9736328125,2147.8447265625,60.3828125},
2124 {2345.359375,-1786.2158203125,13.546875},
2125 {-651.427734375,2153.4443359375,60.3828125},
2126 {2379.650390625,-1784.9951171875,13.546875},
2127 {-793.5537109375,2264.93359375,59.100883483887},
2128 {2466.4453125,-1753.0693359375,13.546875},
2129 {-663.0322265625,2306.0810546875,136.09428405762},
2130 {-662.6083984375,2313.619140625,138.81950378418},
2131 {2500.8662109375,-1759.8662109375,13.546875},
2132 {-774.6181640625,2424.9140625,157.10360717773},
2133 {2538.751953125,-1719.2490234375,13.526076316833},
2134 {-808.076171875,2430.5830078125,156.99356079102},
2135 {2522.9404296875,-1682.7685546875,15.496999740601},
2136 {-911.59375,2672.43359375,42.370262145996},
2137 {-902.7744140625,2695.4619140625,42.370262145996},
2138 {2524.705078125,-1656.3564453125,15.493547439575},
2139 {-853.1787109375,2760.3349609375,46.0},
2140 {2514.1962890625,-1650.8193359375,14.355666160583},
2141 {-766.888671875,2765.2216796875,48.255599975586},
2142 {-782.57421875,2748.8935546875,45.659553527832},
2143 {-672.880859375,2706.0185546875,70.663284301758},
2144 {2487.62890625,-1697.6142578125,14.765625},
2145 {2491.6435546875,-1693.2373046875,14.765625},
2146 {2531.4970703125,-1665.455078125,15.16725730896},
2147 {2468.0302734375,-1646.470703125,13.780097007751},
2148 {2451.390625,-1641.7041015625,13.735734939575},
2149 {2412.51953125,-1647.005859375,14.011916160583},
2150 {2384.474609375,-1675.0712890625,14.712868690491},
2151 {2361.5029296875,-1644.130859375,13.523147583008},
2152 {-429.1455078125,2240.5068359375,42.983383178711},
2153 {2327.875,-1682.1748046875,14.917343139648},
2154 {2386.7802734375,-1711.8505859375,14.2421875},
2155 {2307.36328125,-1714.5009765625,14.64959526062},
2156 {-325.0166015625,1852.556640625,42.5078125},
2157 {2228.5361328125,-1721.3740234375,13.561138153076},
2158 {2246.7861328125,-1638.5419921875,15.90740776062},
2159 {2282.8603515625,-1642.0654296875,15.627917289734},
2160 {2305.06640625,-1678.7060546875,14.00115776062},
2161 {2383.8291015625,-1547.9697265625,24.156600952148},
2162 {-310.302734375,1303.041015625,53.664344787598},
2163 {2420.89453125,-1508.4912109375,24.0},
2164 {2459.216796875,-1491.982421875,24.0},
2165 {2451.615234375,-1492.8115234375,24.0},
2166 {-323.1240234375,2676.1044921875,63.6796875},
2167 {-227.2724609375,2711.2919921875,62.9765625},
2168 {-155.6328125,2759.0146484375,62.635894775391},
2169 {-160.4794921875,2727.9775390625,62.177940368652},
2170 {-169.2509765625,2707.455078125,62.540195465088},
2171 {-254.1103515625,2604.5302734375,62.858154296875},
2172 {-258.181640625,2781.6416015625,62.6875},
2173 {-36.5,2349.927734375,24.302555084229},
2174 {81.0498046875,2451.48828125,16.484375},
2175 {263.4287109375,2895.767578125,10.531394958496},
2176 {382.361328125,2607.267578125,16.484375},
2177 {2179.9990234375,-1661.2490234375,14.909368515015},
2178 {2127.7861328125,-1687.8515625,15.0859375},
2179 {153.814453125,-1958.794921875,3.7734375},
2180 {2066.8984375,-1657.2578125,14.096161842346},
2181 {2067.7373046875,-1642.2138671875,13.805846214294},
2182 {2068.134765625,-1628.8974609375,13.87615776062},
2183 {2068.2138671875,-1588.6298828125,13.490336418152},
2184 {2079.0244140625,-1554.759765625,13.402491569519},
2185 {2064.576171875,-1558.9169921875,13.439072608948},
2186 {415.11328125,2531.3271484375,19.168476104736},
2187 {428.2197265625,2545.3662109375,16.249221801758},
2188 {424.1630859375,2536.3037109375,16.1484375},
2189 {2017.533203125,-1630.0791015625,13.712096214294},
2190 {2016.3212890625,-1643.41796875,13.78240776062},
2191 {2018.220703125,-1704.8896484375,14.234375},
2192 {2015.3154296875,-1734.177734375,14.234375},
2193 {1977.828125,-1714.75390625,17.037658691406},
2194 {1973.5517578125,-1705.60546875,15.96875},
2195 {1975.056640625,-1678.78125,17.071880340576},
2196 {1973.3056640625,-1654.69140625,15.96875},
2197 {1974.6650390625,-1635.400390625,15.96875},
2198 {1974.9912109375,-1633.9052734375,18.568988800049},
2199 {1965.04296875,-1592.8447265625,13.572462081909},
2200 {394.4560546875,2680.8642578125,59.156536102295},
2201 {1973.955078125,-1561.2412109375,13.637348175049},
2202 {91.025390625,2707.1669921875,53.903339385986},
2203 {537.755859375,2364.4638671875,30.674282073975},
2204 {546.197265625,2277.400390625,34.860118865967},
2205 {-126.1220703125,2255.048828125,28.151527404785},
2206 {202.328125,1873.291015625,13.140625},
2207 {-85.0,1516.830078125,15.561989784241},
2208 {20.6728515625,1344.7451171875,9.171875},
2209 {7.41015625,1382.4853515625,9.1781387329102},
2210 {-21.0107421875,1389.525390625,9.171875},
2211 {1863.1865234375,-1597.7900390625,14.306245803833},
2212 {1866.560546875,-1598.0615234375,14.26363658905},
2213 {1752.416015625,-1473.1533203125,13.509583473206},
2214 {1739.8955078125,-1460.642578125,13.504856109619},
2215 {4.1708984375,1346.287109375,9.171875},
2216 {1594.4052734375,-1560.1611328125,14.165175437927},
2217 {1576.7822265625,-1470.3623046875,14.23811340332},
2218 {541.8642578125,1556.9052734375,1.0},
2219 {613.3564453125,1548.4521484375,4.7992935180664},
2220 {708.8984375,1600.005859375,4.0251665115356},
2221 {666.9912109375,1701.642578125,7.1948890686035},
2222 {693.7490234375,1966.4921875,5.5390625},
2223 {700.498046875,1992.796875,5.53125},
2224 {710.4248046875,1983.1796875,3.468513250351},
2225 {709.40625,1208.09765625,13.848057746887},
2226 {710.3564453125,1192.966796875,13.396438598633},
2227 {501.6162109375,1116.044921875,15.035557746887},
2228 {397.8681640625,1159.357421875,8.3480567932129},
2229 {110.7041015625,1105.08203125,13.609375},
2230 {23.259765625,969.015625,19.800422668457},
2231 {-2.3349609375,953.7919921875,19.638710021973},
2232 {-54.3759765625,894.7314453125,22.387119293213},
2233 {-124.6806640625,918.572265625,19.909372329712},
2234 {17.3505859375,910.84375,23.849599838257},
2235 {32.33984375,921.3662109375,23.600179672241},
2236 {69.9091796875,973.13671875,15.86469078064},
2237 {-93.052734375,971.3857421875,19.942081451416},
2238 {-220.8310546875,988.787109375,19.638097763062},
2239 {-180.0888671875,1087.79296875,19.7421875},
2240 {-206.7109375,1087.46875,19.7421875},
2241 {-186.92578125,1210.0517578125,19.687629699707},
2242 {-143.953125,1224.33984375,19.899219512939},
2243 {-66.1025390625,1210.26171875,22.436527252197},
2244 {-28.69921875,1215.2255859375,22.464834213257},
2245 {14.1279296875,1181.6396484375,19.430858612061},
2246 {-19.083984375,1176.1220703125,19.563381195068},
2247 {-93.0234375,1159.0849609375,19.7421875},
2248 {-107.236328125,1138.9287109375,19.7421875},
2249 {-101.1640625,1109.240234375,19.7421875},
2250 {8.625,1069.8984375,20.939865112305},
2251 {-30.1484375,1045.8837890625,20.939867019653},
2252 {-251.4169921875,1050.0458984375,20.939863204956},
2253 {-304.2783203125,1120.6806640625,19.7421875},
2254 {-328.810546875,1119.837890625,20.939863204956},
2255 {-362.8330078125,1110.7998046875,20.939865112305},
2256 {-360.1904296875,1139.310546875,20.939867019653},
2257 {-369.44140625,1168.9306640625,20.27187538147},
2258 {-362.171875,1191.5791015625,19.7421875},
2259 {-220.6748046875,1173.96875,19.7421875},
2260 {-207.5810546875,1118.9912109375,20.4296875},
2261 {-319.3681640625,818.01171875,14.421697616577},
2262 {-453.0341796875,616.1943359375,16.815383911133},
2263 {322.958984375,854.0498046875,20.40625},
2264 {585.5908203125,875.73046875,-42.497318267822},
2265 {713.50390625,908.9951171875,-18.846324920654},
2266 {771.978515625,1883.607421875,4.9840874671936},
2267 {754.4326171875,1972.8193359375,5.69961977005},
2268 {792.923828125,1991.4208984375,5.79336977005},
2269 {765.0244140625,2006.4072265625,6.06680727005},
2270 {2680.8095703125,868.7412109375,10.939546585083},
2271 {2678.880859375,826.673828125,10.954463005066},
2272 {2660.4013671875,748.0615234375,14.739588737488},
2273 {2654.783203125,717.2900390625,14.739588737488},
2274 {2576.2353515625,714.0361328125,14.739588737488},
2275 {2534.853515625,747.3837890625,10.8203125},
2276 {2463.8046875,735.083984375,11.4609375},
2277 {2465.0029296875,658.095703125,11.359375},
2278 {2398.5517578125,672.3798828125,11.359375},
2279 {2370.3544921875,676.943359375,11.460479736328},
2280 {2328.849609375,663.1591796875,11.453125},
2281 {2308.1220703125,676.271484375,11.3836145401},
2282 {2350.1416015625,734.55078125,11.468292236328},
2283 {2369.521484375,749.2099609375,11.4609375},
2284 {2386.4169921875,741.9736328125,11.359375},
2285 {2260.9580078125,733.603515625,11.4609375},
2286 {2226.6640625,748.1552734375,11.4609375},
2287 {2200.6630859375,751.095703125,11.183270454407},
2288 {2178.9306640625,758.9052734375,11.4609375},
2289 {2181.12109375,695.744140625,11.27140045166},
2290 {2227.818359375,654.0703125,11.4609375},
2291 {2320.6142578125,654.0341796875,11.453125},
2292 {2247.3857421875,584.5341796875,7.78125},
2293 {2179.01953125,654.4892578125,11.4609375},
2294 {2131.1708984375,650.080078125,11.4609375},
2295 {2106.2626953125,698.9853515625,11.366704940796},
2296 {2086.5830078125,715.8388671875,11.789765357971},
2297 {2047.3916015625,772.5830078125,11.453125},
2298 {2128.9189453125,789.8076171875,11.34375},
2299 {2010.998046875,707.5966796875,11.4609375},
2300 {2013.3037109375,652.1025390625,11.4609375},
2301 {2043.3115234375,638.1796875,11.4609375},
2302 {1955.9228515625,737.7890625,14.281055450439},
2303 {1898.140625,736.6279296875,14.2734375},
2304 {1899.2177734375,679.806640625,14.2734375},
2305 {1924.142578125,665.4296875,10.8203125},
2306 {1936.244140625,663.978515625,10.8203125},
2307 {1951.5908203125,671.6162109375,10.8203125},
2308 {1846.5576171875,691.26171875,11.453125},
2309 {1844.888671875,654.7294921875,11.4609375},
2310 {1453.822265625,749.66796875,11.0234375},
2311 {1532.0380859375,752.9267578125,11.0234375},
2312 {1544.1845703125,676.5625,11.328125},
2313 {1093.51953125,996.80078125,11.0},
2314 {1020.4912109375,1056.2265625,11.0},
2315 {1163.0771484375,1342.119140625,10.812517166138},
2316 {1165.5888671875,1348.1884765625,10.921875},
2317 {1174.2158203125,1349.439453125,10.921875},
2318 {1123.162109375,1463.23046875,5.8203125},
2319 {1090.80078125,1456.6982421875,5.8203125},
2320 {1070.638671875,1594.9052734375,5.8203125},
2321 {1105.337890625,1601.8115234375,5.8203125},
2322 {1110.5263671875,1598.626953125,12.546875},
2323 {1087.4208984375,1597.8759765625,12.546875},
2324 {963.994140625,1792.7421875,8.8515625},
2325 {1034.919921875,1840.5966796875,11.468292236328},
2326 {971.103515625,1887.0078125,11.468292236328},
2327 {937.068359375,1920.517578125,11.468292236328},
2328 {971.0712890625,1977.146484375,11.468292236328},
2329 {1027.81640625,1926.576171875,11.468292236328},
2330 {1021.2802734375,1972.55078125,11.163819313049},
2331 {1025.3779296875,2026.5234375,11.347480773926},
2332 {957.7919921875,2256.5654296875,11.3671875},
2333 {986.890625,2272.4775390625,11.4609375},
2334 {987.044921875,2312.845703125,11.4609375},
2335 {970.8828125,2350.4130859375,11.46875},
2336 {1225.7939453125,2616.9736328125,10.8203125},
2337 {1265.474609375,2608.0849609375,10.8203125},
2338 {1276.072265625,2522.248046875,10.8203125},
2339 {1328.9736328125,2521.4775390625,10.826429367065},
2340 {1325.2548828125,2568.6103515625,10.8203125},
2341 {1344.6630859375,2608.3330078125,10.8203125},
2342 {1412.0693359375,2577.4931640625,10.826509475708},
2343 {1451.1142578125,2567.16796875,10.8203125},
2344 {1503.6923828125,2570.044921875,10.8203125},
2345 {1515.609375,2607.4580078125,10.8203125},
2346 {1551.619140625,2567.365234375,10.8203125},
2347 {1596.6640625,2568.2353515625,10.8203125},
2348 {1623.4375,2570.0888671875,10.8203125},
2349 {1556.6337890625,2661.298828125,10.8203125},
2350 {1573.2255859375,2661.7197265625,10.8203125},
2351 {1457.4462890625,2771.947265625,10.8203125},
2352 {1448.9794921875,2774.0263671875,18.8203125},
2353 {1442.6376953125,2796.767578125,19.5234375},
2354 {1426.5166015625,2780.7314453125,14.8203125},
2355 {1426.21875,2799.0908203125,14.8203125},
2356 {1388.9599609375,2656.1787109375,11.392612457275},
2357 {1478.05859375,2651.5498046875,11.392612457275},
2358 {1437.7451171875,2646.77734375,11.392612457275},
2359 {1431.771484375,2622.7216796875,11.392614364624},
2360 {1570.548828125,2715.2548828125,10.8203125},
2361 {1576.6708984375,2751.9453125,11.343775749207},
2362 {1561.107421875,2794.79296875,10.8203125},
2363 {1575.3896484375,2840.87890625,10.8203125},
2364 {1601.5283203125,2805.9091796875,10.8203125},
2365 {1638.8935546875,2834.953125,10.8203125},
2366 {1655.4033203125,2805.14453125,10.8203125},
2367 {1675.59765625,2800.6513671875,10.8203125},
2368 {1671.92578125,2744.462890625,10.8203125},
2369 {1634.5390625,2745.3359375,10.8203125},
2370 {1609.2421875,2718.5244140625,10.8203125},
2371 {1626.7646484375,2714.0478515625,10.8203125},
2372 {1676.8466796875,2695.7880859375,10.8203125},
2373 {1703.9306640625,2693.53125,10.8203125},
2374 {1736.3994140625,2694.12109375,10.8203125},
2375 {1741.6904296875,2859.5185546875,11.3359375},
2376 {1761.609375,2866.7099609375,11.3359375},
2377 {1772.1669921875,2867.37890625,11.3359375},
2378 {1794.0322265625,2858.716796875,14.257873535156},
2379 {1772.7841796875,2866.625,14.265625},
2380 {1734.9638671875,2827.7783203125,11.350912094116},
2381 {1736.9287109375,2815.4765625,11.34375},
2382 {1747.41015625,2769.404296875,11.34375},
2383 {1752.3359375,2760.3232421875,11.350912094116},
2384 {1776.591796875,2747.908203125,11.34375},
2385 {1782.15625,2767.41796875,11.350912094116},
2386 {1792.1376953125,2802.7001953125,11.34375},
2387 {1795.0126953125,2813.4033203125,11.34375},
2388 {1802.619140625,2835.9482421875,14.273517608643},
2389 {1795.212890625,2815.33984375,14.273517608643},
2390 {1756.2978515625,2746.171875,14.273517608643},
2391 {1751.9404296875,2757.822265625,14.273517608643},
2392 {1747.5029296875,2770.5400390625,14.273517608643},
2393 {1836.4345703125,2838.580078125,10.8359375},
2394 {1835.65625,2827.3056640625,10.8359375},
2395 {1852.9501953125,2857.572265625,11.902812957764},
2396 {1884.30859375,2877.162109375,10.8359375},
2397 {1887.5224609375,2802.2216796875,11.34375},
2398 {1878.9052734375,2793.6416015625,11.34375},
2399 {1863.0244140625,2777.3564453125,14.265686035156},
2400 {1879.77734375,2793.5341796875,14.2734375},
2401 {1855.607421875,2766.4091796875,14.265686035156},
2402 {1837.75,2751.4873046875,14.2734375},
2403 {1825.97265625,2648.955078125,10.8203125},
2404 {1844.521484375,2648.0107421875,10.8203125},
2405 {1863.384765625,2648.13671875,10.8203125},
2406 {1880.474609375,2646.9970703125,10.8203125},
2407 {1869.1171875,2584.466796875,10.8203125},
2408 {1887.80078125,2585.03515625,10.8203125},
2409 {1925.587890625,2606.3720703125,10.8203125},
2410 {1944.2724609375,2605.9501953125,10.8203125},
2411 {1949.5625,2661.6376953125,10.8203125},
2412 {1947.16796875,2707.3603515625,10.8203125},
2413 {2010.0546875,2707.474609375,11.20196056366},
2414 {2011.0693359375,2728.6357421875,10.827390670776},
2415 {2017.3642578125,2754.951171875,10.8203125},
2416 {1961.4599609375,2756.41796875,10.8203125},
2417 {1919.3740234375,2768.7958984375,10.826509475708},
2418 {2009.8427734375,2680.1689453125,10.8203125},
2419 {2143.6982421875,2835.0341796875,10.8203125},
2420 {2618.861328125,2724.796875,36.538642883301},
2421 {2823.466796875,2268.119140625,14.661463737488},
2422 {2817.1748046875,2275.263671875,14.661463737488},
2423 {2793.5400390625,2222.580078125,10.8203125},
2424 {2794.3525390625,2228.98046875,14.661463737488},
2425 {2824.0146484375,2206.849609375,10.812986373901},
2426 {2819.1474609375,2140.6875,14.661464691162},
2427 {2826.0498046875,2125.791015625,10.8203125},
2428 {2809.8876953125,2067.072265625,10.735213279724},
2429 {2809.7685546875,2049.3828125,10.790351867676},
2430 {2834.6787109375,2049.7626953125,10.8203125},
2431 {2836.0009765625,2083.8603515625,10.8203125},
2432 {-2229.0498046875,252.37890625,35.3203125},
2433 {-2547.072265625,392.6298828125,22.015625},
2434 {-2513.5068359375,849.2216796875,52.6953125},
2435 {-2513.9052734375,885.67578125,62.764999389648},
2436 {-2502.8212890625,921.3798828125,65.241363525391},
2437 {-2449.8701171875,921.41796875,58.144382476807},
2438 {-2374.1484375,931.5830078125,45.414939880371},
2439 {-2113.2744140625,978.0263671875,71.515625},
2440 {-2041.939453125,979.51171875,54.677085876465},
2441 {-1625.783203125,944.388671875,10.6484375},
2442 {-1582.0908203125,955.869140625,7.1875},
2443 {-1594.775390625,975.8095703125,7.1875},
2444 {-1614.9228515625,1002.02734375,7.1875},
2445 {-1616.353515625,1097.9267578125,7.1875},
2446 {-1617.5341796875,1155.9814453125,7.1875},
2447 {-1492.1396484375,920.0009765625,7.1875},
2448 {-1606.1083984375,773.2783203125,7.1875},
2449 {-1422.5283203125,-285.8115234375,14.1484375},
2450 {-1388.7177734375,-328.6025390625,14.280866622925},
2451 {-2051.763671875,-480.5322265625,38.734375},
2452 {-1971.513671875,-1019.2958984375,32.171875},
2453 {-2002.3720703125,-1020.7861328125,32.171875},
2454 {-2209.978515625,-2288.8974609375,30.625},
2455 {-2223.248046875,-2293.5615234375,31.671875},
2456 {-2188.8271484375,-2344.521484375,30.625},
2457 {-2157.787109375,-2337.0458984375,30.625},
2458 {-2103.9794921875,-2341.955078125,30.625},
2459 {-2129.5556640625,-2375.3505859375,30.625},
2460 {-2144.109375,-2425.78515625,30.625},
2461 {-2105.984375,-2480.7490234375,30.625},
2462 {-2057.5341796875,-2464.5439453125,31.1796875},
2463 {-2079.3056640625,-2448.56640625,30.625},
2464 {-2093.65625,-2464.8388671875,30.625},
2465 {-2132.513671875,-2511.123046875,31.816272735596},
2466 {-2161.455078125,-2535.5439453125,31.816270828247},
2467 {-2199.8115234375,-2512.4248046875,31.816270828247},
2468 {-2189.3662109375,-2533.4150390625,31.1171875},
2469 {-2227.697265625,-2489.3681640625,31.816272735596},
2470 {-2214.03125,-2451.876953125,31.816270828247},
2471 {-2239.0341796875,-2423.8388671875,32.70726776123},
2472 {-2161.333984375,-2384.7919921875,30.895784378052},
2473 {-2087.3359375,-2510.623046875,31.066806793213},
2474 {-2058.1669921875,-2503.5595703125,31.066806793213},
2475 {-2075.21484375,-2526.1865234375,31.066806793213},
2476 {-2068.947265625,-2561.501953125,31.066806793213},
2477 {-2031.2890625,-2538.904296875,31.066806793213},
2478 {-1855.173828125,-1560.04296875,22.453125},
2479 {-2242.337890625,191.2001953125,35.3203125},
2480 {1722.68359375,-2334.0068359375,13.546875},
2481 {-2197.4892578125,1190.759765625,55.69548034668},
2482 {1632.326171875,-2335.2197265625,13.539954185486},
2483 {-2351.1376953125,1299.45703125,19.584844589233},
2484 {1682.185546875,-2240.4375,-2.6991682052612},
2485 {1640.166015625,-2333.09765625,-2.6796875},
2486 {-2312.478515625,848.5205078125,71.382347106934},
2487 {-2231.46875,-2558.251953125,31.921875},
2488 {-2663.8955078125,552.2001953125,14.609375},
2489 {-2890.9560546875,738.5390625,29.171875},
2490 {-2477.83984375,1338.0986328125,8.5038833618164},
2491 {-890.25,20.0693359375,31.13649559021},
2492 {-877.8994140625,25.2763671875,30.586343765259},
2493 {-100.333984375,-104.8505859375,3.1180820465088},
2494 {148.2802734375,-159.6787109375,1.578125},
2495 {178.220703125,-120.2314453125,1.5490583181381},
2496 {160.6337890625,-102.615234375,4.8964710235596},
2497 {207.0751953125,-102.7646484375,4.8964710235596},
2498 {209.0244140625,-112.3701171875,1.5508496761322},
2499 {252.8828125,-121.212890625,3.5353934764862},
2500 {267.8115234375,-54.5546875,2.7772099971771},
2501 {295.1337890625,-54.587890625,2.7772107124329},
2502 {196.82421875,-119.9599609375,1.5502977371216},
2503 {175.7138671875,-95.23828125,1.5502822399139},
2504 {158.568359375,-106.9755859375,4.8964710235596},
2505 {312.7353515625,-92.474609375,3.5353934764862},
2506 {312.7373046875,-121.0869140625,3.5353941917419},
2507 {259.4619140625,-302.591796875,1.9183698892593},
2508 {254.9072265625,-191.6904296875,1.578125},
2509 {301.017578125,-188.7138671875,1.578125},
2510 {262.0185546875,-270.0517578125,1.6404900550842},
2511 {263.06640625,21.927734375,3.4331963062286},
2512 {252.3095703125,-91.1962890625,3.5353941917419},
2513 {202.7607421875,-202.33984375,1.578125},
2514 {214.5166015625,-183.0888671875,1.578125},
2515 {1224.6318359375,249.9892578125,19.546894073486},
2516 {1256.712890625,274.861328125,19.5546875},
2517 {1294.9140625,235.7802734375,19.5546875},
2518 {1244.341796875,205.4287109375,19.645431518555},
2519 {1317.69140625,224.4599609375,19.56298828125},
2520 {1386.556640625,293.2529296875,19.54688835144},
2521 {1273.4189453125,238.228515625,19.610862731934},
2522 {1356.849609375,308.119140625,19.747299194336},
2523 {1310.93359375,330.0146484375,19.9140625},
2524 {1323.8916015625,375.58203125,19.562463760376},
2525 {1276.9384765625,370.6611328125,19.5546875},
2526 {1297.0400390625,353.3994140625,19.5546875},
2527 {1292.4677734375,311.6064453125,19.5546875},
2528 {1264.4326171875,285.201171875,19.5546875},
2529 {1272.0859375,309.3125,19.5546875},
2530 {1235.0078125,360.2578125,19.5546875},
2531 {1253.2470703125,352.0009765625,19.5546875},
2532 {1295.0400390625,175.3095703125,20.910556793213},
2533 {1312.7119140625,170.0556640625,20.4609375},
2534 {1340.1689453125,216.1025390625,19.5546875},
2535 {1363.908203125,192.3173828125,24.227144241333},
2536 {2203.8583984375,62.23046875,28.441644668579},
2537 {2161.8505859375,-104.626953125,2.7078378200531},
2538 {2160.43359375,-101.869140625,2.75},
2539 {2186.98828125,-89.583984375,28.153547286987},
2540 {2198.1689453125,-57.9453125,28.153549194336},
2541 {2202.744140625,-38.5810546875,28.153547286987},
2542 {2250.765625,-2.5986328125,28.153551101685},
2543 {2247.2744140625,-121.373046875,28.153547286987},
2544 {2267.1982421875,-139.845703125,27.4765625},
2545 {2293.5185546875,-134.3857421875,28.153959274292},
2546 {2321.2763671875,-124.15625,28.153551101685},
2547 {2256.138671875,-44.03125,26.683433532715},
2548 {2266.3125,-76.5771484375,24.5859375},
2549 {2368.3134765625,-64.7060546875,28.153547286987},
2550 {2387.15234375,-53.431640625,28.153551101685},
2551 {2436.2548828125,-54.2744140625,28.153549194336},
2552 {2439.45703125,-71.5087890625,28.153959274292},
2553 {2203.8623046875,106.1181640625,28.44164276123},
2554 {2249.404296875,111.759765625,28.44164276123},
2555 {2251.763671875,80.04296875,26.703674316406},
2556 {2445.021484375,-13.126953125,27.683458328247},
2557 {2269.6240234375,111.7685546875,28.441644668579},
2558 {2432.73046875,-0.875,26.484375},
2559 {2273.1865234375,82.1259765625,26.484375},
2560 {2285.7744140625,161.7666015625,28.44164276123},
2561 {2410.328125,-7.28515625,27.683460235596},
2562 {2258.0439453125,168.3134765625,28.153551101685},
2563 {2416.19921875,17.8681640625,27.683458328247},
2564 {2236.404296875,168.302734375,28.153549194336},
2565 {2374.3173828125,22.654296875,28.44164276123},
2566 {2323.8896484375,116.1103515625,28.44164276123},
2567 {2373.865234375,49.236328125,28.441644668579},
2568 {2363.9697265625,116.05859375,28.441644668579},
2569 {2323.8759765625,136.4765625,28.44164276123},
2570 {2366.390625,40.341796875,28.44164276123},
2571 {2363.9970703125,141.7978515625,28.44164276123},
2572 {2323.8486328125,162.4755859375,28.441644668579},
2573 {2363.986328125,165.8994140625,28.441644668579},
2574 {2323.875,191.03515625,28.44164276123},
2575 {2363.9931640625,187.1484375,28.44164276123},
2576 {2307.013671875,-4.8701171875,26.7421875},
2577 {2310.9267578125,-9.912109375,26.7421875},
2578 {2333.611328125,51.7109375,26.627893447876},
2579 {2324.1884765625,-3.5205078125,26.557140350342},
2580 {2332.97265625,-4.00390625,26.560916900635},
2581 {2327.888671875,8.4453125,26.531627655029},
2582 {2484.3359375,-28.353515625,28.44164276123},
2583 {2488.328125,11.7509765625,28.44164276123},
2584 {2513.419921875,-28.375,28.441644668579},
2585 {2558.2197265625,-11.2705078125,27.675647735596},
2586 {2549.19921875,25.4013671875,27.675647735596},
2587 {2398.416015625,110.73046875,28.44164276123},
2588 {2551.20703125,57.1240234375,27.675645828247},
2589 {2444.046875,97.8427734375,28.441644668579},
2590 {2556.9736328125,87.7666015625,27.675645828247},
2591 {2494.595703125,88.2958984375,26.484375},
2592 {2561.78125,72.1796875,26.4765625},
2593 {2537.916015625,128.3974609375,27.683460235596},
2594 {2513.9208984375,94.4111328125,27.683460235596},
2595 {2504.732421875,134.0849609375,26.4765625},
2596 {2462.7822265625,134.2802734375,27.675645828247},
2597 {2481.0791015625,125.8642578125,27.675647735596},
2598 {2456.7744140625,127.2626953125,27.675647735596},
2599 {2412.8662109375,70.7548828125,28.44164276123},
2600 {1547.08984375,32.642578125,24.140625},
2601 {1105.8349609375,-301.82421875,74.5390625},
2602 {1106.46875,-316.521484375,74.7421875},
2603 {614.388671875,-518.3642578125,16.353294372559},
2604 {624.8662109375,-506.2568359375,16.352542877197},
2605 {654.810546875,-503.103515625,16.3359375},
2606 {695.048828125,-500.1318359375,16.3359375},
2607 {818.771484375,-495.69140625,18.012922286987},
2608 {742.337890625,-495.80078125,18.012922286987},
2609 {795.482421875,-497.193359375,18.013332366943},
2610 {768.375,-503.7763671875,18.012926101685},
2611 {766.5439453125,-556.5673828125,18.012924194336},
2612 {745.232421875,-556.7734375,18.012926101685},
2613 {800.810546875,-574.1591796875,16.3359375},
2614 {691.248046875,-621.69140625,16.3359375},
2615 {820.1103515625,-575.345703125,16.536296844482},
2616 {673.2314453125,-634.4541015625,16.3359375},
2617 {857.2412109375,-602.9853515625,18.421875},
2618 {691.84765625,-546.6572265625,16.3359375},
2619 {849.98828125,-604.048828125,18.421875},
2620 {745.349609375,-591.0302734375,18.012922286987},
2621 {716.541015625,-468.16796875,16.343704223633},
2622 {673.0771484375,-460.72265625,16.536296844482},
2623 {609.509765625,-611.48828125,17.2265625},
2624 {609.5478515625,-595.8916015625,17.233013153076},
2625 {606.294921875,-581.365234375,16.636558532715},
2626 {2095.3544921875,-1145.32421875,26.592920303345},
2627 {1852.3740234375,-1144.9921875,23.834211349487},
2628 {1852.3232421875,-1092.921875,23.828125},
2629 {1831.0498046875,-1092.1767578125,23.838096618652},
2630 {1833.751953125,-1125.6044921875,24.672080993652},
2631 {1796.8720703125,-1149.1142578125,23.749704360962},
2632 {1700.3095703125,-1171.275390625,23.843555450439},
2633 {1730.1767578125,-1181.998046875,23.838611602783},
2634 {1792.90625,-1163.4306640625,23.828125},
2635 {1830.556640625,-1172.0546875,24.265625},
2636 {1808.1728515625,-1436.2373046875,13.4296875},
2637 {1764.3583984375,-1398.005859375,15.7578125},
2638 {1789.0791015625,-1383.9853515625,15.7578125},
2639 {1765.7978515625,-1341.994140625,15.758672714233},
2640 {1684.4501953125,-1345.8330078125,17.433988571167},
2641 {1734.76953125,-1265.439453125,13.542039871216},
2642 {1691.03515625,-1200.0849609375,19.8984375},
2643 {1650.560546875,-1199.1298828125,19.781862258911},
2644 {1569.3662109375,-1198.900390625,19.7890625},
2645 {1528.875,-1151.2177734375,24.078125},
2646 {1566.1611328125,-1171.3837890625,24.095048904419},
2647 {1631.830078125,-1172.927734375,24.084280014038},
2648 {1673.3291015625,-1171.041015625,23.972120285034},
2649 {1658.5478515625,-1342.62890625,17.438894271851},
2650 {1570.64453125,-1337.533203125,16.484375},
2651 {1500.3759765625,-1337.107421875,14.021427154541},
2652 {1516.646484375,-1399.5546875,14.011289596558},
2653 {1667.8896484375,-1533.5478515625,13.546875},
2654 {1648.3720703125,-1469.2060546875,13.546875},
2655 {1689.66015625,-1518.0146484375,13.546875},
2656 {1670.46875,-1581.7578125,13.546875},
2657 {1555.7529296875,-1634.4580078125,6.21875},
2658 {1568.6025390625,-1689.9833984375,6.21875},
2659 {1419.185546875,-1607.17578125,13.546875},
2660 {1419.1826171875,-1640.2978515625,13.546875},
2661 {1410.2939453125,-1701.4365234375,13.539485931396},
2662 {1341.330078125,-1675.177734375,17.71573638916},
2663 {1341.3544921875,-1648.96875,17.719120025635},
2664 {1327.890625,-1556.087890625,13.546875},
2665 {1347.8154296875,-1501.3310546875,13.546875},
2666 {1333.091796875,-1522.33984375,13.546875},
2667 {1360.2177734375,-1469.576171875,13.546875},
2668 {1368.3525390625,-1432.541015625,14.0546875},
2669 {1387.353515625,-1438.6533203125,13.5546875},
2670 {1408.470703125,-1385.607421875,13.572636604309},
2671 {1370.8134765625,-1365.4697265625,13.546875},
2672 {1370.6337890625,-1320.107421875,13.546875},
2673 {1424.6103515625,-1086.5908203125,17.550863265991},
2674 {1440.609375,-1095.6064453125,17.62438583374},
2675 {1386.91015625,-1168.6650390625,23.8203125},
2676 {1465.8994140625,-1010.4609375,26.84375},
2677 {1448.890625,-1010.728515625,26.84375},
2678 {1330.3232421875,-985.314453125,33.896629333496},
2679 {1300.2353515625,-992.048828125,35.280891418457},
2680 {1290.7939453125,-1075.2197265625,29.27294921875},
2681 {1285.21484375,-1066.130859375,31.678918838501},
2682 {1284.6728515625,-1089.58203125,28.2578125},
2683 {1320.392578125,-1076.6240234375,29.1796875},
2684 {1291.37890625,-1131.5009765625,23.828125},
2685 {1243.310546875,-1076.3720703125,31.5546875},
2686 {1296.7802734375,-991.564453125,32.6953125},
2687 {1234.81640625,-1437.94921875,13.615178108215},
2688 {1232.875,-1459.0751953125,13.546875},
2689 {1284.8671875,-1464.080078125,10.046875},
2690 {1247.3681640625,-1528.0390625,13.561420440674},
2691 {1148.23828125,-1344.2822265625,13.655700683594},
2692 {1180.0244140625,-1260.689453125,18.8984375},
2693 {1187.322265625,-1254.587890625,18.890762329102},
2694 {1180.595703125,-1255.048828125,15.1796875},
2695 {1186.6298828125,-1226.7841796875,18.5546875},
2696 {1180.81640625,-1227.34765625,22.132949829102},
2697 {1180.0126953125,-1233.4072265625,22.140625},
2698 {1170.3720703125,-1490.9453125,22.755535125732},
2699 {1062.6298828125,-1499.9287109375,22.752643585205},
2700 {1112.4912109375,-1520.8896484375,15.796875},
2701 {1153.83984375,-1181.85546875,32.818702697754},
2702 {1161.640625,-1162.3193359375,32.027549743652},
2703 {1102.423828125,-1092.8701171875,28.46875},
2704 {1142.8388671875,-1069.4052734375,31.765625},
2705 {1102.75,-1069.3359375,31.8828125},
2706 {1069.2041015625,-1080.9345703125,27.532295227051},
2707 {1246.2529296875,-908.962890625,46.6015625},
2708 {1252.869140625,-902.53515625,46.593887329102},
2709 {1248.9677734375,-877.4228515625,42.8828125},
2710 {1242.1826171875,-872.0380859375,46.632949829102},
2711 {1287.1630859375,-867.5517578125,46.836074829102},
2712 {1281.7578125,-874.931640625,46.84375},
2713 {1290.984375,-896.9892578125,42.8828125},
2714 {1439.6669921875,-926.4306640625,39.647666931152},
2715 {1411.228515625,-920.8828125,38.421875},
2716 {1467.9072265625,-917.0048828125,54.839092254639},
2717 {1469.384765625,-904.7822265625,54.8359375},
2718 {1420.697265625,-885.1396484375,50.645557403564},
2719 {1527.41796875,-892.8388671875,57.657482147217},
2720 {1539.822265625,-851.0029296875,64.336059570312},
2721 {1563.318359375,-855.5576171875,61.365352630615},
2722 {1534.9189453125,-800.1513671875,72.849456787109},
2723 {1549.11328125,-803.66015625,72.217529296875},
2724 {1535.44140625,-762.0888671875,79.9453125},
2725 {1497.2705078125,-666.6865234375,95.601257324219},
2726 {1442.8671875,-630.9267578125,95.718566894531},
2727 {1333.8984375,-630.0361328125,109.1349029541},
2728 {1258.3154296875,-785.7998046875,92.030181884766},
2729 {1302.1123046875,-786.5693359375,88.3125},
2730 {1134.892578125,-748.40234375,97.162223815918},
2731 {1111.27734375,-742.2744140625,100.13292694092},
2732 {1095.0439453125,-646.50390625,113.6484375},
2733 {1094.6015625,-661.0712890625,113.6484375},
2734 {1045.3935546875,-641.359375,120.1171875},
2735 {980.0400390625,-677.3671875,121.97625732422},
2736 {992.154296875,-695.625,121.77093505859},
2737 {897.7158203125,-677.494140625,116.89044189453},
2738 {945.8369140625,-710.2158203125,122.61987304688},
2739 {868.3251953125,-715.86328125,105.6796875},
2740 {848.931640625,-745.384765625,94.969268798828},
2741 {808.51953125,-759.94140625,76.531364440918},
2742 {784.984375,-761.169921875,73.560661315918},
2743 {909.6806640625,-816.8798828125,103.12602996826},
2744 {977.6484375,-771.376953125,112.20262908936},
2745 {1017.0146484375,-763.0830078125,112.56301879883},
2746 {1034.3251953125,-811.2109375,101.8515625},
2747 {990.0791015625,-828.50390625,95.468574523926},
2748 {1093.455078125,-805.79296875,107.42092895508},
2749 {937.982421875,-848.236328125,93.632316589355},
2750 {828.65625,-858.4248046875,70.330810546875},
2751 {786.333984375,-827.677734375,70.289581298828},
2752 {835.875,-893.609375,68.768898010254},
2753 {725.0361328125,-997.859375,52.734375},
2754 {730.9892578125,-1013.015625,52.737854003906},
2755 {672.921875,-1020.2392578125,55.759605407715},
2756 {699.2705078125,-1058.7177734375,49.421691894531},
2757 {645.47265625,-1117.919921875,44.207038879395},
2758 {565.7802734375,-1098.4677734375,69.951286315918},
2759 {497.560546875,-1094.9091796875,82.359191894531},
2760 {416.6953125,-1154.544921875,76.687614440918},
2761 {471.3603515625,-1164.3671875,67.170478820801},
2762 {534.728515625,-1173.6796875,58.809711456299},
2763 {580.3369140625,-1149.345703125,53.180084228516},
2764 {358.3115234375,-1207.4990234375,76.518783569336},
2765 {316.11328125,-1139.5576171875,81.593444824219},
2766 {299.66796875,-1154.400390625,81.224769592285},
2767 {350.3330078125,-1197.0029296875,76.515625},
2768 {250.9892578125,-1220.583984375,76.10237121582},
2769 {252.931640625,-1270.10546875,74.399215698242},
2770 {272.65234375,-1281.828125,74.632507324219},
2771 {256.2763671875,-1297.99609375,74.632507324219},
2772 {220.125,-1250.248046875,78.330360412598},
2773 {167.1376953125,-1297.1552734375,70.351257324219},
2774 {168.4248046875,-1321.5234375,70.351257324219},
2775 {255.20703125,-1365.712890625,53.109375},
2776 {298.3076171875,-1338.287109375,53.441452026367},
2777 {228.75,-1403.7080078125,51.60758972168},
2778 {335.8173828125,-1303.744140625,50.759044647217},
2779 {398.68359375,-1271.0029296875,50.019790649414},
2780 {432.056640625,-1253.8876953125,51.580940246582},
2781 {549.4267578125,-1215.0986328125,44.86026763916},
2782 {552.109375,-1200.5830078125,44.831535339355},
2783 {598.68359375,-1194.3447265625,41.784606933594},
2784 {608.8759765625,-1187.1806640625,41.784606933594},
2785 {152.6962890625,-1449.6953125,32.844982147217},
2786 {140.6455078125,-1479.787109375,25.2109375},
2787 {1674.4541015625,1447.390625,10.790289878845},
2788 {1682.275390625,1755.2529296875,10.827277183533},
2789 {1653.578125,1732.27734375,10.8203125},
2790 {1643.8818359375,1912.6865234375,10.8203125},
2791 {1663.1279296875,1912.267578125,10.8203125},
2792 {1671.646484375,1967.9560546875,10.8203125},
2793 {1648.52734375,1977.759765625,10.8203125},
2794 {1611.9306640625,1978.109375,10.8203125},
2795 {1530.740234375,1936.2431640625,10.8203125},
2796 {1511.0576171875,1911.4580078125,10.8203125},
2797 {1735.013671875,2111.724609375,12.2890625},
2798 {1686.2880859375,2046.1767578125,11.46875},
2799 {1673.447265625,2090.677734375,11.4609375},
2800 {1672.0517578125,2130.0087890625,11.4609375},
2801 {1645.0537109375,2128.7568359375,11.203125},
2802 {1639.6298828125,2149.41015625,11.3125},
2803 {1638.119140625,2103.275390625,11.3125},
2804 {1644.87109375,2080.9677734375,11.3125},
2805 {1618.1064453125,2076.033203125,30.529462814331},
2806 {1596.4287109375,2038.126953125,11.46875},
2807 {1597.4423828125,2092.88671875,11.3125},
2808 {1584.388671875,2147.537109375,11.4609375},
2809 {1536.3486328125,2032.8720703125,14.739588737488},
2810 {1542.66796875,2003.1279296875,10.8203125},
2811 {1501.3984375,2027.3271484375,14.739588737488},
2812 {1481.15234375,1998.68359375,10.8203125},
2813 {1473.8974609375,2002.4560546875,10.8203125},
2814 {1456.1259765625,2030.458984375,14.739588737488},
2815 {1416.98828125,2036.68359375,10.8203125},
2816 {1417.9794921875,1999.42578125,10.8203125},
2817 {1422.6806640625,1915.28515625,11.46875},
2818 {1453.978515625,1944.6875,11.468292236328},
2819 {1445.365234375,1949.2958984375,11.4609375},
2820 {1365.646484375,1932.775390625,11.468292236328},
2821 {1335.9306640625,1919.6494140625,11.4609375},
2822 {1319.794921875,1975.5244140625,11.46875},
2823 {1352.830078125,2027.876953125,11.4609375},
2824 {1370.0166015625,1989.18359375,11.308856964111},
2825 {1547.447265625,2125.7880859375,11.4609375},
2826 {1477.5693359375,2194.6318359375,11.0234375},
2827 {1407.4580078125,2221.41796875,11.0234375},
2828 {1369.73828125,2195.5634765625,9.7578125},
2829 {1393.2724609375,2171.2744140625,9.7578125},
2830 {1409.5810546875,2141.7421875,12.015625},
2831 {1413.6455078125,2105.537109375,12.015625},
2832 {1360.4912109375,2213.3759765625,12.015625},
2833 {1442.3857421875,2361.904296875,10.8203125},
2834 {1656.9853515625,2251.1826171875,11.07010269165},
2835 {1838.0458984375,2157.4013671875,10.8203125},
2836 {1855.751953125,2157.0712890625,10.8203125},
2837 {1837.61328125,2093.943359375,10.8203125},
2838 {1892.7275390625,2235.4423828125,11.125},
2839 {1879.2236328125,2235.25,11.125},
2840 {1857.625,2351.8291015625,10.979915618896},
2841 {1856.248046875,2383.25,10.979915618896},
2842 {2023.5849609375,1900.0634765625,12.267676353455},
2843 {2018.970703125,1917.529296875,12.341463088989},
2844 {1968.7294921875,1623.48828125,12.860266685486},
2845 {2001.49609375,1541.267578125,13.5859375},
2846 {1999.31640625,1530.21875,14.622252464294},
2847 {1890.0166015625,1596.4658203125,10.538269996643},
2848 {1868.1669921875,1308.9814453125,16.922344207764},
2849 {1931.69921875,1336.7529296875,9.96875},
2850 {1947.2333984375,1397.4990234375,9.2578125},
2851 {1910.7255859375,1401.818359375,9.2578125},
2852 {1953.0556640625,1343.958984375,15.3671875},
2853 {1993.6875,1241.4521484375,10.8203125},
2854 {2008.46875,1169.8330078125,10.8203125},
2855 {1966.9130859375,1102.0322265625,10.8203125},
2856 {1952.001953125,1101.9404296875,10.8203125},
2857 {1896.0146484375,1142.3056640625,10.8203125},
2858 {1862.666015625,1190.12109375,10.836782455444},
2859 {1859.01171875,1112.12890625,10.8203125},
2860 {1858.84765625,1079.8623046875,10.8203125},
2861 {1859.0625,1050.431640625,10.8203125},
2862 {1858.92578125,994.1474609375,10.8203125},
2863 {1859.4013671875,937.771484375,10.8203125},
2864 {1877.474609375,925.0947265625,10.8203125},
2865 {1927.7822265625,924.265625,10.831217765808},
2866 {1916.3369140625,970.4931640625,10.8203125},
2867 {1909.0107421875,1017.82421875,10.8203125},
2868 {1920.2158203125,964.525390625,10.8203125},
2869 {1960.115234375,953.115234375,10.8203125},
2870 {1999.6953125,991.48046875,10.8203125},
2871 {2021.9443359375,1003.3857421875,10.8203125},
2872 {2021.2001953125,1009.5908203125,10.8203125},
2873 {1946.427734375,2050.9853515625,10.8203125},
2874 {1968.236328125,2294.9638671875,16.455863952637},
2875 {1998.7578125,2302.7958984375,10.8203125},
2876 {2004.5810546875,2309.9541015625,10.8203125},
2877 {2127.40625,2377.3232421875,10.8203125},
2878 {2189.416015625,2399.2802734375,10.8203125},
2879 {2189.416015625,2399.2802734375,10.8203125},
2880 {2166.443359375,2478.806640625,10.8203125},
2881 {2159.64453125,2465.7568359375,10.8203125},
2882 {2114.9013671875,2498.763671875,14.83895111084},
2883 {2099.5068359375,2492.00390625,11.078125},
2884 {2057.7861328125,2483.947265625,11.078125},
2885 {2176.8447265625,2419.779296875,73.03385925293},
2886 {2119.2587890625,884.3779296875,11.186832427979},
2887 {2159.072265625,956.1904296875,11.1015625},
2888 {2249.9599609375,960.7021484375,10.812986373901},
2889 {2491.2060546875,918.8837890625,11.0234375},
2890 {2502.2255859375,926.1259765625,11.0234375},
2891 {2196.83203125,1062.1728515625,10.8203125},
2892 {2182.6611328125,1114.8740234375,12.6484375},
2893 {2413.5078125,1122.8271484375,10.8203125},
2894 {2478.779296875,1063.951171875,10.812517166138},
2895 {2499.1787109375,1149.474609375,22.023197174072},
2896 {2625.6640625,1191.623046875,10.794861793518},
2897 {2633.263671875,1192.841796875,26.918153762817},
2898 {2581.3623046875,1062.3056640625,11.157404899597},
2899 {2546.0205078125,1106.1640625,10.8203125},
2900 {2540.919921875,1232.1962890625,10.958621025085},
2901 {2477.7119140625,1276.30859375,10.8125},
2902 {2448.529296875,1300.859375,10.8203125},
2903 {2178.7080078125,1292.08203125,10.8203125},
2904 {2178.1796875,1285.7978515625,10.8203125},
2905 {2237.60546875,1284.345703125,10.8203125},
2906 {2180.833984375,1448.6962890625,10.8203125},
2907 {2178.2666015625,1516.650390625,10.8203125},
2908 {2153.0166015625,1490.373046875,10.8203125},
2909 {2272.4833984375,1518.0166015625,30.031227111816},
2910 {2297.7109375,1469.025390625,36.421875},
2911 {2418.9482421875,1431.9580078125,10.8203125},
2912 {2465.544921875,1405.8095703125,10.90625},
2913 {2533.041015625,1398.083984375,10.90625},
2914 {2567.5322265625,1402.701171875,11.066242218018},
2915 {2557.7509765625,1363.9140625,10.8203125},
2916 {2511.9814453125,1360.2021484375,10.827831268311},
2917 {2533.5537109375,1507.3662109375,11.621562004089},
2918 {2567.30078125,1552.279296875,13.40625},
2919 {2460.572265625,1558.572265625,11.78125},
2920 {2340.6484375,1576.1884765625,10.8203125},
2921 {2299.3759765625,1564.9033203125,10.8203125},
2922 {2308.8681640625,1648.3955078125,10.8203125},
2923 {2284.109375,1722.8798828125,11.046875},
2924 {2160.9697265625,1640.72265625,11.141441345215},
2925 {2154.6376953125,1742.34375,11.107455253601},
2926 {2337.4521484375,1758.85546875,12.453807830811},
2927 {2436.3916015625,1672.55859375,10.8203125},
2928 {2391.0537109375,1682.572265625,14.281055450439},
2929 {2378.78515625,1681.8125,14.281055450439},
2930 {2359.9970703125,1677.62109375,14.281055450439},
2931 {2359.4423828125,1669.43359375,14.281055450439},
2932 {2359.2080078125,1662.583984375,14.281055450439},
2933 {2515.3623046875,1657.0458984375,11.0234375},
2934 {2510.2685546875,1680.44921875,11.0234375},
2935 {2491.578125,1680.6865234375,11.0234375},
2936 {2480.6259765625,1681.3154296875,11.0234375},
2937 {2399.8466796875,1838.314453125,11.65625},
2938 {2277.68359375,1865.5302734375,10.8203125},
2939 {2224.6591796875,1843.017578125,10.8203125},
2940 {2204.5087890625,1899.7978515625,10.8203125},
2941 {2375.44921875,2044.087890625,10.8203125},
2942 {2545.6455078125,1972.0263671875,10.8203125},
2943 {2634.0810546875,1979.8349609375,14.116060256958},
2944 {2654.6181640625,1979.4892578125,14.116060256958},
2945 {2646.3984375,2015.9638671875,10.81704044342},
2946 {2637.265625,2017.2587890625,10.8203125},
2947 {2613.2822265625,2050.720703125,14.116060256958},
2948 {2470.232421875,2124.7041015625,10.8203125},
2949 {2406.3818359375,2125.59765625,10.9314661026},
2950 {2326.208984375,2118.970703125,10.828125},
2951 {2220.5615234375,2124.310546875,10.8203125},
2952 {2166.064453125,2162.904296875,10.8203125},
2953 {2257.6494140625,2161.7294921875,10.8203125},
2954 {2371.5078125,2166.208984375,10.826242446899},
2955 {2446.927734375,2162.4189453125,10.8203125},
2956 {2609.2236328125,2144.65625,14.116060256958},
2957 {2636.4287109375,2183.9091796875,10.8203125},
2958 {2611.072265625,2183.228515625,10.812986373901},
2959 {2601.9326171875,2190.22265625,14.116060256958},
2960 {2602.3974609375,2202.5283203125,14.116060256958},
2961 {2624.9462890625,2200.6953125,10.8203125},
2962 {2619.8818359375,2199.4599609375,10.8203125},
2963 {2605.30859375,2208.388671875,10.8203125},
2964 {2604.0712890625,2212.0478515625,10.8203125},
2965 {2636.3720703125,2351.666015625,10.8203125},
2966 {2628.2978515625,2347.75390625,10.8203125},
2967 {2572.455078125,2331.640625,17.822208404541},
2968 {2583.091796875,2366.2529296875,17.8203125},
2969 {2610.43359375,2417.9580078125,10.8203125},
2970 {2622.5302734375,2417.6943359375,10.8203125},
2971 {2516.173828125,2225.677734375,10.8203125},
2972 {2453.9091796875,2226.2451171875,10.866273880005},
2973 {2429.359375,2226.2294921875,10.948439598083},
2974 {2345.5625,2273.11328125,8.1477851867676},
2975 {2352.953125,2307.685546875,8.1477851867676},
2976 {2393.275390625,2307.5244140625,8.140625},
2977 {2363.90625,2377.080078125,10.8203125},
2978 {2445.9287109375,2376.3408203125,12.163512229919},
2979 {2448.240234375,2257.0556640625,10.8203125},
2980 {2488.9228515625,2397.712890625,10.8203125},
2981 {2484.8642578125,2356.818359375,4.2109375},
2982 {2491.443359375,2397.615234375,4.2109375},
2983 {2248.23828125,2397.7373046875,10.8203125},
2984 {2212.654296875,2341.794921875,10.8203125},
2985 {2180.888671875,2292.33984375,10.8203125},
2986 {2243.9453125,2522.1337890625,10.8203125},
2987 {2271.673828125,2537.2412109375,10.8203125},
2988 {2321.2998046875,2531.94140625,10.8203125},
2989 {2331.1904296875,2531.1513671875,10.8203125},
2990 {952.1337890625,-910.8427734375,45.765625},
2991 {813.654296875,-1005.595703125,27.943950653076},
2992 {766.28515625,-1011.6015625,24.109375},
2993 {976.5546875,-1070.9052734375,26.988595962524},
2994 {976.326171875,-1091.7255859375,23.934619903564},
2995 {972.2578125,-1122.3212890625,23.846771240234},
2996 {982.3046875,-1162.3857421875,25.0859375},
2997 {921.6982421875,-1299.1845703125,14.09375},
2998 {922.126953125,-1287.5625,14.40625},
2999 {919.2177734375,-1266.0234375,15.171875},
3000 {919.419921875,-1252.0859375,16.380939483643},
3001 {726.51953125,-1275.85546875,13.6484375},
3002 {954.126953125,-1336.431640625,13.538691520691},
3003 {875.08984375,-1504.677734375,12.657918930054},
3004 {851.09375,-1519.935546875,13.691524505615},
3005 {878.4921875,-1514.6591796875,14.352069854736},
3006 {762.6962890625,-1563.6318359375,13.553644180298},
3007 {732.2548828125,-1477.767578125,5.46875},
3008 {719.1220703125,-1476.7841796875,5.46875},
3009 {789.1220703125,-1324.5078125,-0.5078125},
3010 {852.841796875,-1391.2421875,-0.50146150588989},
3011 {843.9853515625,-1390.5986328125,-1.3003606796265},
3012 {726.6962890625,-1450.935546875,17.6953125},
3013 {608.0302734375,-1475.2041015625,14.644786834717},
3014 {652.9443359375,-1618.94921875,15.0},
3015 {655.5556640625,-1640.4521484375,15.861747741699},
3016 {655.876953125,-1650.0732421875,15.408567428589},
3017 {487.3505859375,-1639.61328125,23.703125},
3018 {299.43359375,-1611.5322265625,33.120010375977},
3019 {279.83984375,-1615.5439453125,33.253612518311},
3020 {277.546875,-1599.9365234375,33.069110870361},
3021 {357.3642578125,-1394.314453125,14.438846588135},
3022 {374.984375,-1384.0029296875,14.462802886963},
3023 {391.921875,-1374.3095703125,14.819017410278},
3024 {595.61328125,-1250.6875,18.295663833618},
3025 {617.681640625,-1331.0546875,13.644295692444},
3026 {297.146484375,-1490.69140625,24.59375},
3027 {288.357421875,-1544.0625,24.59375},
3028 {364.099609375,-1557.318359375,32.909343719482},
3029 {409.57421875,-1601.76171875,27.14465713501},
3030 {478.35546875,-1537.6982421875,19.478967666626},
3031 {476.6376953125,-1497.7607421875,20.458106994629},
3032 {660.5947265625,-1525.875,14.8515625},
3033 {657.7060546875,-1480.9951171875,14.8515625},
3034 {684.3662109375,-1435.517578125,14.8515625},
3035 {598.333984375,-1285.1640625,15.859577178955},
3036 {895.5986328125,-1116.953125,24.197673797607},
3037 {899.21875,-1068.703125,24.479953765869},
3038 {811.0830078125,-1092.8251953125,25.78458404541},
3039 {820.0927734375,-1092.373046875,25.795583724976},
3040 {820.4970703125,-1109.12109375,25.796077728271},
3041 {810.7294921875,-1109.046875,25.784152984619},
3042 {811.0224609375,-1101.0810546875,25.784509658813}
3043};
3044
3045//Textdraws
3046new PlayerText:HUDTxd[MAX_PLAYERS][2];
3047new PlayerText:VStatsTxd[MAX_PLAYERS][4];
3048new PlayerText:KillTxd0[MAX_PLAYERS];
3049new PlayerText:KillTxd1[MAX_PLAYERS];
3050new PlayerText:KillTxd2[MAX_PLAYERS];
3051new PlayerText:DeathTxd0[MAX_PLAYERS];
3052new PlayerText:DeathTxd1[MAX_PLAYERS];
3053new PlayerText:DeathTxd2[MAX_PLAYERS];
3054new PlayerText:SupHud[MAX_PLAYERS][7];
3055new Text:StatsTxd[3];
3056new Text:HideMapTxd;
3057new Text:HideMapTxd2;
3058new Text:EPBTxd;
3059new HideMap;
3060new Text:Inv_TD[12];
3061new PlayerText:Inv_PTD[MAX_PLAYERS][24];
3062
3063//Bars
3064new PlayerBar:StatsBar[MAX_PLAYERS][3];
3065new PlayerBar:VStatsBar[MAX_PLAYERS];
3066new PlayerBar:HudSBar[MAX_PLAYERS];
3067
3068main()
3069{
3070 print("\n");
3071 print(" |-------------------------------------------------------");
3072 print(" |--- Gamemode DayZ carregada com sucesso!");
3073 print(" |-- Script v1.0 by RodrigoMSR");
3074 print(" |-- Mapas e areas de looting by Kitten aka AldenJ");
3075 print(" |-- Copyright © 2017 Todos os direitos reservados");
3076 print(" |-------------------------------------------------------");
3077 print("\n");
3078}
3079
3080//Callbacks --------------------------------------------------------------------
3081
3082public OnGameModeInit()
3083{
3084 MCID = mysql_connect(HOST, USUARIO, SENHA, DATABASE);
3085
3086 query[0] = EOS;
3087 strcat(query, "CREATE TABLE IF NOT EXISTS contas(ID int AUTO_INCREMENT PRIMARY KEY, Nome varchar(24) NOT NULL, Senha int NOT NULL, Registro varchar(60) NOT NULL, Score int(20) DEFAULT 0, Admin int(20) DEFAULT 0, Skin int DEFAULT 230, Clan varchar(25) DEFAULT 'Nenhum', ClanL int DEFAULT 0, Dinheiro int(20) DEFAULT 0, Matou int(10) DEFAULT 0, Morreu int(10) DEFAULT 0, IP varchar(20) DEFAULT '255.255.255.255', Banido int(10) DEFAULT 0, Ban_admin varchar(24) DEFAULT 'Ninguem', ");
3088 strcat(query, "Ban_motivo varchar(100) DEFAULT 'Nenhum', Ban_time int DEFAULT 0, Fome float DEFAULT 100.0, Sede float DEFAULT 100.0, Vida float DEFAULT 100.0, Colete float DEFAULT 100.0, pX float DEFAULT 0.0, pY float DEFAULT 0.0, pZ float DEFAULT 0.0, pA float DEFAULT 0.0, pInt int DEFAULT 0, pWorld int DEFAULT 0, Arma0 int DEFAULT 0, Arma1 int DEFAULT 0, Arma2 int DEFAULT 0, Arma0A int DEFAULT 0, Arma1A int DEFAULT 0, Arma2A int DEFAULT 0, LDTime int DEFAULT 0, Exp int DEFAULT 1, ");
3089 strcat(query, "Online int DEFAULT 0, OnlineT int DEFAULT 0)");
3090
3091 mysql_query(MCID, "CREATE TABLE IF NOT EXISTS clans(ID int AUTO_INCREMENT PRIMARY KEY, Nome varchar(25) NOT NULL, Registro varchar(20) NOT NULL, Criador varchar(24) NOT NULL, Info varchar(700) DEFAULT 'Nada', Cor int DEFAULT -1)", false);
3092
3093 mysql_query(MCID, query, false);
3094
3095 print("MySQL database");
3096 print("----------------");
3097 if(mysql_errno(MCID) != 0) printf(" Falha na conexao ao banco de dados MySQL [error %d]", mysql_errno(MCID));
3098 else print(" Conexao ao banco de dado MySQL efetuada com sucesso");
3099
3100 HideMap = GangZoneCreate(-2997, -2991, 2993, 2996);
3101
3102 UsePlayerPedAnims();
3103 EnableStuntBonusForAll(0);
3104 //DisableInteriorEnterExits();
3105 ShowPlayerMarkers(PLAYER_MARKERS_MODE_OFF);
3106 mysql_log(ERROR | WARNING);
3107 MapAndreas_Init(MAP_ANDREAS_MODE_FULL);
3108
3109 FormatarWNames();
3110 LoadTextDraws();
3111 CarregarPostos();
3112 LoadLoot();
3113 //CreateVehicles();
3114 LoadVehicles();
3115
3116 SendRconCommand("rcon 0");
3117
3118 for(new i = 0; i < 311+1; i++) AddPlayerClass(i, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
3119 for(new i = 0; i < 6; i++) ChatKill[i][0] = 24325, ChatKill[i][1] = 24325, ChatKill[i][2] = 0;
3120
3121 SetTimer("SalvarDados", 240000, true);
3122 SetTimer("ServerTimer", 1000, true);
3123
3124 SalvarDados();
3125 return 1;
3126}
3127
3128public OnGameModeExit()
3129{
3130 return 1;
3131}
3132
3133public OnPlayerConnect(playerid)
3134{
3135 if(IsPlayerNPC(playerid)) return Player[playerid][pLogado] = false, 1;
3136 for(new i = 0; i < 100; i++) SendClientMessage(playerid, -1, " ");
3137 LoadPlayerTextDraws(playerid);
3138 SetPlayerColor(playerid, 0xFFFFFFFF);
3139
3140 //Vars reset
3141 Player[playerid][pSlots] = 5;
3142 Player[playerid][pGod] = 0;
3143 Player[playerid][pGodcar] = 0;
3144 Player[playerid][pPassF] = 0;
3145 Player[playerid][pKicked] = 0;
3146 Player[playerid][pLogado] = false;
3147 return 1;
3148}
3149
3150
3151public OnPlayerDisconnect(playerid, reason)
3152{
3153 switch(reason)
3154 {
3155 case 0: SendClientMessageToAllF(0xC0C0C0AA, "%s (%i) saiu do jogo (conexão/crash)", GetName(playerid), playerid);
3156 case 1: SendClientMessageToAllF(0xC0C0C0AA, "%s (%i) saiu do jogo", GetName(playerid), playerid);
3157 }
3158 SalvarConta(playerid, 0);
3159 Player[playerid][pLogado] = false;
3160 return 1;
3161}
3162
3163public OnPlayerSpawn(playerid)
3164{
3165 if(Player[playerid][pLogado] == false)
3166 {
3167 LimparChat(playerid);
3168 SendClientMessage(playerid, vermelho, "| KICK | Você foi kickado por nascer sem logar");
3169 return 1;
3170 }
3171 TextDrawHideForPlayer(playerid, EPBTxd);
3172 if(Player[playerid][pFSP] == 0 || Player[playerid][pCPos][0] == 0)
3173 {
3174 new rand = random(sizeof(Spawns));
3175 SetPlayerPos(playerid, Spawns[rand][0], Spawns[rand][1], Spawns[rand][2]);
3176 SetPlayerInterior(playerid, 0);
3177 SetPlayerFacingAngle(playerid, Spawns[rand][3]);
3178 SetPlayerVirtualWorld(playerid, 0);
3179 }
3180 else
3181 {
3182 SetPlayerPos(playerid, Player[playerid][pCPos][0], Player[playerid][pCPos][1], Player[playerid][pCPos][2]);
3183 SetPlayerInterior(playerid, Player[playerid][pCPosInt]);
3184 SetPlayerFacingAngle(playerid, Player[playerid][pCPos][3]);
3185 SetPlayerVirtualWorld(playerid, Player[playerid][pCPosW]);
3186 Player[playerid][pFSP] = 0;
3187 }
3188 AtualizarArmas(playerid, 1);
3189 AtualizarUsedItens(playerid);
3190 SetCameraBehindPlayer(playerid);
3191 SetPlayerSkin(playerid, Player[playerid][pSkin]);
3192 ShowInvTxd(playerid, 0);
3193 ShowHudTxd(playerid, 1);
3194 HideKTxd(playerid);
3195 AtualizarAnexos(playerid);
3196 SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 998);
3197 SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 998);
3198 SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 998);
3199 SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 998);
3200 SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 100);
3201 return 1;
3202}
3203
3204public OnPlayerDeath(playerid, killerid, reason)
3205{
3206 if(IsPlayerNPC(playerid)) return 1;
3207 if(killerid != INVALID_PLAYER_ID)
3208 {
3209 new exp = 1;
3210 SendClientMessageF(killerid, verde, "* {FFFFFF}Você matou %s (%i) e ganhou {00FF00}%d{FFFFFF} de experiência", GetName(playerid), playerid, exp);
3211 Player[killerid][pMatou]++;
3212 Player[killerid][pExp] += exp;
3213 }
3214 SendDeathMessageEx(killerid, playerid, reason);
3215 Player[playerid][pMorreu]++;
3216 ShowDeathTxd(playerid, killerid);
3217 ShowHudTxd(playerid, 0);
3218 ResetPlayerWeapons(playerid);
3219 Player[playerid][pFome] = 100.0;
3220 Player[playerid][pSede] = 100.0;
3221 Player[playerid][pDTime] = 0;
3222
3223 DropAllItens(playerid);
3224 return 1;
3225}
3226
3227public OnPlayerRequestClass(playerid, classid)
3228{
3229 if(IsPlayerNPC(playerid)) return 1;
3230 if(Player[playerid][pLogado] == false)
3231 {
3232 if(CheckRegister(playerid) == 0) return 1;
3233 SendClientMessageToAllF(0xC0C0C0AA, "%s (%i) entrou no jogo", GetName(playerid), playerid);
3234 }
3235 HideKTxd(playerid);
3236 ShowHudTxd(playerid, 0);
3237 return 1;
3238}
3239
3240public OnPlayerRequestSpawn(playerid)
3241{
3242 if(IsPlayerNPC(playerid)) return 1;
3243 if(Player[playerid][pLogado] == false)
3244 {
3245 GameTextForPlayer(playerid," ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~r~~h~VOCE NAO ESTA LOGADO!", 3000, 3);
3246 return 0;
3247 }
3248 return 1;
3249}
3250
3251public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
3252{
3253 switch(dialogid)
3254 {
3255 case DIALOG_REGISTRO:
3256 {
3257 if(!response) return Kick(playerid);
3258 if(strlen(inputtext) < 4 || strlen(inputtext) > 20 || strfind(inputtext, " ", true) != -1)
3259 {
3260 SendClientMessage(playerid, 0xFF0000FF, "ERRO:{FFFFFF} Senha inválida!");
3261 new Dialog[300];
3262 format(Dialog, sizeof(Dialog),"{F8F8FF}Bem-vindo(a) ao servidor {058AFF}%s{F8F8FF}\n\nVocê não possui uma conta registrada\n\nDigite sua senha para registrar.\n\nStatus: {1E90FF}Não registrado{F8F8FF}\n\nIP: {058AFF}%s", GetName(playerid), PlayerIp(playerid));
3263 ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "Registro", Dialog, "Registrar", "Cancelar");
3264 return 1;
3265 }
3266 CriarConta(playerid, inputtext);
3267 }
3268 case DIALOG_LOGIN:
3269 {
3270 if(!response) return Kick(playerid);
3271 if(strlen(inputtext) < 4 || strlen(inputtext) > 20 || strfind(inputtext, " ", true) != -1)
3272 {
3273 SendClientMessage(playerid, 0xFF0000FF, "ERRO:{FFFFFF} Senha inválida!");
3274 ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Digite sua senha", "Digite sua senha abaixo para logar-se:", "Logar", "Voltar");
3275 return 1;
3276 }
3277 if(Player[playerid][pSenha] == udb_hash(inputtext))
3278 {
3279 CarregarConta(playerid);
3280 }
3281 else
3282 {
3283 Player[playerid][pPassF]++;
3284 if(Player[playerid][pPassF] >= 3)
3285 {
3286 SendClientMessage(playerid, 0xFF0000FF, "ERRO:{FFFFFF} Você errou a senha 3 vezes e foi kickado");
3287 Kick2(playerid);
3288 return 1;
3289 }
3290 SendClientMessage(playerid, 0xFF0000FF, "ERRO:{FFFFFF} Senha incorreta!");
3291 ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Digite sua senha", "Digite sua senha abaixo para logar-se:", "Logar", "Voltar");
3292 }
3293 }
3294 case DIALOG_LOOT:
3295 {
3296 if(!response) return 1;
3297 DarMapItem(playerid, LootDialog[playerid][listitem]);
3298
3299 new itens = 0, pos, str[256];
3300 format(str, sizeof(str), "Nome\tQuantidade/munição");
3301 for(new i = 0; i < MAX_MAPITENS; i++)
3302 {
3303 if(MapItem[i][mModel] != 0)
3304 {
3305 if(IsPlayerInRangeOfPoint(playerid, 1.0, MapItem[i][mPos][0], MapItem[i][mPos][1], MapItem[i][mPos][2]))
3306 {
3307 if(MapItem[i][mArma] == 0) format(str, sizeof(str), "%s\n{%06x}%s\t%d", str, ItemStats[MapItem[i][mModel]][sColor] >>> 8, ItemStats[MapItem[i][mModel]][sNome], MapItem[i][mAmmo]);
3308 else format(str, sizeof(str), "%s\n{545454}%s\t%d", str, WNames[MapItem[i][mModel]], MapItem[i][mAmmo]);
3309 LootDialog[playerid][pos] = i;
3310 pos++;
3311 itens++;
3312 if(pos >= 9) break;
3313 }
3314 }
3315 }
3316 if(itens > 0) ShowPlayerDialog(playerid, DIALOG_LOOT, DIALOG_STYLE_TABLIST_HEADERS, "Itens próximos", str, "Pegar", "Fechar");
3317 }
3318 case DIALOG_CIT:
3319 {
3320 if(!response) return 1;
3321 new Float:x, Float:y, Float:z;
3322 GetPlayerPos(playerid, x, y, z);
3323 CreateItem(0, listitem+1, Player[playerid][CITAmmo], x, y, z);
3324 SendClientMessage(playerid, 0x00FF00FF, "* Item criado com sucesso!");
3325 }
3326 }
3327 return 1;
3328}
3329
3330public OnPlayerText(playerid, text[])
3331{
3332 if(Player[playerid][pLogado] == false)
3333 {
3334 SendClientMessage(playerid, 0xFF0000FF, "| ERRO | Você não está logado");
3335 return 0;
3336 }
3337 if(strlen(text) > 240) return 0;
3338 new str[144+8];
3339
3340 if(text[0] == '@')
3341 {
3342 format(str, sizeof(str), "{FFFFFF}[Chat Global] {0095FF}%s (%i): {FFFFFF}%s", GetName(playerid), playerid, text[1]);
3343 SendClientMessageToAll(-1, str);
3344 return 0;
3345 }
3346 format(str, sizeof(str), "%s (%i): {FFFFFF}%s", GetName(playerid), playerid, text);
3347 new world = GetPlayerVirtualWorld(playerid), color = GetPlayerColor(playerid), Float:x, Float:y, Float:z;
3348 GetPlayerPos(playerid, x, y, z);
3349 for(new i = 0; i < MAX_PLAYERS; i++)
3350 {
3351 if(IsPlayerConnected(i))
3352 {
3353 if(IsPlayerInRangeOfPoint(i, 20.0, x, y, z) && GetPlayerVirtualWorld(i) == world)
3354 {
3355 SendClientMessage(i, color, str);
3356 }
3357 }
3358 }
3359 SetPlayerChatBubble(playerid, text, 0xFFFFFFFF, 20.0, 10000);
3360 return 0;
3361}
3362
3363public OnPlayerStateChange(playerid, newstate, oldstate)
3364{
3365 if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
3366 {
3367 if(newstate == PLAYER_STATE_DRIVER)
3368 {
3369 new v = GetPlayerVehicleID(playerid);
3370 Player[playerid][pLastV] = v;
3371 SendClientMessage(playerid, 0x00C2ECFF, "* Para ligar este veÃculo pressione Y");
3372 }
3373 ShowVStats(playerid, 1);
3374 }
3375 else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
3376 {
3377 if(oldstate == PLAYER_STATE_DRIVER)
3378 {
3379 new v = Player[playerid][pLastV];
3380 new engine, lights, alarm, doors, bonnet, boot, objective;
3381 GetVehicleParamsEx(v, engine, lights, alarm, doors, bonnet, boot, objective);
3382 SetVehicleParamsEx(v, VEHICLE_PARAMS_OFF, lights, alarm, 0, bonnet, boot, objective);
3383 }
3384 ShowVStats(playerid, 0);
3385 }
3386 return 1;
3387}
3388
3389public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
3390{
3391 if(newkeys & KEY_WALK)
3392 {
3393 if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return SendClientMessage(playerid, vermelho, "* Você precisa estar apé para pegar um item");
3394 new lastitem, itens = 0, pos, str[256];
3395 format(str, sizeof(str), "Nome\tQuantidade/munição");
3396 for(new i = 0; i < MAX_MAPITENS; i++)
3397 {
3398 if(MapItem[i][mModel] != 0)
3399 {
3400 if(IsPlayerInRangeOfPoint(playerid, 1.0, MapItem[i][mPos][0], MapItem[i][mPos][1], MapItem[i][mPos][2]))
3401 {
3402 if(MapItem[i][mArma] == 0) format(str, sizeof(str), "%s\n{%06x}%s\t%d", str, ItemStats[MapItem[i][mModel]][sColor] >>> 8, ItemStats[MapItem[i][mModel]][sNome], MapItem[i][mAmmo]);
3403 else format(str, sizeof(str), "%s\n{545454}%s\t%d", str, WNames[MapItem[i][mModel]], MapItem[i][mAmmo]);
3404 LootDialog[playerid][pos] = i;
3405 pos++;
3406 lastitem = i;
3407 itens++;
3408 if(pos >= 9) break;
3409 }
3410 }
3411 }
3412 if(itens > 0)
3413 {
3414 if(itens < 2) DarMapItem(playerid, lastitem);
3415 else ShowPlayerDialog(playerid, DIALOG_LOOT, DIALOG_STYLE_TABLIST_HEADERS, "Itens próximos", str, "Pegar", "Fechar");
3416 }
3417 }
3418 if(newkeys & KEY_YES)
3419 {
3420 if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
3421 {
3422 new v = GetPlayerVehicleID(playerid), Float:health;
3423 GetVehicleHealth(v, health);
3424
3425 new engine, lights, alarm, doors, bonnet, boot, objective;
3426 GetVehicleParamsEx(v, engine, lights, alarm, doors, bonnet, boot, objective);
3427 if(engine == VEHICLE_PARAMS_ON) return 1;
3428
3429 if(health <= 300) return SendClientMessage(playerid, vermelho, "* Motor do veÃculo está muito danificado");
3430 if(Veiculo[v][vFuel] < 1) return SendClientMessage(playerid, vermelho, "* Este veÃculo não possui combustÃvel");
3431
3432 SendClientMessage(playerid, 0x00FF00FF, "* VeÃculo ligado!");
3433 SetVehicleParamsEx(v, VEHICLE_PARAMS_ON, lights, alarm, 0, bonnet, boot, objective);
3434 return 1;
3435 }
3436 if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return SendClientMessage(playerid, vermelho, "* Você precisa estar apé para abrir o inventário");
3437 ShowInvTxd(playerid);
3438 }
3439 return 1;
3440}
3441
3442public OnPlayerClickTextDraw(playerid, Text:clickedid)
3443{
3444 if(InvTSelect[playerid] != -1)
3445 {
3446 new id = InvT[playerid][InvTSelect[playerid]];
3447 if(clickedid == Inv_TD[7]) //Dropar
3448 {
3449 if(Item[playerid][id][iUsed] == 1 || InvTSelect[playerid] == 4 || InvTSelect[playerid] == 5 || InvTSelect[playerid] == 6) return SendClientMessage(playerid, vermelho, "* Você não pode dropar um item equipado");
3450 new Float:x, Float:y, Float:z;
3451 GetPlayerPos(playerid, x, y, z);
3452 CreateItem(Item[playerid][id][iArma], Item[playerid][id][iModel], Item[playerid][id][iAmmo], x, y, z, GetPlayerVirtualWorld(playerid), GetPlayerInterior(playerid));
3453 RemoveItem(playerid, id);
3454 SendClientMessage(playerid, verde, "* Item dropado com sucesso!");
3455 ShowInvTxd(playerid);
3456 }
3457 else if(clickedid == Inv_TD[9]) //Descarregar
3458 {
3459 if(Item[playerid][id][iArma] == 0) return 1;
3460 if(Item[playerid][id][iAmmo] == 0)
3461 {
3462 SendClientMessage(playerid, vermelho, "* Esta arma não possui munição!");
3463 }
3464 else
3465 {
3466 new espaco = 0;
3467 for(new i = 0; i < MAX_ITENS; i++)
3468 {
3469 if(Item[playerid][i][iModel] != 0 && Item[playerid][i][iUsed] == 0) espaco++;
3470 }
3471 if(espaco >= Player[playerid][pSlots]) return SendClientMessage(playerid, vermelho, "* Você não possui espaço no inventário");
3472 new slot = GetWeaponSlot(Item[playerid][id][iModel]);
3473 for(new i = 0; i < MAX_ITENS; i++)
3474 {
3475 if(Item[playerid][i][iModel] == 0)
3476 {
3477 new type;
3478 switch(slot)
3479 {
3480 //Munição de Pistola
3481 case 2: type = 1;
3482 //Munição de SMG
3483 case 4: type = 2;
3484 //Munição de Escopeta
3485 case 3: type = 3;
3486 //Munição de Assalto
3487 case 5: type = 4;
3488 //Munição de Rifle
3489 case 6: type = 5;
3490 }
3491 Item[playerid][i][iArma] = 0;
3492 Item[playerid][i][iUsed] = 0;
3493 Item[playerid][i][iModel] = type;
3494 Item[playerid][i][iAmmo] = Item[playerid][id][iAmmo];
3495 Item[playerid][id][iAmmo] = 0;
3496
3497 SendClientMessage(playerid, verde, "* Arma descarregada, caixa de munição criada no inventário");
3498 ShowInvTxd(playerid);
3499 return 1;
3500 }
3501 }
3502 }
3503 }
3504 }
3505 if(clickedid == Inv_TD[11]) //Sair
3506 {
3507 ShowInvTxd(playerid, 0);
3508 }
3509 return 1;
3510}
3511
3512public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
3513{
3514 if(playertextid == Inv_PTD[playerid][2]) //Usar/desequipar
3515 {
3516 if(InvTSelect[playerid] == -1) return 1;
3517 new id = InvT[playerid][InvTSelect[playerid]];
3518 switch(InvTSelect[playerid])
3519 {
3520 case 4, 5, 6:
3521 {
3522 new espaco = 0;
3523 for(new i = 0; i < MAX_ITENS; i++)
3524 {
3525 if(Item[playerid][i][iModel] != 0 && Item[playerid][i][iUsed] == 0) espaco++;
3526 }
3527 if(espaco >= Player[playerid][pSlots]) return SendClientMessage(playerid, vermelho, "* Você não possui espaço no inventário");
3528 new wid = InvTSelect[playerid]-4;
3529 for(new i = 0; i < MAX_ITENS; i++)
3530 {
3531 if(Item[playerid][i][iModel] == 0)
3532 {
3533 Item[playerid][i][iArma] = 1;
3534 Item[playerid][i][iModel] = Player[playerid][pArma][wid];
3535 Item[playerid][i][iAmmo] = Player[playerid][pArmaA][wid];
3536 Item[playerid][i][iUsed] = 0;
3537 break;
3538 }
3539 }
3540 Player[playerid][pArma][wid] = 0;
3541 Player[playerid][pArmaA][wid] = 0;
3542 ResetPlayerWeapons(playerid);
3543 GivePlayerWeapon(playerid, Player[playerid][pArma][2], Player[playerid][pArmaA][2]);
3544 GivePlayerWeapon(playerid, Player[playerid][pArma][1], Player[playerid][pArmaA][1]);
3545 GivePlayerWeapon(playerid, Player[playerid][pArma][0], Player[playerid][pArmaA][0]);
3546 SendClientMessage(playerid, verde, "* Arma desequipada e enviada ao inventário");
3547 ShowHudTxd(playerid);
3548 ShowInvTxd(playerid);
3549 return 1;
3550 }
3551 }
3552 if(Item[playerid][id][iUsed] == 0)
3553 {
3554 if(Item[playerid][id][iArma] == 0)
3555 {
3556 if(Item[playerid][id][iModel] >= 1 && Item[playerid][id][iModel] < 6) //Munições
3557 {
3558 new slot;
3559 switch(Item[playerid][id][iModel])
3560 {
3561 //Munição de Pistola
3562 case 1: slot = 2;
3563 //Munição de SMG
3564 case 2: slot = 4;
3565 //Munição de Escopeta
3566 case 3: slot = 3;
3567 //Munição de Assalto
3568 case 4: slot = 5;
3569 //Munição de Rifle
3570 case 5: slot = 6;
3571 }
3572 for(new i = 0; i < MAX_ITENS; i++)
3573 {
3574 if(Item[playerid][i][iModel] != 0)
3575 {
3576 if(Item[playerid][i][iArma] == 1)
3577 {
3578 if(GetWeaponSlot(Item[playerid][i][iModel]) == slot)
3579 {
3580 Item[playerid][i][iAmmo] += Item[playerid][id][iAmmo];
3581 RemoveItem(playerid, id);
3582 SendClientMessage(playerid, verde, "* Munição equipada!");
3583 ShowInvTxd(playerid);
3584 return 1;
3585 }
3586 }
3587 }
3588 }
3589 SendClientMessage(playerid, vermelho, "* Você não possui arma para este tipo de munição");
3590 return 1;
3591 }
3592 switch(Item[playerid][id][iModel])
3593 {
3594 case 6: //Caixa de ferramentas
3595 {
3596 new Float:x, Float:y, Float:z;
3597 for(new i = 0, m = GetVehiclePoolSize()+1; i < m; i++)
3598 {
3599 if(GetVehicleModel(i) != 0)
3600 {
3601 GetVehiclePos(i, x, y, z);
3602 if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z))
3603 {
3604 RemoveItem(playerid, id);
3605 SetVehicleHealth(i, 1000);
3606 SendClientMessage(playerid, verde, "* VeÃculo concertado");
3607 ShowInvTxd(playerid, 0);
3608 return 1;
3609 }
3610 }
3611 }
3612 SendClientMessage(playerid, vermelho, "* Você não está proximo de um veÃculo");
3613 }
3614 case 7: //Galão de Gasolina
3615 {
3616 new Float:x, Float:y, Float:z;
3617 for(new i = 0, m = GetVehiclePoolSize()+1; i < m; i++)
3618 {
3619 if(GetVehicleModel(i) != 0)
3620 {
3621 GetVehiclePos(i, x, y, z);
3622 if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z))
3623 {
3624 if(Item[playerid][id][iAmmo] < 1) return SendClientMessage(playerid, vermelho, "* Galão vazio, encha-o em um posto de combustÃvel");
3625 if(Veiculo[i][vFuel] >= 100) return SendClientMessage(playerid, vermelho, "* VeÃculo já está com o tanque cheio");
3626 Veiculo[i][vFuel] += Item[playerid][id][iAmmo];
3627 Item[playerid][id][iAmmo] = 0;
3628 if(Veiculo[i][vFuel] > 100.0) Veiculo[i][vFuel] = 100;
3629 SendClientMessage(playerid, verde, "* VeÃculo abastecido");
3630 ShowInvTxd(playerid, 0);
3631 return 1;
3632 }
3633 }
3634 }
3635 for(new i = 0; i < sizeof(GPostos); i++)
3636 {
3637 if(IsPlayerInRangeOfPoint(playerid, 5.0, GPostos[i][0], GPostos[i][1], GPostos[i][2]))
3638 {
3639 if(Item[playerid][id][iAmmo] >= 30) return SendClientMessage(playerid, vermelho, "* Seu galão já está cheio!");
3640 Item[playerid][id][iAmmo] = 30;
3641 SendClientMessage(playerid, verde, "* Você encheu seu galão com sucesso");
3642 ShowInvTxd(playerid, 0);
3643 return 1;
3644 }
3645 }
3646 SendClientMessage(playerid, vermelho, "* Você não está proximo de um veÃculo ou posto de combustÃvel");
3647 }
3648 case 8: //Pizza
3649 {
3650 if(Player[playerid][pFome] >= 98) return SendClientMessage(playerid, vermelho, "* Você não está com fome");
3651 Player[playerid][pFome] = 100.0;
3652 RemoveItem(playerid, id);
3653 ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.0, 0, 0, 0, 0, 0, 1);
3654 ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.0, 0, 0, 0, 0, 0, 1);
3655 SendClientMessage(playerid, verde, "* Você comeu um alimento, fome eliminada");
3656 ShowInvTxd(playerid, 0);
3657 }
3658 case 9: //Ãgua
3659 {
3660 if(Item[playerid][id][iModel] == 9) //Ãgua
3661 {
3662 if(Item[playerid][id][iAmmo] < 1)
3663 {
3664 SendClientMessage(playerid, vermelho, "* Garrafa vazia, encha-a em um bebedouro");
3665 return 1;
3666 }
3667 }
3668 if(Player[playerid][pSede] >= 98) return SendClientMessage(playerid, vermelho, "* Você não está com sede");
3669 Player[playerid][pSede] = 100.0;
3670 Item[playerid][id][iAmmo] = 0;
3671 ApplyAnimation(playerid, "VENDING", "VEND_Drink_P", 4.0, 0, 0, 0, 0, 0, 1);
3672 ApplyAnimation(playerid, "VENDING", "VEND_Drink_P", 4.0, 0, 0, 0, 0, 0, 1);
3673 SendClientMessage(playerid, verde, "* Você ingeriu uma bebida, sede eliminada");
3674 ShowInvTxd(playerid, 0);
3675 }
3676 case 10: //GPS
3677 {
3678 for(new i = 0; i < MAX_ITENS; i++)
3679 {
3680 if(Item[playerid][i][iUsed] == 1)
3681 {
3682 if(Item[playerid][i][iModel] == 10)
3683 {
3684 SendClientMessage(playerid, vermelho, "* Você já possui um GPS equipado");
3685 return 1;
3686 }
3687 }
3688 }
3689 Item[playerid][id][iUsed] = 1;
3690 SendClientMessage(playerid, verde, "* Você equipou o GPS");
3691 ShowHudTxd(playerid);
3692 ShowInvTxd(playerid, 0);
3693 }
3694 case 11: //Mochila Média
3695 {
3696 if(AtualizarAnexos(playerid) == 1) return SendClientMessage(playerid, vermelho, "* Você já possui uma mochila equipada");
3697 Item[playerid][id][iUsed] = 1;
3698 Player[playerid][pSlots] = 7;
3699 AtualizarAnexos(playerid);
3700 SendClientMessage(playerid, verde, "* Você equipou a mochila média, agora possui 7 slots");
3701 ShowInvTxd(playerid, 0);
3702 }
3703 case 12: //Mochila Grande
3704 {
3705 if(AtualizarAnexos(playerid) == 1) return SendClientMessage(playerid, vermelho, "* Você já possui uma mochila equipada");
3706 Item[playerid][id][iUsed] = 1;
3707 Player[playerid][pSlots] = 10;
3708 AtualizarAnexos(playerid);
3709 SendClientMessage(playerid, verde, "* Você equipou a mochila grande, agora possui 10 slots");
3710 ShowInvTxd(playerid, 0);
3711 }
3712 }
3713 }
3714 else
3715 {
3716 new type;
3717 switch(GetWeaponSlot(Item[playerid][id][iModel]))
3718 {
3719 //Arma branca
3720 case 1: type = 2;
3721 //Pistola
3722 case 2: type = 1;
3723 //SMG
3724 case 4: type = 1;
3725 //Escopeta
3726 case 3: type = 0;
3727 //Assalto
3728 case 5: type = 0;
3729 //Rifle
3730 case 6: type = 0;
3731 }
3732 if(Player[playerid][pArma][type] != 0) return SendClientMessage(playerid, vermelho, "* Você já possui uma arma deste tipo equipada");
3733 Player[playerid][pArma][type] = Item[playerid][id][iModel];
3734 Player[playerid][pArmaA][type] = Item[playerid][id][iAmmo];
3735 RemoveItem(playerid, id);
3736 AtualizarArmas(playerid, 1);
3737 SendClientMessage(playerid, verde, "* Arma equipada!");
3738 ShowInvTxd(playerid);
3739 }
3740 }
3741 else
3742 {
3743 new espaco = 0;
3744 for(new i = 0; i < MAX_ITENS; i++)
3745 {
3746 if(Item[playerid][i][iModel] != 0 && Item[playerid][i][iUsed] == 0) espaco++;
3747 }
3748 if(espaco >= Player[playerid][pSlots]) return SendClientMessage(playerid, vermelho, "* Você não possui espaço no inventário");
3749 if(Item[playerid][id][iArma] == 1)
3750 {
3751 Item[playerid][id][iUsed] = 0;
3752 SetPlayerAmmo(playerid, Item[playerid][id][iModel], 0);
3753 SendClientMessage(playerid, verde, "* Arma desequipada e enviada ao inventário");
3754 ShowInvTxd(playerid);
3755 }
3756 else
3757 {
3758 switch(Item[playerid][id][iModel])
3759 {
3760 case 10: //GPS
3761 {
3762 Item[playerid][id][iUsed] = 0;
3763 SendClientMessage(playerid, verde, "* Item desequipado e enviado ao inventário");
3764 ShowHudTxd(playerid);
3765 ShowInvTxd(playerid);
3766 }
3767 case 11: //Mochila Média
3768 {
3769 Item[playerid][id][iUsed] = 0;
3770 new Float:x, Float:y, Float:z, itens;
3771 GetPlayerPos(playerid, x, y, z);
3772 for(new i = 0; i < MAX_ITENS; i++)
3773 {
3774 if(Item[playerid][i][iModel] != 0 && Item[playerid][i][iUsed] == 0)
3775 {
3776 itens++;
3777 if(itens >= 5)
3778 {
3779 CreateItem(Item[playerid][i][iArma], Item[playerid][i][iModel], Item[playerid][i][iAmmo], x, y, z);
3780 RemoveItem(playerid, i);
3781 }
3782 }
3783 }
3784 Player[playerid][pSlots] = 5;
3785 AtualizarAnexos(playerid);
3786 SendClientMessage(playerid, verde, "* Item desequipado e enviado ao inventário");
3787 ShowInvTxd(playerid, 0);
3788 }
3789 case 12: //Mochila Grande
3790 {
3791 Item[playerid][id][iUsed] = 0;
3792 new Float:x, Float:y, Float:z, itens;
3793 GetPlayerPos(playerid, x, y, z);
3794 for(new i = 0; i < MAX_ITENS; i++)
3795 {
3796 if(Item[playerid][i][iModel] != 0 && Item[playerid][i][iUsed] == 0)
3797 {
3798 itens++;
3799 if(itens >= 5)
3800 {
3801 CreateItem(Item[playerid][i][iArma], Item[playerid][i][iModel], Item[playerid][i][iAmmo], x, y, z);
3802 RemoveItem(playerid, i);
3803 }
3804 }
3805 }
3806 Player[playerid][pSlots] = 5;
3807 AtualizarAnexos(playerid);
3808 SendClientMessage(playerid, verde, "* Item desequipado e enviado ao inventário");
3809 ShowInvTxd(playerid, 0);
3810 }
3811 }
3812 }
3813 }
3814 return 1;
3815 }
3816 new tid;
3817 for(new i = 4; i < 24; i++)
3818 {
3819 if(playertextid == Inv_PTD[playerid][i])
3820 {
3821 tid = i;
3822 }
3823 }
3824 new str[256];
3825 switch(tid)
3826 {
3827 case 4, 5, 6:
3828 {
3829 new wid = tid-4;
3830 if(Player[playerid][pArma][wid] == 0)
3831 {
3832 if(InvTSelect[playerid] != -1)
3833 {
3834 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][InvTSelect[playerid]], 555819519);
3835 PlayerTextDrawHide(playerid, Inv_PTD[playerid][InvTSelect[playerid]]), PlayerTextDrawShow(playerid, Inv_PTD[playerid][InvTSelect[playerid]]);
3836 }
3837 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][tid], 0x00FF00FF);
3838 PlayerTextDrawHide(playerid, Inv_PTD[playerid][tid]), PlayerTextDrawShow(playerid, Inv_PTD[playerid][tid]);
3839 InvTSelect[playerid] = tid;
3840
3841 PlayerTextDrawHide(playerid, Inv_PTD[playerid][0]);
3842 PlayerTextDrawHide(playerid, Inv_PTD[playerid][1]);
3843
3844 TextDrawHideForPlayer(playerid, Inv_TD[9]), TextDrawHideForPlayer(playerid, Inv_TD[8]);
3845 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][3], "Nenhuma arma~n~equipada");
3846 PlayerTextDrawShow(playerid, Inv_PTD[playerid][3]);
3847 PlayerTextDrawHide(playerid, Inv_PTD[playerid][2]);
3848 TextDrawHideForPlayer(playerid, Inv_TD[7]);
3849 TextDrawHideForPlayer(playerid, Inv_TD[5]);
3850 TextDrawHideForPlayer(playerid, Inv_TD[6]);
3851 return 1;
3852 }
3853
3854 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][2], "Desequipar");
3855 if(InvTSelect[playerid] != -1)
3856 {
3857 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][InvTSelect[playerid]], 555819519);
3858 PlayerTextDrawHide(playerid, Inv_PTD[playerid][InvTSelect[playerid]]), PlayerTextDrawShow(playerid, Inv_PTD[playerid][InvTSelect[playerid]]);
3859 }
3860 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][tid], 0x00FF00FF);
3861 PlayerTextDrawHide(playerid, Inv_PTD[playerid][tid]), PlayerTextDrawShow(playerid, Inv_PTD[playerid][tid]);
3862 InvTSelect[playerid] = tid;
3863
3864 PlayerTextDrawHide(playerid, Inv_PTD[playerid][0]);
3865 PlayerTextDrawHide(playerid, Inv_PTD[playerid][1]);
3866 PlayerTextDrawSetPreviewModel(playerid, Inv_PTD[playerid][1], GetWeaponModel(Player[playerid][pArma][wid]));
3867 PlayerTextDrawShow(playerid, Inv_PTD[playerid][1]);
3868 format(str, sizeof(str), "%s~n~ ~n~Municao: ~g~~h~%d~n~~w~Tipo: ~b~~h~Arma", WNames[Player[playerid][pArma][wid]], Player[playerid][pArmaA][wid]);
3869
3870 TextDrawHideForPlayer(playerid, Inv_TD[9]), TextDrawHideForPlayer(playerid, Inv_TD[8]);
3871 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][3], str);
3872 PlayerTextDrawShow(playerid, Inv_PTD[playerid][3]);
3873 PlayerTextDrawShow(playerid, Inv_PTD[playerid][2]);
3874 TextDrawShowForPlayer(playerid, Inv_TD[7]);
3875 TextDrawShowForPlayer(playerid, Inv_TD[5]);
3876 TextDrawShowForPlayer(playerid, Inv_TD[6]);
3877 return 1;
3878 }
3879 }
3880 new id = InvT[playerid][tid];
3881 if(Item[playerid][id][iUsed] == 1) PlayerTextDrawSetString(playerid, Inv_PTD[playerid][2], "Desequipar");
3882 else PlayerTextDrawSetString(playerid, Inv_PTD[playerid][2], "USAR");
3883 if(InvTSelect[playerid] != -1)
3884 {
3885 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][InvTSelect[playerid]], 555819519);
3886 PlayerTextDrawHide(playerid, Inv_PTD[playerid][InvTSelect[playerid]]), PlayerTextDrawShow(playerid, Inv_PTD[playerid][InvTSelect[playerid]]);
3887 }
3888 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][tid], 0x00FF00FF);
3889 PlayerTextDrawHide(playerid, Inv_PTD[playerid][tid]), PlayerTextDrawShow(playerid, Inv_PTD[playerid][tid]);
3890 InvTSelect[playerid] = tid;
3891 switch(Item[playerid][id][iArma])
3892 {
3893 case 0:
3894 {
3895 format(str, sizeof(str), ItemStats[Item[playerid][id][iModel]][sNome]);
3896 RetirarAcentos(str);
3897 PlayerTextDrawHide(playerid, Inv_PTD[playerid][0]);
3898 PlayerTextDrawHide(playerid, Inv_PTD[playerid][1]);
3899 PlayerTextDrawSetPreviewModel(playerid, Inv_PTD[playerid][0], ItemStats[Item[playerid][id][iModel]][sObjc]);
3900 PlayerTextDrawShow(playerid, Inv_PTD[playerid][0]);
3901 format(str, sizeof(str), "%s~n~ ~n~Quantidade: ~g~~h~%d~n~~w~Tipo: ~b~~h~Item", str, Item[playerid][id][iAmmo]);
3902 }
3903 case 1:
3904 {
3905 PlayerTextDrawHide(playerid, Inv_PTD[playerid][0]);
3906 PlayerTextDrawHide(playerid, Inv_PTD[playerid][1]);
3907 PlayerTextDrawSetPreviewModel(playerid, Inv_PTD[playerid][1], GetWeaponModel(Item[playerid][id][iModel]));
3908 PlayerTextDrawShow(playerid, Inv_PTD[playerid][1]);
3909 format(str, sizeof(str), "%s~n~ ~n~Municao: ~g~~h~%d~n~~w~Tipo: ~b~~h~Arma", WNames[Item[playerid][id][iModel]], Item[playerid][id][iAmmo]);
3910 }
3911 }
3912 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][3], str);
3913 PlayerTextDrawShow(playerid, Inv_PTD[playerid][3]);
3914 PlayerTextDrawShow(playerid, Inv_PTD[playerid][2]);
3915 TextDrawShowForPlayer(playerid, Inv_TD[7]);
3916 TextDrawShowForPlayer(playerid, Inv_TD[5]);
3917 TextDrawShowForPlayer(playerid, Inv_TD[6]);
3918 if(Item[playerid][id][iArma] == 1 && Item[playerid][id][iUsed] == 0) TextDrawShowForPlayer(playerid, Inv_TD[9]), TextDrawShowForPlayer(playerid, Inv_TD[8]);
3919 else TextDrawHideForPlayer(playerid, Inv_TD[9]), TextDrawHideForPlayer(playerid, Inv_TD[8]);
3920 return 1;
3921}
3922
3923public OnVehicleSpawn(vehicleid)
3924{
3925 /*new engine, lights, alarm, doors, bonnet, boot, objective, panels, tires;
3926 GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
3927 SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lights, alarm, 0, bonnet, boot, objective);
3928 SetVehicleHealth(vehicleid, 360);
3929 Veiculo[vehicleid][vFuel] = 0;
3930
3931 new doorStates;
3932 for(new i = 0; i < cellbits; i += 8)
3933 {
3934 doorStates |= (1 << 1) << i;
3935 }
3936 GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
3937 UpdateVehicleDamageStatus(vehicleid, 15, doorStates, 15, tires);*/
3938
3939 SetVehicleHealth(vehicleid, 300);
3940 Veiculo[vehicleid][vFuel] = 0;
3941 GetVehiclePos(vehicleid, Veiculo[vehicleid][vSpPos][0], Veiculo[vehicleid][vSpPos][1], Veiculo[vehicleid][vSpPos][2]);
3942 GetVehicleZAngle(vehicleid, Veiculo[vehicleid][vSpPos][3]);
3943
3944 new engine, lights, alarm, doors, bonnet, boot, objective;
3945 GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
3946 SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lights, alarm, 0, bonnet, boot, objective);
3947 return 1;
3948}
3949
3950public OnPlayerUpdate(playerid)
3951{
3952 if(Player[playerid][pKicked] == 1) return 0;
3953 //Contador de FPS
3954 new drunknew = GetPlayerDrunkLevel(playerid);
3955 if(drunknew < 100)
3956 {
3957 SetPlayerDrunkLevel(playerid, 2000);
3958 }
3959 else
3960 {
3961 if(pDrunkLevelLast[playerid] != drunknew)
3962 {
3963 new wfps = pDrunkLevelLast[playerid] - drunknew;
3964 if((wfps > 0) && (wfps < 200)) pFPS[playerid] = wfps;
3965 SetPVarInt(playerid, "PVarFPS", pFPS[playerid]);
3966 pDrunkLevelLast[playerid] = drunknew;
3967 }
3968 }
3969 return 1;
3970}
3971
3972public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
3973{
3974 if(Player[playerid][pAdmin] >= 5 || IsPlayerAdmin(playerid))
3975 {
3976 new Float:mz;
3977 MapAndreas_FindZ_For2DCoord(fX, fY, mz);
3978 SetPlayerPos(playerid, fX, fY, mz+1);
3979 }
3980 return 1;
3981}
3982
3983public OnPlayerPickUpPickup(playerid, pickupid)
3984{
3985 return 1;
3986}
3987
3988public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
3989{
3990 SetTimerEx("DisableShop", 1000, false, "i", playerid);
3991 return 1;
3992}
3993
3994//END - Callbacks --------------------------------------------------------------
3995
3996//Comandos de admin ------------------------------------------------------------
3997
3998/*
3999/ir, /trazer, /setscore, /heal, /setskin, /ircoord, /ban, /tempban, /desbanir, /kick, /god, /resv, /godcar, /setadmin, /salvardados, /spawn, /setclima, /sethora
4000/lc /animfunc
4001*/
4002
4003CMD:setnick(playerid, params[])
4004{
4005 if(!Permission(playerid, 6)) return 1;
4006 new id, nome[MAX_PLAYER_NAME];
4007 if(sscanf(params, "ds[24]", id, nome)) return SendClientMessage(playerid, vermelho, "Uso: /setnick [ID] [NOME]");
4008 if(!CheckID(playerid, id)) return 1;
4009 new oldname[MAX_PLAYER_NAME];
4010 strcat(oldname, GetName(id));
4011 if(ChangeName(id, nome) == 0) return SendClientMessage(playerid, vermelho, "| ERRO | Nick inválido, em uso, existente, ou muito grande/pequeno");
4012
4013 CMDMessageToAdmins(playerid, "SETNICK");
4014 SendClientMessageToAllF(amarelo, "| NICK | Administrador %s alterou o nome de %s para %s", GetName(playerid), oldname, GetName(id));
4015 return 1;
4016}
4017
4018CMD:item(playerid, params[])
4019{
4020 new isWeap = strval(params), model, ammo, Float:x, Float:y, Float:z;
4021 if(isnull(params) || isWeap < 0) return SendClientMessage(playerid, vermelho, "Uso: /item [isWeap]");
4022 if(isWeap == 0)
4023 {
4024 if(sscanf(params, "dd", isWeap, ammo)) return SendClientMessage(playerid, vermelho, "Uso: /item 0 [Quantidade]");
4025 if(ammo < 0) return SendClientMessage(playerid, vermelho, "| ERRO | Quantia inválida");
4026 Player[playerid][CITAmmo] = ammo;
4027 new str[1000];
4028 format(str, sizeof(str), "ID\tNome");
4029 for(new i = 1; i < sizeof(ItemStats); i++) format(str, sizeof(str), "%s\n%d\t{%06x}%s", str, i, ItemStats[i][sColor] >>> 8, ItemStats[i][sNome]);
4030 ShowPlayerDialog(playerid, DIALOG_CIT, DIALOG_STYLE_TABLIST_HEADERS, "Itens", str, "Criar", "Fechar");
4031 }
4032 else
4033 {
4034 if(sscanf(params, "ddd", isWeap, model, ammo)) return SendClientMessage(playerid, vermelho, "Uso: /item 1 [Modelo] [Munição]");
4035 if(ammo < 0) return SendClientMessage(playerid, vermelho, "| ERRO | Quantia inválida");
4036 GetPlayerPos(playerid, x, y, z);
4037 CreateItem(1, model, ammo, x, y, z);
4038 }
4039 return 1;
4040}
4041
4042CMD:animfunc(playerid, params[])
4043{
4044 if(!Permission(playerid, 5)) return 1;
4045 new id, animlib[100], animname[100], Float:fDelta, loop, lockx, locky, freeze, time, forsync;
4046 if(sscanf(params, "ds[100]s[100]fdddddd", id, animlib, animname, Float:fDelta, loop, lockx, locky, freeze, time, forsync)) return SendClientMessage(playerid, vermelho, "Uso: /animfunc [playerid] [animlib] [animname] [Float:fDelta] [loop] [lockx] [locky] [freeze] [time] [forcesync]");
4047 if(!CheckID(playerid, id)) return 1;
4048
4049 SendClientMessageF(playerid, COR_ADM, "Animação aplicada | ApplyAnimation(%d, \"%s\", \"%s\", %f, %d, %d, %d, %d, %d, %d);", id, animlib, animname, Float:fDelta, loop, lockx, locky, freeze, time, forsync);
4050
4051 ApplyAnimation(id, animlib, animname, Float:fDelta, loop, lockx, locky, freeze, time, forsync);
4052 return 1;
4053}
4054
4055CMD:admcmds(playerid)
4056{
4057 if(Player[playerid][pAdmin] < 1) return SendClientMessage(playerid, vermelho, "| ERRO | Você não tem permissão");
4058 #define sr(%1) strins(cmd, %1, strlen(cmd));
4059 new cmd[1500];
4060
4061 #define AddCmdsLevel1\
4062 sr("{0085FA}Comandos de admin nÃvel 1:\n{4DD2FF}/kick, /espiar, /salvardados\n\n")
4063
4064 #define AddCmdsLevel2\
4065 sr("{0085FA}Comandos de admin nÃvel 2:\n{4DD2FF}/ban, /tempban\n\n")
4066
4067 #define AddCmdsLevel3\
4068 sr("{0085FA}Comandos de admin nÃvel 3:\n{4DD2FF}/trazer, /ir, /desbanir, /spawn\n\n")
4069
4070 #define AddCmdsLevel4\
4071 sr("{0085FA}Comandos de admin nÃvel 4:\n{4DD2FF}/setclima, /sethora, /resv, /ircoord\n/heal, /god\n\n")
4072
4073 #define AddCmdsLevel5\
4074 sr("{0085FA}Comandos de admin nÃvel 5:\n{4DD2FF}/setadmin, /setscore, /setskin, /godcar\n/animfunc\n\n")
4075
4076 switch(Player[playerid][pAdmin])
4077 {
4078 case 1:
4079 {
4080 AddCmdsLevel1
4081 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "{0085FA}Comandos de admin", cmd, "Fechar", "");
4082 return 1;
4083 }
4084 case 2:
4085 {
4086 AddCmdsLevel1
4087 AddCmdsLevel2
4088 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "{0085FA}Comandos de admin", cmd, "Fechar", "");
4089 return 1;
4090 }
4091 case 3:
4092 {
4093 AddCmdsLevel1
4094 AddCmdsLevel2
4095 AddCmdsLevel3
4096 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "{0085FA}Comandos de admin", cmd, "Fechar", "");
4097 return 1;
4098 }
4099 case 4:
4100 {
4101 AddCmdsLevel1
4102 AddCmdsLevel2
4103 AddCmdsLevel3
4104 AddCmdsLevel4
4105 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "{0085FA}Comandos de admin", cmd, "Fechar", "");
4106 return 1;
4107 }
4108 default:
4109 {
4110 AddCmdsLevel1
4111 AddCmdsLevel2
4112 AddCmdsLevel3
4113 AddCmdsLevel4
4114 AddCmdsLevel5
4115 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "{0085FA}Comandos de admin", cmd, "Fechar", "");
4116 return 1;
4117 }
4118 }
4119 return 1;
4120}
4121CMD:aa(playerid) return cmd_admcmds(playerid);
4122CMD:ajudaadm(playerid) return cmd_admcmds(playerid);
4123CMD:aajuda(playerid) return cmd_admcmds(playerid);
4124CMD:ajudaa(playerid) return cmd_admcmds(playerid);
4125CMD:cmd(playerid) return cmd_admcmds(playerid);
4126
4127CMD:spawn(playerid, params[])
4128{
4129 if(!Permission(playerid, 3)) return 1;
4130 new id;
4131 if(sscanf(params, "i", id)) return SendClientMessage(playerid, vermelho, "Uso: /spawn [ID]");
4132 if(!CheckID(playerid, id)) return 1;
4133
4134 CMDMessageToAdmins(playerid, "SPAWN");
4135 SendClientMessageF(playerid, COR_ADM, "Jogador %s respawnado", GetName(id));
4136 SendClientMessageF(id, COR_ADM, "Administrador %s lhe renasceu", GetName(playerid));
4137
4138 Spawn(id);
4139 return 1;
4140}
4141
4142CMD:lc(playerid)
4143{
4144 if(!Permission(playerid, 3)) return 1;
4145 LimparChat(-1);
4146 CMDMessageToAdmins(playerid, "LC");
4147 return 1;
4148}
4149
4150CMD:setscore(playerid, params[])
4151{
4152 if(!Permission(playerid, -1)) return 1;
4153 new id, score;
4154 if(sscanf(params, "id", id, score)) return SendClientMessage(playerid, vermelho, "Uso: /setscore [ID] [SCORE]");
4155 if(!CheckID(playerid, id)) return 1;
4156
4157 CMDMessageToAdmins(playerid, "SETSCORE");
4158 SendClientMessageF(playerid, COR_ADM, "Score do jogador %s alterado para %d", GetName(id), score);
4159 SendClientMessageF(id, COR_ADM, "Administrador %s alterou seu score para %d", GetName(playerid), score);
4160
4161 SetPlayerScore(id, score);
4162 return 1;
4163}
4164
4165CMD:heal(playerid, params[])
4166{
4167 if(!Permission(playerid, 4)) return 1;
4168 new id, h, a;
4169 if(sscanf(params, "iD(100)D(-1)", id, h, a)) return SendClientMessage(playerid, vermelho, "Uso: /heal [ID] [VIDA (opcional)] [COLETE (opcional)]");
4170 if(!CheckID(playerid, id)) return 1;
4171 if(h > 100 || h < 0 || a > 100 || a < -1) return SendClientMessage(playerid, vermelho, "| ERRO | Valor inválido");
4172
4173 CMDMessageToAdmins(playerid, "HEAL");
4174 SendClientMessageF(playerid, COR_ADM, "Vida e colete do jogador %s alterados com sucesso", GetName(id));
4175
4176 SetPlayerHealth(id, h);
4177 if(a != -1) SetPlayerArmour(id, a);
4178 return 1;
4179}
4180
4181CMD:setskin(playerid, params[])
4182{
4183 if(!Permission(playerid, 5)) return 1;
4184 new id, skin;
4185 if(sscanf(params, "id", id, skin)) return SendClientMessage(playerid, vermelho, "Uso: /setskin [ID] [SKIN]");
4186 if(!CheckID(playerid, id)) return 1;
4187
4188 CMDMessageToAdmins(playerid, "SETSKIN");
4189 SendClientMessageF(playerid, COR_ADM, "Skin do jogador %s alterada para %d", GetName(id), skin);
4190 SendClientMessageF(id, COR_ADM, "Administrador %s alterou sua skin para %d", GetName(playerid), skin);
4191
4192 SetPlayerSkin(id, skin);
4193 return 1;
4194}
4195
4196CMD:ircoord(playerid, params[])
4197{
4198 if(!Permission(playerid, 4)) return 1;
4199 new Float:x, Float:y, Float:z;
4200 if(sscanf(params, "fff", x, y, z)) return SendClientMessage(playerid, vermelho, "Uso: /ircoord [X] [Y] [Z]");
4201
4202 CMDMessageToAdmins(playerid, "IRCOORD");
4203 SendClientMessageF(playerid, COR_ADM, "Você foi até a posição %f, %f, %f", x, y, z);
4204
4205 SetPlayerPosEx(playerid, x, y, z);
4206 return 1;
4207}
4208
4209CMD:ban(playerid, params[])
4210{
4211 if(!Permission(playerid, 2)) return 1;
4212 new id, motivo[50];
4213 if(sscanf(params, "is[50]", id, motivo)) return SendClientMessage(playerid, vermelho, "Uso: /ban [ID] [MOTIVO]");
4214 if(!CheckID(playerid, id)) return 1;
4215
4216 CMDMessageToAdmins(playerid, "BAN");
4217 SendClientMessageToAllF(0xFF0000FF, "| BAN | Administrador %s baniu %s (Motivo: %s)", GetName(playerid), GetName(id), motivo);
4218 new str[500];
4219 format(str, sizeof(str), "{A9C4E4}Você foi banido do servidor!\n\n{A9C4E4}Conta: {FF0000}%s\n{A9C4E4}Admin: {FF0000}%s\n{A9C4E4}Motivo: {FF0000}%s\n\n\
4220 {A9C4E4}Se você acha que isso foi um erro\npeça revisão em nosso fórum:\n"forum"", GetName(id), GetName(playerid), motivo);
4221 ShowPlayerDialog(id, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Banido", str, "Fechar", "");
4222
4223 BanPlayer(GetName(id), motivo, GetName(playerid));
4224 return 1;
4225}
4226
4227CMD:kick(playerid, params[])
4228{
4229 if(!Permission(playerid, 2)) return 1;
4230 new id, motivo[50];
4231 if(sscanf(params, "is[50]", id, motivo)) return SendClientMessage(playerid, vermelho, "Uso: /kick [ID] [MOTIVO]");
4232 if(!CheckID(playerid, id)) return 1;
4233
4234 CMDMessageToAdmins(playerid, "KICK");
4235 SendClientMessageToAllF(0xFF0000FF, "| KICK | Administrador %s kickou %s (Motivo: %s)", GetName(playerid), GetName(id), motivo);
4236 new str[500];
4237 format(str, sizeof(str), "{A9C4E4}Você foi kickado do servidor!\n\n{A9C4E4}Conta: {FF0000}%s\n{A9C4E4}Admin: {FF0000}%s\n{A9C4E4}Motivo: {FF0000}%s", GetName(id), GetName(playerid), motivo);
4238 ShowPlayerDialog(id, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Kickado", str, "Fechar", "");
4239
4240 Kick2(id);
4241 return 1;
4242}
4243
4244CMD:desbanir(playerid, params[])
4245{
4246 if(!Permission(playerid, 3)) return 1;
4247 new conta[MAX_PLAYER_NAME];
4248 if(sscanf(params, "s[24]", conta)) return SendClientMessage(playerid, vermelho, "Uso: /desbanir [CONTA]");
4249
4250 new row;
4251 format(query, sizeof(query), "SELECT * FROM contas WHERE Nome='%s'", conta);
4252 mysql_query(MCID, query, true);
4253 cache_get_row_count(row);
4254 if(row >= 1)
4255 {
4256 new banido;
4257 cache_get_value_name_int(0, "Banido", banido);
4258 if(banido == 1 || banido == 2)
4259 {
4260 format(query, sizeof(query), "UPDATE contas SET Banido=0, Ban_time=0 WHERE Nome='%s'", conta);
4261 mysql_query(MCID, query, false);
4262 CMDMessageToAdmins(playerid, "DESBANIR");
4263 SendClientMessageF(playerid, COR_ADM, "Conta do jogador %s desbanida com sucesso!", conta);
4264 }
4265 else SendClientMessage(playerid, vermelho, "| ERRO | A conta não está banida");
4266 }
4267 else SendClientMessage(playerid, vermelho, "| ERRO | Conta inexistente");
4268 return 1;
4269}
4270
4271CMD:tempban(playerid, params[])
4272{
4273 if(!Permission(playerid, 2)) return 1;
4274 new id, motivo[50], dias;
4275 if(sscanf(params, "ids[50]", id, dias, motivo)) return SendClientMessage(playerid, vermelho, "Uso: /tempban [ID] [DIAS] [MOTIVO]");
4276 if(!CheckID(playerid, id)) return 1;
4277
4278 CMDMessageToAdmins(playerid, "TEMPBAN");
4279 SendClientMessageToAllF(0xFF0000FF, "| BAN | Administrador %s baniu %s por %02d dia(s) (Motivo: %s)", GetName(playerid), GetName(id), dias, motivo);
4280 new str[500];
4281 format(str, sizeof(str), "{A9C4E4}Você foi temporariamente banido do servidor!\n\n{A9C4E4}Conta: {FF0000}%s\n{A9C4E4}Admin: {FF0000}%s\n{A9C4E4}Motivo: {FF0000}%s\n{A9C4E4}Dias: {FF0000}%d\n\n\
4282 {A9C4E4}Se você acha que isso foi um erro\npeça revisão em nosso fórum:\n"forum"", GetName(id), GetName(playerid), motivo, dias);
4283 ShowPlayerDialog(id, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Temp-banido", str, "Fechar", "");
4284
4285 BanPlayer(GetName(id), motivo, GetName(playerid), dias);
4286 return 1;
4287}
4288
4289CMD:setadmin(playerid, params[])
4290{
4291 if(!Permission(playerid, -2)) return 1;
4292 new id, lvl;
4293 if(sscanf(params, "id", id, lvl)) return SendClientMessage(playerid, vermelho, "Uso: /setadmin [ID] [NÃVEL]");
4294 if(!CheckID(playerid, id)) return 1;
4295 if(lvl > MaxAdminLevel) return SendClientMessage(playerid, vermelho, "| ERRO | NÃveis de 0 Ã 5 somente");
4296
4297 CMDMessageToAdmins(playerid, "SETADMIN");
4298 SendClientMessageF(playerid, COR_ADM, "NÃvel admin do jogador %s definido para %d", GetName(id), lvl);
4299 SendClientMessageF(id, COR_ADM, "Administrador %s definiu seu nÃvel admin para %d", GetName(playerid), lvl);
4300
4301 Player[id][pAdmin] = lvl;
4302 return 1;
4303}
4304
4305CMD:ir(playerid, params[])
4306{
4307 if(!Permission(playerid, 3)) return 1;
4308 new id;
4309 if(sscanf(params, "d", id)) return SendClientMessage(playerid, vermelho, "Uso: /ir [ID]");
4310 if(!CheckID(playerid, id, 0)) return 1;
4311
4312 CMDMessageToAdmins(playerid, "IR");
4313 SendClientMessageF(playerid, COR_ADM, "Você foi até o jogador %s", GetName(id));
4314 SendClientMessageF(id, COR_ADM, "Administrador %s foi até a sua posição", GetName(playerid));
4315
4316 new Float:x, Float:y, Float:z;
4317 GetPlayerPos(id, x, y, z);
4318 SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(id));
4319 SetPlayerInterior(playerid, GetPlayerInterior(id));
4320 SetPlayerPosEx(playerid, x+1, y+1, z+1);
4321 return 1;
4322}
4323
4324CMD:trazer(playerid, params[])
4325{
4326 if(!Permission(playerid, 3)) return 1;
4327 new id;
4328 if(sscanf(params, "d", id)) return SendClientMessage(playerid, vermelho, "Uso: /trazer [ID]");
4329 if(!CheckID(playerid, id)) return 1;
4330
4331 CMDMessageToAdmins(playerid, "TRAZER");
4332 SendClientMessageF(playerid, COR_ADM, "Você trouxe %s até você", GetName(id));
4333 SendClientMessageF(id, COR_ADM, "Administrador %s lhe trouxe a posição dele", GetName(playerid));
4334
4335 new Float:x, Float:y, Float:z;
4336 GetPlayerPos(playerid, x, y, z);
4337 SetPlayerVirtualWorld(id, GetPlayerVirtualWorld(playerid));
4338 SetPlayerInterior(id, GetPlayerInterior(playerid));
4339 SetPlayerPosEx(id, x+1, y+1, z+1);
4340 return 1;
4341}
4342
4343CMD:car(playerid, params[])
4344{
4345 if(!Permission(playerid, -1)) return 1;
4346 new model;
4347 if(sscanf(params, "d", model)) return SendClientMessage(playerid, vermelho, "Uso: /car [Model ID]");
4348
4349 new Float:x, Float:y, Float:z, Float:Angle;
4350 GetPlayerPos(playerid, x, y, z);
4351 GetPlayerFacingAngle(playerid, Angle);
4352 new veh = CreateVehicle(model, x, y, z, Angle, random(256), random(256), 0);
4353 SetVehicleVirtualWorld(veh, GetPlayerVirtualWorld(playerid));
4354 LinkVehicleToInterior(veh, GetPlayerInterior(playerid));
4355 SetVehicleToRespawn(veh);
4356 return 1;
4357}
4358
4359CMD:delcar(playerid, params[])
4360{
4361 if(!Permission(playerid, -1)) return 1;
4362 new id;
4363 if(sscanf(params, "d", id)) return SendClientMessage(playerid, vermelho, "Uso: /delcar [ID]");
4364 if(GetVehicleModel(id) == 0) return SendClientMessage(playerid, vermelho, "| ERRO | ID inválido");
4365
4366 CMDMessageToAdmins(playerid, "DELCAR");
4367 SendClientMessageF(playerid, verde, "VeÃculo ID %d deletado do servidor", id);
4368
4369 Veiculo[id][vFuel] = 0;
4370 DestroyVehicle(id);
4371 return 1;
4372}
4373
4374CMD:jetpack(playerid)
4375{
4376 if(!Permission(playerid, 3)) return 1;
4377
4378 CMDMessageToAdmins(playerid, "JETPACK");
4379 SendClientMessage(playerid, COR_ADM, "Jetpack criado!");
4380
4381 SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
4382 return 1;
4383}
4384
4385CMD:resv(playerid)
4386{
4387 if(!Permission(playerid, -1)) return 1;
4388
4389 CMDMessageToAdmins(playerid, "RESV");
4390 SendClientMessageToAllF(COR_ADM, "Administrador %s deu respawn em todos os veÃculos não utilizados", GetName(playerid));
4391
4392 new bool:IsUsed[MAX_VEHICLES];
4393 for(new i = 0; i < MAX_PLAYERS; i++)
4394 {
4395 if(IsPlayerInAnyVehicle(i))
4396 {
4397 IsUsed[GetPlayerVehicleID(i)] = true;
4398 }
4399 }
4400 for(new v = 0, mv = GetVehiclePoolSize()+1; v < mv; v++)
4401 {
4402 if(!IsUsed[v]) SetVehicleToRespawn(v);
4403 }
4404 return 1;
4405}
4406
4407/*CMD:gmx(playerid)
4408{
4409 if(!Permission(playerid, -1)) return 1;
4410 for(new i = 0; i < 100; i++)
4411 {
4412 SendClientMessageToAll(laranja, " ");
4413 if(i < 10) SendDeathMessage(24325, 24325, 0);
4414 }
4415 SendClientMessageToAll(laranja,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
4416 SendClientMessageToAll(laranja,"ATENÇÃO: O servidor está sendo reiniciado, aguarde...");
4417 SendClientMessageToAll(laranja,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
4418 GameTextForAll(" ", 1000, 3);
4419 ServerGMX = 1;
4420 DOF2_CreateFile("ServerGMX");
4421 SendRconCommand("unloadfs Objetos");
4422 SendRconCommand("unloadfs ZombieSys");
4423 SendRconCommand("gmx");
4424 return 1;
4425}*/
4426
4427CMD:god(playerid)
4428{
4429 if(!Permission(playerid, 4)) return 1;
4430
4431 CMDMessageToAdmins(playerid, "GOD");
4432 if(Player[playerid][pGod] == 0)
4433 {
4434 Player[playerid][pGod] = 1;
4435 GodUpdate(playerid);
4436 SendClientMessage(playerid, COR_ADM, "God-mode ativado com sucesso!");
4437 }
4438 else
4439 {
4440 Player[playerid][pGod] = 0;
4441 SetPlayerHealth(playerid, 100);
4442 SendClientMessage(playerid, COR_ADM, "God-mode desativado");
4443 }
4444 return 1;
4445}
4446
4447CMD:godcar(playerid)
4448{
4449 if(!Permission(playerid, 5)) return 1;
4450
4451 CMDMessageToAdmins(playerid, "GODCAR");
4452 if(Player[playerid][pGodcar] == 0)
4453 {
4454 Player[playerid][pGodcar] = 1;
4455 GodUpdate(playerid);
4456 SendClientMessage(playerid, COR_ADM, "God-car ativado com sucesso!");
4457 }
4458 else
4459 {
4460 Player[playerid][pGodcar] = 0;
4461 SetPlayerHealth(playerid, 100);
4462 SendClientMessage(playerid, COR_ADM, "God-car desativado");
4463 }
4464 return 1;
4465}
4466
4467CMD:salvardados(playerid)
4468{
4469 if(!Permission(playerid, 1)) return 1;
4470
4471 CMDMessageToAdmins(playerid, "SALVARDADOS");
4472 SendClientMessage(playerid, COR_ADM, "Dados do servidor salvos com sucesso!");
4473
4474 SalvarDados();
4475 return 1;
4476}
4477
4478//END - Comandos de admin ------------------------------------------------------
4479
4480//Comandos normais -------------------------------------------------------------
4481
4482CMD:stats(playerid)
4483{
4484 format(query, sizeof(query), "SELECT * FROM contas WHERE Nome='%s'", GetName(playerid));
4485 mysql_query(MCID, query, true);
4486 new mid, score, admin, skin, cash, matou, morreu;
4487 cache_get_value_name_int(0, "ID", mid);
4488 cache_get_value_name_int(0, "Score", score);
4489 cache_get_value_name_int(0, "Admin", admin);
4490 cache_get_value_name_int(0, "Skin", skin);
4491 cache_get_value_name_int(0, "Dinheiro", cash);
4492 cache_get_value_name_int(0, "Matou", matou);
4493 cache_get_value_name_int(0, "Morreu", morreu);
4494 new str[700];
4495 format(str, sizeof(str), "Stats de %s (%i):\n\nMySQL ID: %d\nScore: %d\nAdmin: %d\nSkin: %d\nDinheiro: %d\nMatou: %d\nMorreu: %d", GetName(playerid), playerid,
4496 mid, score, admin, skin, cash, matou, morreu);
4497 ShowPlayerDialog(playerid, 3232, DIALOG_STYLE_MSGBOX, "EstatÃsticas", str, "Fechar", "");
4498 return 1;
4499}
4500
4501CMD:kill(playerid) return SetPlayerHealth(playerid, 0);
4502
4503//END - Comandos normais -------------------------------------------------------
4504
4505//Stocks -----------------------------------------------------------------------
4506
4507stock ShowInvTxd(playerid, show = 1, cancel = 1)
4508{
4509 if(show == 1)
4510 {
4511 ShowInvTxd(playerid, 0, 0);
4512 ShowHudTxd(playerid, 0);
4513 ShowChatKill(playerid, 0);
4514 InvTSelect[playerid] = -1;
4515 new tidun = 14;
4516 new tidn = 7;
4517 new str[60];
4518 for(new i = 0; i < 12; i++) if(i != 9 && i != 7 && i != 8 && i != 6 && i != 5) TextDrawShowForPlayer(playerid, Inv_TD[i]);
4519 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][4], 555819519), PlayerTextDrawShow(playerid, Inv_PTD[playerid][4]);
4520 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][5], 555819519), PlayerTextDrawShow(playerid, Inv_PTD[playerid][5]);
4521 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][6], 555819519), PlayerTextDrawShow(playerid, Inv_PTD[playerid][6]);
4522 for(new i = 0; i < MAX_ITENS; i++)
4523 {
4524 if(Item[playerid][i][iModel] != 0)
4525 {
4526 if(Item[playerid][i][iUsed] == 0)
4527 {
4528 if(tidun > 23) continue;
4529 if(Item[playerid][i][iArma] == 0)
4530 {
4531 format(str, sizeof(str), ItemStats[Item[playerid][i][iModel]][sNome]);
4532 RetirarAcentos(str);
4533 //PlayerTextDrawColor(playerid, Inv_PTD[playerid][tidun], ItemStats[Item[playerid][i][iModel]][sColor]);
4534 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][tidun], str);
4535 }
4536 else
4537 {
4538 //PlayerTextDrawColor(playerid, Inv_PTD[playerid][tidun], 0x808080FF);
4539 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][tidun], WNames[Item[playerid][i][iModel]]);
4540 }
4541 //PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][tidun], 0);
4542 //PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][tidun], 0);
4543 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][tidun], 555819519);
4544 PlayerTextDrawShow(playerid, Inv_PTD[playerid][tidun]);
4545 InvT[playerid][tidun] = i;
4546 tidun++;
4547 }
4548 else
4549 {
4550 if(tidn >= 14) continue;
4551 if(Item[playerid][i][iArma] == 0)
4552 {
4553 format(str, sizeof(str), ItemStats[Item[playerid][i][iModel]][sNome]);
4554 RetirarAcentos(str);
4555 //PlayerTextDrawColor(playerid, Inv_PTD[playerid][tidn], ItemStats[Item[playerid][i][iModel]][sColor]);
4556 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][tidn], str);
4557 }
4558 else
4559 {
4560 //PlayerTextDrawColor(playerid, Inv_PTD[playerid][tidn], 0x808080FF);
4561 PlayerTextDrawSetString(playerid, Inv_PTD[playerid][tidn], WNames[Item[playerid][i][iModel]]);
4562 }
4563 //PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][tidn], 0);
4564 //PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][tidn], 0);
4565 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][tidn], 555819519);
4566 PlayerTextDrawShow(playerid, Inv_PTD[playerid][tidn]);
4567 InvT[playerid][tidn] = i;
4568 tidn++;
4569 }
4570 }
4571 }
4572 SelectTextDraw(playerid, 0xFFFF00FF);
4573 }
4574 else
4575 {
4576 ShowChatKill(playerid, 1);
4577 ShowHudTxd(playerid);
4578 for(new i = 0; i < 12; i++) TextDrawHideForPlayer(playerid, Inv_TD[i]);
4579 for(new i = 0; i < 24; i++) PlayerTextDrawHide(playerid, Inv_PTD[playerid][i]);
4580 if(cancel == 1) CancelSelectTextDraw(playerid);
4581 }
4582 return 1;
4583}
4584
4585stock ChangeName(playerid, name[])
4586{
4587 new row;
4588 format(query, sizeof(query), "SELECT * FROM contas WHERE Nome='%s' LIMIT 1", name);
4589 mysql_query(MCID, query, true);
4590 cache_get_row_count(row);
4591 if(row) return 0;
4592 if(strlen(name) < 3 || strlen(name) > 20) return 0;
4593 if(SetPlayerName(playerid, name) != 1) return 0;
4594 return 1;
4595}
4596
4597forward CheckRegister(playerid);
4598public CheckRegister(playerid)
4599{
4600 SetPlayerInterior(playerid, 0);
4601 SetPlayerVirtualWorld(playerid, playerid+8743);
4602 PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/0l9zxf1rw45qita/The%20Walking%20Dead%20Song.mp3?dl=1");
4603 SetPlayerTime(playerid, 12, 0);
4604 TextDrawShowForPlayer(playerid, EPBTxd);
4605 for(new i = 0; i < 100; i++) SendClientMessage(playerid, -1, " ");
4606 for(new i = 0; i < 20; i++) SendDeathMessageToPlayer(playerid, INVALID_PLAYER_ID, INVALID_PLAYER_ID, 65535);
4607 TogglePlayerSpectating(playerid, true);
4608 InterpolateCameraPos(playerid, 1768.701904, -1732.275634, 12.702238, 1561.857666, -1732.268188, 12.684867, 50000);
4609 InterpolateCameraLookAt(playerid, 1763.702880, -1732.188232, 12.660048, 1556.864990, -1732.250000, 12.954266, 50000);
4610
4611 new row;
4612 format(query, sizeof(query), "SELECT * FROM contas WHERE Nome='%s' LIMIT 1", GetName(playerid));
4613 mysql_query(MCID, query, true);
4614
4615 if(mysql_errno(MCID) != 0)
4616 {
4617 LimparChat(playerid);
4618 SendClientMessageF(playerid, vermelho, "Não foi possÃvel carregar a conta, erro no MySQL (#%d)", mysql_errno(MCID));
4619 Kick2(playerid);
4620 return 0;
4621 }
4622
4623 cache_get_row_count(row);
4624 if(row > 0)
4625 {
4626 new banido;
4627 cache_get_value_name_int(0, "Banido", banido);
4628 if(banido == 1)
4629 {
4630 new adm[MAX_PLAYER_NAME], motivo[60];
4631 cache_get_value_name(0, "Ban_admin", adm);
4632 cache_get_value_name(0, "Ban_motivo", motivo);
4633 LimparChat(playerid);
4634 SendClientMessage(playerid, vermelho, "Você está banido do servidor!");
4635 SendClientMessageF(playerid, vermelho, "Morivo: %s | Admin: %s | Conta: %s", motivo, adm, GetName(playerid));
4636
4637 new str[500];
4638 format(str, sizeof(str), "{A9C4E4}Você está banido do servidor!\n\n{A9C4E4}Conta: {FF0000}%s\n{A9C4E4}Admin: {FF0000}%s\n{A9C4E4}Motivo: {FF0000}%s\n\n\
4639 {A9C4E4}Se você acha que isso foi um erro\npeça revisão em nosso fórum:\n"forum"", GetName(playerid), adm, motivo);
4640 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Banido", str, "Fechar", "");
4641
4642 Kick2(playerid);
4643 return 0;
4644 }
4645 else if(banido == 2)
4646 {
4647 new adm[MAX_PLAYER_NAME], motivo[60], btime;
4648 cache_get_value_name(0, "Ban_admin", adm);
4649 cache_get_value_name(0, "Ban_motivo", motivo);
4650 cache_get_value_name_int(0, "Ban_time", btime);
4651 if(VerifyExpiredDays(btime))
4652 {
4653 format(query, sizeof(query), "UPDATE contas SET Banido=0, Ban_time=0 WHERE Nome='%s'", GetName(playerid));
4654 mysql_query(MCID, query, false);
4655 }
4656 else
4657 {
4658 LimparChat(playerid);
4659 SendClientMessage(playerid, vermelho, "Você está temporáriamente banido do servidor!");
4660 SendClientMessageF(playerid, vermelho, "Morivo: %s | Admin: %s | Conta: %s", motivo, adm, GetName(playerid));
4661 SendClientMessageF(playerid, vermelho, "Tempo para ser desbanido: %s", ConvertToDays(btime));
4662
4663 new str[500];
4664 format(str, sizeof(str), "{A9C4E4}Você está temporariamente banido do servidor!\n\n{A9C4E4}Conta: {FF0000}%s\n{A9C4E4}Admin: {FF0000}%s\n{A9C4E4}Motivo: {FF0000}%s\n{A9C4E4}Tempo restante: {FF0000}%s\n\n\
4665 {A9C4E4}Se você acha que isso foi um erro\npeça revisão em nosso fórum:\n"forum"", GetName(playerid), adm, motivo, ConvertToDays(btime));
4666 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Temp-banido", str, "Fechar", "");
4667
4668 Kick2(playerid);
4669 return 0;
4670 }
4671 }
4672 new str[240];
4673 cache_get_value_name_int(0, "Senha", Player[playerid][pSenha]);
4674 format(str, sizeof(str), "{F8F8FF}Bem-vindo(a) ao servidor {058AFF}%s{F8F8FF}\n\nVocê já possui uma conta registrada\n\nDigite sua senha para logar.\n\nStatus: {1E90FF}Registrado{F8F8FF}\n\nIP: {058AFF}%s", GetName(playerid), PlayerIp(playerid));
4675 ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", str, "Logar", "Cancelar");
4676 }
4677 else
4678 {
4679 new str[240];
4680 format(str, sizeof(str), "{F8F8FF}Bem-vindo(a) ao servidor {058AFF}%s{F8F8FF}\n\nVocê não possui uma conta registrada\n\nDigite sua senha para registrar.\n\nStatus: {1E90FF}Não registrado{F8F8FF}\n\nIP: {058AFF}%s", GetName(playerid), PlayerIp(playerid));
4681 ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "Registro", str, "Registrar", "Cancelar");
4682 }
4683 return 1;
4684}
4685
4686forward ServerTimer();
4687public ServerTimer()
4688{
4689 new str[256];
4690 for(new i = 0, m = GetPlayerPoolSize(); i < m+1; i++)
4691 {
4692 if(IsPlayerConnected(i))
4693 {
4694 if(Player[i][pLogado] == true)
4695 {
4696 new Float:kd = Float:Player[i][pMatou]/Float:Player[i][pMorreu];
4697 if(kd != kd) kd = 0.0;
4698 format(str, sizeof(str), "~g~~h~~h~%s ~w~Score: ~b~~h~%d ~w~K/D: ~r~~h~%d/%d (%.1f)",
4699 GetName(i), GetPlayerScore(i), Player[i][pMatou], Player[i][pMorreu], kd);
4700 PlayerTextDrawSetString(i, HUDTxd[i][1], str);
4701
4702 AtualizarSupHud(i);
4703
4704 AtualizarArmas(i);
4705 AtualizarAnexos(i, 0);
4706 AtualizarVStats(i);
4707 AtualizarCash(i);
4708 GodUpdate(i);
4709 AtualizarFomeSede(i);
4710 }
4711 }
4712 }
4713 return 1;
4714}
4715
4716stock AtualizarSupHud(playerid)
4717{
4718 new str[100], val = 20;
4719 format(str, sizeof(str), "EXP: %d/%d", Player[playerid][pExp], val); //Player[playerid][pExp]
4720 PlayerTextDrawSetString(playerid, SupHud[playerid][2], str);
4721 format(str, sizeof(str), "FPS: %d~n~PING: %d~n~PL: %.2f", GetPVarInt(playerid, "PVarFPS"), GetPlayerPing(playerid), NetStats_PacketLossPercent(playerid)); //Player[playerid][pExp]
4722 PlayerTextDrawSetString(playerid, SupHud[playerid][3], str);
4723 format(str, sizeof(str), "%d", GetPlayerScore(playerid)); //Player[playerid][pExp]
4724 PlayerTextDrawSetString(playerid, SupHud[playerid][5], str);
4725 Player[playerid][pDTime]++;
4726 new time = Player[playerid][pDTime];
4727 format(str, sizeof(str), "Tempo vivo: %02d:%02d:%02d", time/3600, (time % 3600)/60, time % 60);
4728 PlayerTextDrawSetString(playerid, SupHud[playerid][6], str);
4729
4730 SetPlayerProgressBarValue(playerid, HudSBar[playerid], (100 - (((val-Player[playerid][pExp]) * 100) / val)));
4731 return 1;
4732}
4733
4734stock AtualizarFomeSede(playerid)
4735{
4736 if(Player[playerid][pSede] > 0) Player[playerid][pSede] -= 0.057;
4737 if(Player[playerid][pFome] > 0) Player[playerid][pFome] -= 0.043;
4738 if(Player[playerid][pSede] < 1 && Player[playerid][pSede] > 0)
4739 {
4740 SendClientMessage(playerid, vermelho, "* Você está com muita sede, irá morrer em breve");
4741 Player[playerid][pSede] = 0;
4742 }
4743 else if(Player[playerid][pFome] < 1 && Player[playerid][pFome] > 0)
4744 {
4745 SendClientMessage(playerid, vermelho, "* Você está com muita fome, irá morrer em breve");
4746 Player[playerid][pFome] = 0;
4747 }
4748 if(Player[playerid][pFome] <= 0 || Player[playerid][pSede] <= 0)
4749 {
4750 new Float:health;
4751 GetPlayerHealth(playerid, health);
4752 SetPlayerHealth(playerid, health-2.5);
4753 }
4754 new Float:vida;
4755 GetPlayerHealth(playerid, vida);
4756 if(vida > 100) vida = 100;
4757 SetPlayerProgressBarValue(playerid, StatsBar[playerid][0], Player[playerid][pFome]);
4758 SetPlayerProgressBarValue(playerid, StatsBar[playerid][1], Player[playerid][pSede]);
4759 SetPlayerProgressBarValue(playerid, StatsBar[playerid][2], vida);
4760 return 1;
4761}
4762
4763stock CriarConta(playerid, senha[])
4764{
4765 new reg[60], dia, mes, ano;
4766 getdate(ano, mes, dia);
4767 format(reg, sizeof(reg), "%02d/%02d/%04d", dia, mes, ano);
4768
4769 format(query, sizeof(query), "INSERT INTO contas(Nome, Senha, Registro) VALUES ('%s', %d, '%s')", GetName(playerid), udb_hash(senha), reg);
4770 mysql_query(MCID, query, true);
4771
4772 /*Player[playerid][mID] = cache_insert_id();
4773 Player[playerid][pCash] = 0;
4774 Player[playerid][pAdmin] = 0;
4775 Player[playerid][pMorreu] = 0;
4776 Player[playerid][pMatou] = 0;
4777 Player[playerid][pSede] = 100;
4778 Player[playerid][pFome] = 100;
4779 Player[playerid][pLogado] = true;
4780
4781 SalvarConta(playerid);*/
4782 CarregarConta(playerid);
4783
4784 if(Player[playerid][pDTime] == 0) Player[playerid][pDTime] = gettime();
4785 return 1;
4786}
4787
4788stock CarregarConta(playerid)
4789{
4790 format(query, sizeof(query), "SELECT * FROM contas WHERE Nome='%s'", GetName(playerid));
4791 mysql_query(MCID, query, true);
4792
4793 new score, Float:vida, Float:colete, str[60];
4794 //ID, Nome, Score, Admin, Dinheiro, Matou, Morreu
4795 cache_get_value_name_int(0, "ID", Player[playerid][mID]);
4796 cache_get_value_name_int(0, "Score", score);
4797 cache_get_value_name_int(0, "Admin", Player[playerid][pAdmin]);
4798 cache_get_value_name_int(0, "Skin", Player[playerid][pSkin]);
4799 cache_get_value_name(0, "Clan", str), format(Player[playerid][pClan], 25, str);
4800 cache_get_value_name_int(0, "ClanL", Player[playerid][pClanL]);
4801 cache_get_value_name_int(0, "Dinheiro", Player[playerid][pCash]);
4802 cache_get_value_name_int(0, "Matou", Player[playerid][pMatou]);
4803 cache_get_value_name_int(0, "Morreu", Player[playerid][pMorreu]);
4804 cache_get_value_name_float(0, "Fome", Player[playerid][pFome]);
4805 cache_get_value_name_float(0, "Sede", Player[playerid][pSede]);
4806 cache_get_value_name_float(0, "Vida", vida);
4807 cache_get_value_name_float(0, "Colete", colete);
4808 cache_get_value_name_float(0, "pX", Player[playerid][pCPos][0]);
4809 cache_get_value_name_float(0, "pY", Player[playerid][pCPos][1]);
4810 cache_get_value_name_float(0, "pZ", Player[playerid][pCPos][2]);
4811 cache_get_value_name_float(0, "pA", Player[playerid][pCPos][3]);
4812 cache_get_value_name_int(0, "pInt", Player[playerid][pCPosInt]);
4813 cache_get_value_name_int(0, "pWorld", Player[playerid][pCPosW]);
4814 cache_get_value_name_int(0, "Arma0", Player[playerid][pArma][0]);
4815 cache_get_value_name_int(0, "Arma1", Player[playerid][pArma][1]);
4816 cache_get_value_name_int(0, "Arma2", Player[playerid][pArma][2]);
4817 cache_get_value_name_int(0, "Arma0A", Player[playerid][pArmaA][0]);
4818 cache_get_value_name_int(0, "Arma1A", Player[playerid][pArmaA][1]);
4819 cache_get_value_name_int(0, "Arma2A", Player[playerid][pArmaA][2]);
4820 cache_get_value_name_int(0, "LDTime", Player[playerid][pDTime]);
4821 cache_get_value_name_int(0, "Exp", Player[playerid][pExp]);
4822 Player[playerid][pLogado] = true;
4823 Player[playerid][pFSP] = 1;
4824
4825 format(query, sizeof(query), "UPDATE contas SET IP='%s', Online=1, OnlineT=%d WHERE Nome='%s'", PlayerIp(playerid), gettime(), GetName(playerid));
4826 mysql_query(MCID, query, false);
4827
4828 SetPlayerScore(playerid, score);
4829
4830 LoadInv(playerid);
4831
4832 Spawn(playerid);
4833 StopAudioStreamForPlayer(playerid);
4834 return 1;
4835}
4836
4837stock SalvarConta(playerid, online = 1)
4838{
4839 if(Player[playerid][pLogado] == false) return 0;
4840 new Float:Health, Float:Armour, Float:x, Float:y, Float:z, Float:a, clan[60];
4841 format(clan, sizeof(clan), Player[playerid][pClan]);
4842 GetPlayerHealth(playerid, Health);
4843 GetPlayerArmour(playerid, Armour);
4844 if(Health > 100.0) Health = 100.0;
4845 if(Armour > 100.0) Armour = 100.0;
4846 GetPlayerPos(playerid, x, y, z);
4847 GetPlayerFacingAngle(playerid, a);
4848 //ID, Nome, Score, Admin, Skin, Dinheiro, Matou, Morreu
4849 format(query, sizeof(query), "UPDATE contas SET Nome='%s', Score=%d, Admin=%d, Skin=%d, Clan='%s', ClanL=%d, Dinheiro=%d, Matou=%d, Morreu=%d, Fome=%.3f, Sede=%.3f, Vida=%.3f, Colete=%.3f,\
4850 pX=%.3f, pY=%.3f, pZ=%.3f, pA=%.3f, pInt=%d, pWorld=%d, Arma0=%d, Arma1=%d, Arma2=%d, Arma0A=%d, Arma1A=%d, Arma2A=%d, LDTime=%d, Exp=%d, Online=%d, OnlineT=%d WHERE ID=%d",
4851 GetName(playerid),
4852 GetPlayerScore(playerid),
4853 Player[playerid][pAdmin],
4854 Player[playerid][pSkin],
4855 clan,
4856 Player[playerid][pClanL],
4857 Player[playerid][pCash],
4858 Player[playerid][pMatou],
4859 Player[playerid][pMorreu],
4860 Player[playerid][pFome],
4861 Player[playerid][pSede],
4862 Health, Armour,
4863 x, y, z, a, GetPlayerInterior(playerid), GetPlayerVirtualWorld(playerid),
4864 Player[playerid][pArma][0],
4865 Player[playerid][pArma][1],
4866 Player[playerid][pArma][2],
4867 Player[playerid][pArmaA][0],
4868 Player[playerid][pArmaA][1],
4869 Player[playerid][pArmaA][2],
4870 Player[playerid][pDTime],
4871 Player[playerid][pExp],
4872 online,
4873 gettime(),
4874 Player[playerid][mID]);
4875 mysql_query(MCID, query, false);
4876 SaveInv(playerid);
4877 return 1;
4878}
4879
4880stock SaveVehicles()
4881{
4882 new str[256];
4883 new File:file = fopen(vFile, io_write);
4884 new Float:x, Float:y, Float:z, Float:ang, Float:health, panels, doors, lights, tires;
4885 for(new i = 0; i < MAX_VEHICLES; i++)
4886 {
4887 if(GetVehicleModel(i) != 0)
4888 {
4889 GetVehiclePos(i, x, y, z);
4890 GetVehicleZAngle(i, ang);
4891 GetVehicleHealth(i, health);
4892 GetVehicleDamageStatus(i, panels, doors, lights, tires);
4893 format(str, sizeof(str), "%d,%.4f,%.4f,%.4f,%.4f,%.4f,%d,%d,%.4f,%.4f,%.4f,%.4f,%.4f,%d,%d,%d,%d\r\n", GetVehicleModel(i), health, Veiculo[i][vSpPos][0], Veiculo[i][vSpPos][1],
4894 Veiculo[i][vSpPos][2], Veiculo[i][vSpPos][3], Veiculo[i][vColor][0], Veiculo[i][vColor][1], x, y, z, ang, Veiculo[i][vFuel], panels, doors, lights, tires);
4895 fwrite(file, str);
4896 }
4897 }
4898 fclose(file);
4899 return 1;
4900}
4901
4902stock LoadVehicles()
4903{
4904 new str[256];
4905 if(fexist(vFile))
4906 {
4907 new Argument[17][11], vehs;
4908 new File:file = fopen(vFile, io_read);
4909 if(file)
4910 {
4911 for(new i = 0; i < MAX_VEHICLES; i++)
4912 {
4913 fread(file, str);
4914 if(!isnull(str))
4915 {
4916 vehs++;
4917 split(str, Argument, ',');
4918 new veh = CreateVehicle(strval(Argument[0]), floatstr(Argument[2]), floatstr(Argument[3]), floatstr(Argument[4]), floatstr(Argument[5]), strval(Argument[6]), strval(Argument[7]), 0);
4919
4920 new engine, lights, alarm, doors, bonnet, boot, objective;
4921 GetVehicleParamsEx(veh, engine, lights, alarm, doors, bonnet, boot, objective);
4922 SetVehicleParamsEx(veh, VEHICLE_PARAMS_OFF, lights, alarm, 0, bonnet, boot, objective);
4923 UpdateVehicleDamageStatus(veh, strval(Argument[13]), strval(Argument[14]), strval(Argument[15]), strval(Argument[16]));
4924
4925 Veiculo[veh][vSpPos][0] = floatstr(Argument[2]);
4926 Veiculo[veh][vSpPos][1] = floatstr(Argument[3]);
4927 Veiculo[veh][vSpPos][2] = floatstr(Argument[4]);
4928 Veiculo[veh][vSpPos][3] = floatstr(Argument[5]);
4929 Veiculo[veh][vColor][0] = strval(Argument[6]);
4930 Veiculo[veh][vColor][1] = strval(Argument[7]);
4931
4932 SetVehicleHealth(veh, floatstr(Argument[1]));
4933 SetVehiclePos(veh, floatstr(Argument[8]), floatstr(Argument[9]), floatstr(Argument[10]));
4934 SetVehicleZAngle(veh, floatstr(Argument[11]));
4935
4936 Veiculo[veh][vFuel] = floatstr(Argument[12]);
4937 }
4938 }
4939 printf(" Loaded %d vehicles", vehs);
4940 }
4941 }
4942 return 1;
4943}
4944
4945stock SaveInv(playerid)
4946{
4947 new str[128];
4948 format(str, sizeof(str), iFile, Player[playerid][mID]);
4949 new File:file = fopen(str, io_write);
4950 for(new i = 0; i < MAX_ITENS; i++)
4951 {
4952 if(Item[playerid][i][iModel] != 0)
4953 {
4954 format(str, sizeof(str), "%d,%d,%d,%d\r\n", Item[playerid][i][iModel], Item[playerid][i][iArma], Item[playerid][i][iAmmo], Item[playerid][i][iUsed]);
4955 fwrite(file, str);
4956 }
4957 }
4958 fclose(file);
4959 return 1;
4960}
4961
4962stock LoadInv(playerid)
4963{
4964 new str[256];
4965 format(str, sizeof(str), iFile, Player[playerid][mID]);
4966 if(fexist(str))
4967 {
4968 new Argument[4][11];
4969 new File:file = fopen(str, io_read);
4970 if(file)
4971 {
4972 for(new i = 0; i < MAX_ITENS; i++)
4973 {
4974 fread(file, str);
4975 if(!isnull(str))
4976 {
4977 split(str, Argument, ',');
4978 Item[playerid][i][iModel] = strval(Argument[0]);
4979 Item[playerid][i][iArma] = strval(Argument[1]);
4980 Item[playerid][i][iAmmo] = strval(Argument[2]);
4981 Item[playerid][i][iUsed] = strval(Argument[3]);
4982 }
4983 }
4984 }
4985 }
4986 return 1;
4987}
4988
4989forward SalvarContas();
4990public SalvarContas()
4991{
4992 for(new i = 0; i < MAX_PLAYERS; i++)
4993 {
4994 if(IsPlayerConnected(i)) SalvarConta(i);
4995 }
4996 return 1;
4997}
4998
4999stock PlayerIp(playerid)
5000{
5001 static ip[16];
5002 GetPlayerIp(playerid, ip, sizeof(ip));
5003 return ip;
5004}
5005
5006stock GetName(playerid)
5007{
5008 GetPlayerName(playerid, getName, sizeof(getName));
5009 return getName;
5010}
5011
5012forward GodUpdate(playerid);
5013public GodUpdate(playerid)
5014{
5015 if(Player[playerid][pGod] == 1)
5016 {
5017 SetPlayerHealth(playerid, 100000);
5018 }
5019 if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
5020 {
5021 if(Player[playerid][pGodcar] == 1 && Player[playerid][pAdmin] >= 1)
5022 {
5023 RepairVehicle(GetPlayerVehicleID(playerid));
5024 SetVehicleHealth(GetPlayerVehicleID(playerid), 99999);
5025 return 1;
5026 }
5027 }
5028 return 1;
5029}
5030
5031
5032forward SalvarDados();
5033public SalvarDados()
5034{
5035 SaveVehicles();
5036 SalvarContas();
5037 return 1;
5038}
5039
5040stock LoadTextDraws()
5041{
5042 //Stats (fome, sede, vida)
5043 StatsTxd[0] = TextDrawCreate(578.000000, 346.000000, "F");
5044 TextDrawBackgroundColor(StatsTxd[0], 255);
5045 TextDrawFont(StatsTxd[0], 1);
5046 TextDrawLetterSize(StatsTxd[0], 0.419999, 1.299999);
5047 TextDrawColor(StatsTxd[0], -1179393);
5048 TextDrawSetOutline(StatsTxd[0], 1);
5049 TextDrawSetProportional(StatsTxd[0], 1);
5050 TextDrawSetPreviewModel(StatsTxd[0], 1240);
5051 TextDrawSetPreviewRot(StatsTxd[0], -16.000000, 0.000000, -55.000000, 3.000000);
5052 TextDrawSetSelectable(StatsTxd[0], 0);
5053
5054 StatsTxd[1] = TextDrawCreate(596.000000, 346.000000, "S");
5055 TextDrawBackgroundColor(StatsTxd[1], 255);
5056 TextDrawFont(StatsTxd[1], 1);
5057 TextDrawLetterSize(StatsTxd[1], 0.319999, 1.299999);
5058 TextDrawColor(StatsTxd[1], 10354687);
5059 TextDrawSetOutline(StatsTxd[1], 1);
5060 TextDrawSetProportional(StatsTxd[1], 1);
5061 TextDrawSetPreviewModel(StatsTxd[1], 1240);
5062 TextDrawSetPreviewRot(StatsTxd[1], -16.000000, 0.000000, -55.000000, 3.000000);
5063 TextDrawSetSelectable(StatsTxd[1], 0);
5064
5065 StatsTxd[2] = TextDrawCreate(611.000000, 346.000000, "V");
5066 TextDrawBackgroundColor(StatsTxd[2], 255);
5067 TextDrawFont(StatsTxd[2], 1);
5068 TextDrawLetterSize(StatsTxd[2], 0.319999, 1.299999);
5069 TextDrawColor(StatsTxd[2], -14737409);
5070 TextDrawSetOutline(StatsTxd[2], 1);
5071 TextDrawSetProportional(StatsTxd[2], 1);
5072 TextDrawSetPreviewModel(StatsTxd[2], 1240);
5073 TextDrawSetPreviewRot(StatsTxd[2], -16.000000, 0.000000, -55.000000, 3.000000);
5074 TextDrawSetSelectable(StatsTxd[2], 0);
5075
5076 //Hide Map
5077 HideMapTxd = TextDrawCreate(144.000000, 336.000000, "LD_pool:ball");
5078 TextDrawBackgroundColor(HideMapTxd, -16776961);
5079 TextDrawFont(HideMapTxd, 4);
5080 TextDrawLetterSize(HideMapTxd, 1.000000, 0.299998);
5081 TextDrawColor(HideMapTxd, 555819519);
5082 TextDrawSetOutline(HideMapTxd, 1);
5083 TextDrawSetProportional(HideMapTxd, 1);
5084 TextDrawUseBox(HideMapTxd, 1);
5085 TextDrawBoxColor(HideMapTxd, -16776961);
5086 TextDrawTextSize(HideMapTxd, -114.000000, 96.000000);
5087
5088 HideMapTxd2 = TextDrawCreate(87.000000, 366.000000, "DayZ");
5089 TextDrawAlignment(HideMapTxd2, 2);
5090 TextDrawBackgroundColor(HideMapTxd2, 255);
5091 TextDrawFont(HideMapTxd2, 2);
5092 TextDrawLetterSize(HideMapTxd2, 0.519999, 1.800000);
5093 TextDrawColor(HideMapTxd2, -16777046);
5094 TextDrawSetOutline(HideMapTxd2, 1);
5095 TextDrawSetProportional(HideMapTxd2, 1);
5096
5097 //Entrada preto e branco
5098 EPBTxd = TextDrawCreate(-21.000000, -1.000000, ".");
5099 TextDrawBackgroundColor(EPBTxd, 255);
5100 TextDrawFont(EPBTxd, 1);
5101 TextDrawLetterSize(EPBTxd, 0.500000, 53.199996);
5102 TextDrawColor(EPBTxd, -1);
5103 TextDrawSetOutline(EPBTxd, 0);
5104 TextDrawSetProportional(EPBTxd, 1);
5105 TextDrawSetShadow(EPBTxd, 1);
5106 TextDrawUseBox(EPBTxd, 1);
5107 TextDrawBoxColor(EPBTxd, 0x08080830);
5108 TextDrawTextSize(EPBTxd, 670.000000, 0.000000);
5109 TextDrawSetSelectable(EPBTxd, 0);
5110 return 1;
5111}
5112
5113stock LoadPlayerTextDraws(playerid)
5114{
5115 //HUD
5116 HUDTxd[playerid][0] = CreatePlayerTextDraw(playerid, -11.000000, 435.000000, ".");
5117 PlayerTextDrawBackgroundColor(playerid, HUDTxd[playerid][0], 255);
5118 PlayerTextDrawFont(playerid, HUDTxd[playerid][0], 1);
5119 PlayerTextDrawLetterSize(playerid, HUDTxd[playerid][0], 0.500000, 2.199999);
5120 PlayerTextDrawColor(playerid, HUDTxd[playerid][0], -1);
5121 PlayerTextDrawSetOutline(playerid, HUDTxd[playerid][0], 0);
5122 PlayerTextDrawSetProportional(playerid, HUDTxd[playerid][0], 1);
5123 PlayerTextDrawSetShadow(playerid, HUDTxd[playerid][0], 1);
5124 PlayerTextDrawUseBox(playerid, HUDTxd[playerid][0], 1);
5125 PlayerTextDrawBoxColor(playerid, HUDTxd[playerid][0], 112);
5126 PlayerTextDrawTextSize(playerid, HUDTxd[playerid][0], 666.000000, 0.000000);
5127
5128 HUDTxd[playerid][1] = CreatePlayerTextDraw(playerid, 303.000000, 435.000000, " ");
5129 PlayerTextDrawAlignment(playerid, HUDTxd[playerid][1], 2);
5130 PlayerTextDrawBackgroundColor(playerid, HUDTxd[playerid][1], 255);
5131 PlayerTextDrawFont(playerid, HUDTxd[playerid][1], 1);
5132 PlayerTextDrawLetterSize(playerid, HUDTxd[playerid][1], 0.280000, 1.200000);
5133 PlayerTextDrawColor(playerid, HUDTxd[playerid][1], -1);
5134 PlayerTextDrawSetOutline(playerid, HUDTxd[playerid][1], 1);
5135 PlayerTextDrawSetProportional(playerid, HUDTxd[playerid][1], 1);
5136
5137 //Hud superior direito
5138 SupHud[playerid][0] = CreatePlayerTextDraw(playerid, 545.000000, 32.000000, ".");
5139 PlayerTextDrawBackgroundColor(playerid, SupHud[playerid][0], 255);
5140 PlayerTextDrawFont(playerid, SupHud[playerid][0], 1);
5141 PlayerTextDrawLetterSize(playerid, SupHud[playerid][0], 0.000000, 7.199999);
5142 PlayerTextDrawColor(playerid, SupHud[playerid][0], 252645375);
5143 PlayerTextDrawSetOutline(playerid, SupHud[playerid][0], 0);
5144 PlayerTextDrawSetProportional(playerid, SupHud[playerid][0], 1);
5145 PlayerTextDrawSetShadow(playerid, SupHud[playerid][0], 1);
5146 PlayerTextDrawUseBox(playerid, SupHud[playerid][0], 1);
5147 PlayerTextDrawBoxColor(playerid, SupHud[playerid][0], 252645375);
5148 PlayerTextDrawTextSize(playerid, SupHud[playerid][0], 612.000000, 30.000000);
5149 PlayerTextDrawSetSelectable(playerid, SupHud[playerid][0], 0);
5150
5151 SupHud[playerid][1] = CreatePlayerTextDraw(playerid, 497.000000, 79.000000, ".");
5152 PlayerTextDrawBackgroundColor(playerid, SupHud[playerid][1], 255);
5153 PlayerTextDrawFont(playerid, SupHud[playerid][1], 1);
5154 PlayerTextDrawLetterSize(playerid, SupHud[playerid][1], -0.039999, 2.700000);
5155 PlayerTextDrawColor(playerid, SupHud[playerid][1], 252645375);
5156 PlayerTextDrawSetOutline(playerid, SupHud[playerid][1], 0);
5157 PlayerTextDrawSetProportional(playerid, SupHud[playerid][1], 1);
5158 PlayerTextDrawSetShadow(playerid, SupHud[playerid][1], 1);
5159 PlayerTextDrawUseBox(playerid, SupHud[playerid][1], 1);
5160 PlayerTextDrawBoxColor(playerid, SupHud[playerid][1], 252645375);
5161 PlayerTextDrawTextSize(playerid, SupHud[playerid][1], 612.000000, 30.000000);
5162 PlayerTextDrawSetSelectable(playerid, SupHud[playerid][1], 0);
5163
5164 SupHud[playerid][2] = CreatePlayerTextDraw(playerid, 572.000000, 82.000000, "EXP: 2300/4000");
5165 PlayerTextDrawAlignment(playerid, SupHud[playerid][2], 2);
5166 PlayerTextDrawBackgroundColor(playerid, SupHud[playerid][2], 255);
5167 PlayerTextDrawFont(playerid, SupHud[playerid][2], 2);
5168 PlayerTextDrawLetterSize(playerid, SupHud[playerid][2], 0.189998, 1.100000);
5169 PlayerTextDrawColor(playerid, SupHud[playerid][2], -1);
5170 PlayerTextDrawSetOutline(playerid, SupHud[playerid][2], 1);
5171 PlayerTextDrawSetProportional(playerid, SupHud[playerid][2], 1);
5172 PlayerTextDrawSetSelectable(playerid, SupHud[playerid][2], 0);
5173
5174 SupHud[playerid][3] = CreatePlayerTextDraw(playerid, 548.000000, 34.000000, "FPS: 60~n~PING: 180~n~PL: 14.6");
5175 PlayerTextDrawBackgroundColor(playerid, SupHud[playerid][3], 255);
5176 PlayerTextDrawFont(playerid, SupHud[playerid][3], 2);
5177 PlayerTextDrawLetterSize(playerid, SupHud[playerid][3], 0.209999, 1.000000);
5178 PlayerTextDrawColor(playerid, SupHud[playerid][3], -1);
5179 PlayerTextDrawSetOutline(playerid, SupHud[playerid][3], 1);
5180 PlayerTextDrawSetProportional(playerid, SupHud[playerid][3], 1);
5181 PlayerTextDrawSetSelectable(playerid, SupHud[playerid][3], 0);
5182
5183 SupHud[playerid][4] = CreatePlayerTextDraw(playerid, 501.000000, 76.000000, "ld_drv:gold");
5184 PlayerTextDrawBackgroundColor(playerid, SupHud[playerid][4], 255);
5185 PlayerTextDrawFont(playerid, SupHud[playerid][4], 4);
5186 PlayerTextDrawLetterSize(playerid, SupHud[playerid][4], 0.879998, 1.000000);
5187 PlayerTextDrawColor(playerid, SupHud[playerid][4], -1);
5188 PlayerTextDrawSetOutline(playerid, SupHud[playerid][4], 1);
5189 PlayerTextDrawSetProportional(playerid, SupHud[playerid][4], 1);
5190 PlayerTextDrawUseBox(playerid, SupHud[playerid][4], 1);
5191 PlayerTextDrawBoxColor(playerid, SupHud[playerid][4], 255);
5192 PlayerTextDrawTextSize(playerid, SupHud[playerid][4], 28.000000, 30.000000);
5193 PlayerTextDrawSetSelectable(playerid, SupHud[playerid][4], 0);
5194
5195 SupHud[playerid][5] = CreatePlayerTextDraw(playerid, 515.000000, 82.000000, "327");
5196 PlayerTextDrawAlignment(playerid, SupHud[playerid][5], 2);
5197 PlayerTextDrawBackgroundColor(playerid, SupHud[playerid][5], 255);
5198 PlayerTextDrawFont(playerid, SupHud[playerid][5], 3);
5199 PlayerTextDrawLetterSize(playerid, SupHud[playerid][5], 0.309998, 1.799999);
5200 PlayerTextDrawColor(playerid, SupHud[playerid][5], -1);
5201 PlayerTextDrawSetOutline(playerid, SupHud[playerid][5], 1);
5202 PlayerTextDrawSetProportional(playerid, SupHud[playerid][5], 1);
5203 PlayerTextDrawSetSelectable(playerid, SupHud[playerid][5], 0);
5204
5205 SupHud[playerid][6] = CreatePlayerTextDraw(playerid, 497.000000, 106.000000, "Tempo vivo: 00:23:36");
5206 PlayerTextDrawBackgroundColor(playerid, SupHud[playerid][6], 255);
5207 PlayerTextDrawFont(playerid, SupHud[playerid][6], 2);
5208 PlayerTextDrawLetterSize(playerid, SupHud[playerid][6], 0.209999, 1.100000);
5209 PlayerTextDrawColor(playerid, SupHud[playerid][6], -1);
5210 PlayerTextDrawSetOutline(playerid, SupHud[playerid][6], 1);
5211 PlayerTextDrawSetProportional(playerid, SupHud[playerid][6], 1);
5212 PlayerTextDrawSetSelectable(playerid, SupHud[playerid][6], 0);
5213
5214 //Kill/death TXD
5215 KillTxd0[playerid] = CreatePlayerTextDraw(playerid, -14.000000, 334.000000, ".");
5216 PlayerTextDrawBackgroundColor(playerid, KillTxd0[playerid], 255);
5217 PlayerTextDrawFont(playerid, KillTxd0[playerid], 1);
5218 PlayerTextDrawLetterSize(playerid, KillTxd0[playerid], 0.500000, 3.499999);
5219 PlayerTextDrawColor(playerid, KillTxd0[playerid], -1);
5220 PlayerTextDrawSetOutline(playerid, KillTxd0[playerid], 1);
5221 PlayerTextDrawSetProportional(playerid, KillTxd0[playerid], 1);
5222 PlayerTextDrawUseBox(playerid, KillTxd0[playerid], 1);
5223 PlayerTextDrawBoxColor(playerid, KillTxd0[playerid], 64);
5224 PlayerTextDrawTextSize(playerid, KillTxd0[playerid], 660.000000, 0.000000);
5225
5226 KillTxd1[playerid] = CreatePlayerTextDraw(playerid, 324.000000, 335.000000, "Voce matou:");
5227 PlayerTextDrawAlignment(playerid, KillTxd1[playerid], 2);
5228 PlayerTextDrawBackgroundColor(playerid, KillTxd1[playerid], 255);
5229 PlayerTextDrawFont(playerid, KillTxd1[playerid], 1);
5230 PlayerTextDrawLetterSize(playerid, KillTxd1[playerid], 0.409999, 1.100000);
5231 PlayerTextDrawColor(playerid, KillTxd1[playerid], -1);
5232 PlayerTextDrawSetOutline(playerid, KillTxd1[playerid], 1);
5233 PlayerTextDrawSetProportional(playerid, KillTxd1[playerid], 1);
5234
5235 KillTxd2[playerid] = CreatePlayerTextDraw(playerid, 328.000000, 348.000000, " ");
5236 PlayerTextDrawAlignment(playerid, KillTxd2[playerid], 2);
5237 PlayerTextDrawBackgroundColor(playerid, KillTxd2[playerid], 255);
5238 PlayerTextDrawFont(playerid, KillTxd2[playerid], 3);
5239 PlayerTextDrawLetterSize(playerid, KillTxd2[playerid], 0.519999, 1.700000);
5240 PlayerTextDrawColor(playerid, KillTxd2[playerid], 413008127);
5241 PlayerTextDrawSetOutline(playerid, KillTxd2[playerid], 1);
5242 PlayerTextDrawSetProportional(playerid, KillTxd2[playerid], 1);
5243
5244 //--------------------------------------------------------------------------
5245
5246 DeathTxd0[playerid] = CreatePlayerTextDraw(playerid, -14.000000, 334.000000, ".");
5247 PlayerTextDrawBackgroundColor(playerid, DeathTxd0[playerid], 255);
5248 PlayerTextDrawFont(playerid, DeathTxd0[playerid], 1);
5249 PlayerTextDrawLetterSize(playerid, DeathTxd0[playerid], 0.500000, 3.499999);
5250 PlayerTextDrawColor(playerid, DeathTxd0[playerid], -1);
5251 PlayerTextDrawSetOutline(playerid, DeathTxd0[playerid], 1);
5252 PlayerTextDrawSetProportional(playerid, DeathTxd0[playerid], 1);
5253 PlayerTextDrawUseBox(playerid, DeathTxd0[playerid], 1);
5254 PlayerTextDrawBoxColor(playerid, DeathTxd0[playerid], 64);
5255 PlayerTextDrawTextSize(playerid, DeathTxd0[playerid], 660.000000, 0.000000);
5256
5257 DeathTxd1[playerid] = CreatePlayerTextDraw(playerid, 324.000000, 335.000000, "Voce foi morto por:");
5258 PlayerTextDrawAlignment(playerid, DeathTxd1[playerid], 2);
5259 PlayerTextDrawBackgroundColor(playerid, DeathTxd1[playerid], 255);
5260 PlayerTextDrawFont(playerid, DeathTxd1[playerid], 1);
5261 PlayerTextDrawLetterSize(playerid, DeathTxd1[playerid], 0.409999, 1.100000);
5262 PlayerTextDrawColor(playerid, DeathTxd1[playerid], -1);
5263 PlayerTextDrawSetOutline(playerid, DeathTxd1[playerid], 1);
5264 PlayerTextDrawSetProportional(playerid, DeathTxd1[playerid], 1);
5265
5266 DeathTxd2[playerid] = CreatePlayerTextDraw(playerid, 328.000000, 348.000000, " ");
5267 PlayerTextDrawAlignment(playerid, DeathTxd2[playerid], 2);
5268 PlayerTextDrawBackgroundColor(playerid, DeathTxd2[playerid], 255);
5269 PlayerTextDrawFont(playerid, DeathTxd2[playerid], 3);
5270 PlayerTextDrawLetterSize(playerid, DeathTxd2[playerid], 0.519999, 1.700000);
5271 PlayerTextDrawColor(playerid, DeathTxd2[playerid], -402652929);
5272 PlayerTextDrawSetOutline(playerid, DeathTxd2[playerid], 1);
5273 PlayerTextDrawSetProportional(playerid, DeathTxd2[playerid], 1);
5274
5275 //Vehicle stats
5276 VStatsTxd[playerid][0] = CreatePlayerTextDraw(playerid, 135.000000, 350.000000, "Veiculo: ~b~~h~LSPD car");
5277 PlayerTextDrawBackgroundColor(playerid, VStatsTxd[playerid][0], 255);
5278 PlayerTextDrawFont(playerid, VStatsTxd[playerid][0], 2);
5279 PlayerTextDrawLetterSize(playerid, VStatsTxd[playerid][0], 0.280000, 1.200000);
5280 PlayerTextDrawColor(playerid, VStatsTxd[playerid][0], -1);
5281 PlayerTextDrawSetOutline(playerid, VStatsTxd[playerid][0], 1);
5282 PlayerTextDrawSetProportional(playerid, VStatsTxd[playerid][0], 1);
5283 PlayerTextDrawSetSelectable(playerid, VStatsTxd[playerid][0], 0);
5284
5285 VStatsTxd[playerid][1] = CreatePlayerTextDraw(playerid, 148.000000, 402.000000, "Combustivel");
5286 PlayerTextDrawBackgroundColor(playerid, VStatsTxd[playerid][1], 255);
5287 PlayerTextDrawFont(playerid, VStatsTxd[playerid][1], 2);
5288 PlayerTextDrawLetterSize(playerid, VStatsTxd[playerid][1], 0.200000, 0.899999);
5289 PlayerTextDrawColor(playerid, VStatsTxd[playerid][1], -1);
5290 PlayerTextDrawSetOutline(playerid, VStatsTxd[playerid][1], 1);
5291 PlayerTextDrawSetProportional(playerid, VStatsTxd[playerid][1], 1);
5292 PlayerTextDrawSetSelectable(playerid, VStatsTxd[playerid][1], 0);
5293
5294 VStatsTxd[playerid][2] = CreatePlayerTextDraw(playerid, 152.000000, 378.000000, "0Km/h");
5295 PlayerTextDrawBackgroundColor(playerid, VStatsTxd[playerid][2], 255);
5296 PlayerTextDrawFont(playerid, VStatsTxd[playerid][2], 2);
5297 PlayerTextDrawLetterSize(playerid, VStatsTxd[playerid][2], 0.280000, 1.200000);
5298 PlayerTextDrawColor(playerid, VStatsTxd[playerid][2], -1);
5299 PlayerTextDrawSetOutline(playerid, VStatsTxd[playerid][2], 1);
5300 PlayerTextDrawSetProportional(playerid, VStatsTxd[playerid][2], 1);
5301 PlayerTextDrawSetSelectable(playerid, VStatsTxd[playerid][2], 0);
5302
5303 VStatsTxd[playerid][3] = CreatePlayerTextDraw(playerid, 144.000000, 364.000000, "Motor: ~r~~h~RUIM");
5304 PlayerTextDrawBackgroundColor(playerid, VStatsTxd[playerid][3], 255);
5305 PlayerTextDrawFont(playerid, VStatsTxd[playerid][3], 2);
5306 PlayerTextDrawLetterSize(playerid, VStatsTxd[playerid][3], 0.280000, 1.200000);
5307 PlayerTextDrawColor(playerid, VStatsTxd[playerid][3], -1);
5308 PlayerTextDrawSetOutline(playerid, VStatsTxd[playerid][3], 1);
5309 PlayerTextDrawSetProportional(playerid, VStatsTxd[playerid][3], 1);
5310 PlayerTextDrawSetSelectable(playerid, VStatsTxd[playerid][3], 0);
5311
5312 //Inventário
5313
5314 Inv_TD[0] = TextDrawCreate(86.661788, 149.749923, "box");
5315 TextDrawLetterSize(Inv_TD[0], 0.000000, 27.710098);
5316 TextDrawTextSize(Inv_TD[0], 564.000000, 0.000000);
5317 TextDrawAlignment(Inv_TD[0], 1);
5318 TextDrawColor(Inv_TD[0], -1);
5319 TextDrawUseBox(Inv_TD[0], 1);
5320 TextDrawBoxColor(Inv_TD[0], 64);
5321 TextDrawSetShadow(Inv_TD[0], 0);
5322 TextDrawSetOutline(Inv_TD[0], 0);
5323 TextDrawBackgroundColor(Inv_TD[0], 255);
5324 TextDrawFont(Inv_TD[0], 1);
5325 TextDrawSetProportional(Inv_TD[0], 1);
5326 TextDrawSetShadow(Inv_TD[0], 0);
5327
5328 Inv_TD[1] = TextDrawCreate(86.662002, 149.750015, "box");
5329 TextDrawLetterSize(Inv_TD[1], 0.000000, 1.566619);
5330 TextDrawTextSize(Inv_TD[1], 564.000000, 0.000000);
5331 TextDrawAlignment(Inv_TD[1], 1);
5332 TextDrawColor(Inv_TD[1], -1);
5333 TextDrawUseBox(Inv_TD[1], 1);
5334 TextDrawBoxColor(Inv_TD[1], 80);
5335 TextDrawSetShadow(Inv_TD[1], 0);
5336 TextDrawSetOutline(Inv_TD[1], 0);
5337 TextDrawBackgroundColor(Inv_TD[1], 255);
5338 TextDrawFont(Inv_TD[1], 1);
5339 TextDrawSetProportional(Inv_TD[1], 1);
5340 TextDrawSetShadow(Inv_TD[1], 0);
5341
5342 Inv_TD[2] = TextDrawCreate(238.931198, 172.499984, "box");
5343 TextDrawLetterSize(Inv_TD[2], 0.000000, 25.180084);
5344 TextDrawTextSize(Inv_TD[2], 406.000000, 0.000000);
5345 TextDrawAlignment(Inv_TD[2], 1);
5346 TextDrawColor(Inv_TD[2], -1);
5347 TextDrawUseBox(Inv_TD[2], 1);
5348 TextDrawBoxColor(Inv_TD[2], 336860415);
5349 TextDrawSetShadow(Inv_TD[2], 0);
5350 TextDrawSetOutline(Inv_TD[2], 0);
5351 TextDrawBackgroundColor(Inv_TD[2], 255);
5352 TextDrawFont(Inv_TD[2], 1);
5353 TextDrawSetProportional(Inv_TD[2], 1);
5354 TextDrawSetShadow(Inv_TD[2], 0);
5355
5356 Inv_TD[3] = TextDrawCreate(118.052719, 148.583343, "Equipados");
5357 TextDrawLetterSize(Inv_TD[3], 0.373293, 1.471667);
5358 TextDrawAlignment(Inv_TD[3], 1);
5359 TextDrawColor(Inv_TD[3], -1);
5360 TextDrawSetShadow(Inv_TD[3], 0);
5361 TextDrawSetOutline(Inv_TD[3], 1);
5362 TextDrawBackgroundColor(Inv_TD[3], 255);
5363 TextDrawFont(Inv_TD[3], 2);
5364 TextDrawSetProportional(Inv_TD[3], 1);
5365 TextDrawSetShadow(Inv_TD[3], 0);
5366
5367 Inv_TD[4] = TextDrawCreate(442.737701, 149.166687, "INVENTARIO");
5368 TextDrawLetterSize(Inv_TD[4], 0.373293, 1.471667);
5369 TextDrawAlignment(Inv_TD[4], 1);
5370 TextDrawColor(Inv_TD[4], -1);
5371 TextDrawSetShadow(Inv_TD[4], 0);
5372 TextDrawSetOutline(Inv_TD[4], 1);
5373 TextDrawBackgroundColor(Inv_TD[4], 255);
5374 TextDrawFont(Inv_TD[4], 2);
5375 TextDrawSetProportional(Inv_TD[4], 1);
5376 TextDrawSetShadow(Inv_TD[4], 0);
5377
5378 Inv_TD[5] = TextDrawCreate(246.427337, 374.433258, "box");
5379 TextDrawLetterSize(Inv_TD[5], 0.000000, 1.754027);
5380 TextDrawTextSize(Inv_TD[5], 317.990844, 0.000000);
5381 TextDrawAlignment(Inv_TD[5], 1);
5382 TextDrawColor(Inv_TD[5], 13893887);
5383 TextDrawUseBox(Inv_TD[5], 1);
5384 TextDrawBoxColor(Inv_TD[5], 13893887);
5385 TextDrawSetShadow(Inv_TD[5], 0);
5386 TextDrawSetOutline(Inv_TD[5], 0);
5387 TextDrawBackgroundColor(Inv_TD[5], 255);
5388 TextDrawFont(Inv_TD[5], 1);
5389 TextDrawSetProportional(Inv_TD[5], 1);
5390 TextDrawSetShadow(Inv_TD[5], 0);
5391
5392 Inv_TD[6] = TextDrawCreate(331.698242, 374.333312, "box");
5393 TextDrawLetterSize(Inv_TD[6], 0.000000, 1.754027);
5394 TextDrawTextSize(Inv_TD[6], 397.389404, 0.000000);
5395 TextDrawAlignment(Inv_TD[6], 1);
5396 TextDrawColor(Inv_TD[6], -1);
5397 TextDrawUseBox(Inv_TD[6], 1);
5398 TextDrawBoxColor(Inv_TD[6], -872414977);
5399 TextDrawSetShadow(Inv_TD[6], 0);
5400 TextDrawSetOutline(Inv_TD[6], 0);
5401 TextDrawBackgroundColor(Inv_TD[6], 255);
5402 TextDrawFont(Inv_TD[6], 1);
5403 TextDrawSetProportional(Inv_TD[6], 1);
5404 TextDrawSetShadow(Inv_TD[6], 0);
5405
5406 Inv_TD[7] = TextDrawCreate(364.195037, 373.649993, "DROPAR");
5407 TextDrawLetterSize(Inv_TD[7], 0.274904, 1.565000);
5408 TextDrawTextSize(Inv_TD[7], 10.000000, 67.000000);
5409 TextDrawAlignment(Inv_TD[7], 2);
5410 TextDrawColor(Inv_TD[7], -774778369);
5411 TextDrawUseBox(Inv_TD[7], 0);
5412 TextDrawBoxColor(Inv_TD[7], 0);
5413 TextDrawSetShadow(Inv_TD[7], 0);
5414 TextDrawSetOutline(Inv_TD[7], 0);
5415 TextDrawBackgroundColor(Inv_TD[7], 255);
5416 TextDrawFont(Inv_TD[7], 2);
5417 TextDrawSetProportional(Inv_TD[7], 1);
5418 TextDrawSetShadow(Inv_TD[7], 0);
5419 TextDrawSetSelectable(Inv_TD[7], true);
5420
5421 Inv_TD[8] = TextDrawCreate(277.720642, 346.666625, "box");
5422 TextDrawLetterSize(Inv_TD[8], 0.000000, 1.754027);
5423 TextDrawTextSize(Inv_TD[8], 361.650085, 0.000000);
5424 TextDrawAlignment(Inv_TD[8], 1);
5425 TextDrawColor(Inv_TD[8], 13893887);
5426 TextDrawUseBox(Inv_TD[8], 1);
5427 TextDrawBoxColor(Inv_TD[8], -13696769);
5428 TextDrawSetShadow(Inv_TD[8], 0);
5429 TextDrawSetOutline(Inv_TD[8], 0);
5430 TextDrawBackgroundColor(Inv_TD[8], 255);
5431 TextDrawFont(Inv_TD[8], 1);
5432 TextDrawSetProportional(Inv_TD[8], 1);
5433 TextDrawSetShadow(Inv_TD[8], 0);
5434
5435 Inv_TD[9] = TextDrawCreate(319.143554, 346.533294, "DESCARREGAR");
5436 TextDrawLetterSize(Inv_TD[9], 0.274904, 1.565000);
5437 TextDrawTextSize(Inv_TD[9], 10.000000, 85.000000);
5438 TextDrawAlignment(Inv_TD[9], 2);
5439 TextDrawColor(Inv_TD[9], -1);
5440 TextDrawUseBox(Inv_TD[9], 0);
5441 TextDrawBoxColor(Inv_TD[9], 0);
5442 TextDrawSetShadow(Inv_TD[9], 0);
5443 TextDrawSetOutline(Inv_TD[9], 0);
5444 TextDrawBackgroundColor(Inv_TD[9], 255);
5445 TextDrawFont(Inv_TD[9], 2);
5446 TextDrawSetProportional(Inv_TD[9], 1);
5447 TextDrawSetShadow(Inv_TD[9], 0);
5448 TextDrawSetSelectable(Inv_TD[9], true);
5449
5450 Inv_TD[10] = TextDrawCreate(547.386901, 149.733337, "box");
5451 TextDrawLetterSize(Inv_TD[10], 0.000000, 1.526654);
5452 TextDrawTextSize(Inv_TD[10], 563.700012, 0.000000);
5453 TextDrawAlignment(Inv_TD[10], 1);
5454 TextDrawColor(Inv_TD[10], -1);
5455 TextDrawUseBox(Inv_TD[10], 1);
5456 TextDrawBoxColor(Inv_TD[10], -16776961);
5457 TextDrawSetShadow(Inv_TD[10], 0);
5458 TextDrawSetOutline(Inv_TD[10], 0);
5459 TextDrawBackgroundColor(Inv_TD[10], 255);
5460 TextDrawFont(Inv_TD[10], 1);
5461 TextDrawSetProportional(Inv_TD[10], 1);
5462 TextDrawSetShadow(Inv_TD[10], 0);
5463
5464 Inv_TD[11] = TextDrawCreate(550.497863, 148.016616, "X");
5465 TextDrawLetterSize(Inv_TD[11], 0.400000, 1.600000);
5466 TextDrawAlignment(Inv_TD[11], 1);
5467 TextDrawColor(Inv_TD[11], -1);
5468 TextDrawSetShadow(Inv_TD[11], 0);
5469 TextDrawSetOutline(Inv_TD[11], 0);
5470 TextDrawBackgroundColor(Inv_TD[11], 255);
5471 TextDrawFont(Inv_TD[11], 2);
5472 TextDrawSetProportional(Inv_TD[11], 1);
5473 TextDrawSetShadow(Inv_TD[11], 0);
5474 TextDrawSetSelectable(Inv_TD[11], true);
5475
5476 //Player TextDraws:
5477
5478 //Model preview
5479 //objetos normais:
5480 Inv_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 279.055877, 170.166732, "");
5481 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][0], 0.000000, 0.000000);
5482 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][0], 85.000000, 80.000000);
5483 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][0], 1);
5484 PlayerTextDrawColor(playerid, Inv_PTD[playerid][0], -1);
5485 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][0], 0);
5486 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][0], 0);
5487 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][0], 0);
5488 PlayerTextDrawFont(playerid, Inv_PTD[playerid][0], 5);
5489 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][0], 0);
5490 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][0], 0);
5491 PlayerTextDrawSetPreviewModel(playerid, Inv_PTD[playerid][0], 1650);
5492 PlayerTextDrawSetPreviewRot(playerid, Inv_PTD[playerid][0], 160.000000, 180.000000, 0.000000, 1.799999);
5493 //armas:
5494 Inv_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 243.916702, 164.916656, "");
5495 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][1], 0.000000, 0.000000);
5496 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][1], 122.000000, 115.000000);
5497 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][1], 1);
5498 PlayerTextDrawColor(playerid, Inv_PTD[playerid][1], -1);
5499 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][1], 0);
5500 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][1], 0);
5501 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][1], 0);
5502 PlayerTextDrawFont(playerid, Inv_PTD[playerid][1], 5);
5503 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][1], 0);
5504 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][1], 0);
5505 PlayerTextDrawSetPreviewModel(playerid, Inv_PTD[playerid][1], 356);
5506 PlayerTextDrawSetPreviewRot(playerid, Inv_PTD[playerid][1], 180.000000, 160.000000, 0.000000, 2.299999);
5507
5508 //Botao USAR/DESEQUIPAR
5509 Inv_PTD[playerid][2] = CreatePlayerTextDraw(playerid, 281.193267, 373.949981, "USAR");
5510 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][2], 0.274904, 1.565000);
5511 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][2], 10.000000, 72.000000);
5512 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][2], 2);
5513 PlayerTextDrawColor(playerid, Inv_PTD[playerid][2], -1);
5514 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][2], 0);
5515 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][2], 0);
5516 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][2], 0);
5517 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][2], 0);
5518 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][2], 255);
5519 PlayerTextDrawFont(playerid, Inv_PTD[playerid][2], 2);
5520 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][2], 1);
5521 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][2], 0);
5522 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][2], true);
5523
5524 //Info do item (centro)
5525 Inv_PTD[playerid][3] = CreatePlayerTextDraw(playerid, 322.796203, 246.583175, "M4~n~ ~n~Municao: ~g~~h~9999~n~~w~Tipo: ~b~~h~arma");
5526 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][3], 0.400000, 1.600000);
5527 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][3], 0.000000, 167.000000);
5528 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][3], 2);
5529 PlayerTextDrawColor(playerid, Inv_PTD[playerid][3], -1);
5530 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][3], 1);
5531 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][3], 0);
5532 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][3], 0);
5533 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][3], 1);
5534 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][3], 255);
5535 PlayerTextDrawFont(playerid, Inv_PTD[playerid][3], 2);
5536 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][3], 1);
5537 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][3], 0);
5538
5539 //Botoes itens equipados
5540 Inv_PTD[playerid][4] = CreatePlayerTextDraw(playerid, 161.625167, 172.966659, "Arma primaria");
5541 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][4], 0.240702, 1.483332);
5542 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][4], 10.000000, 143.000000);
5543 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][4], 2);
5544 PlayerTextDrawColor(playerid, Inv_PTD[playerid][4], -1);
5545 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][4], 1);
5546 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][4], 0);
5547 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][4], 0);
5548 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][4], 1);
5549 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][4], 255);
5550 PlayerTextDrawFont(playerid, Inv_PTD[playerid][4], 2);
5551 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][4], 1);
5552 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][4], 0);
5553 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][4], true);
5554
5555 Inv_PTD[playerid][5] = CreatePlayerTextDraw(playerid, 161.625167, 193.966873, "Arma secundaria");
5556 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][5], 0.240702, 1.483332);
5557 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][5], 10.000000, 143.000000);
5558 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][5], 2);
5559 PlayerTextDrawColor(playerid, Inv_PTD[playerid][5], -1);
5560 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][5], 1);
5561 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][5], 555819519);
5562 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][5], 0);
5563 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][5], 1);
5564 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][5], 255);
5565 PlayerTextDrawFont(playerid, Inv_PTD[playerid][5], 2);
5566 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][5], 1);
5567 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][5], 0);
5568 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][5], true);
5569
5570 Inv_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 161.625167, 215.267089, "Arma terciaria");
5571 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][6], 0.240702, 1.483332);
5572 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][6], 10.000000, 143.000000);
5573 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][6], 2);
5574 PlayerTextDrawColor(playerid, Inv_PTD[playerid][6], -1);
5575 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][6], 1);
5576 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][6], 555819519);
5577 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][6], 0);
5578 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][6], 1);
5579 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][6], 255);
5580 PlayerTextDrawFont(playerid, Inv_PTD[playerid][6], 2);
5581 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][6], 1);
5582 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][6], 0);
5583 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][6], true);
5584
5585 Inv_PTD[playerid][7] = CreatePlayerTextDraw(playerid, 161.625167, 249.167434, "GPS");
5586 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][7], 0.240702, 1.483332);
5587 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][7], 10.000000, 143.000000);
5588 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][7], 2);
5589 PlayerTextDrawColor(playerid, Inv_PTD[playerid][7], -1);
5590 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][7], 1);
5591 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][7], 555819519);
5592 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][7], 0);
5593 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][7], 1);
5594 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][7], 255);
5595 PlayerTextDrawFont(playerid, Inv_PTD[playerid][7], 2);
5596 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][7], 1);
5597 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][7], 0);
5598 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][7], true);
5599
5600 Inv_PTD[playerid][8] = CreatePlayerTextDraw(playerid, 161.625167, 270.466918, "Chapeu de cowboy");
5601 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][8], 0.240702, 1.483332);
5602 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][8], 10.000000, 143.000000);
5603 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][8], 2);
5604 PlayerTextDrawColor(playerid, Inv_PTD[playerid][8], -1);
5605 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][8], 1);
5606 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][8], 555819519);
5607 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][8], 0);
5608 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][8], 1);
5609 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][8], 255);
5610 PlayerTextDrawFont(playerid, Inv_PTD[playerid][8], 2);
5611 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][8], 1);
5612 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][8], 0);
5613 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][8], true);
5614
5615 Inv_PTD[playerid][9] = CreatePlayerTextDraw(playerid, 161.625167, 291.766052, "Roupa de enfermeiro");
5616 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][9], 0.240702, 1.483332);
5617 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][9], 10.000000, 143.000000);
5618 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][9], 2);
5619 PlayerTextDrawColor(playerid, Inv_PTD[playerid][9], -1);
5620 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][9], 1);
5621 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][9], 555819519);
5622 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][9], 0);
5623 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][9], 1);
5624 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][9], 255);
5625 PlayerTextDrawFont(playerid, Inv_PTD[playerid][9], 2);
5626 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][9], 1);
5627 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][9], 0);
5628 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][9], true);
5629
5630 Inv_PTD[playerid][10] = CreatePlayerTextDraw(playerid, 161.625167, 313.365173, "Roupa de enfermeiro");
5631 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][10], 0.240702, 1.483332);
5632 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][10], 10.000000, 143.000000);
5633 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][10], 2);
5634 PlayerTextDrawColor(playerid, Inv_PTD[playerid][10], -1);
5635 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][10], 1);
5636 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][10], 555819519);
5637 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][10], 0);
5638 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][10], 1);
5639 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][10], 255);
5640 PlayerTextDrawFont(playerid, Inv_PTD[playerid][10], 2);
5641 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][10], 1);
5642 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][10], 0);
5643 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][10], true);
5644
5645 Inv_PTD[playerid][11] = CreatePlayerTextDraw(playerid, 161.625167, 334.364318, "Roupa de enfermeiro");
5646 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][11], 0.240702, 1.483332);
5647 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][11], 10.000000, 143.000000);
5648 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][11], 2);
5649 PlayerTextDrawColor(playerid, Inv_PTD[playerid][11], -1);
5650 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][11], 1);
5651 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][11], 555819519);
5652 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][11], 0);
5653 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][11], 1);
5654 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][11], 255);
5655 PlayerTextDrawFont(playerid, Inv_PTD[playerid][11], 2);
5656 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][11], 1);
5657 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][11], 0);
5658 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][11], true);
5659
5660 Inv_PTD[playerid][12] = CreatePlayerTextDraw(playerid, 161.625167, 355.963439, "Roupa de enfermeiro");
5661 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][12], 0.240702, 1.483332);
5662 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][12], 10.000000, 143.000000);
5663 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][12], 2);
5664 PlayerTextDrawColor(playerid, Inv_PTD[playerid][12], -1);
5665 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][12], 1);
5666 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][12], 555819519);
5667 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][12], 0);
5668 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][12], 1);
5669 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][12], 255);
5670 PlayerTextDrawFont(playerid, Inv_PTD[playerid][12], 2);
5671 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][12], 1);
5672 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][12], 0);
5673 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][12], true);
5674
5675 Inv_PTD[playerid][13] = CreatePlayerTextDraw(playerid, 161.156646, 377.262573, "Roupa de enfermeiro");
5676 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][13], 0.240702, 1.483332);
5677 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][13], 10.000000, 143.000000);
5678 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][13], 2);
5679 PlayerTextDrawColor(playerid, Inv_PTD[playerid][13], -1);
5680 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][13], 1);
5681 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][13], 555819519);
5682 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][13], 0);
5683 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][13], 1);
5684 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][13], 255);
5685 PlayerTextDrawFont(playerid, Inv_PTD[playerid][13], 2);
5686 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][13], 1);
5687 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][13], 0);
5688 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][13], true);
5689
5690 //Botoes itens invetario
5691 Inv_PTD[playerid][14] = CreatePlayerTextDraw(playerid, 484.825256, 172.566909, "Caixa de ferramentas");
5692 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][14], 0.240702, 1.483332);
5693 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][14], 10.000000, 143.000000);
5694 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][14], 2);
5695 PlayerTextDrawColor(playerid, Inv_PTD[playerid][14], -1);
5696 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][14], 1);
5697 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][14], 555819519);
5698 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][14], 0);
5699 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][14], 1);
5700 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][14], 255);
5701 PlayerTextDrawFont(playerid, Inv_PTD[playerid][14], 2);
5702 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][14], 1);
5703 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][14], 0);
5704 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][14], true);
5705
5706 Inv_PTD[playerid][15] = CreatePlayerTextDraw(playerid, 484.825256, 193.266769, "Caixa de ferramentas");
5707 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][15], 0.240702, 1.483332);
5708 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][15], 10.000000, 143.000000);
5709 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][15], 2);
5710 PlayerTextDrawColor(playerid, Inv_PTD[playerid][15], -1);
5711 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][15], 1);
5712 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][15], 555819519);
5713 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][15], 0);
5714 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][15], 1);
5715 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][15], 255);
5716 PlayerTextDrawFont(playerid, Inv_PTD[playerid][15], 2);
5717 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][15], 1);
5718 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][15], 0);
5719 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][15], true);
5720
5721 Inv_PTD[playerid][16] = CreatePlayerTextDraw(playerid, 484.825256, 214.866622, "Caixa de ferramentas");
5722 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][16], 0.240702, 1.483332);
5723 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][16], 10.000000, 143.000000);
5724 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][16], 2);
5725 PlayerTextDrawColor(playerid, Inv_PTD[playerid][16], -1);
5726 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][16], 1);
5727 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][16], 555819519);
5728 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][16], 0);
5729 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][16], 1);
5730 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][16], 255);
5731 PlayerTextDrawFont(playerid, Inv_PTD[playerid][16], 2);
5732 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][16], 1);
5733 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][16], 0);
5734 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][16], true);
5735
5736 Inv_PTD[playerid][17] = CreatePlayerTextDraw(playerid, 484.825256, 236.466476, "Caixa de ferramentas");
5737 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][17], 0.240702, 1.483332);
5738 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][17], 10.000000, 143.000000);
5739 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][17], 2);
5740 PlayerTextDrawColor(playerid, Inv_PTD[playerid][17], -1);
5741 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][17], 1);
5742 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][17], 555819519);
5743 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][17], 0);
5744 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][17], 1);
5745 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][17], 255);
5746 PlayerTextDrawFont(playerid, Inv_PTD[playerid][17], 2);
5747 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][17], 1);
5748 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][17], 0);
5749 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][17], true);
5750
5751 Inv_PTD[playerid][18] = CreatePlayerTextDraw(playerid, 484.825256, 258.066345, "Caixa de ferramentas");
5752 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][18], 0.240702, 1.483332);
5753 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][18], 10.000000, 143.000000);
5754 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][18], 2);
5755 PlayerTextDrawColor(playerid, Inv_PTD[playerid][18], -1);
5756 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][18], 1);
5757 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][18], 555819519);
5758 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][18], 0);
5759 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][18], 1);
5760 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][18], 255);
5761 PlayerTextDrawFont(playerid, Inv_PTD[playerid][18], 2);
5762 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][18], 1);
5763 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][18], 0);
5764 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][18], true);
5765
5766 Inv_PTD[playerid][19] = CreatePlayerTextDraw(playerid, 484.825256, 279.666198, "Caixa de ferramentas");
5767 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][19], 0.240702, 1.483332);
5768 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][19], 10.000000, 143.000000);
5769 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][19], 2);
5770 PlayerTextDrawColor(playerid, Inv_PTD[playerid][19], -1);
5771 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][19], 1);
5772 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][19], 555819519);
5773 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][19], 0);
5774 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][19], 1);
5775 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][19], 255);
5776 PlayerTextDrawFont(playerid, Inv_PTD[playerid][19], 2);
5777 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][19], 1);
5778 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][19], 0);
5779 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][19], true);
5780
5781 Inv_PTD[playerid][20] = CreatePlayerTextDraw(playerid, 484.825256, 301.266052, "Caixa de ferramentas");
5782 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][20], 0.240702, 1.483332);
5783 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][20], 10.000000, 143.000000);
5784 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][20], 2);
5785 PlayerTextDrawColor(playerid, Inv_PTD[playerid][20], -1);
5786 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][20], 1);
5787 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][20], 555819519);
5788 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][20], 0);
5789 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][20], 1);
5790 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][20], 255);
5791 PlayerTextDrawFont(playerid, Inv_PTD[playerid][20], 2);
5792 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][20], 1);
5793 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][20], 0);
5794 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][20], true);
5795
5796 /*Inv_PTD[playerid][21] = CreatePlayerTextDraw(playerid, 484.825256, 301.266052, "Caixa de ferramentas");
5797 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][21], 0.240702, 1.483332);
5798 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][21], 10.000000, 143.000000);
5799 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][21], 2);
5800 PlayerTextDrawColor(playerid, Inv_PTD[playerid][21], -1);
5801 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][21], 1);
5802 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][21], 555819519);
5803 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][21], 0);
5804 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][21], 1);
5805 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][21], 255);
5806 PlayerTextDrawFont(playerid, Inv_PTD[playerid][21], 2);
5807 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][21], 1);
5808 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][21], 0);
5809 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][21], true);*/
5810
5811 Inv_PTD[playerid][21] = CreatePlayerTextDraw(playerid, 484.825256, 322.865905, "Caixa de ferramentas");
5812 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][21], 0.240702, 1.483332);
5813 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][21], 10.000000, 143.000000);
5814 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][21], 2);
5815 PlayerTextDrawColor(playerid, Inv_PTD[playerid][21], -1);
5816 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][21], 1);
5817 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][21], 555819519);
5818 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][21], 0);
5819 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][21], 1);
5820 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][21], 255);
5821 PlayerTextDrawFont(playerid, Inv_PTD[playerid][21], 2);
5822 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][21], 1);
5823 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][21], 0);
5824 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][21], true);
5825
5826 Inv_PTD[playerid][22] = CreatePlayerTextDraw(playerid, 484.825256, 344.465759, "Caixa de ferramentas");
5827 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][22], 0.240702, 1.483332);
5828 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][22], 10.000000, 143.000000);
5829 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][22], 2);
5830 PlayerTextDrawColor(playerid, Inv_PTD[playerid][22], -1);
5831 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][22], 1);
5832 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][22], 555819519);
5833 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][22], 0);
5834 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][22], 1);
5835 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][22], 255);
5836 PlayerTextDrawFont(playerid, Inv_PTD[playerid][22], 2);
5837 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][22], 1);
5838 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][22], 0);
5839 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][22], true);
5840
5841 Inv_PTD[playerid][23] = CreatePlayerTextDraw(playerid, 485.093780, 365.482269, "Caixa de ferramentas");
5842 PlayerTextDrawLetterSize(playerid, Inv_PTD[playerid][23], 0.240702, 1.483332);
5843 PlayerTextDrawTextSize(playerid, Inv_PTD[playerid][23], 10.000000, 143.000000);
5844 PlayerTextDrawAlignment(playerid, Inv_PTD[playerid][23], 2);
5845 PlayerTextDrawColor(playerid, Inv_PTD[playerid][23], -1);
5846 PlayerTextDrawUseBox(playerid, Inv_PTD[playerid][23], 1);
5847 PlayerTextDrawBoxColor(playerid, Inv_PTD[playerid][23], 555819519);
5848 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][23], 0);
5849 PlayerTextDrawSetOutline(playerid, Inv_PTD[playerid][23], 1);
5850 PlayerTextDrawBackgroundColor(playerid, Inv_PTD[playerid][23], 255);
5851 PlayerTextDrawFont(playerid, Inv_PTD[playerid][23], 2);
5852 PlayerTextDrawSetProportional(playerid, Inv_PTD[playerid][23], 1);
5853 PlayerTextDrawSetShadow(playerid, Inv_PTD[playerid][23], 0);
5854 PlayerTextDrawSetSelectable(playerid, Inv_PTD[playerid][23], true);
5855
5856 //Bars
5857 StatsBar[playerid][0] = CreatePlayerProgressBar(playerid, 589.000000, 427.000000, 9.500000, 74.699996, -1179478, 100.0000, 2);
5858 StatsBar[playerid][1] = CreatePlayerProgressBar(playerid, 606.000000, 427.000000, 9.500000, 74.699996, 10354602, 100.0000, 2);
5859 StatsBar[playerid][2] = CreatePlayerProgressBar(playerid, 623.000000, 427.000000, 9.500000, 74.699996, -14737494, 100.0000, 2);
5860
5861 VStatsBar[playerid] = CreatePlayerProgressBar(playerid, 147.000000, 397.000000, 63.500000, 3.200000, -12582657, 100.0000, 0);
5862 HudSBar[playerid] = CreatePlayerProgressBar(playerid, 534.000000, 95.000000, 81.000000, 6.199998, 2012020991, 100.0000, 0);
5863 return 1;
5864}
5865
5866stock AtualizarVStats(playerid)
5867{
5868 new veh = GetPlayerVehicleID(playerid), Float:health;
5869 if(veh == 0) return 1;
5870
5871 //CombustÃvel
5872 if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
5873 {
5874 if(Veiculo[veh][vFuel] > 0)
5875 {
5876 new speed = GetPlayerSpeed2D(playerid, true);
5877 if(speed >= 2) Veiculo[veh][vFuel] -= 0.4;
5878 if(Veiculo[veh][vFuel] < 1)
5879 {
5880 Veiculo[veh][vFuel] = 0;
5881 SendClientMessage(playerid, vermelho, "* O combustÃvel do seu veÃculo acabou!");
5882 new engine, lights, alarm, doors, bonnet, boot, objective;
5883 GetVehicleParamsEx(veh, engine, lights, alarm, doors, bonnet, boot, objective);
5884 SetVehicleParamsEx(veh, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
5885 }
5886 }
5887 }
5888
5889 GetVehicleHealth(veh, health);
5890 new str[60], speed = GetPlayerSpeed(playerid, true);
5891 format(str, sizeof(str), "Veiculo: ~b~~h~%s", VehicleNames[GetVehicleModel(veh)-400]);
5892 PlayerTextDrawSetString(playerid, VStatsTxd[playerid][0], str);
5893 if(speed < 0) speed = 0;
5894 format(str, sizeof(str), "%dKm/h", speed);
5895 PlayerTextDrawSetString(playerid, VStatsTxd[playerid][2], str);
5896 SetPlayerProgressBarValue(playerid, VStatsBar[playerid], Veiculo[veh][vFuel]);
5897
5898 //Motor
5899 if(health <= 300)
5900 {
5901 PlayerTextDrawSetString(playerid, VStatsTxd[playerid][3], "Motor: ~r~~h~Ruim");
5902 new engine, lights, alarm, doors, bonnet, boot, objective;
5903 GetVehicleParamsEx(veh, engine, lights, alarm, doors, bonnet, boot, objective);
5904 if(engine == VEHICLE_PARAMS_ON)
5905 {
5906 SendClientMessage(playerid, vermelho, "* O motor do veÃculo parou de funcionar");
5907 SetVehicleParamsEx(veh, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
5908 }
5909 }
5910 else if(health <= 600) PlayerTextDrawSetString(playerid, VStatsTxd[playerid][3], "Motor: ~y~~h~Danificado");
5911 else PlayerTextDrawSetString(playerid, VStatsTxd[playerid][3], "Motor: ~g~~h~Bom");
5912 return 1;
5913}
5914
5915stock GetPlayerSpeed(playerid,bool:kmh)
5916{
5917 new Float:Vx,Float:Vy,Float:Vz,Float:rtn;
5918 if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid),Vx,Vy,Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz);
5919 rtn = floatsqroot(Vx*Vx + Vy*Vy + Vz*Vz);
5920 return kmh?floatround(rtn * 100 * 1.63):floatround(rtn * 100);
5921}
5922
5923stock ShowVStats(playerid, show = 1)
5924{
5925 if(show == 1)
5926 {
5927 ShowPlayerProgressBar(playerid, VStatsBar[playerid]);
5928 for(new i = 0; i < 4; i++) PlayerTextDrawShow(playerid, VStatsTxd[playerid][i]);
5929 }
5930 else
5931 {
5932 HidePlayerProgressBar(playerid, VStatsBar[playerid]);
5933 for(new i = 0; i < 4; i++) PlayerTextDrawHide(playerid, VStatsTxd[playerid][i]);
5934 }
5935 AtualizarVStats(playerid);
5936 return 1;
5937}
5938
5939stock ShowHudTxd(playerid, show = 1)
5940{
5941 if(show == 1)
5942 {
5943 for(new i = 0; i < 3; i++) ShowPlayerProgressBar(playerid, StatsBar[playerid][i]);
5944 ShowPlayerProgressBar(playerid, HudSBar[playerid]);
5945 for(new i = 0; i < sizeof(StatsTxd); i++) TextDrawShowForPlayer(playerid, StatsTxd[i]);
5946 for(new i = 0; i < 7; i++) PlayerTextDrawShow(playerid, SupHud[playerid][i]);
5947 //PlayerTextDrawShow(playerid, HUDTxd[playerid][0]);
5948 //PlayerTextDrawShow(playerid, HUDTxd[playerid][1]);
5949 for(new i = 0; i < MAX_ITENS; i++)
5950 {
5951 if(Item[playerid][i][iModel] == 10 && Item[playerid][i][iUsed] == 1)
5952 {
5953 TextDrawHideForPlayer(playerid, HideMapTxd);
5954 TextDrawHideForPlayer(playerid, HideMapTxd2);
5955 GangZoneHideForPlayer(playerid, HideMap);
5956 return 1;
5957 }
5958 }
5959 GangZoneShowForPlayer(playerid, HideMap, 0x000000FF);
5960 TextDrawShowForPlayer(playerid, HideMapTxd);
5961 TextDrawShowForPlayer(playerid, HideMapTxd2);
5962 }
5963 else
5964 {
5965 for(new i = 0; i < 3; i++) HidePlayerProgressBar(playerid, StatsBar[playerid][i]);
5966 HidePlayerProgressBar(playerid, HudSBar[playerid]);
5967 for(new i = 0; i < sizeof(StatsTxd); i++) TextDrawHideForPlayer(playerid, StatsTxd[i]);
5968 for(new i = 0; i < 7; i++) PlayerTextDrawHide(playerid, SupHud[playerid][i]);
5969 //PlayerTextDrawHide(playerid, HUDTxd[playerid][0]);
5970 //PlayerTextDrawHide(playerid, HUDTxd[playerid][1]);
5971 TextDrawHideForPlayer(playerid, HideMapTxd);
5972 TextDrawHideForPlayer(playerid, HideMapTxd2);
5973 }
5974 return 1;
5975}
5976
5977stock ShowDeathTxd(playerid, killerid)
5978{
5979 if(killerid != INVALID_PLAYER_ID)
5980 {
5981 PlayerTextDrawHide(playerid, KillTxd0[playerid]);
5982 PlayerTextDrawHide(playerid, KillTxd1[playerid]);
5983 PlayerTextDrawHide(playerid, KillTxd2[playerid]);
5984 PlayerTextDrawSetString(playerid, DeathTxd2[playerid], GetName(killerid));
5985 PlayerTextDrawShow(playerid, DeathTxd0[playerid]);
5986 PlayerTextDrawShow(playerid, DeathTxd1[playerid]);
5987 PlayerTextDrawShow(playerid, DeathTxd2[playerid]);
5988
5989 PlayerTextDrawHide(killerid, DeathTxd0[killerid]);
5990 PlayerTextDrawHide(killerid, DeathTxd1[killerid]);
5991 PlayerTextDrawHide(killerid, DeathTxd2[killerid]);
5992 PlayerTextDrawHide(killerid, KillTxd0[killerid]);
5993 PlayerTextDrawHide(killerid, KillTxd1[killerid]);
5994 PlayerTextDrawHide(killerid, KillTxd2[killerid]);
5995 PlayerTextDrawSetString(killerid, KillTxd2[killerid], GetName(playerid));
5996 PlayerTextDrawShow(killerid, KillTxd0[killerid]);
5997 PlayerTextDrawShow(killerid, KillTxd1[killerid]);
5998 PlayerTextDrawShow(killerid, KillTxd2[killerid]);
5999 if(HKTTimer[killerid] != -1) KillTimer(HKTTimer[killerid]);
6000 HKTTimer[killerid] = SetTimerEx("HideKTxd", 3000, false, "i", killerid);
6001 }
6002 return 1;
6003}
6004
6005forward HideKTxd(playerid);
6006public HideKTxd(playerid)
6007{
6008 if(HKTTimer[playerid] != -1) KillTimer(HKTTimer[playerid]), HKTTimer[playerid] = -1;
6009 if(!IsPlayerConnected(playerid)) return 0;
6010 PlayerTextDrawHide(playerid, KillTxd0[playerid]);
6011 PlayerTextDrawHide(playerid, KillTxd1[playerid]);
6012 PlayerTextDrawHide(playerid, KillTxd2[playerid]);
6013 PlayerTextDrawHide(playerid, DeathTxd0[playerid]);
6014 PlayerTextDrawHide(playerid, DeathTxd1[playerid]);
6015 PlayerTextDrawHide(playerid, DeathTxd2[playerid]);
6016 return 1;
6017}
6018
6019forward AtualizarCash(playerid);
6020public AtualizarCash(playerid)
6021{
6022 if(Player[playerid][pCash] != GetPlayerMoney(playerid))
6023 {
6024 ResetPlayerMoney(playerid);
6025 GivePlayerMoney(playerid, Player[playerid][pCash]);
6026 }
6027 return 1;
6028}
6029
6030//Admin Funcs ------------------------------------------------------------------
6031
6032forward SendMessageToAdmins(color, msg[]);
6033public SendMessageToAdmins(color, msg[])
6034{
6035 for(new i = 0; i < MAX_PLAYERS; i++)
6036 {
6037 if(IsPlayerConnected(i))
6038 {
6039 if(Player[i][pAdmin] >= 1)
6040 {
6041 SendClientMessage(i, color, msg);
6042 }
6043 }
6044 }
6045}
6046
6047forward Eject(playerid);
6048public Eject(playerid)
6049{
6050 if(!IsPlayerInAnyVehicle(playerid)) return 0;
6051 new Float:x, Float:y, Float:z;
6052 GetPlayerPos(playerid, x, y, z);
6053 SetPlayerPos(playerid, x, y, z+3);
6054 return 1;
6055}
6056
6057stock LimparChat(playerid)
6058{
6059 if(playerid == -1)
6060 {
6061 for(new i = 0; i < 100; i++) SendClientMessageToAll(-1, " ");
6062 }
6063 else
6064 {
6065 if(!IsPlayerConnected(playerid)) return 0;
6066 for(new i = 0; i < 100; i++) SendClientMessage(playerid, -1, " ");
6067 }
6068 return 1;
6069}
6070
6071stock SetPlayerPosEx(playerid, Float:x, Float:y, Float:z)
6072{
6073 if(!IsPlayerConnected(playerid)) return 0;
6074 if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return SetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
6075 else return SetPlayerPos(playerid, x, y, z);
6076}
6077
6078stock Permission(playerid, level)
6079{
6080 if(level == -1) if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, vermelho, "| ERRO | Você não tem permissão"), 0;
6081 if(level == -2) if(Player[playerid][pAdmin] < level && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, vermelho, "| ERRO | Você não tem permissão"), 0;
6082 if(Player[playerid][pAdmin] < level) return SendClientMessage(playerid, vermelho, "| ERRO | Você não tem permissão"), 0;
6083 return 1;
6084}
6085
6086stock CheckID(playerid, id, checkpermission = 1)
6087{
6088 if(!IsPlayerConnected(id) || IsPlayerNPC(id)) return SendClientMessage(playerid, vermelho, "| ERRO | ID inválido"), 0;
6089 if(checkpermission == 1) if(id != playerid && Player[id][pAdmin] >= Player[playerid][pAdmin] && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, vermelho, "| ERRO | Jogador é admin igual ou superior a você"), 0;
6090 return 1;
6091}
6092
6093forward CMDMessageToAdmins(playerid, cmd[]);
6094public CMDMessageToAdmins(playerid, cmd[])
6095{
6096 for(new i = 0; i < MAX_PLAYERS; i++)
6097 {
6098 if(IsPlayerConnected(i))
6099 {
6100 if(Player[i][pAdmin] >= 1)
6101 {
6102 new string[128];
6103 format(string, sizeof(string), "[ADM-CMD] %s usou o comando %s", GetName(playerid), cmd);
6104 SendClientMessage(i, COR_ADM, string);
6105 }
6106 }
6107 }
6108 return 1;
6109}
6110
6111stock BanPlayer(nome[], motivo[] = "Indefinido", admin[] = "Nenhum (server ban)", dias = -1)
6112{
6113 if(dias == -1)
6114 {
6115 format(query, sizeof(query), "UPDATE contas SET Banido=1, Ban_admin='%s', Ban_motivo='%s' WHERE Nome='%s'", admin, motivo, nome);
6116 mysql_query(MCID, query, false);
6117 }
6118 else
6119 {
6120 format(query, sizeof(query), "UPDATE contas SET Banido=2, Ban_admin='%s', Ban_motivo='%s', Ban_time=%d WHERE Nome='%s'", admin, motivo, ConvertDays(dias), nome);
6121 mysql_query(MCID, query, false);
6122 }
6123 new id = GetPlayerID(nome);
6124 if(id != INVALID_PLAYER_ID)
6125 {
6126 if(Player[id][pKicked] == 0)
6127 {
6128 Kick2(id);
6129 Player[id][pKicked] = 1;
6130 }
6131 }
6132 return 1;
6133}
6134
6135forward ServerBan(playerid, motivo[]);
6136public ServerBan(playerid, motivo[])
6137{
6138 if(Player[playerid][pKicked] == 1) return 0;
6139 SendClientMessageToAllF(0xFF0000FF, "| BAN | %s foi banido do servidor (Motivo: %s)", GetName(playerid), motivo);
6140
6141 new str[500];
6142 format(str, sizeof(str), "{A9C4E4}Você foi banido do servidor!\n\n{A9C4E4}Conta: {FF0000}%s\n{A9C4E4}Admin: {FF0000}%s\n{A9C4E4}Motivo: {FF0000}%s\n\n\
6143 {A9C4E4}Se você acha que isso foi um erro\npeça revisão em nosso fórum:\n"forum"", GetName(playerid), "Nenhum (server ban)", motivo);
6144 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Banido", str, "Fechar", "");
6145
6146 BanPlayer(GetName(playerid), motivo);
6147 return 1;
6148}
6149
6150forward ServerKick(playerid, motivo[]);
6151public ServerKick(playerid, motivo[])
6152{
6153 if(Player[playerid][pKicked] == 1) return 0;
6154 SendClientMessageToAllF(0xFF0000FF, "| KICK | %s foi kickado do servidor (Motivo: %s)", GetName(playerid), motivo);
6155
6156 new str[500];
6157 format(str, sizeof(str), "{A9C4E4}Você foi kickado do servidor!\n\n{A9C4E4}Conta: {FF0000}%s\n{A9C4E4}Admin: {FF0000}%s\n{A9C4E4}Motivo: {FF0000}%s", GetName(playerid), "Nenhum (server kick)", motivo);
6158 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Kickado", str, "Fechar", "");
6159
6160 Kick2(playerid);
6161 return 1;
6162}
6163
6164stock GetPlayerID(playername[])
6165{
6166 for(new i = 0; i < MAX_PLAYERS; i++)
6167 {
6168 if(IsPlayerConnected(i))
6169 {
6170 new playername2[MAX_PLAYER_NAME];
6171 GetPlayerName(i, playername2, sizeof(playername2));
6172 if(strcmp(playername2, playername, false) == 0)
6173 {
6174 return i;
6175 }
6176 }
6177 }
6178 return INVALID_PLAYER_ID;
6179}
6180
6181//END - Admin Funcs -----------------------------------------------------------
6182
6183stock FormatarWNames()
6184{
6185format(WNames[2], 30, "Taco de Golf");
6186format(WNames[3], 30, "Cassetete");
6187format(WNames[4], 30, "Faca");
6188format(WNames[5], 30, "Taco de Baseball");
6189format(WNames[6], 30, "Pá");
6190format(WNames[7], 30, "Taco de sinuca");
6191format(WNames[8], 30, "Katana");
6192format(WNames[9], 30, "Motosserra");
6193format(WNames[22], 30, "9mm");
6194format(WNames[23], 30, "9mm Silenciada");
6195format(WNames[24], 30, "Desert Eagle");
6196format(WNames[25], 30, "Escopeta");
6197format(WNames[26], 30, "Sawn-off");
6198format(WNames[27], 30, "Escopeta de combate");
6199format(WNames[28], 30, "Micro SMG/Uzi");
6200format(WNames[29], 30, "MP5");
6201format(WNames[32], 30, "Tec-9");
6202format(WNames[30], 30, "AK-47");
6203format(WNames[31], 30, "M4");
6204format(WNames[33], 30, "Rifle");
6205format(WNames[34], 30, "Sniper Rifle");
6206format(WNames[16], 30, "Granada");
6207format(WNames[39], 30, "C4");
6208format(WNames[41], 30, "Lata de spray");
6209format(WNames[42], 30, "Extintor de incêndio");
6210format(WNames[43], 30, "Câmera");
6211format(WNames[10], 30, "Dildo roxo");
6212format(WNames[11], 30, "Dildo");
6213format(WNames[12], 30, "Vibrador");
6214format(WNames[13], 30, "Vibrator prata");
6215format(WNames[14], 30, "Flores");
6216format(WNames[15], 30, "Bengala");
6217return 1;
6218}
6219
6220stock GetWeaponModel(weaponid)
6221{
6222 new model;
6223
6224 switch(weaponid)
6225 {
6226 case 1: model=331; case 2: model=333; case 3: model=334;
6227 case 4: model=335; case 5: model=336; case 6: model=337;
6228 case 7: model=338; case 8: model=339; case 9: model=341;
6229 case 10: model=321; case 11: model=322; case 12: model=323;
6230 case 13: model=324; case 14: model=325; case 15: model=326;
6231 case 16: model=342; case 17: model=343; case 18: model=344;
6232 case 22: model=346; case 23: model=347; case 24: model=348;
6233 case 25: model=349; case 26: model=350; case 27: model=351;
6234 case 28: model=352; case 29: model=353; case 30: model=355;
6235 case 31: model=356; case 32: model=372; case 33: model=357;
6236 case 34: model=358; case 35: model=359; case 36: model=360;
6237 case 37: model=361; case 38: model=362; case 39: model=363;
6238 case 41: model=365; case 42: model=366; case 46: model=371;
6239 }
6240 //if(model < 300 || model == 342 || model == 346 || model == 348 || model == 355 || model == 356 || model == 359 || model == 362) return -1;//weapons i dont want to be dropped
6241 return model;
6242}
6243
6244stock GetWeaponSlot(weaponid)
6245{
6246 new slot;
6247 switch(weaponid)
6248 {
6249 case 0, 1: slot = 0;
6250 case 2..9: slot = 1;
6251 case 10..15: slot = 10;
6252 case 16..18, 39: slot = 8;
6253 case 22..24: slot =2;
6254 case 25..27: slot = 3;
6255 case 28, 29, 32: slot = 4;
6256 case 30, 31: slot = 5;
6257 case 33, 34: slot = 6;
6258 case 35..38: slot = 7;
6259 case 40: slot = 12;
6260 case 41..43: slot = 9;
6261 case 44..46: slot = 11;
6262 }
6263 return slot;
6264}
6265
6266stock GetPlayerSpeed2D(playerid,bool:kmh)
6267{
6268 new Float:Vx, Float:Vy, Float:Vz, Float:rtn;
6269 if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid), Vx, Vy, Vz); else GetPlayerVelocity(playerid,Vx,Vy,Vz);
6270 rtn = floatsqroot(Vx*Vx + Vy*Vy);
6271 return kmh?floatround(rtn * 100 * 1.63):floatround(rtn * 100);
6272}
6273
6274stock CreateVehicles()
6275{
6276 CreateVehicle(495, -339.82, 1514.76, 75.35, 0.03, 34, 38, 0);
6277 CreateVehicle(478, -742.16, 1562.81, 26.96, 58.77, 151, 74, 0);
6278 CreateVehicle(468, -398.13, 2235.03, 42.42, 284.26, 61, 10, 0);
6279 CreateVehicle(468, -398.95, 2237.44, 42.42, 278.74, 1, 54, 0);
6280 CreateVehicle(470, 178.88, 1932.02, 18.03, 180.33, 61, 251, 0);
6281 CreateVehicle(433, 276.66, 1930.74, 17.64, 245.01, 157, 1, 0);
6282 CreateVehicle(436, 667.72, 1727.67, 6.99, 40.63, 213, 68, 0);
6283 CreateVehicle(556, 1114.23, 1454.10, 12.54, 114.43, 5, 179, 0);
6284 CreateVehicle(593, 1275.30, 1361.10, 10.81, 269.24, 231, 138, 0);
6285 CreateVehicle(589, 2204.16, 938.38, 10.82, 269.63, 190, 112, 0);
6286 CreateVehicle(522, 2551.55, 1222.64, 10.82, 358.56, 254, 80, 0);
6287 CreateVehicle(525, 2398.91, 1658.45, 10.82, 180.75, 188, 247, 0);
6288 CreateVehicle(417, -803.37, 2234.87, 40.01, 94.68, 212, 114, 0);
6289 CreateVehicle(416, -1503.60, 2525.18, 55.68, 0.98, 220, 37, 0);
6290 CreateVehicle(417, -2227.46, 2326.53, 7.54, 3.05, 204, 171, 0);
6291 CreateVehicle(491, -2643.63, 1376.27, 7.15, 272.43, 105, 113, 0);
6292 CreateVehicle(454, -1509.91, 1389.03, -0.39, 286.66, 118, 18, 0);
6293 CreateVehicle(599, -1622.46, 660.42, -5.24, 89.65, 154, 112, 0);
6294 CreateVehicle(560, -1989.44, 271.17, 35.17, 268.25, 16, 150, 0);
6295 CreateVehicle(562, -2105.15, 893.12, 76.70, 0.28, 16, 80, 0);
6296 CreateVehicle(579, -2544.90, 643.86, 27.81, 89.29, 1, 136, 0);
6297 CreateVehicle(587, -1703.78, 1011.97, 17.58, 272.69, 91, 95, 0);
6298 CreateVehicle(434, -1861.39, -1682.18, 21.75, 110.48, 94, 15, 0);
6299 CreateVehicle(489, -2008.37, -2413.18, 30.62, 226.09, 116, 131, 0);
6300 CreateVehicle(463, -1573.60, -2729.79, 48.54, 147.31, 103, 179, 0);
6301 CreateVehicle(467, 331.03, -1809.50, 4.48, 359.72, 67, 193, 0);
6302 CreateVehicle(475, 1344.36, -1753.19, 13.35, 1.49, 9, 213, 0);
6303 CreateVehicle(482, 1782.66, -1696.65, 13.47, 89.32, 24, 185, 0);
6304 CreateVehicle(500, 1986.69, -2062.96, 13.37, 89.24, 91, 51, 0);
6305 CreateVehicle(500, 1947.34, -2123.72, 13.54, 274.72, 51, 38, 0);
6306 CreateVehicle(567, 1793.52, -2132.53, 13.54, 0.25, 35, 103, 0);
6307 CreateVehicle(535, 1746.38, -2133.33, 13.54, 359.54, 62, 96, 0);
6308 CreateVehicle(407, 1748.88, -1455.20, 13.54, 259.85, 81, 103, 0);
6309 CreateVehicle(412, 1654.25, -1038.33, 23.89, 0.15, 208, 220, 0);
6310 CreateVehicle(422, 1629.22, -1089.59, 23.90, 271.64, 129, 5, 0);
6311 for(new v = 0, mv = GetVehiclePoolSize()+1; v < mv; v++) SetVehicleToRespawn(v);
6312 return 1;
6313}
6314
6315forward Spawn(playerid);
6316public Spawn(playerid)
6317{
6318 if(GetPlayerState(playerid) == PLAYER_STATE_SPECTATING) TogglePlayerSpectating(playerid, false), SetSpawnInfo(playerid, NO_TEAM, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
6319 else SpawnPlayer(playerid);
6320 return 1;
6321}
6322
6323stock CreateItem(isWeap, model, ammo, Float:x, Float:y, Float:z, interior = 0, world = 0)
6324{
6325 for(new i = 0; i < MAX_MAPITENS; i++)
6326 {
6327 if(MapItem[i][mModel] == 0)
6328 {
6329 if(isWeap == 0)
6330 {
6331 MapItem[i][mArma] = 0;
6332 MapItem[i][mModel] = model;
6333 MapItem[i][mAmmo] = ammo;
6334 MapItem[i][mPos][0] = x, MapItem[i][mPos][1] = y, MapItem[i][mPos][2] = z;
6335 MapItem[i][mObjc] = CreateDynamicObject(ItemStats[model][sObjc], x, y, z+ItemStats[model][sZ], ItemStats[model][sRotX], ItemStats[model][sRotY], ItemStats[model][sRotZ], world, interior);
6336 MapItem[i][mLabel] = CreateDynamic3DTextLabel(ItemStats[model][sNome], ItemStats[model][sColor], x, y, z+ItemStats[model][sZ], 2.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, world, interior);
6337 switch(model)
6338 {
6339 case 11: SetDynamicObjectMaterial(MapItem[i][mObjc], 0, -1, "none", "none", 0xFF00FF00); //Mochila Média
6340 case 12: SetDynamicObjectMaterial(MapItem[i][mObjc], 0, -1, "none", "none", 0xFFFF0000); //Mochila Grande
6341 }
6342 }
6343 else
6344 {
6345 MapItem[i][mArma] = 1;
6346 MapItem[i][mModel] = model;
6347 MapItem[i][mAmmo] = ammo;
6348 MapItem[i][mPos][0] = x, MapItem[i][mPos][1] = y, MapItem[i][mPos][2] = z;
6349 MapItem[i][mObjc] = CreateDynamicObject(GetWeaponModel(model), x, y, z-0.95, -96.300003, -108.908996, -6.486999, world, interior);
6350 MapItem[i][mLabel] = CreateDynamic3DTextLabel(WNames[model], 0x545454FF, x, y, z-0.95, 2.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, world, interior);
6351 }
6352 return 1;
6353 }
6354 }
6355 printf("Erro ao criar item (maximo de itens excedido)");
6356 return 1;
6357}
6358
6359stock DarMapItem(playerid, id)
6360{
6361 if(MapItem[id][mModel] == 0) return SendClientMessage(playerid, vermelho, "* Este item já não existe mais");
6362 new espaco = 0;
6363 for(new i = 0; i < MAX_ITENS; i++) if(Item[playerid][i][iModel] != 0 && Item[playerid][i][iUsed] == 0) espaco++;
6364 if(espaco >= Player[playerid][pSlots]) return SendClientMessage(playerid, vermelho, "* Você não possui espaço no inventário");
6365 for(new i = 0; i < MAX_ITENS; i++)
6366 {
6367 if(Item[playerid][i][iModel] == 0)
6368 {
6369 Item[playerid][i][iArma] = MapItem[id][mArma];
6370 Item[playerid][i][iModel] = MapItem[id][mModel];
6371 Item[playerid][i][iAmmo] = MapItem[id][mAmmo];
6372 Item[playerid][i][iUsed] = 0;
6373 DestroyItem(id);
6374 return 1;
6375 }
6376 }
6377 return 1;
6378}
6379
6380stock DarItem(playerid, isWeap, model, ammo)
6381{
6382 new espaco = 0;
6383 for(new i = 0; i < MAX_ITENS; i++)
6384 {
6385 if(Item[playerid][i][iModel] != 0 && Item[playerid][i][iUsed] == 0) espaco++;
6386 }
6387 if(espaco >= Player[playerid][pSlots]) return 0;
6388 for(new i = 0; i < MAX_ITENS; i++)
6389 {
6390 if(Item[playerid][i][iModel] == 0)
6391 {
6392 Item[playerid][i][iArma] = isWeap;
6393 Item[playerid][i][iModel] = model;
6394 Item[playerid][i][iAmmo] = ammo;
6395 Item[playerid][i][iUsed] = 0;
6396 return 1;
6397 }
6398 }
6399 return 0;
6400}
6401
6402stock RemoveItem(playerid, id)
6403{
6404 Item[playerid][id][iArma] = 0;
6405 Item[playerid][id][iModel] = 0;
6406 Item[playerid][id][iAmmo] = 0;
6407 Item[playerid][id][iUsed] = 0;
6408 return 1;
6409}
6410
6411stock DestroyItem(id)
6412{
6413 MapItem[id][mArma] = 0;
6414 MapItem[id][mModel] = 0;
6415 MapItem[id][mAmmo] = 0;
6416 MapItem[id][mPos][0] = 0, MapItem[id][mPos][1] = 0, MapItem[id][mPos][2] = 0;
6417 DestroyDynamicObject(MapItem[id][mObjc]);
6418 DestroyDynamic3DTextLabel(MapItem[id][mLabel]);
6419 return 1;
6420}
6421
6422stock split(const strsrc[], strdest[][], delimiter)
6423{
6424 new i, li;
6425 new aNum;
6426 new len;
6427 while(i <= strlen(strsrc)){
6428 if(strsrc[i]==delimiter || i==strlen(strsrc)){
6429 len = strmid(strdest[aNum], strsrc, li, i, 128);
6430 strdest[aNum][len] = 0;
6431 li = i+1;
6432 aNum++;
6433 }
6434 i++;
6435 }
6436 return 1;
6437}
6438
6439stock udb_hash(buf[])
6440{
6441 new length=strlen(buf);
6442 new s1 = 1;
6443 new s2 = 0;
6444 new n;
6445 for (n=0; n<length; n++)
6446 {
6447 s1 = (s1 + buf[n]) % 65521;
6448 s2 = (s2 + s1) % 65521;
6449 }
6450 return (s2 << 16) + s1;
6451}
6452
6453stock RetirarAcentos(str[])
6454{
6455 new ComAcento[29] = "à âêôûãõáéÃóúçüÀÂÊÔÛÃÕÃÉÃÓÚÇÜ";
6456 new SemAcento[29] = "aaeouaoaeioucuAAEOUAOAEIOUCU";
6457 for(new i = 0; i < strlen(str); i++)
6458 {
6459 for(new l = 0; l < sizeof(ComAcento); l++)
6460 {
6461 if(str[i] == ComAcento[l])
6462 {
6463 str[i] = SemAcento[l];
6464 }
6465 }
6466 }
6467 return 1;
6468}
6469
6470//Clan funcs -------------------------------------------------------------------
6471
6472CMD:setclan(playerid, params[])
6473{
6474 new id, clan[20], lvl;
6475 if(sscanf(params, "dds[20]", id, lvl, clan)) return SendClientMessage(playerid, vermelho, "Uso: /setclan [ID] [NÃVEL] [NOME]");
6476 SetClan(id, clan, lvl);
6477 return 1;
6478}
6479
6480CMD:createclan(playerid, params[])
6481{
6482 new nome[20];
6483 if(sscanf(params, "s[20]", nome)) return SendClientMessage(playerid, vermelho, "Uso: /createclan [NOME]");
6484 if(CreateClan(playerid, nome) == 0) return SendClientMessage(playerid, vermelho, "* Já existe um clã com este nome");
6485 SendClientMessageF(playerid, verde, "* Clã criado: %s", nome);
6486 return 1;
6487}
6488
6489CMD:clan(playerid)
6490{
6491 if(strcmp(Player[playerid][pClan], "Nenhum", true) == 0) return SendClientMessage(playerid, vermelho, "* Você não possui clã");
6492 new str[256], str2[30];
6493 format(query, sizeof(query), "SELECT * FROM clans WHERE Nome='%s'", Player[playerid][pClan]);
6494 mysql_query(MCID, query, true);
6495 new rows;
6496 cache_get_row_count(rows);
6497 if(rows > 0)
6498 {
6499 cache_get_value_name(0, "Nome", str2);
6500 format(str, sizeof(str), "Nome: %s", str2);
6501 cache_get_value_name(0, "Criador", str2);
6502 format(str, sizeof(str), "%s\nCriador: %s", str, str2);
6503 cache_get_value_name(0, "Registro", str2);
6504 format(str, sizeof(str), "%s\nRegistro: %s\n\nMembros:", str, str2);
6505
6506 format(query, sizeof(query), "SELECT * FROM contas WHERE Clan='%s'", Player[playerid][pClan]);
6507 mysql_query(MCID, query, true);
6508 cache_get_row_count(rows);
6509 for(new i = 0; i < rows; i++)
6510 {
6511 cache_get_value_name(i, "Nome", str2);
6512 format(str, sizeof(str), "%s\n%s", str, str2);
6513 }
6514
6515 ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "Clan", str, "Fechar", "");
6516 }
6517 else SendClientMessage(playerid, vermelho, "* Seu clã não existe no banco de dados"), SetClan(playerid, "Nenhum", 0);
6518 return 1;
6519}
6520
6521stock SetClan(playerid, nome[], level)
6522{
6523 format(Player[playerid][pClan], 25, nome);
6524 Player[playerid][pClanL] = level;
6525 SalvarConta(playerid);
6526 return 1;
6527}
6528
6529stock CreateClan(playerid, nome[])
6530{
6531 new str[128];
6532 format(query, sizeof(query), "SELECT * FROM clans WHERE Nome='%s'", nome);
6533 mysql_query(MCID, query, true);
6534 new row;
6535 cache_get_row_count(row);
6536 if(row > 0) return 0;
6537
6538 new dia, mes, ano;
6539 getdate(ano, mes, dia);
6540 format(str, sizeof(str), "%02d/%02d/%04d", dia, mes, ano);
6541
6542 format(query, sizeof(query), "INSERT INTO clans(Nome, Criador, Registro) VALUES ('%s', '%s', '%s')", nome, GetName(playerid), str);
6543 mysql_query(MCID, query, false);
6544
6545 SetClan(playerid, nome, 3);
6546 return 1;
6547}
6548
6549stock DeleteClan(nome[])
6550{
6551 format(query, sizeof(query), "DELETE FROM clans WHERE clans.Nome='%s'", nome);
6552 mysql_query(MCID, query, false);
6553 format(query, sizeof(query), "UPDATE contas SET Clan='Nenhum', ClanL=0 WHERE Clan='%s'", nome);
6554 mysql_query(MCID, query, false);
6555 return 1;
6556}
6557
6558//END - Clan Funcs ------------------------------------------------------------
6559
6560stock CarregarPostos()
6561{
6562 for(new i = 0; i < sizeof(GPostos); i++)
6563 {
6564 CreateDynamic3DTextLabel("Posto de combustÃvel\nEncha seu galão aqui", -1, GPostos[i][0], GPostos[i][1], GPostos[i][2], 20.0, INVALID_PLAYER_ID, INVALID_PLAYER_ID, 0);
6565 }
6566 return 1;
6567}
6568
6569stock AtualizarArmas(playerid, give = 0)
6570{
6571 if(give == 1)
6572 {
6573 ResetPlayerWeapons(playerid);
6574 GivePlayerWeapon(playerid, Player[playerid][pArma][2], Player[playerid][pArmaA][2]);
6575 GivePlayerWeapon(playerid, Player[playerid][pArma][1], Player[playerid][pArmaA][1]);
6576 GivePlayerWeapon(playerid, Player[playerid][pArma][0], Player[playerid][pArmaA][0]);
6577 return 1;
6578 }
6579 new weap, ammo;
6580 for(new i = 0; i < 11; i++)
6581 {
6582 GetPlayerWeaponData(playerid, i, weap, ammo);
6583 if(weap == Player[playerid][pArma][0])
6584 {
6585 if(ammo < Player[playerid][pArmaA][0])
6586 {
6587 Player[playerid][pArmaA][0] = ammo;
6588 }
6589 else if(ammo > Player[playerid][pArmaA][0]) SetPlayerAmmo(playerid, Player[playerid][pArma][0], Player[playerid][pArmaA][0]);
6590 }
6591 else if(weap == Player[playerid][pArma][1])
6592 {
6593 if(ammo < Player[playerid][pArmaA][1])
6594 {
6595 Player[playerid][pArmaA][1] = ammo;
6596 }
6597 else if(ammo > Player[playerid][pArmaA][1]) SetPlayerAmmo(playerid, Player[playerid][pArma][1], Player[playerid][pArmaA][1]);
6598 }
6599 else SetPlayerAmmo(playerid, weap, 0);
6600 }
6601 return 1;
6602}
6603
6604stock AtualizarAnexos(playerid, full = 1)
6605{
6606 new w = GetPlayerWeapon(playerid);
6607 if(w != Player[playerid][pArma][0] && Player[playerid][pArma][0] != 0) SetPlayerAttachedObject(playerid, 1, GetWeaponModel(Player[playerid][pArma][0]), 1, -0.13799999, -0.21899996, -0.10999996, -93.19997406, 3.60000658, 2.60000705, 1.00000000, 1.00000000, 1.00000000); //Arma primária
6608 else RemovePlayerAttachedObject(playerid, 1);
6609 if(w != Player[playerid][pArma][1] && Player[playerid][pArma][1] != 0) SetPlayerAttachedObject(playerid, 2, GetWeaponModel(Player[playerid][pArma][1]), 8, 0.06899999, -0.14599998, 0.11999990, -88.59999847, 10.19999885, 8.00000095, 1.00000000, 1.00000000, 1.000000); //Arma secundária
6610 else RemovePlayerAttachedObject(playerid, 2);
6611 if(full == 1)
6612 {
6613 RemovePlayerAttachedObject(playerid, 0);
6614 for(new i = 0; i < MAX_ITENS; i++)
6615 {
6616 if(Item[playerid][i][iUsed] == 1)
6617 {
6618 if(Item[playerid][i][iModel] == 11)
6619 {
6620 SetPlayerAttachedObject(playerid, 0, 3026, 1, -0.17699986, -0.07200001, 0.00000000, 0.000000, 0.000000, 0.000000, 1.00000000, 1.00000000, 1.00000000, 0xFF00FF00, 0xFF00FF00); //Mochila Média (verde)
6621 return 1;
6622 }
6623 else if(Item[playerid][i][iModel] == 12)
6624 {
6625 SetPlayerAttachedObject(playerid, 0, 3026, 1, -0.17699986, -0.07200001, 0.00000000, 0.000000, 0.000000, 0.000000, 1.00000000, 1.00000000, 1.00000000, 0xFFFF0000, 0xFFFF0000); //Mochila Grande (vermelha)
6626 return 1;
6627 }
6628 }
6629 }
6630 }
6631 return 0;
6632}
6633
6634stock LoadLoot()
6635{
6636 new lootCount = 0;
6637 for(new i; i < sizeof(DayZSA_Loots); i++)
6638 {
6639 lootCount++;
6640 CreateItem(0, random(sizeof(ItemStats)), 1, DayZSA_Loots[i][xLoo], DayZSA_Loots[i][yLoo], DayZSA_Loots[i][zLoo]);
6641 }
6642 printf("\n");
6643 printf("Server loads");
6644 printf("----------------");
6645 printf(" Loaded %i normal looting areas", lootCount);
6646 lootCount = 0;
6647
6648 //Armas
6649 for(new i; i < sizeof(DayZSA_Military); i++)
6650 {
6651 lootCount++;
6652 switch(random(4))
6653 {
6654 case 0,2: CreateItem(1, 22+random(13), 0, DayZSA_Military[i][xLoo], DayZSA_Military[i][yLoo], DayZSA_Military[i][zLoo]);
6655 case 1,3: CreateItem(0, 1+random(5), 20+random(40), DayZSA_Military[i][xLoo], DayZSA_Military[i][yLoo], DayZSA_Military[i][zLoo]);
6656 }
6657 }
6658
6659 printf(" Loaded %i military looting areas", lootCount);
6660 lootCount = 0;
6661 /*
6662 //Medicamentos
6663 for(new i; i < sizeof(DayZSA_Farms); i++)
6664 {
6665 DayZSA_CreateFarmLoots(DayZSA_Farms[i][xLoo], DayZSA_Farms[i][yLoo], DayZSA_Farms[i][zLoo]);
6666 }*/
6667
6668 //Comida
6669 for(new i; i < sizeof(DayZSA_Market); i++)
6670 {
6671 lootCount++;
6672 CreateItem(0, 8+random(2), 1, DayZSA_Market[i][xLoo], DayZSA_Market[i][yLoo], DayZSA_Market[i][zLoo]);
6673 }
6674
6675 printf(" Loaded %i market looting areas", lootCount);
6676 lootCount = 0;
6677 return 1;
6678}
6679
6680stock DropAllItens(playerid)
6681{
6682 new Float:x, Float:y, Float:z;
6683 GetPlayerPos(playerid, x, y, z);
6684 for(new i = 0; i < MAX_ITENS; i++)
6685 {
6686 if(Item[playerid][i][iModel] != 0)
6687 {
6688 switch(random(4))
6689 {
6690 case 0: x -= 0.5;
6691 case 1: x += 0.5;
6692 case 2: y -= 0.5;
6693 case 3: y += 0.5;
6694 }
6695 CreateItem(Item[playerid][i][iArma], Item[playerid][i][iModel], Item[playerid][i][iAmmo], x, y, z);
6696 RemoveItem(playerid, i);
6697 }
6698 }
6699 for(new i = 0; i < 3; i++)
6700 {
6701 if(Player[playerid][pArma][i] != 0)
6702 {
6703 switch(random(4))
6704 {
6705 case 0: x -= 0.5;
6706 case 1: x += 0.5;
6707 case 2: y -= 0.5;
6708 case 3: y += 0.5;
6709 }
6710 CreateItem(1, Player[playerid][pArma][i], Player[playerid][pArmaA][i], x, y, z);
6711 Player[playerid][pArma][i] = 0;
6712 Player[playerid][pArmaA][i] = 0;
6713 }
6714 }
6715 return 1;
6716}
6717
6718stock AtualizarUsedItens(playerid)
6719{
6720 Player[playerid][pSlots] = 5;
6721 new itens;
6722 for(new i = 0; i < MAX_ITENS; i++)
6723 {
6724 if(Item[playerid][i][iModel] != 0)
6725 {
6726 itens++;
6727 if(Item[playerid][i][iUsed] == 1)
6728 {
6729 if(Item[playerid][i][iModel] == 11) Player[playerid][pSlots] = 7;
6730 else if(Item[playerid][i][iModel] == 12) Player[playerid][pSlots] = 10;
6731 }
6732 }
6733 }
6734 if(itens == 0)
6735 {
6736 DarItem(playerid, 0, 9, 1);
6737 DarItem(playerid, 0, 8, 1);
6738 DarItem(playerid, 1, 23, 17);
6739 }
6740 return 1;
6741}
6742
6743stock ShowChatKill(playerid, show)
6744{
6745 for(new i = 0; i < 6; i++) SendDeathMessageToPlayer(playerid, 24325, 24325, 0);
6746 if(show == 1)
6747 {
6748 for(new i = 0; i < 6; i++)
6749 {
6750 SendDeathMessageToPlayer(playerid, ChatKill[i][0], ChatKill[i][1], ChatKill[i][2]);
6751 Player[playerid][pHideCK] = 0;
6752 }
6753 return 1;
6754 }
6755 Player[playerid][pHideCK] = 1;
6756 return 1;
6757}
6758
6759stock SendDeathMessageEx(killer, kilee, weapon)
6760{
6761 for(new i = 1; i < 6-1; i++) ChatKill[i][0] = ChatKill[i+1][0], ChatKill[i][1] = ChatKill[i+1][1], ChatKill[i][2] = ChatKill[i+1][2];
6762 ChatKill[6-1][0] = killer;
6763 ChatKill[6-1][1] = kilee;
6764 ChatKill[6-1][2] = weapon;
6765 for(new i = 0; i < MAX_PLAYERS; i++)
6766 {
6767 if(IsPlayerConnected(i))
6768 {
6769 if(Player[i][pHideCK] == 0)
6770 {
6771 SendDeathMessageToPlayer(i, killer, kilee, weapon);
6772 }
6773 }
6774 }
6775 return 1;
6776}
6777
6778forward DisableShop(playerid);
6779public DisableShop(playerid)
6780{
6781 SetPlayerShopName(playerid, "");
6782 return 1;
6783}
6784
6785//END - Stocks ----------------------------------------------------------------
6786
6787forward DelayedKick(playerid);
6788forward DelayedBan(playerid);
6789forward DelayedBanEx(playerid, reason[]);
6790public DelayedKick(playerid) return Kick(playerid);
6791public DelayedBan(playerid) return Ban(playerid);
6792public DelayedBanEx(playerid, reason[]) return BanEx(playerid, reason);
6793stock Kick2(playerid) return SetTimerEx("DelayedKick", 400, false, "i", playerid);
6794stock Ban2(playerid) return SetTimerEx("DelayedBan", 400, false, "i", playerid);
6795stock BanEx2(playerid, reason[]) return SetTimerEx("DelayedBanEx", 400, false, "is", playerid, reason);