Advertisement
Guest User

Projeto.pwn Survival The Island

a guest
Jan 28th, 2019
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 326.45 KB | None | 0 0
  1. #include <a_samp>
  2. #include <FCNPC>
  3. #include <streamer>
  4. #include <sscanf2>
  5. #include <DOF2>
  6. #include <ProgressBar>
  7. /*========================== MAPINHA ==========================*/
  8. #define sd 350.0
  9. #define dd 350.0
  10. /*======================= ADMINISTRAÇÃO =======================*/
  11. #define NAOADM              "Você não tem permissão para usar esse comando!"
  12. #define Banido              "Banidos\\%s.ini"
  13. #define paramount(%0,%1) for(new %0; %0 < %1; ++%0) if(IsPlayerConnected(%0) && !IsPlayerNPC(%0))
  14.  
  15. const verde = 0x5EAF03FF;
  16. const fail = 0xFF0000FF;
  17.  
  18. new string_[168];
  19.  
  20. enum banido_auto
  21. {
  22.     pBan,
  23.     pAutorizado
  24. };
  25. new pInfo2[MAX_PLAYERS][banido_auto];
  26.  
  27. new
  28.     bool:calado[MAX_PLAYERS];
  29.  
  30. new
  31.     bool:votou[MAX_PLAYERS],
  32.     bool:enquete,
  33.     sim,nao;
  34. /*======================== INVENTARIO =========================*/
  35. #pragma tabsize 0
  36.  
  37. #define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
  38. #define RELEASED(%0) (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))
  39. #define HOLDING(%0) ((newkeys & (%0)) == (%0))
  40.  
  41. #define DialogPegarItem        (1)
  42.  
  43. enum player_data
  44. {
  45.     pSlots, pBackpack,
  46. };
  47. new pInfo[MAX_PLAYERS][player_data];
  48. /*========================== REGISTRO =========================*/
  49. #define         DIALOG_REGISTRO ( 99 )
  50. #define         DIALOG_LOGIN    ( 98 )
  51.  
  52. #define         COR_AVISO       0xBEBEBEFF
  53. #define         COR_ADMIN       0x436EEEFF
  54. #define         COR_SUCESSO     0xCAE1FFFF
  55.  
  56. new Text: Registro[12];
  57. new Text: Info[13];
  58. new Text: STILogoTextDraw[2];
  59. new Text: StatsTextDrawContainer[2];
  60. new PlayerText: StatsTextDraw[MAX_PLAYERS][2];
  61. new PlayerText: PlayerRegistro[5];
  62.  
  63. enum player_info
  64. {
  65.     nome[MAX_PLAYER_NAME],
  66.     senha[17],
  67.     Administrador,
  68.     Level,
  69.     Skin,
  70.     SkinAnterior,
  71.     Matou,
  72.     Morreu,
  73.     Dinheiro,
  74.     Cash,
  75.     CmdJaUsado,
  76.     Madeira,
  77.     Pedra,
  78.     Metal,
  79.     Parafuso,
  80.     Borracha,
  81.     Frutas,
  82.     Peixe,
  83.     Carne,
  84.     Cloth,
  85.     Agua,
  86.     Float: PosX,
  87.     Float: PosY,
  88.     Float: PosZ,
  89.    
  90.     bool: Logado,
  91.     ERRO
  92. };
  93.  
  94. new PlayerInfo[MAX_PLAYERS][player_info];
  95. /*================= Limites de Materiais =====================*/
  96. #define def_LimiteMadeira 500
  97. #define def_LimitePedra 500
  98. #define def_LimiteMetal 500
  99. #define def_LimiteParafuso 500
  100. #define def_LimiteBorracha 500
  101. #define def_LimiteFrutas 10
  102. #define def_LimitePeixe 5
  103. #define def_LimiteCarne 5
  104. #define def_LimiteCloth 500
  105. #define def_LimiteAgua 10
  106. #define def_MaterialCount 10
  107.  
  108. /*========================== TEMPOS ==========================*/
  109. #define FomeTempo 100000 // Tempo para aumentar Fome.
  110. #define SedeTempo 60000 // Tempo para aumentar Sede.
  111. #define FrioTempo 200000 // tempo para aumentar frio.
  112. /*======================== TEXT'S DRAW =======================*/
  113. new Text:Wood[MAX_PLAYERS];
  114. new Text:Wood3[MAX_PLAYERS];
  115. new Text:Boxzin[MAX_PLAYERS];
  116. new Text:Stone[MAX_PLAYERS];
  117. new Text:Boxzin2[MAX_PLAYERS];
  118. new Text:MetalF[MAX_PLAYERS];
  119. new Text:LimiteMaterial[MAX_PLAYERS];
  120. new Text:DataC;
  121. new Text:barrinha1;
  122. new Text:forum1;
  123. new Text:forum2;
  124. new Text:barrinha2;
  125. new Text:forum3;
  126. new Text:sprite1;
  127. new Text:sprite2;
  128. new PlayerText:SedeT[MAX_PLAYERS];
  129. new Text:FrioT;
  130. new Text:Textdraw0;
  131. new Text:TextCash1;
  132. new Text:TextCash2;
  133. new Text:TextCash3;
  134. new Text:TextDin0;
  135. new Text:TextDin1;
  136. new Text:TextDin2;
  137. new BlackRadar;
  138. new RadarPreto;
  139. new Text:TextGPS;
  140. /*========================= Text3D ========================*/
  141. new Text3D: BambiText;
  142. /*========================= BARRINHAS ========================*/
  143. new Bar:FomeA;
  144. new Bar:SedeB;
  145. new Bar:FrioD;
  146. // BARRINHA DE RIFLE
  147. new Bar:Exemplo;
  148. new Valor[MAX_PLAYERS];
  149. new Baru[MAX_PLAYERS];
  150. // BARRINHA DE AGUA
  151. new Bar:Exemplo2;
  152. new Valor2[MAX_PLAYERS];
  153. new Baru2[MAX_PLAYERS];
  154. // sistemna de camera
  155. new pUsarCamera[MAX_PLAYERS];
  156. new pPrimeiro[MAX_PLAYERS];
  157. new firstperson[MAX_PLAYERS];
  158. /*=========================== CORES ==========================*/
  159. #define VERDE                           0x00A200FF
  160. #define COR_VERMELHO                    0xAA3333AA
  161. #define COR_VERDE                       0x41F837FF
  162. #define VERDE_ESCURO                    0x16A82EFF
  163. #define COR_AZUL                        0x4A42EDFF
  164. #define COR_AMARELO                     0xFFFF33FF
  165. #define AMARELO_2                       0xFFFF00AA
  166. #define COR_ROSA                        0xFD33FFFF
  167. #define AZUL_AGUA                       0x33FDFFFF
  168. #define COR_BRANCO                      0xFFFFFFAA
  169. #define AZULCLARO                       0x5278F3FF
  170. #define COR_CINZA                       0xE6E6E6E6
  171. // Sistema De Votos
  172. #define LARANJA                         0xFF660000
  173. #define VERDECLARO                      0x00FF0C00
  174. #define VERDEMEDIO                      0xa5b1A300
  175. #define BRANCO                          0xFFFFFF00
  176. #define VERMELHO                        0xFF000000
  177. #define VERDEFRACO                      0x80cf8000
  178. #define PlayerNoLugar(%1,%2,%3,%4,%5)   IsPlayerInRangeOfPoint(%1,%2,%3,%4,%5)
  179. /*=================== SALVAMENTO DOS OBJETOS ==================*/
  180. #define MAX_BASES 100
  181. #define ObjectBase 19366//ID do Objeto
  182. enum BaseInfo
  183. {
  184.     ID,
  185.     Dono[MAX_PLAYER_NAME + 1],
  186.     Existe,
  187.     ObjectB,
  188.     Float: PosX,
  189.     Float: PosY,
  190.     Float: PosZ,
  191.     Float: RX,
  192.     Float: RY,
  193.     Float: RZ,
  194. }
  195. new Base[MAX_BASES][BaseInfo];
  196. //
  197. #define MAX_BANCADAS 100
  198. #define bancada 2205//ID do Objeto
  199. enum BancadaInfo
  200. {
  201.     ID,
  202.     Dono[MAX_PLAYER_NAME + 1],
  203.     Existe,
  204.     ObjectA,
  205.     Float: PosX,
  206.     Float: PosY,
  207.     Float: PosZ,
  208.     Float: RX,
  209.     Float: RY,
  210.     Float: RZ,
  211. }
  212. new Bancada[MAX_BANCADAS][BancadaInfo];
  213. //
  214. #define MAX_PORTAS 100
  215. #define porta 1497//ID do Objeto
  216. enum PortaInfo
  217. {
  218.     ID,
  219.     Dono[MAX_PLAYER_NAME + 1],
  220.     Existe,
  221.     ObjectC,
  222.     Float: PosX,
  223.     Float: PosY,
  224.     Float: PosZ,
  225.     Float: RX,
  226.     Float: RY,
  227.     Float: RZ,
  228. }
  229. new Porta[MAX_PORTAS][PortaInfo];
  230. //
  231. #define MAX_BAU 100
  232. #define bau 2969//ID do Objeto
  233. enum BauInfo
  234. {
  235.     ID,
  236.     Dono[MAX_PLAYER_NAME + 1],
  237.     Existe,
  238.     ObjectD,
  239.     Float: PosX,
  240.     Float: PosY,
  241.     Float: PosZ,
  242.     Float: RX,
  243.     Float: RY,
  244.     Float: RZ,
  245. }
  246. new Bau[MAX_BAU][BauInfo];
  247. //
  248. #define MAX_RAMPAS 100
  249. #define rampa 1245//ID do Objeto
  250. enum RampaInfo
  251. {
  252.     ID,
  253.     Dono[MAX_PLAYER_NAME + 1],
  254.     Existe,
  255.     ObjectE,
  256.     Float: PosX,
  257.     Float: PosY,
  258.     Float: PosZ,
  259.     Float: RX,
  260.     Float: RY,
  261.     Float: RZ,
  262. }
  263. new Rampa[MAX_RAMPAS][RampaInfo];
  264. //
  265. #define MAX_DOOR 100
  266. #define walldoor 19386//ID do Objeto
  267. enum DoorInfo
  268. {
  269.     ID,
  270.     Dono[MAX_PLAYER_NAME + 1],
  271.     Existe,
  272.     ObjectF,
  273.     Float: PosX,
  274.     Float: PosY,
  275.     Float: PosZ,
  276.     Float: RX,
  277.     Float: RY,
  278.     Float: RZ,
  279. }
  280. new Door[MAX_DOOR][DoorInfo];
  281. //
  282. #define MAX_CAMA 100
  283. //#define cama 1647//ID do Objeto // Essa cama quebra quando se bate nela, legal para ser adicionado depois como sleep bag
  284. #define cama 1800//ID do Objeto
  285. enum CamaInfo
  286. {
  287.     ID,
  288.     Dono[MAX_PLAYER_NAME + 1],
  289.     Existe,
  290.     ObjectG,
  291.     Float: PosX,
  292.     Float: PosY,
  293.     Float: PosZ,
  294.     Float: RX,
  295.     Float: RY,
  296.     Float: RZ,
  297. }
  298. new Cama[MAX_CAMA][CamaInfo];
  299. //
  300. #define MAX_WINDOWN 100
  301. #define windown1 19412
  302. enum WindownInfo
  303. {
  304.     ID,
  305.     Dono[MAX_PLAYER_NAME + 1],
  306.     Existe,
  307.     ObjectH,
  308.     Float: PosX,
  309.     Float: PosY,
  310.     Float: PosZ,
  311.     Float: RX,
  312.     Float: RY,
  313.     Float: RZ,
  314. }
  315. new Windown[MAX_WINDOWN][WindownInfo];
  316. //
  317. #define MAX_FORNO 100
  318. #define forno 2144//ID do Objeto
  319. enum FornoInfo
  320. {
  321.     ID,
  322.     Dono[MAX_PLAYER_NAME + 1],
  323.     Existe,
  324.     ObjectJ,
  325.     Float: PosX,
  326.     Float: PosY,
  327.     Float: PosZ,
  328.     Float: RX,
  329.     Float: RY,
  330.     Float: RZ,
  331. }
  332. new Forno[MAX_FORNO][FornoInfo];
  333. /*================ AQUI FICA O OBJETO DA TENDA ================*/
  334. #define MAX_TENTS 100
  335. new tentCount;
  336. enum tentinfo
  337. {
  338.     TentID,
  339.     Float:xTent,
  340.     Float:yTent,
  341.     Float:zTent,
  342.     tent_SideR1,
  343.     tent_SideR2,
  344.     tent_SideL1,
  345.     tent_SideL2,
  346.     tent_EndF,
  347.     tent_EndB,
  348.     tent_PoleF,
  349.     tent_PoleB,
  350.     Text3D:tent_text,
  351. }
  352. new Tent[MAX_TENTS][tentinfo];
  353. /*========================= System Inv ========================*/
  354. new Float:Industrial_Spawns[][] =
  355. {
  356.     {-159.2924,-2797.5200,43.3407},
  357.     {-189.0022,-2786.5845,40.2496},
  358.     {-189.1409,-2800.8079,44.7266},
  359.     {-293.5280,-2231.0457,33.5780},
  360.     {-304.2758,-2209.2595,29.9228},
  361.     {-296.1620,-2217.6016,29.7881},
  362.     {-288.4427,-2236.7048,29.4874},
  363.     {-309.7368,-2232.3398,30.4623},
  364.     {-287.8112,-2227.1431,29.6049},
  365.     {-299.5066,-2210.8237,30.0115},
  366.     {-1015.4057,-2516.6653,77.9130},
  367.     {-1013.8149,-2515.1287,81.1252},
  368.     {-1006.6309,-2571.3643,84.5203},
  369.     {-1042.5748,-2600.7156,81.2654},
  370.     {-1052.9657,-2617.4270,82.1011},
  371.     {-1105.5520,-2537.0659,67.5628},
  372.     {-1091.3235,-2507.0908,67.5563},
  373.     {-1024.8778,-2537.4790,77.0197},
  374.     {-1043.4700,-2539.1758,77.9781},
  375.     {-1058.6095,-2543.6929,79.9203},
  376.     {-737.3275,-2638.3088,82.7672},
  377.     {-731.6837,-2626.5215,79.7017},
  378.     {-721.5016,-2638.7527,80.5564},
  379.     {-734.8204,-2611.5439,75.4355},
  380.     {-709.2844,-2610.6194,73.5081}
  381. };
  382.  
  383. new PlayerText:INV_DESIGN[MAX_PLAYERS][21];
  384. new PlayerText:INV_SLOTS[MAX_PLAYERS][24];
  385.  
  386. #define MAX_DROPS (10000)
  387. #define MAX_ITEM_NAME (34)
  388.  
  389. enum Item_Data
  390. {
  391.     Item_ID,
  392.     Item_Obj,
  393.     Item_Name[MAX_ITEM_NAME],
  394.     Float:Item_RotX,
  395.     Float:Item_RotY,
  396.     Float:Item_RotZ,
  397.     Item_Color,
  398. };
  399.  
  400. enum Drop_Data
  401. {
  402.     DropItemID,
  403.     DropObj,
  404.     Text3D:DropLabel,
  405.     Float:dPosX,
  406.     Float:dPosY,
  407.     Float:dPosZ,
  408. };
  409.  
  410. new DropInfo[MAX_DROPS][Drop_Data];
  411.  
  412. new ItemInfo[][Item_Data] =
  413. {
  414.     {0,   19382,      "Null",          0.0, 0.0, 0.0,     -1}, //não mexa nesse
  415.     // adicione novos items abaixo: {itemId, modelId, name, posOffsetX, posOffsetY, posOffsetZ, color}
  416.     {1,   11738,      "Kit Médico/MedKit",        0.0, 0.0, 0.0,     0x3EE314FF},
  417.     {2,   19141,      "Capacete",        0.0, 0.0, 0.0,     0x3EE314FF},
  418.     {3,   19142,      "Colete",        0.0, 0.0, 0.0,     0x3EE314FF},
  419.     {4,   356,      "Metralhadora M16",        0.0, 0.0, 0.0,     0x3EE314FF},
  420.     {5,   353,      "Sub-Metralhadora MP5",        0.0, 0.0, 0.0,     0x3EE314FF},
  421.     {6,   358,      "Sniper",        0.0, 0.0, 0.0,     0x3EE314FF},
  422.     {7,   349,      "Shotgun",        0.0, 0.0, 0.0,     0x3EE314FF},
  423.     {8,   1650,      "Gasolina",        0.0, 0.0, 0.0,     0x3EE314FF},
  424.     {9,   1279,      "Motor",        0.0, 0.0, 0.0,     0x3EE314FF},
  425.     {10,   348,      "Pistola",        0.0, 0.0, 0.0,     0x3EE314FF},
  426.     {11,   1210,      "Maleta de Cash",        0.0, 0.0, 0.0,     0x3EE314FF}
  427. };
  428. // # Forwards #
  429.  
  430. forward Item_OnPlayerKeyStateChange(playerid, newkeys, oldkeys);
  431. forward Item_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
  432.  
  433. forward PickUPItemDrop(playerid);
  434. forward OnPlayerUseItem(playerid, itemid);
  435. forward OnPlayerDropItem(playerid, itemid);
  436.  
  437. #define MAX_SLOTS (48)
  438.  
  439. enum Inventario
  440. {
  441.     Item[MAX_SLOTS],
  442.     ItemSelected,
  443.     invPage,
  444.     bool:InvOpen,
  445. };
  446.  
  447. new Inv[MAX_PLAYERS][Inventario];
  448. /*=========================== OUTROS ==========================*/
  449. new Tocha[MAX_PLAYERS];
  450. new Fogo[MAX_PLAYERS];
  451. new Bandagem[MAX_PLAYERS];
  452. new Remedio[MAX_PLAYERS];
  453. new Medkit[MAX_PLAYERS];
  454. new pPescando[MAX_PLAYERS];
  455. new PegouPresente[MAX_PLAYERS];
  456. /*=========================== EDIÇÕES ==========================*/
  457. new EditBaseID[MAX_PLAYERS] = {-1, ...};
  458. new EditBancadaID[MAX_PLAYERS] = {-1, ...};
  459. new EditPortaID[MAX_PLAYERS] = {-1, ...};
  460. new EditBauID[MAX_PLAYERS] = {-1, ...};
  461. new EditRampaID[MAX_PLAYERS] = {-1, ...};
  462. new EditDoorID[MAX_PLAYERS] = {-1, ...};
  463. new EditCamaID[MAX_PLAYERS] = {-1, ...};
  464. new EditWindownID[MAX_PLAYERS] = {-1, ...};
  465. new EditFornoID[MAX_PLAYERS] = {-1, ...};
  466. /*=========================== OUTROS ==========================*/
  467. new bool:PortaAberta[MAX_PLAYERS];
  468. /*=========================== OUTROS ==========================*/
  469. new Fogarel;
  470. new Bambi;
  471.  
  472. new BambiDead[MAX_PLAYERS];
  473.  
  474. // ARVORES
  475. new Arvores[155];
  476. /*=========================== IDIOMAS ==========================*/
  477. new idioma[MAX_PLAYERS]; // variável do idioma
  478. new arquivo1[32]; // arquivo
  479. new string1[256]; // string
  480. const EN = 2; // Definir que 2 é o inglês
  481. const PT = 1; // Definir que o 1 é o português
  482. /*========================== FORWARD'S ========================*/
  483. forward AdminDePa(playerid);
  484. forward FazendoPistola(playerid);
  485. forward Relogio(playerid);
  486. forward Pescando(playerid);
  487. forward campfire(playerid);
  488. forward ApagarFogo(playerid);
  489. forward ApagarTocha(playerid);
  490. forward DestruirTextoDraw(playerid);
  491. forward BambiVoltou(playerid);
  492. forward pegandoagua(playerid);
  493. forward Fome(playerid);
  494. forward Sede(playerid);
  495. forward Frio(playerid);
  496. forward Acordar(playerid);
  497. forward Payday(playerid);
  498. forward SendMSG();
  499. forward mMensagens();
  500. forward Correction(playerid);
  501. /*========================= NOMES SERV =======================*/
  502. new RandomServerName[3][] =
  503. {
  504.     "Survival The Island ® | RUST no SA:MP ",// Nomes Server Random
  505.     "Survival The Island ® | BETA Version [0.3.7]",// Nomes Server Random
  506.     "Survival The Island ® | Visite nosso fórum!"// Sempre deixe o ultimo nome sem vírgula
  507. };
  508. /*========================= MSG'S SERV =======================*/
  509. new Mensagens[][] =
  510. {
  511.     "Survival The Island - Simulando RUST/DayZ no SAMP!",
  512.     "Pegue seu presente, use /presente e ganhe leveis + cash.",
  513.     "Novato, pegue seu kit iniciante, use /kit basico e aproveite!",
  514.     "Para saber todos os comandos do servidor, use /ajuda.",
  515.     "Está com duvidas? Não sabe o'que fazer? Use /duvida e fale com um admin.",
  516.     "Você encontrou um BUG? Mande agora mesmo para nossa staff resolver, use /bug [texto]!",
  517.     "Utilize agora mesmo nosso chat Global para falar com todos os players ON. Use: /g.",
  518.     "Caso haver inregularidade tire um Print Screen apertando F8, e poste no /forum.",
  519.     "Não tem nosso IP nos favoritos? Adicione agora mesmo. IP: 123.123.123:1234"
  520. };
  521. /*========================= CORES MSG =======================*/
  522. new RandomColors [] =
  523. {
  524.     0xFF5A00FF,
  525.     0xF50000FF,
  526.     0xF50000FF,
  527.     0x91FF00FF,
  528.     0xFF0091FF,
  529.     0x009000FF,
  530.     0x9600FFFF
  531. };
  532. /*========================= STOOP ANIM =======================*/
  533. new PlayerUsandoAnim[MAX_PLAYERS];
  534. StopLoopingAnim(playerid)
  535. {
  536.     PlayerUsandoAnim[playerid] = 0;
  537.     ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
  538. }
  539. /*=============================================================*/
  540. main()
  541. {
  542.     print("       ________________________________________  ");
  543.     print("     |º        Survival The Island ®           º|");
  544.     print("     |º________________________________________º|");
  545.     print("     |º       Criado por: Power e Mozart       º|");
  546.     print("     |º    Feito para: Survival The Island ®   º|");
  547.     print("      __________________________________________\n\n");
  548. }
  549.  
  550. public OnGameModeInit()
  551. {
  552.     SetTimer("SendMSG", 1000, true);
  553.     SetGameModeText("BRASIL | STI");
  554.     SendRconCommand("mapname Brasil Survival");
  555.     SendRconCommand("language Português - BR");
  556.     SetTimer("mMensagens", 60000, true);
  557.     SetTimer("AtualizarPlayerStatsTexdraw", 1000, true);
  558.     UsePlayerPedAnims();
  559.     LimitGlobalChatRadius(1000.0);
  560.     CriarLoots();
  561.  
  562.     CreateDynamicObject(17114,-109.9000000,-2423.3000000,100.1000000,0.0000000,0.0000000,288.0000000); //object(cuntwland45b) (1)
  563.     CreateDynamicObject(17114,-61.3000000,-2713.2000000,120.0000000,0.0000000,0.0000000,229.9960000); //object(cuntwland45b) (2)
  564.     CreateDynamicObject(17114,-343.1000100,-1893.4000000,80.0000000,0.0000000,0.0000000,270.0000000); //object(cuntwland45b) (3)
  565.     CreateDynamicObject(17114,-496.6000100,-1766.6000000,100.0000000,0.0000000,0.0000000,334.0000000); //object(cuntwland45b) (4)
  566.     CreateDynamicObject(17114,-243.6000100,-2173.0000000,100.0000000,0.0000000,0.0000000,272.0000000); //object(cuntwland45b) (5)
  567.     CreateDynamicObject(17114,-295.2000100,-2924.3000000,100.0000000,0.0000000,0.0000000,175.9930000); //object(cuntwland45b) (7)
  568.     CreateDynamicObject(17114,-434.5000000,-2901.0000000,90.0000000,0.0000000,0.0000000,147.9900000); //object(cuntwland45b) (8)
  569.     CreateDynamicObject(17133,-627.7000100,-2805.3999000,120.0000000,0.0000000,0.0000000,142.0000000); //object(cuntwland68b) (1)
  570.     CreateDynamicObject(17114,-787.7000100,-2645.3000000,160.0000000,0.0000000,0.0000000,99.9860000); //object(cuntwland45b) (9)
  571.     CreateDynamicObject(17114,-864.2000100,-1777.6000000,160.0000000,0.0000000,0.0000000,3.9950000); //object(cuntwland45b) (10)
  572.     CreateDynamicObject(17114,-1049.5000000,-1929.2000000,150.0000000,0.0000000,0.0000000,45.9940000); //object(cuntwland45b) (11)
  573.     CreateDynamicObject(17114,-1169.0000000,-2190.0000000,115.0000000,0.0000000,0.0000000,47.9890000); //object(cuntwland45b) (12)
  574.     CreateDynamicObject(17114,-1250.5000000,-2469.7000000,110.0000000,0.0000000,0.0000000,61.9890000); //object(cuntwland45b) (13)
  575.     CreateDynamicObject(17114,-1162.2000000,-2606.3999000,140.0000000,0.0000000,0.0000000,113.9850000); //object(cuntwland45b) (14)
  576.     CreateDynamicObject(17114,-913.4000200,-2610.0000000,160.0000000,0.0000000,0.0000000,189.9810000); //object(cuntwland45b) (15)
  577.     CreateDynamicObject(17114,-916.0000000,-2612.1001000,142.2000000,0.0000000,0.0000000,189.9810000); //object(cuntwland45b) (16)
  578.     CreateDynamicObject(17299,-1165.1000000,-2339.7000000,20.0000000,0.0000000,0.0000000,274.0000000); //object(cunt_rockgp2_27) (1)
  579.     CreateDynamicObject(1337,-744.7294900,-1952.5635000,22.7200200,0.0000000,0.0000000,0.0000000); //object(binnt07_la) (2)
  580.     CreateDynamicObject(14872,-883.0999800,-1863.8000000,87.4000000,0.0000000,0.0000000,0.0000000); //object(kylie_logs) (1)
  581.     CreateDynamicObject(669,-881.7999900,-1866.3000000,86.9000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (1)
  582.     CreateDynamicObject(3414,-734.5999800,-2643.2000000,83.9000000,0.0000000,0.0000000,146.0000000); //object(ce_oldhut1) (1)
  583.     CreateDynamicObject(3418,-716.4000200,-2625.5000000,78.3000000,0.0000000,0.0000000,358.0000000); //object(ce_oldhut02) (1)
  584.     CreateDynamicObject(3415,-728.7999900,-2629.2000000,78.6000000,6.0000000,0.0000000,124.0000000); //object(ce_loghut1) (1)
  585.     CreateDynamicObject(12991,-720.4000200,-2639.0000000,79.6000000,350.0000000,0.0000000,0.0000000); //object(sw_shack02) (1)
  586.     CreateDynamicObject(12937,-737.5000000,-2613.3999000,76.3000000,0.0000000,0.0000000,176.0000000); //object(ce_catshack) (1)
  587.     CreateDynamicObject(11503,-711.0999800,-2644.3000000,83.0000000,0.0000000,0.0000000,218.0000000); //object(des_westrn11_05) (1)
  588.     CreateDynamicObject(9227,-709.0999800,-2612.3000000,73.7000000,0.0000000,0.0000000,274.0000000); //object(moresfnshit20) (1)
  589.     CreateDynamicObject(3644,-181.3000000,-2807.5000000,42.0000000,0.0000000,0.0000000,272.0000000); //object(idlebuild01_lax) (1)
  590.     CreateDynamicObject(3641,-204.8000000,-2818.3000000,45.6000000,0.0000000,0.0000000,318.0000000); //object(glenphouse04_lax) (1)
  591.     CreateDynamicObject(3588,-216.8000000,-2794.8999000,42.8000000,6.0000000,0.0000000,206.0000000); //object(sanped_hse1_las) (1)
  592.     CreateDynamicObject(3355,-156.3000000,-2803.2000000,41.8000000,0.0000000,0.0000000,206.0000000); //object(cxrf_savhus1_) (1)
  593.     CreateDynamicObject(3175,-174.3000000,-2788.3999000,39.6000000,0.0000000,0.0000000,0.0000000); //object(sm_airstrm_med_) (1)
  594.     CreateDynamicObject(3173,-191.1000100,-2786.1001000,38.8000000,0.0000000,0.0000000,0.0000000); //object(trailer_large4_01) (1)
  595.     CreateDynamicObject(1772,-179.1000100,-2795.5000000,40.4000000,0.0000000,0.0000000,0.0000000); //object(cj_hot_dog1) (1)
  596.     CreateDynamicObject(1362,-183.3000000,-2796.1001000,40.2000000,0.0000000,0.0000000,0.0000000); //object(cj_firebin) (1)
  597.     CreateDynamicObject(3594,-183.1000100,-2782.0000000,38.4000000,0.0000000,0.0000000,308.0000000); //object(la_fuckcar1) (1)
  598.     CreateDynamicObject(1334,-191.3000000,-2779.5000000,38.8000000,0.0000000,0.0000000,0.0000000); //object(binnt04_la) (1)
  599.     CreateDynamicObject(12954,-183.8999900,-2778.1001000,38.1000000,0.0000000,0.0000000,0.0000000); //object(sw_furnipile01) (1)
  600.     CreateDynamicObject(12957,-181.3000000,-2807.2000000,41.9000000,0.0000000,0.0000000,20.0000000); //object(sw_pickupwreck01) (1)
  601.     CreateDynamicObject(12957,-196.7000000,-2803.8999000,43.3000000,0.0000000,0.0000000,256.0000000); //object(sw_pickupwreck01) (2)
  602.     CreateDynamicObject(1358,-167.7000000,-2796.8999000,41.3000000,0.0000000,0.0000000,0.0000000); //object(cj_skip_rubbish) (1)
  603.     CreateDynamicObject(1369,-186.7000000,-2799.3999000,44.3000000,0.0000000,0.0000000,0.0000000); //object(cj_wheelchair1) (1)
  604.     CreateDynamicObject(3092,-183.3000000,-2796.1001000,42.5000000,0.0000000,0.0000000,0.0000000); //object(dead_tied_cop) (1)
  605.     CreateDynamicObject(3099,-171.3000000,-2796.0000000,39.8000000,0.0000000,0.0000000,0.0000000); //object(break_wall_3b) (1)
  606.     CreateDynamicObject(852,-182.3000000,-2791.0000000,38.6000000,0.0000000,0.0000000,0.0000000); //object(cj_urb_rub_4) (1)
  607.     CreateDynamicObject(1571,-200.3000000,-2783.2000000,40.0000000,0.0000000,0.0000000,154.0000000); //object(cj_noodle_1) (1)
  608.     CreateDynamicObject(3073,-178.8000000,-2768.1001000,41.3000000,0.0000000,0.0000000,228.0000000); //object(kmb_container_broke) (1)
  609.     CreateDynamicObject(12957,-176.6000100,-2753.3000000,37.3000000,0.0000000,0.0000000,203.9980000); //object(sw_pickupwreck01) (3)
  610.     CreateDynamicObject(12957,-185.6000100,-2751.8999000,35.7000000,0.0000000,0.0000000,255.9940000); //object(sw_pickupwreck01) (4)
  611.     CreateDynamicObject(3594,-181.3000000,-2752.2000000,36.6000000,0.0000000,0.0000000,299.9960000); //object(la_fuckcar1) (2)
  612.     CreateDynamicObject(3363,-193.1000100,-2768.8999000,35.7000000,0.0000000,0.0000000,0.0000000); //object(des_ruin1_) (1)
  613.     CreateDynamicObject(3887,-1053.6000000,-2547.3000000,80.1000000,0.0000000,0.0000000,0.0000000); //object(demolish4_sfxrf) (2)
  614.     CreateDynamicObject(3866,-998.7000100,-2530.3999000,90.7000000,0.0000000,0.0000000,174.0000000); //object(demolish1_sfxrf) (1)
  615.     CreateDynamicObject(3887,-1001.6000000,-2557.6001000,84.7000000,0.0000000,0.0000000,146.0000000); //object(demolish4_sfxrf) (3)
  616.     CreateDynamicObject(11088,-1049.0000000,-2608.5000000,86.0000000,3.0000000,0.0000000,184.0000000); //object(cf_ext_dem_sfs) (1)
  617.     CreateDynamicObject(11440,-1017.5000000,-2558.0000000,79.6000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo1) (1)
  618.     CreateDynamicObject(11442,-1028.7000000,-2566.3999000,79.1000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo3) (1)
  619.     CreateDynamicObject(11446,-1032.8000000,-2558.7000000,77.2000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo07) (1)
  620.     CreateDynamicObject(11458,-1039.8000000,-2551.8000000,74.7000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo10) (1)
  621.     CreateDynamicObject(11457,-1043.5000000,-2529.7000000,70.9000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo09) (1)
  622.     CreateDynamicObject(11445,-1014.1000000,-2533.7000000,78.2000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo06) (1)
  623.     CreateDynamicObject(11442,-1028.0000000,-2539.8000000,75.5000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo3) (2)
  624.     CreateDynamicObject(11440,-1025.0000000,-2524.8999000,74.6000000,0.0000000,0.0000000,0.0000000); //object(des_pueblo1) (2)
  625.     CreateDynamicObject(11428,-1037.7000000,-2512.7000000,76.2000000,0.0000000,0.0000000,290.0000000); //object(des_indruin02) (1)
  626.     CreateDynamicObject(11427,-1021.4000000,-2585.0000000,90.3000000,0.0000000,0.0000000,288.0000000); //object(des_adobech) (1)
  627.     CreateDynamicObject(11088,-1094.0000000,-2531.8000000,71.9000000,0.0000000,0.0000000,314.0000000); //object(cf_ext_dem_sfs) (2)
  628.     CreateDynamicObject(3866,-1000.8000000,-2511.7000000,84.0000000,0.0000000,0.0000000,343.9960000); //object(demolish1_sfxrf) (2)
  629.     CreateDynamicObject(3866,-1079.9000000,-2499.6001000,67.9000000,0.0000000,0.0000000,313.9930000); //object(demolish1_sfxrf) (3)
  630.     CreateDynamicObject(13296,-295.7000100,-2230.7000000,31.8000000,0.0000000,0.0000000,296.0000000); //object(ce_roadsidegas) (1)
  631.     CreateDynamicObject(17036,-305.2999900,-2210.0000000,28.8000000,0.0000000,0.0000000,0.0000000); //object(cuntw_carport1_) (1)
  632.     CreateDynamicObject(18284,-283.8999900,-2252.3000000,31.8000000,0.0000000,0.0000000,324.0000000); //object(cw_tscanopy) (1)
  633.     CreateDynamicObject(3252,-299.3999900,-2210.8000000,29.0000000,0.0000000,0.0000000,0.0000000); //object(des_oldwattwr_) (1)
  634.     CreateDynamicObject(17324,-291.5000000,-2271.2000000,29.0000000,0.0000000,0.0000000,222.0000000); //object(cw_combbarn) (1)
  635.     CreateDynamicObject(4514,-321.1000100,-2208.0000000,30.4000000,0.0000000,0.0000000,10.0000000); //object(cn2_roadblock01ld) (1)
  636.     CreateDynamicObject(4514,-295.7999900,-2186.8000000,30.3000000,0.0000000,0.0000000,9.9980000); //object(cn2_roadblock01ld) (2)
  637.     CreateDynamicObject(851,-312.7000100,-2222.2000000,28.1000000,0.0000000,0.0000000,0.0000000); //object(cj_urb_rub_2) (1)
  638.     CreateDynamicObject(3006,-318.1000100,-2224.7000000,27.8000000,0.0000000,0.0000000,0.0000000); //object(smash_box_brk) (1)
  639.     CreateDynamicObject(2890,-309.8999900,-2231.3000000,28.0000000,0.0000000,0.0000000,0.0000000); //object(kmb_skip) (1)
  640.     CreateDynamicObject(1358,-307.0000000,-2222.7000000,29.4000000,0.0000000,0.0000000,0.0000000); //object(cj_skip_rubbish) (2)
  641.     CreateDynamicObject(1358,-295.8999900,-2241.8000000,29.9000000,0.0000000,0.0000000,0.0000000); //object(cj_skip_rubbish) (3)
  642.     CreateDynamicObject(12954,-308.5000000,-2240.6001000,28.8000000,0.0000000,0.0000000,0.0000000); //object(sw_furnipile01) (2)
  643.     CreateDynamicObject(12957,-307.2999900,-2244.2000000,29.2000000,0.0000000,0.0000000,0.0000000); //object(sw_pickupwreck01) (5)
  644.     CreateDynamicObject(3594,-312.7000100,-2240.5000000,28.8000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar1) (3)
  645.     CreateDynamicObject(3593,-297.7999900,-2248.8999000,29.4000000,0.0000000,0.0000000,324.0000000); //object(la_fuckcar2) (1)
  646.     CreateDynamicObject(3399,-301.2000100,-2222.7000000,30.9000000,0.0000000,0.0000000,298.0000000); //object(cxrf_a51_stairs) (1)
  647.     // BAMBIS ABAIXO
  648.     Bambi = CreateObject(19315, -448.4130,-2647.3594,155.5421,0.0000000,0.0000000,0.0000000,0.0000000); // bambi
  649.     // TEXT'S BAMBIS
  650.     BambiText = Create3DTextLabel("* Bambi * \n {A9A9A9} Atire nele para matar! Depois /degolar!",AMARELO_2, -448.4129940,-2647.3593750,155.5420980, 20, 0);
  651.     // PILHAS DE MADEIRA
  652.     CreateDynamicObject(1463,-534.3222040,-2753.0402830,137.0267480,-17.0999960,-9.4999980,91.5000000); //
  653.     CreateDynamicObject(1463,-410.0322870,-2683.9238280,158.8573450,9.1999990,-4.6000000,81.6000060); //
  654.     CreateDynamicObject(1463,-568.3247070,-2639.3981930,146.2480160,-10.4999980,-2.7999990,93.1999350); //
  655.     CreateDynamicObject(1463,-461.0124810,-2632.1486810,153.5100860,0.0000000,25.8999990,90.0000000); //
  656.     // TEXT'S PILHAS DE MADEIRA
  657.     Create3DTextLabel("* Pilha de Madeiras * \n {A9A9A9} Pegue Madeiras!",AMARELO_2, -534.3222040,-2753.0402830,137.0267480, 20, 0);
  658.     Create3DTextLabel("* Pilha de Madeiras * \n {A9A9A9} Pegue Madeiras!",AMARELO_2, -410.0322870,-2683.9238280,158.8573450, 20, 0);
  659.     Create3DTextLabel("* Pilha de Madeiras * \n {A9A9A9} Pegue Madeiras!",AMARELO_2, -568.3247070,-2639.3981930,146.2480160, 20, 0);
  660.     Create3DTextLabel("* Pilha de Madeiras * \n {A9A9A9} Pegue Madeiras!",AMARELO_2, -461.0124810,-2632.1486810,153.5100860, 20, 0);
  661.    
  662.     //  ARVORES ABAIXO
  663.     // id:647 bush -748, -2453, 68  id:1463 wood pile
  664.     Arvores[0] = CreateDynamicObject(657,-748.5999800,-2453.7000000,68.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (1)
  665.     Arvores[1] = CreateDynamicObject(657,-717.9000200,-2465.5000000,68.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (2)
  666.     Arvores[2] = CreateDynamicObject(657,-718.5000000,-2431.6001000,62.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (3)
  667.     Arvores[3] = CreateDynamicObject(657,-691.0999800,-2438.5000000,63.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (4)
  668.     Arvores[4] = CreateDynamicObject(657,-701.7000100,-2382.8000000,49.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (5)
  669.     Arvores[5] = CreateDynamicObject(657,-576.0999800,-2230.5000000,27.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (6)
  670.     Arvores[6] = CreateDynamicObject(657,-689.2000100,-2351.1001000,36.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (7)
  671.     Arvores[7] = CreateDynamicObject(657,-645.4000200,-2373.2000000,33.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (8)
  672.     Arvores[8] = CreateDynamicObject(657,-663.7998000,-2349.5996000,34.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (9)
  673.     Arvores[9] = CreateDynamicObject(657,-654.2998000,-2321.5996000,34.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (10)
  674.     Arvores[10] = CreateDynamicObject(657,-671.5996100,-2298.0996000,28.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (11)
  675.     Arvores[11] = CreateDynamicObject(657,-632.2998000,-2291.5000000,27.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (12)
  676.     Arvores[12] = CreateDynamicObject(657,-599.5996100,-2264.7002000,24.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (13)
  677.     Arvores[13] = CreateDynamicObject(657,-569.7999900,-2258.8000000,25.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (14)
  678.     Arvores[14] = CreateDynamicObject(657,-1058.1000000,-2456.8000000,60.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (15)
  679.     Arvores[15] = CreateDynamicObject(657,-1090.2000000,-2338.3999000,49.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (16)
  680.     Arvores[16] = CreateDynamicObject(657,-1024.4004000,-2431.2998000,65.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (17)
  681.     Arvores[17] = CreateDynamicObject(657,-1055.0996000,-2416.0996000,58.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (18)
  682.     Arvores[18] = CreateDynamicObject(657,-1080.0996000,-2355.0996000,47.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (19)
  683.     Arvores[19] = CreateDynamicObject(657,-1106.7000000,-2298.8999000,41.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (20)
  684.     Arvores[20] = CreateDynamicObject(657,-1112.6000000,-2332.5000000,42.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (21)
  685.     Arvores[21] = CreateDynamicObject(657,-1092.7998000,-2323.2998000,51.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (22)
  686.     Arvores[22] = CreateDynamicObject(657,-1061.0000000,-2309.7000000,53.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (23)
  687.     Arvores[23] = CreateDynamicObject(657,-995.2999900,-2311.0000000,61.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (24)
  688.     Arvores[24] = CreateDynamicObject(657,-968.0999800,-2339.3999000,65.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (25)
  689.     Arvores[25] = CreateDynamicObject(657,-976.2000100,-2288.0000000,58.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (26)
  690.     Arvores[26] = CreateDynamicObject(657,-908.0000000,-2401.3999000,58.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (27)
  691.     Arvores[27] = CreateDynamicObject(657,-943.7999900,-2499.8999000,103.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (28)
  692.     Arvores[28] = CreateDynamicObject(657,-914.9003900,-2438.2002000,80.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (29)
  693.     Arvores[29] = CreateDynamicObject(657,-945.7002000,-2477.7002000,99.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (30)
  694.     Arvores[30] = CreateDynamicObject(657,-764.5000000,-2409.0000000,64.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (31)
  695.     Arvores[31] = CreateDynamicObject(657,-690.4000200,-2191.7000000,19.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (32)
  696.     Arvores[32] = CreateDynamicObject(657,-726.5000000,-2197.8994000,34.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (33)
  697.     Arvores[33] = CreateDynamicObject(657,-736.7998000,-2213.0996000,36.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (34)
  698.     Arvores[34] = CreateDynamicObject(657,-665.0000000,-2180.5000000,18.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (35)
  699.     Arvores[35] = CreateDynamicObject(657,-680.5000000,-2166.5000000,22.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (36)
  700.     Arvores[36] = CreateDynamicObject(657,-670.4000200,-2115.8000000,25.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (37)
  701.     Arvores[37] = CreateDynamicObject(657,-659.0996100,-2126.5996000,26.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (38)
  702.     Arvores[38] = CreateDynamicObject(657,-643.9000200,-2090.5000000,27.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (39)
  703.     Arvores[39] = CreateDynamicObject(657,-690.7999900,-2137.0000000,24.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (40)
  704.     Arvores[40] = CreateDynamicObject(657,-763.5999800,-2221.8000000,21.6000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (41)
  705.     Arvores[41] = CreateDynamicObject(657,-863.4000200,-2274.2000000,25.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (42)
  706.     Arvores[42] = CreateDynamicObject(657,-870.4003900,-2246.0000000,26.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (43)
  707.     Arvores[43] = CreateDynamicObject(657,-902.9000200,-2259.5000000,37.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (44)
  708.     Arvores[44] = CreateDynamicObject(657,-804.5000000,-2297.3999000,28.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (45)
  709.     Arvores[45] = CreateDynamicObject(657,-792.2000100,-2343.2000000,43.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (46)
  710.     Arvores[46] = CreateDynamicObject(657,-809.4003900,-2328.5000000,38.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (47)
  711.     Arvores[47] = CreateDynamicObject(657,-845.2000100,-2362.2000000,57.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (48)
  712.     Arvores[48] = CreateDynamicObject(657,-576.7000100,-1995.9000000,45.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (49)
  713.     Arvores[49] = CreateDynamicObject(657,-607.5996100,-2047.4004000,40.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (50)
  714.     Arvores[50] = CreateDynamicObject(657,-572.7998000,-2016.0000000,47.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (51)
  715.     Arvores[51] = CreateDynamicObject(657,-587.5000000,-1980.0000000,42.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (52)
  716.     Arvores[52] = CreateDynamicObject(657,-603.7999900,-1948.3000000,33.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (53)
  717.     Arvores[53] = CreateDynamicObject(657,-571.7998000,-1952.5996000,38.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (54)
  718.     Arvores[54] = CreateDynamicObject(657,-513.7999900,-2002.7000000,47.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (55)
  719.     Arvores[55] = CreateDynamicObject(657,-519.2998000,-1965.7002000,41.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (56)
  720.     Arvores[56] = CreateDynamicObject(657,-531.2998000,-1988.9004000,46.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (57)
  721.     Arvores[57] = CreateDynamicObject(657,-657.2999900,-1838.5000000,20.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (58)
  722.     Arvores[58] = CreateDynamicObject(657,-587.7999900,-1831.6000000,29.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (59)
  723.     Arvores[59] = CreateDynamicObject(657,-613.7002000,-1868.7002000,16.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (60)
  724.     Arvores[60] = CreateDynamicObject(657,-557.5999800,-1858.4000000,18.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (61)
  725.     Arvores[61] = CreateDynamicObject(657,-540.5000000,-1843.0000000,21.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (62)
  726.     Arvores[62] = CreateDynamicObject(657,-529.5000000,-1862.7000000,13.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (63)
  727.     Arvores[63] = CreateDynamicObject(657,-505.5000000,-1854.0000000,14.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (64)
  728.     Arvores[64] = CreateDynamicObject(657,-393.7999900,-1952.2000000,19.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (65)
  729.     Arvores[65] = CreateDynamicObject(657,-398.1000100,-1971.5000000,24.6000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (66)
  730.     Arvores[66] = CreateDynamicObject(657,-397.8999900,-2003.4000000,30.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (67)
  731.     Arvores[67] = CreateDynamicObject(657,-423.2999900,-2083.8000000,77.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (68)
  732.     Arvores[68] = CreateDynamicObject(657,-422.7000100,-2113.1001000,83.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (69)
  733.     Arvores[69] = CreateDynamicObject(657,-456.1000100,-2094.7000000,85.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (70)
  734.     Arvores[70] = CreateDynamicObject(657,-486.7999900,-2112.8999000,89.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (71)
  735.     Arvores[71] = CreateDynamicObject(657,-453.0000000,-2141.7000000,87.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (72)
  736.     Arvores[72] = CreateDynamicObject(657,-568.5000000,-2120.6001000,70.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (73)
  737.     Arvores[73] = CreateDynamicObject(657,-537.0999800,-2126.1001000,78.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (74)
  738.     Arvores[74] = CreateDynamicObject(657,-325.5000000,-2588.3000000,127.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (75)
  739.     Arvores[75] = CreateDynamicObject(657,-473.2998000,-2203.0996000,74.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (76)
  740.     Arvores[76] = CreateDynamicObject(657,-374.6000100,-2221.3999000,65.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (77)
  741.     Arvores[77] = CreateDynamicObject(657,-348.2999900,-2301.8999000,67.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (78)
  742.     Arvores[78] = CreateDynamicObject(657,-351.2000100,-2343.3999000,82.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (79)
  743.     Arvores[79] = CreateDynamicObject(657,-295.7000100,-2380.5000000,65.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (80)
  744.     Arvores[80] = CreateDynamicObject(657,-317.4003900,-2319.0996000,62.6000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (81)
  745.     Arvores[81] = CreateDynamicObject(657,-313.6000100,-2364.1001000,72.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (82)
  746.     Arvores[82] = CreateDynamicObject(657,-310.2000100,-2429.5000000,80.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (83)
  747.     Arvores[83] = CreateDynamicObject(657,-208.5000000,-2571.3999000,47.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (84)
  748.     Arvores[84] = CreateDynamicObject(657,-290.2002000,-2456.5996000,73.6000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (85)
  749.     Arvores[85] = CreateDynamicObject(657,-230.9003900,-2440.0996000,41.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (86)
  750.     Arvores[86] = CreateDynamicObject(657,-250.9003900,-2437.0996000,50.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (87)
  751.     Arvores[87] = CreateDynamicObject(657,-190.2002000,-2473.0996000,34.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (88)
  752.     Arvores[88] = CreateDynamicObject(657,-199.2002000,-2529.7998000,35.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (89)
  753.     Arvores[89] = CreateDynamicObject(657,-137.0000000,-2598.6001000,63.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (90)
  754.     Arvores[90] = CreateDynamicObject(657,-135.0000000,-2492.0000000,29.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (91)
  755.     Arvores[91] = CreateDynamicObject(657,-150.2002000,-2514.5996000,28.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (92)
  756.     Arvores[92] = CreateDynamicObject(657,-131.2998000,-2572.0996000,55.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (93)
  757.     Arvores[93] = CreateDynamicObject(657,-105.5996100,-2576.7002000,62.6000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (94)
  758.     Arvores[94] = CreateDynamicObject(657,-105.5996100,-2576.7002000,62.6000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (95)
  759.     Arvores[95] = CreateDynamicObject(657,-115.4000000,-2631.1001000,70.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (96)
  760.     Arvores[96] = CreateDynamicObject(657,-127.5000000,-2665.3000000,69.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (97)
  761.     Arvores[97] = CreateDynamicObject(657,-143.5000000,-2628.6001000,63.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (98)
  762.     Arvores[98] = CreateDynamicObject(657,-149.0000000,-2701.1001000,72.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (99)
  763.     Arvores[99] = CreateDynamicObject(657,-137.0000000,-2752.8999000,60.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (100)
  764.     Arvores[100] = CreateDynamicObject(657,-423.5000000,-2218.3994000,70.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (101)
  765.     Arvores[101] = CreateDynamicObject(657,-315.2002000,-2560.7998000,118.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (102)
  766.     Arvores[102] = CreateDynamicObject(657,-381.5000000,-2663.8000000,146.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (103)
  767.     Arvores[103] = CreateDynamicObject(657,-302.2000100,-2606.2000000,128.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (104)
  768.     Arvores[104] = CreateDynamicObject(657,-344.7002000,-2611.5996000,137.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (105)
  769.     Arvores[105] = CreateDynamicObject(657,-323.6000100,-2664.2000000,119.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (106)
  770.     Arvores[106] = CreateDynamicObject(657,-451.3999900,-2320.5000000,77.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (107)
  771.     Arvores[107] = CreateDynamicObject(657,-479.1000100,-2313.8000000,63.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (108)
  772.     Arvores[108] = CreateDynamicObject(657,-523.5999800,-2376.1001000,53.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (109)
  773.     Arvores[109] = CreateDynamicObject(657,-470.2998000,-2356.2002000,71.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (110)
  774.     Arvores[110] = CreateDynamicObject(657,-411.5000000,-2410.3000000,87.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (111)
  775.     Arvores[111] = CreateDynamicObject(657,-426.2998000,-2368.7998000,86.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (112)
  776.     Arvores[112] = CreateDynamicObject(657,-392.3999900,-2439.8000000,94.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (113)
  777.     Arvores[113] = CreateDynamicObject(657,-372.1000100,-2419.1001000,96.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (114)
  778.     Arvores[114] = CreateDynamicObject(657,-364.5000000,-2459.6001000,102.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (115)
  779.     Arvores[115] = CreateDynamicObject(657,-390.1000100,-2504.3000000,109.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (116)
  780.     Arvores[116] = CreateDynamicObject(657,-368.6000100,-2520.6001000,115.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (117)
  781.     Arvores[117] = CreateDynamicObject(657,-403.2999900,-2604.8000000,144.6000100,0.0000000,0.0000000,0.0000000); //object(pinetree02) (118)
  782.     Arvores[118] = CreateDynamicObject(657,-381.8999900,-2557.5000000,130.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (119)
  783.     Arvores[119] = CreateDynamicObject(657,-410.8999900,-2536.7000000,121.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (120)
  784.     Arvores[120] = CreateDynamicObject(657,-464.0000000,-2749.5000000,145.8999900,0.0000000,0.0000000,0.0000000); //object(pinetree02) (121)
  785.     Arvores[121] = CreateDynamicObject(657,-444.2999900,-2787.1001000,115.6000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (122)
  786.     Arvores[122] = CreateDynamicObject(657,-421.2998000,-2654.5996000,151.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (123)
  787.     Arvores[123] = CreateDynamicObject(657,-463.8999900,-2600.3999000,139.8999900,0.0000000,0.0000000,0.0000000); //object(pinetree02) (124)
  788.     Arvores[124] = CreateDynamicObject(657,-443.5000000,-2682.7998000,159.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (125)
  789.     Arvores[125] = CreateDynamicObject(657,-464.0000000,-2657.8994000,156.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (126)
  790.     Arvores[126] = CreateDynamicObject(657,-474.2999900,-2519.6001000,109.4000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (127)
  791.     Arvores[127] = CreateDynamicObject(657,-461.2998000,-2539.8994000,115.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (128)
  792.     Arvores[128] = CreateDynamicObject(657,-501.6000100,-2423.3999000,105.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (129)
  793.     Arvores[129] = CreateDynamicObject(657,-479.7002000,-2474.0000000,111.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (130)
  794.     Arvores[130] = CreateDynamicObject(657,-452.0000000,-2436.8000000,112.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (131)
  795.     Arvores[131] = CreateDynamicObject(657,-380.0000000,-2726.6001000,128.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (132)
  796.     Arvores[132] = CreateDynamicObject(657,-406.5000000,-2753.3999000,129.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (133)
  797.     Arvores[133] = CreateDynamicObject(657,-370.7999900,-2771.5000000,98.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (134)
  798.     Arvores[134] = CreateDynamicObject(657,-336.1000100,-2776.3000000,82.9000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (135)
  799.     Arvores[135] = CreateDynamicObject(657,-431.4003900,-2724.8994000,158.6000100,0.0000000,0.0000000,0.0000000); //object(pinetree02) (136)
  800.     Arvores[136] = CreateDynamicObject(657,-606.0999800,-2781.8999000,111.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (137)
  801.     Arvores[137] = CreateDynamicObject(657,-510.5996100,-2778.2002000,123.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (138)
  802.     Arvores[138] = CreateDynamicObject(657,-543.7998000,-2781.8994000,122.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (139)
  803.     Arvores[139] = CreateDynamicObject(657,-577.0000000,-2786.7998000,115.3000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (140)
  804.     Arvores[140] = CreateDynamicObject(657,-573.4000200,-2755.8999000,127.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (141)
  805.     Arvores[141] = CreateDynamicObject(657,-605.2999900,-2745.6001000,117.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (142)
  806.     Arvores[142] = CreateDynamicObject(657,-576.4000200,-2722.0000000,128.3999900,0.0000000,0.0000000,0.0000000); //object(pinetree02) (143)
  807.     Arvores[143] = CreateDynamicObject(657,-526.9000200,-2726.5000000,142.2000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (144)
  808.     Arvores[144] = CreateDynamicObject(657,-557.0996100,-2737.3994000,133.8999900,0.0000000,0.0000000,0.0000000); //object(pinetree02) (145)
  809.     Arvores[145] = CreateDynamicObject(657,-481.3999900,-2707.2000000,157.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (146)
  810.     Arvores[146] = CreateDynamicObject(657,-578.9000200,-2673.3999000,137.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (147)
  811.     Arvores[147] = CreateDynamicObject(657,-608.7000100,-2615.6001000,132.8000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (148)
  812.     Arvores[148] = CreateDynamicObject(657,-618.2998000,-2655.7998000,121.1000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (149)
  813.     Arvores[149] = CreateDynamicObject(657,-565.5999800,-2625.8000000,146.1000100,0.0000000,0.0000000,0.0000000); //object(pinetree02) (150)
  814.     Arvores[150] = CreateDynamicObject(657,-506.0000000,-2622.8999000,161.6000100,0.0000000,0.0000000,0.0000000); //object(pinetree02) (151)
  815.     Arvores[151] = CreateDynamicObject(657,-578.9003900,-2579.2002000,130.7000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (152)
  816.     Arvores[152] = CreateDynamicObject(657,-595.4003900,-2560.7002000,124.5000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (153)
  817.     Arvores[153] = CreateDynamicObject(657,-554.7998000,-2549.2998000,135.8999900,0.0000000,0.0000000,0.0000000); //object(pinetree02) (154)
  818.     Arvores[154] = CreateDynamicObject(657,-526.5996100,-2578.2002000,146.0000000,0.0000000,0.0000000,0.0000000); //object(pinetree02) (155)
  819.     // TEXT'S ARVORS
  820.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -748.5999800,-2453.7000000,68.0000000, 20, 0);
  821.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -717.9000200,-2465.5000000,68.1000000, 20, 0);
  822.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -718.5000000,-2431.6001000,62.0000000, 20, 0);
  823.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -691.0999800,-2438.5000000,63.5000000, 20, 0);
  824.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -701.7000100,-2382.8000000,49.0000000, 20, 0);
  825.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -576.0999800,-2230.5000000,27.4000000, 20, 0);
  826.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -689.2000100,-2351.1001000,36.8000000, 20, 0);
  827.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -645.4000200,-2373.2000000,33.8000000, 20, 0);
  828.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -663.7998000,-2349.5996000,34.7000000, 20, 0);
  829.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -654.2998000,-2321.5996000,34.5000000, 20, 0);
  830.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -671.5996100,-2298.0996000,28.3000000, 20, 0);
  831.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -632.2998000,-2291.5000000,27.8000000, 20, 0);
  832.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -599.5996100,-2264.7002000,24.4000000, 20, 0);
  833.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -569.7999900,-2258.8000000,25.9000000, 20, 0);
  834.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1058.1000000,-2456.8000000,60.0000000, 20, 0);
  835.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1090.2000000,-2338.3999000,49.8000000, 20, 0);
  836.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1024.4004000,-2431.2998000,65.5000000, 20, 0);
  837.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1055.0996000,-2416.0996000,58.9000000, 20, 0);
  838.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1080.0996000,-2355.0996000,47.8000000, 20, 0);
  839.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1106.7000000,-2298.8999000,41.9000000, 20, 0);
  840.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1112.6000000,-2332.5000000,42.5000000, 20, 0);
  841.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1092.7998000,-2323.2998000,51.7000000, 20, 0);
  842.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -1061.0000000,-2309.7000000,53.4000000, 20, 0);
  843.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -995.2999900,-2311.0000000,61.8000000, 20, 0);
  844.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -968.0999800,-2339.3999000,65.5000000, 20, 0);
  845.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -976.2000100,-2288.0000000,58.7000000, 20, 0);
  846.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -908.0000000,-2401.3999000,58.4000000, 20, 0);
  847.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -943.7999900,-2499.8999000,103.2000000, 20, 0);
  848.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -914.9003900,-2438.2002000,80.1000000, 20, 0);
  849.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -945.7002000,-2477.7002000,99.3000000, 20, 0);
  850.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -764.5000000,-2409.0000000,64.0000000, 20, 0);
  851.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -690.4000200,-2191.7000000,19.5000000, 20, 0);
  852.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -726.5000000,-2197.8994000,34.4000000, 20, 0);
  853.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -736.7998000,-2213.0996000,36.5000000, 20, 0);
  854.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -665.0000000,-2180.5000000,18.3000000, 20, 0);
  855.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -680.5000000,-2166.5000000,22.1000000, 20, 0);
  856.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -670.4000200,-2115.8000000,25.5000000, 20, 0);
  857.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -659.0996100,-2126.5996000,26.2000000, 20, 0);
  858.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -643.9000200,-2090.5000000,27.7000000, 20, 0);
  859.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -690.7999900,-2137.0000000,24.7000000, 20, 0);
  860.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -763.5999800,-2221.8000000,21.6000000, 20, 0);
  861.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -863.4000200,-2274.2000000,25.3000000, 20, 0);
  862.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -870.4003900,-2246.0000000,26.5000000, 20, 0);
  863.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -902.9000200,-2259.5000000,37.9000000, 20, 0);
  864.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -804.5000000,-2297.3999000,28.3000000, 20, 0);
  865.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -792.2000100,-2343.2000000,43.4000000, 20, 0);
  866.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -809.4003900,-2328.5000000,38.1000000, 20, 0);
  867.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -845.2000100,-2362.2000000,57.7000000, 20, 0);
  868.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -576.7000100,-1995.9000000,45.4000000, 20, 0);
  869.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -607.5996100,-2047.4004000,40.2000000, 20, 0);
  870.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -572.7998000,-2016.0000000,47.0000000, 20, 0);
  871.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -587.5000000,-1980.0000000,42.1000000, 20, 0);
  872.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -603.7999900,-1948.3000000,33.2000000, 20, 0);
  873.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -571.7998000,-1952.5996000,38.4000000, 20, 0);
  874.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -513.7999900,-2002.7000000,47.5000000, 20, 0);
  875.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -519.2998000,-1965.7002000,41.4000000, 20, 0);
  876.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -531.2998000,-1988.9004000,46.2000000, 20, 0);
  877.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -657.2999900,-1838.5000000,20.7000000, 20, 0);
  878.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -587.7999900,-1831.6000000,29.3000000, 20, 0);
  879.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -613.7002000,-1868.7002000,16.1000000, 20, 0);
  880.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -557.5999800,-1858.4000000,18.2000000, 20, 0);
  881.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -540.5000000,-1843.0000000,21.3000000, 20, 0);
  882.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -529.5000000,-1862.7000000,13.1000000, 20, 0);
  883.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -505.5000000,-1854.0000000,14.8000000, 20, 0);
  884.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -393.7999900,-1952.2000000,19.2000000, 20, 0);
  885.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -398.1000100,-1971.5000000,24.6000000, 20, 0);
  886.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -397.8999900,-2003.4000000,30.4000000, 20, 0);
  887.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -423.2999900,-2083.8000000,77.0000000, 20, 0);
  888.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -422.7000100,-2113.1001000,83.8000000, 20, 0);
  889.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -456.1000100,-2094.7000000,85.2000000, 20, 0);
  890.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -486.7999900,-2112.8999000,89.0000000, 20, 0);
  891.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -453.0000000,-2141.7000000,87.8000000, 20, 0);
  892.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -568.5000000,-2120.6001000,70.0000000, 20, 0);
  893.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -537.0999800,-2126.1001000,78.1000000, 20, 0);
  894.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -325.5000000,-2588.3000000,127.7000000, 20, 0);
  895.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -473.2998000,-2203.0996000,74.1000000, 20, 0);
  896.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -374.6000100,-2221.3999000,65.9000000, 20, 0);
  897.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -348.2999900,-2301.8999000,67.3000000, 20, 0);
  898.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -351.2000100,-2343.3999000,82.3000000, 20, 0);
  899.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -295.7000100,-2380.5000000,65.7000000, 20, 0);
  900.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -317.4003900,-2319.0996000,62.6000000, 20, 0);
  901.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -313.6000100,-2364.1001000,72.4000000, 20, 0);
  902.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -310.2000100,-2429.5000000,80.3000000, 20, 0);
  903.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -208.5000000,-2571.3999000,47.2000000, 20, 0);
  904.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -290.2002000,-2456.5996000,73.6000000, 20, 0);
  905.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -230.9003900,-2440.0996000,41.8000000, 20, 0);
  906.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -250.9003900,-2437.0996000,50.3000000, 20, 0);
  907.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -190.2002000,-2473.0996000,34.0000000, 20, 0);
  908.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -199.2002000,-2529.7998000,35.2000000, 20, 0);
  909.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -137.0000000,-2598.6001000,63.8000000, 20, 0);
  910.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -135.0000000,-2492.0000000,29.8000000, 20, 0);
  911.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -150.2002000,-2514.5996000,28.8000000, 20, 0);
  912.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -131.2998000,-2572.0996000,55.8000000, 20, 0);
  913.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -105.5996100,-2576.7002000,62.6000000, 20, 0);
  914.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -105.5996100,-2576.7002000,62.6000000, 20, 0);
  915.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -115.4000000,-2631.1001000,70.8000000, 20, 0);
  916.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -127.5000000,-2665.3000000,69.7000000, 20, 0);
  917.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -143.5000000,-2628.6001000,63.0000000, 20, 0);
  918.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -149.0000000,-2701.1001000,72.0000000, 20, 0);
  919.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -137.0000000,-2752.8999000,60.5000000, 20, 0);
  920.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -423.5000000,-2218.3994000,70.7000000, 20, 0);
  921.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -315.2002000,-2560.7998000,118.4000000, 20, 0);
  922.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -381.5000000,-2663.8000000,146.3000000, 20, 0);
  923.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -302.2000100,-2606.2000000,128.2000000, 20, 0);
  924.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -344.7002000,-2611.5996000,137.3000000, 20, 0);
  925.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -323.6000100,-2664.2000000,119.1000000, 20, 0);
  926.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -451.3999900,-2320.5000000,77.7000000, 20, 0);
  927.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -479.1000100,-2313.8000000,63.2000000, 20, 0);
  928.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -523.5999800,-2376.1001000,53.2000000, 20, 0);
  929.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -470.2998000,-2356.2002000,71.3000000, 20, 0);
  930.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -411.5000000,-2410.3000000,87.9000000, 20, 0);
  931.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -426.2998000,-2368.7998000,86.2000000, 20, 0);
  932.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -392.3999900,-2439.8000000,94.0000000, 20, 0);
  933.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -372.1000100,-2419.1001000,96.7000000, 20, 0);
  934.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -364.5000000,-2459.6001000,102.4000000, 20, 0);
  935.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -390.1000100,-2504.3000000,109.7000000, 20, 0);
  936.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -368.6000100,-2520.6001000,115.3000000, 20, 0);
  937.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -403.2999900,-2604.8000000,144.6000100, 20, 0);
  938.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -381.8999900,-2557.5000000,130.8000000, 20, 0);
  939.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -410.8999900,-2536.7000000,121.3000000, 20, 0);
  940.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -464.0000000,-2749.5000000,145.8999900, 20, 0);
  941.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -444.2999900,-2787.1001000,115.6000000, 20, 0);
  942.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -421.2998000,-2654.5996000,151.7000000, 20, 0);
  943.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -463.8999900,-2600.3999000,139.8999900, 20, 0);
  944.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -443.5000000,-2682.7998000,159.3000000, 20, 0);
  945.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -464.0000000,-2657.8994000,156.3000000, 20, 0);
  946.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -474.2999900,-2519.6001000,109.4000000, 20, 0);
  947.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -461.2998000,-2539.8994000,115.1000000, 20, 0);
  948.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -501.6000100,-2423.3999000,105.0000000, 20, 0);
  949.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -479.7002000,-2474.0000000,111.9000000, 20, 0);
  950.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -452.0000000,-2436.8000000,112.2000000, 20, 0);
  951.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -380.0000000,-2726.6001000,128.7000000, 20, 0);
  952.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -406.5000000,-2753.3999000,129.3000000, 20, 0);
  953.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -370.7999900,-2771.5000000,98.7000000, 20, 0);
  954.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -336.1000100,-2776.3000000,82.9000000, 20, 0);
  955.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -431.4003900,-2724.8994000,158.6000100, 20, 0);
  956.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -606.0999800,-2781.8999000,111.1000000, 20, 0);
  957.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -510.5996100,-2778.2002000,123.2000000, 20, 0);
  958.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -543.7998000,-2781.8994000,122.3000000, 20, 0);
  959.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -577.0000000,-2786.7998000,115.3000000, 20, 0);
  960.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -573.4000200,-2755.8999000,127.2000000, 20, 0);
  961.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -605.2999900,-2745.6001000,117.1000000, 20, 0);
  962.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -576.4000200,-2722.0000000,128.3999900, 20, 0);
  963.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -526.9000200,-2726.5000000,142.2000000, 20, 0);
  964.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -557.0996100,-2737.3994000,133.8999900, 20, 0);
  965.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -481.3999900,-2707.2000000,157.5000000, 20, 0);
  966.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -578.9000200,-2673.3999000,137.5000000, 20, 0);
  967.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -608.7000100,-2615.6001000,132.8000000, 20, 0);
  968.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -618.2998000,-2655.7998000,121.1000000, 20, 0);
  969.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -565.5999800,-2625.8000000,146.1000100, 20, 0);
  970.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -506.0000000,-2622.8999000,161.6000100, 20, 0);
  971.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -578.9003900,-2579.2002000,130.7000000, 20, 0);
  972.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -595.4003900,-2560.7002000,124.5000000, 20, 0);
  973.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -554.7998000,-2549.2998000,135.8999900, 20, 0);
  974.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -526.5996100,-2578.2002000,146.0000000, 20, 0);
  975.     Create3DTextLabel("* Árvore * \n {A9A9A9} Pegue Madeiras e Frutas!",AMARELO_2, -748.5999800, -2453.7000000, 69.0000000, 20, 0);
  976.      // PEDRAS
  977.     CreateDynamicObject(897,-543.0999800,-2619.3999000,154.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (1)
  978.     CreateDynamicObject(897,-651.2999900,-2649.6001000,102.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (2)
  979.     CreateDynamicObject(897,-596.5000000,-2495.0000000,62.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (3)
  980.     CreateDynamicObject(897,-750.2999900,-2473.3000000,75.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (4)
  981.     CreateDynamicObject(897,-584.2999900,-1946.1000000,40.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (5)
  982.     CreateDynamicObject(897,-855.2002000,-2290.2998000,26.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (6)
  983.     CreateDynamicObject(897,-600.2002000,-2090.3994000,40.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (7)
  984.     CreateDynamicObject(897,-431.6000100,-2107.8000000,88.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (8)
  985.     CreateDynamicObject(897,-440.9003900,-1838.0000000,8.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (9)
  986.     CreateDynamicObject(897,-297.6000100,-2406.3000000,74.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (10)
  987.     CreateDynamicObject(897,-146.2000000,-2485.3999000,30.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (11)
  988.     CreateDynamicObject(897,-126.7000000,-2601.5000000,69.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (12)
  989.     CreateDynamicObject(897,-142.3999900,-2694.0000000,74.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (13)
  990.     CreateDynamicObject(897,-584.2000100,-2267.7000000,27.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (14)
  991.     CreateDynamicObject(897,-343.7002000,-2641.5000000,135.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (15)
  992.     CreateDynamicObject(897,-418.7002000,-2705.8994000,162.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (16)
  993.     CreateDynamicObject(897,-928.5996100,-2505.7998000,114.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (17)
  994.     CreateDynamicObject(897,-1045.5996000,-2076.5000000,57.9000000,0.0000000,0.0000000,0.0000000); //object(searock01) (18)
  995.     CreateDynamicObject(897,-899.7998000,-1870.5996000,88.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (19)
  996.     CreateDynamicObject(897,-1083.7000000,-2193.0000000,41.0000000,0.0000000,0.0000000,0.0000000); //object(searock01) (20)
  997.     // TEXT'S PEDRAS
  998.    
  999.     // TEXT'S TODOS
  1000.     Create3DTextLabel("* Açude * \n {A9A9A9} Pegue Peixes e Águas!",AMARELO_2, -722.4331,-2055.1331,6.3556, 20, 0);
  1001.     Create3DTextLabel("* Açude * \n {A9A9A9} Pegue Peixes e Águas!",AMARELO_2, -782.6783,-2038.8295,6.6471, 20, 0);
  1002.     Create3DTextLabel("* Açude * \n {A9A9A9} Pegue Peixes e Águas!",AMARELO_2, -805.0019,-1935.4814,6.3195, 20, 0);
  1003.     Create3DTextLabel("* Açude * \n {A9A9A9} Pegue Peixes e Águas!",AMARELO_2, -724.8286,-1873.4583,6.8128, 20, 0);
  1004.     Create3DTextLabel("* Açude * \n {A9A9A9} Pegue Peixes e Águas!",AMARELO_2, -706.3614,-1933.9801,6.4755, 20, 0);
  1005.     // APOCALYPSE
  1006.     CreateDynamicObject(791,-355.7000100,-2326.0000000,60.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (1)
  1007.     CreateDynamicObject(791,-620.2002000,-1849.5000000,10.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (2)
  1008.     CreateDynamicObject(791,-488.7999900,-2424.3999000,100.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (3)
  1009.     CreateDynamicObject(791,-363.5000000,-2554.2000000,120.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (4)
  1010.     CreateDynamicObject(791,-590.7000100,-2745.1001000,121.5000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (5)
  1011.     CreateDynamicObject(791,-451.9003900,-2698.2998000,163.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (6)
  1012.     CreateDynamicObject(791,-540.2002000,-2609.0996000,140.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (7)
  1013.     CreateDynamicObject(791,-391.5996100,-2435.2998000,93.6000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (8)
  1014.     CreateDynamicObject(791,-707.0000000,-2390.8999000,40.0000000,0.0000000,0.0000000,74.9980000); //object(vbg_fir_copse) (9)
  1015.     CreateDynamicObject(791,-1015.8000000,-2538.8000000,70.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (10)
  1016.     CreateDynamicObject(791,-1037.7000000,-2486.8999000,67.8000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (11)
  1017.     CreateDynamicObject(3920,-1055.0000000,-2520.3999000,77.6000000,0.0000000,0.0000000,0.0000000); //object(lib_veg3) (1)
  1018.     CreateDynamicObject(647,-1010.4000000,-2494.8000000,78.4000000,0.0000000,0.0000000,0.0000000); //object(new_bushsm) (1)
  1019.     CreateDynamicObject(647,-1056.7000000,-2509.3000000,67.5000000,0.0000000,0.0000000,0.0000000); //object(new_bushsm) (2)
  1020.     CreateDynamicObject(647,-1062.8000000,-2526.8999000,68.0000000,0.0000000,0.0000000,0.0000000); //object(new_bushsm) (3)
  1021.     CreateDynamicObject(647,-1054.1000000,-2520.3999000,68.0000000,0.0000000,0.0000000,0.0000000); //object(new_bushsm) (4)
  1022.     CreateDynamicObject(728,-1045.7000000,-2514.2000000,68.6000000,0.0000000,0.0000000,0.0000000); //object(tree_hipoly06) (1)
  1023.     CreateDynamicObject(759,-1039.3000000,-2519.5000000,70.7000000,0.0000000,0.0000000,0.0000000); //object(sm_bush_large_1) (1)
  1024.     CreateDynamicObject(762,-1029.2000000,-2522.2000000,79.3000000,0.0000000,0.0000000,0.0000000); //object(new_bushtest) (1)
  1025.     CreateDynamicObject(762,-1036.0000000,-2579.7000000,79.3000000,0.0000000,0.0000000,0.0000000); //object(new_bushtest) (2)
  1026.     CreateDynamicObject(803,-1015.9000000,-2574.6001000,83.6000000,0.0000000,0.0000000,0.0000000); //object(genveg_bush09) (1)
  1027.     CreateDynamicObject(805,-1022.6000000,-2556.6001000,80.3000000,0.0000000,0.0000000,0.0000000); //object(genveg_bush11) (1)
  1028.     CreateDynamicObject(817,-1056.1000000,-2535.3999000,69.1000000,0.0000000,0.0000000,0.0000000); //object(veg_pflowers01) (1)
  1029.     CreateDynamicObject(819,-1037.3000000,-2530.3999000,74.2000000,0.0000000,0.0000000,0.0000000); //object(genveg_tallgrass03) (1)
  1030.     CreateDynamicObject(824,-299.3999900,-2231.2000000,30.6000000,0.0000000,0.0000000,0.0000000); //object(genveg_tallgrass08) (1)
  1031.     CreateDynamicObject(824,-288.2000100,-2244.0000000,30.6000000,0.0000000,0.0000000,0.0000000); //object(genveg_tallgrass08) (2)
  1032.     CreateDynamicObject(825,-321.7999900,-2224.8999000,29.9000000,0.0000000,0.0000000,0.0000000); //object(genveg_bushy) (1)
  1033.     CreateDynamicObject(874,-306.0000000,-2232.5000000,29.9000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (1)
  1034.     CreateDynamicObject(874,-303.8999900,-2251.7000000,30.3000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (2)
  1035.     CreateDynamicObject(874,-307.6000100,-2211.7000000,30.5000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (3)
  1036.     CreateDynamicObject(874,-285.2000100,-2281.3999000,31.0000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (4)
  1037.     CreateDynamicObject(9034,-277.7000100,-2223.8999000,29.6000000,0.0000000,0.0000000,0.0000000); //object(tikitrees01_lvs) (1)
  1038.     CreateDynamicObject(13802,-996.5999800,-2475.1001000,79.1000000,0.0000000,0.0000000,0.0000000); //object(skateivy) (1)
  1039.     CreateDynamicObject(13802,-996.2000100,-2471.3000000,78.7000000,0.0000000,0.0000000,0.0000000); //object(skateivy) (2)
  1040.     CreateDynamicObject(13802,-1004.2000000,-2499.6001000,83.1000000,0.0000000,0.0000000,0.0000000); //object(skateivy) (3)
  1041.     CreateDynamicObject(14400,-1001.5000000,-2504.7000000,81.0000000,0.0000000,0.0000000,0.0000000); //object(flower-bush08) (1)
  1042.     CreateDynamicObject(16390,-1053.9000000,-2511.8000000,70.2000000,0.0000000,0.0000000,17.2500000); //object(desn2_studbush) (1)
  1043.     CreateDynamicObject(874,-1071.7000000,-2518.0000000,67.2000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (5)
  1044.     CreateDynamicObject(874,-1042.5000000,-2501.8999000,69.9000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (6)
  1045.     CreateDynamicObject(874,-1037.3000000,-2520.0000000,73.0000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (7)
  1046.     CreateDynamicObject(874,-1023.9000000,-2500.7000000,74.8000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (8)
  1047.     CreateDynamicObject(874,-1032.1000000,-2498.3000000,72.1000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (9)
  1048.     CreateDynamicObject(874,-1044.2000000,-2481.6001000,67.6000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (10)
  1049.     CreateDynamicObject(874,-1005.9000000,-2554.3000000,83.9000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (11)
  1050.     CreateDynamicObject(874,-1020.6000000,-2566.6001000,82.0000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (12)
  1051.     CreateDynamicObject(874,-1031.7000000,-2592.3000000,84.4000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (13)
  1052.     CreateDynamicObject(874,-1078.4000000,-2596.3000000,77.2000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (14)
  1053.     CreateDynamicObject(874,-1071.7000000,-2601.3000000,82.0000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (15)
  1054.     CreateDynamicObject(874,-1119.5000000,-2548.7000000,71.6000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (16)
  1055.     CreateDynamicObject(874,-1082.6000000,-2540.6001000,69.0000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (17)
  1056.     CreateDynamicObject(874,-1057.1000000,-2510.0000000,67.4000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (18)
  1057.     CreateDynamicObject(874,-1002.3000000,-2484.6001000,80.1000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (19)
  1058.     CreateDynamicObject(874,-1017.5000000,-2484.2000000,75.3000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (20)
  1059.     CreateDynamicObject(874,-1003.8000000,-2530.0000000,82.9000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (21)
  1060.     CreateDynamicObject(874,-1071.6000000,-2568.0000000,75.0000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (22)
  1061.     CreateDynamicObject(874,-181.2000000,-2786.2000000,40.3000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (23)
  1062.     CreateDynamicObject(874,-198.0000000,-2791.0000000,41.8000000,0.0000000,0.0000000,17.2500000); //object(veg_procgrasspatch) (24)
  1063.     CreateDynamicObject(874,-219.3999900,-2794.0000000,44.1000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (25)
  1064.     CreateDynamicObject(874,-214.8000000,-2778.8000000,41.2000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (26)
  1065.     CreateDynamicObject(874,-198.3999900,-2777.8999000,39.2000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (27)
  1066.     CreateDynamicObject(874,-161.8000000,-2777.3000000,43.5000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (28)
  1067.     CreateDynamicObject(874,-152.6000100,-2798.2000000,45.9000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (29)
  1068.     CreateDynamicObject(874,-167.7000000,-2817.8999000,42.2000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (30)
  1069.     CreateDynamicObject(874,-206.3000000,-2820.0000000,45.2000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (31)
  1070.     CreateDynamicObject(874,-176.1000100,-2763.8999000,40.6000000,0.0000000,0.0000000,18.2500000); //object(veg_procgrasspatch) (32)
  1071.     CreateDynamicObject(874,-187.7000000,-2756.6001000,36.8000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (33)
  1072.     CreateDynamicObject(8836,-184.8000000,-2764.2000000,39.1000000,0.0000000,0.0000000,0.0000000); //object(pirtetrees02_lvs) (1)
  1073.     CreateDynamicObject(791,-236.6000100,-2813.0000000,40.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (12)
  1074.     CreateDynamicObject(791,-227.8999900,-2753.3999000,30.0000000,0.0000000,0.0000000,0.0000000); //object(vbg_fir_copse) (13)
  1075.     CreateDynamicObject(874,-591.0999800,-2750.1001000,67.8000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (34)
  1076.     CreateDynamicObject(874,-577.4000200,-2747.5000000,67.2000000,0.0000000,0.0000000,54.0000000); //object(veg_procgrasspatch) (35)
  1077.     CreateDynamicObject(874,-560.0000000,-2750.7000000,66.9000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (36)
  1078.     CreateDynamicObject(874,-546.9000200,-2748.7000000,66.9000000,0.0000000,0.0000000,110.0000000); //object(veg_procgrasspatch) (37)
  1079.     CreateDynamicObject(874,-533.7000100,-2754.3000000,66.9000000,0.0000000,0.0000000,297.9950000); //object(veg_procgrasspatch) (38)
  1080.     CreateDynamicObject(874,-512.4000200,-2753.3000000,66.9000000,0.0000000,0.0000000,297.9930000); //object(veg_procgrasspatch) (39)
  1081.     CreateDynamicObject(874,-500.8999900,-2755.8999000,66.7000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (40)
  1082.     CreateDynamicObject(874,-484.7000100,-2757.3999000,66.7000000,0.0000000,0.0000000,288.0000000); //object(veg_procgrasspatch) (41)
  1083.     CreateDynamicObject(874,-469.8999900,-2763.0000000,66.7000000,0.0000000,0.0000000,219.9960000); //object(veg_procgrasspatch) (42)
  1084.     CreateDynamicObject(874,-459.7999900,-2765.8999000,66.7000000,0.0000000,0.0000000,351.9900000); //object(veg_procgrasspatch) (43)
  1085.     CreateDynamicObject(874,-449.1000100,-2766.3000000,66.7000000,0.0000000,0.0000000,9.9850000); //object(veg_procgrasspatch) (44)
  1086.     CreateDynamicObject(874,-436.7000100,-2766.3000000,66.7000000,0.0000000,0.0000000,309.9810000); //object(veg_procgrasspatch) (45)
  1087.     CreateDynamicObject(874,-427.8999900,-2772.5000000,66.7000000,0.0000000,0.0000000,225.9790000); //object(veg_procgrasspatch) (46)
  1088.     CreateDynamicObject(874,-415.2999900,-2775.7000000,66.7000000,0.0000000,0.0000000,225.9780000); //object(veg_procgrasspatch) (47)
  1089.     CreateDynamicObject(18451,-591.7000100,-2745.0000000,66.6000000,0.0000000,0.0000000,0.0000000); //object(cs_oldcarjmp) (1)
  1090.     CreateDynamicObject(4517,-585.4000200,-2750.0000000,69.2000000,0.0000000,0.0000000,268.0000000); //object(cn2_roadblock04ld) (1)
  1091.     CreateDynamicObject(12957,-307.2998000,-2244.2002000,29.2000000,0.0000000,0.0000000,0.0000000); //object(sw_pickupwreck01) (6)
  1092.     CreateDynamicObject(12957,-562.2999900,-2749.8999000,66.0000000,0.0000000,0.0000000,326.0000000); //object(sw_pickupwreck01) (7)
  1093.     CreateDynamicObject(12957,-532.7999900,-2748.1001000,66.0000000,0.0000000,0.0000000,11.9970000); //object(sw_pickupwreck01) (8)
  1094.     CreateDynamicObject(3594,-382.5190100,-2780.1228000,63.5141300,0.0000000,0.0000000,0.0000000); //object(la_fuckcar1) (4)
  1095.     CreateDynamicObject(3594,-378.3999900,-2787.8000000,63.1000000,0.0000000,0.0000000,130.0000000); //object(la_fuckcar1) (5)
  1096.     CreateDynamicObject(3593,-378.8999900,-2781.7000000,63.2000000,0.0000000,0.0000000,216.0000000); //object(la_fuckcar2) (2)
  1097.     CreateDynamicObject(13591,-382.7999900,-2788.5000000,63.0000000,0.0000000,0.0000000,40.0000000); //object(kickcar28) (1)
  1098.     CreateDynamicObject(3594,-375.0000000,-2781.8999000,62.9000000,0.0000000,0.0000000,0.0000000); //object(la_fuckcar1) (6)
  1099.     CreateDynamicObject(12957,-392.7000100,-2783.2000000,64.5000000,0.0000000,0.0000000,44.0000000); //object(sw_pickupwreck01) (9)
  1100.     CreateDynamicObject(12957,-400.5000000,-2775.6001000,64.9000000,0.0000000,0.0000000,320.0000000); //object(sw_pickupwreck01) (10)
  1101.     CreateDynamicObject(1327,-531.2999900,-2748.3000000,65.7000000,0.0000000,0.0000000,0.0000000); //object(junk_tyre) (1)
  1102.     CreateDynamicObject(1327,-514.4000200,-2759.6001000,65.7000000,0.0000000,0.0000000,68.0000000); //object(junk_tyre) (2)
  1103.     CreateDynamicObject(1358,-476.2000100,-2758.8000000,66.6000000,0.0000000,0.0000000,0.0000000); //object(cj_skip_rubbish) (4)
  1104.     CreateDynamicObject(1358,-419.7999900,-2774.3999000,66.1000000,0.0000000,0.0000000,0.0000000); //object(cj_skip_rubbish) (5)
  1105.     CreateDynamicObject(1358,-397.0000000,-2779.2998000,65.1000000,0.0000000,0.0000000,0.0000000); //object(cj_skip_rubbish) (6)
  1106.     CreateDynamicObject(1441,-409.7000100,-2772.0000000,65.1000000,0.0000000,0.0000000,0.0000000); //object(dyn_box_pile_4) (1)
  1107.     CreateDynamicObject(874,-711.9000200,-2603.2000000,71.8000000,0.0000000,0.0000000,84.0000000); //object(veg_procgrasspatch) (48)
  1108.     CreateDynamicObject(874,-725.5999800,-2606.3000000,71.8000000,0.0000000,0.0000000,83.9960000); //object(veg_procgrasspatch) (49)
  1109.     CreateDynamicObject(874,-716.4000200,-2625.5000000,76.8000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (50)
  1110.     CreateDynamicObject(874,-723.0000000,-2648.3000000,82.5000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (51)
  1111.     CreateDynamicObject(874,-731.7999900,-2646.0000000,82.5000000,0.0000000,0.0000000,0.0000000); //object(veg_procgrasspatch) (52)
  1112.     // CARRO TESTES
  1113.     AddStaticVehicleEx(568, -463.6782, -2663.1365, 157.5599, 0, 0, 0, 1, 0);
  1114.     /*      CREDITOS        */
  1115.     Info[0] = TextDrawCreate(437.000335, 101.055488, "usebox");
  1116.     TextDrawLetterSize(Info[0], 0.000000, 22.265630);
  1117.     TextDrawTextSize(Info[0], 202.444442, 0.000000);
  1118.     TextDrawAlignment(Info[0], 1);
  1119.     TextDrawColor(Info[0], 0);
  1120.     TextDrawUseBox(Info[0], true);
  1121.     TextDrawBoxColor(Info[0], 60);
  1122.     TextDrawSetShadow(Info[0], 0);
  1123.     TextDrawSetOutline(Info[0], 0);
  1124.     TextDrawFont(Info[0], 0);
  1125.  
  1126.     Info[1] = TextDrawCreate(212.555557, 100.537040, "usebox");
  1127.     TextDrawLetterSize(Info[1], 0.000000, 22.323251);
  1128.     TextDrawTextSize(Info[1], 202.444442, 0.000000);
  1129.     TextDrawAlignment(Info[1], 1);
  1130.     TextDrawColor(Info[1], 0);
  1131.     TextDrawUseBox(Info[1], true);
  1132.     TextDrawBoxColor(Info[1], -1979711386);
  1133.     TextDrawSetShadow(Info[1], 0);
  1134.     TextDrawSetOutline(Info[1], 0);
  1135.     TextDrawFont(Info[1], 1);
  1136.  
  1137.     Info[2] = TextDrawCreate(436.888793, 100.500007, "usebox");
  1138.     TextDrawLetterSize(Info[2], 0.000000, 22.323251);
  1139.     TextDrawTextSize(Info[2], 426.333190, 0.000000);
  1140.     TextDrawAlignment(Info[2], 1);
  1141.     TextDrawColor(Info[2], 0);
  1142.     TextDrawUseBox(Info[2], true);
  1143.     TextDrawBoxColor(Info[2], -1979711386);
  1144.     TextDrawSetShadow(Info[2], 0);
  1145.     TextDrawSetOutline(Info[2], 0);
  1146.     TextDrawFont(Info[2], 0);
  1147.  
  1148.     Info[3] = TextDrawCreate(430.665802, 100.462989, "usebox");
  1149.     TextDrawLetterSize(Info[3], 0.000000, 0.045474);
  1150.     TextDrawTextSize(Info[3], 207.999862, 0.000000);
  1151.     TextDrawAlignment(Info[3], 1);
  1152.     TextDrawColor(Info[3], 0);
  1153.     TextDrawUseBox(Info[3], true);
  1154.     TextDrawBoxColor(Info[3], -1979711386);
  1155.     TextDrawSetShadow(Info[3], 0);
  1156.     TextDrawSetOutline(Info[3], 0);
  1157.     TextDrawFont(Info[3], 0);
  1158.  
  1159.     Info[4] = TextDrawCreate(431.110229, 301.092620, "usebox");
  1160.     TextDrawLetterSize(Info[4], 0.000000, 0.045474);
  1161.     TextDrawTextSize(Info[4], 207.999847, 0.000000);
  1162.     TextDrawAlignment(Info[4], 1);
  1163.     TextDrawColor(Info[4], 0);
  1164.     TextDrawUseBox(Info[4], true);
  1165.     TextDrawBoxColor(Info[4], -1979711386);
  1166.     TextDrawSetShadow(Info[4], 0);
  1167.     TextDrawSetOutline(Info[4], 0);
  1168.     TextDrawFont(Info[4], 0);
  1169.  
  1170.     Info[5] = TextDrawCreate(430.999114, 126.314796, "usebox");
  1171.     TextDrawLetterSize(Info[5], 0.000000, 0.045474);
  1172.     TextDrawTextSize(Info[5], 207.999847, 0.000000);
  1173.     TextDrawAlignment(Info[5], 1);
  1174.     TextDrawColor(Info[5], 0);
  1175.     TextDrawUseBox(Info[5], true);
  1176.     TextDrawBoxColor(Info[5], -1979711386);
  1177.     TextDrawSetShadow(Info[5], 0);
  1178.     TextDrawSetOutline(Info[5], 0);
  1179.     TextDrawFont(Info[5], 0);
  1180.  
  1181.     Info[6] = TextDrawCreate(254.332412, 289.129577, "usebox");
  1182.     TextDrawLetterSize(Info[6], 0.000000, 0.489918);
  1183.     TextDrawTextSize(Info[6], 210.777587, 0.000000);
  1184.     TextDrawAlignment(Info[6], 1);
  1185.     TextDrawColor(Info[6], 0);
  1186.     TextDrawUseBox(Info[6], true);
  1187.     TextDrawBoxColor(Info[6], -1979711386);
  1188.     TextDrawSetShadow(Info[6], 0);
  1189.     TextDrawSetOutline(Info[6], 0);
  1190.     TextDrawFont(Info[6], 0);
  1191.  
  1192.     Info[7] = TextDrawCreate(265.555572, 106.814773, "creditos");
  1193.     TextDrawLetterSize(Info[7], 0.512777, 1.408149);
  1194.     TextDrawAlignment(Info[7], 1);
  1195.     TextDrawColor(Info[7], -1);
  1196.     TextDrawSetShadow(Info[7], 0);
  1197.     TextDrawSetOutline(Info[7], 1);
  1198.     TextDrawBackgroundColor(Info[7], 255);
  1199.     TextDrawFont(Info[7], 2);
  1200.     TextDrawSetProportional(Info[7], 1);
  1201.  
  1202.     Info[8] = TextDrawCreate(222.666717, 133.222167, "fundador:  Power_X");
  1203.     TextDrawLetterSize(Info[8], 0.438333, 1.102223);
  1204.     TextDrawAlignment(Info[8], 1);
  1205.     TextDrawColor(Info[8], -1);
  1206.     TextDrawSetShadow(Info[8], 0);
  1207.     TextDrawSetOutline(Info[8], 1);
  1208.     TextDrawBackgroundColor(Info[8], 255);
  1209.     TextDrawFont(Info[8], 2);
  1210.     TextDrawSetProportional(Info[8], 1);
  1211.  
  1212.     Info[9] = TextDrawCreate(220.888931, 164.814971, "scripter's:  Power_X e Carlos001");
  1213.     TextDrawLetterSize(Info[9], 0.265554, 1.418519);
  1214.     TextDrawAlignment(Info[9], 1);
  1215.     TextDrawColor(Info[9], -1);
  1216.     TextDrawSetShadow(Info[9], 0);
  1217.     TextDrawSetOutline(Info[9], 1);
  1218.     TextDrawBackgroundColor(Info[9], 255);
  1219.     TextDrawFont(Info[9], 2);
  1220.     TextDrawSetProportional(Info[9], 1);
  1221.  
  1222.     Info[10] = TextDrawCreate(221.333389, 202.111160, "Donos:  Power e Mozart");
  1223.     TextDrawLetterSize(Info[10], 0.353887, 1.200740);
  1224.     TextDrawAlignment(Info[10], 1);
  1225.     TextDrawColor(Info[10], -1);
  1226.     TextDrawSetShadow(Info[10], 0);
  1227.     TextDrawSetOutline(Info[10], 1);
  1228.     TextDrawBackgroundColor(Info[10], 255);
  1229.     TextDrawFont(Info[10], 2);
  1230.     TextDrawSetProportional(Info[10], 1);
  1231.  
  1232.     Info[11] = TextDrawCreate(222.333389, 238.889038, "email: power.xev1@gmail.com");
  1233.     TextDrawLetterSize(Info[11], 0.303887, 1.200740);
  1234.     TextDrawAlignment(Info[11], 1);
  1235.     TextDrawColor(Info[11], -1);
  1236.     TextDrawSetShadow(Info[11], 0);
  1237.     TextDrawSetOutline(Info[11], 1);
  1238.     TextDrawBackgroundColor(Info[11], 255);
  1239.     TextDrawFont(Info[11], 2);
  1240.     TextDrawSetProportional(Info[11], 1);
  1241.  
  1242.     Info[12] = TextDrawCreate(223.333374, 272.037139, "site: www.islandsurvival.forumeiros.com");
  1243.     TextDrawLetterSize(Info[12], 0.204442, 1.423703);
  1244.     TextDrawAlignment(Info[12], 1);
  1245.     TextDrawColor(Info[12], -1);
  1246.     TextDrawSetShadow(Info[12], 0);
  1247.     TextDrawSetOutline(Info[12], 1);
  1248.     TextDrawBackgroundColor(Info[12], 255);
  1249.     TextDrawFont(Info[12], 2);
  1250.     TextDrawSetProportional(Info[12], 1);
  1251.  
  1252.     /*          REGISTRO        */
  1253.     Registro[0] = TextDrawCreate(427.000061, 106.759269, "usebox");
  1254.     TextDrawLetterSize(Registro[0], 0.000000, 21.230659);
  1255.     TextDrawTextSize(Registro[0], 214.666625, 0.000000);
  1256.     TextDrawAlignment(Registro[0], 1);
  1257.     TextDrawColor(Registro[0], 0);
  1258.     TextDrawUseBox(Registro[0], true);
  1259.     TextDrawBoxColor(Registro[0], 50);
  1260.     TextDrawSetShadow(Registro[0], 0);
  1261.     TextDrawSetOutline(Registro[0], 0);
  1262.     TextDrawFont(Registro[0], 0);
  1263.  
  1264.     Registro[1] = TextDrawCreate(223.666625, 106.759262, "usebox");
  1265.     TextDrawLetterSize(Registro[1], 0.000000, 21.240943);
  1266.     TextDrawTextSize(Registro[1], 214.666656, 0.000000);
  1267.     TextDrawAlignment(Registro[1], 1);
  1268.     TextDrawColor(Registro[1], 0);
  1269.     TextDrawUseBox(Registro[1], true);
  1270.     TextDrawBoxColor(Registro[1], -1627389780);
  1271.     TextDrawSetShadow(Registro[1], 0);
  1272.     TextDrawSetOutline(Registro[1], 0);
  1273.     TextDrawFont(Registro[1], 0);
  1274.  
  1275.     Registro[2] = TextDrawCreate(426.888702, 106.722229, "usebox");
  1276.     TextDrawLetterSize(Registro[2], 0.000000, 21.240943);
  1277.     TextDrawTextSize(Registro[2], 416.888732, 0.000000);
  1278.     TextDrawAlignment(Registro[2], 1);
  1279.     TextDrawColor(Registro[2], 0);
  1280.     TextDrawUseBox(Registro[2], true);
  1281.     TextDrawBoxColor(Registro[2], -1627389780);
  1282.     TextDrawSetShadow(Registro[2], 0);
  1283.     TextDrawSetOutline(Registro[2], 0);
  1284.     TextDrawFont(Registro[2], 0);
  1285.  
  1286.     Registro[3] = TextDrawCreate(421.221801, 106.685211, "usebox");
  1287.     TextDrawLetterSize(Registro[3], 0.000000, 0.018721);
  1288.     TextDrawTextSize(Registro[3], 219.110885, 0.000000);
  1289.     TextDrawAlignment(Registro[3], 1);
  1290.     TextDrawColor(Registro[3], 0);
  1291.     TextDrawUseBox(Registro[3], true);
  1292.     TextDrawBoxColor(Registro[3], -1627389780);
  1293.     TextDrawSetShadow(Registro[3], 0);
  1294.     TextDrawSetOutline(Registro[3], 0);
  1295.     TextDrawFont(Registro[3], 0);
  1296.  
  1297.     Registro[4] = TextDrawCreate(422.221801, 297.463073, "usebox");
  1298.     TextDrawLetterSize(Registro[4], 0.000000, 0.018721);
  1299.     TextDrawTextSize(Registro[4], 219.110885, 0.000000);
  1300.     TextDrawAlignment(Registro[4], 1);
  1301.     TextDrawColor(Registro[4], 0);
  1302.     TextDrawUseBox(Registro[4], true);
  1303.     TextDrawBoxColor(Registro[4], -1627389780);
  1304.     TextDrawSetShadow(Registro[4], 0);
  1305.     TextDrawSetOutline(Registro[4], 0);
  1306.     TextDrawFont(Registro[4], 0);
  1307.  
  1308.     Registro[5] = TextDrawCreate(421.555175, 136.685302, "usebox");
  1309.     TextDrawLetterSize(Registro[5], 0.000000, 0.018721);
  1310.     TextDrawTextSize(Registro[5], 218.555328, 0.000000);
  1311.     TextDrawAlignment(Registro[5], 1);
  1312.     TextDrawColor(Registro[5], 0);
  1313.     TextDrawUseBox(Registro[5], true);
  1314.     TextDrawBoxColor(Registro[5], -1627389780);
  1315.     TextDrawSetShadow(Registro[5], 0);
  1316.     TextDrawSetOutline(Registro[5], 0);
  1317.     TextDrawFont(Registro[5], 0);
  1318.  
  1319.     Registro[6] = TextDrawCreate(392.555084, 152.203826, "usebox");
  1320.     TextDrawLetterSize(Registro[6], 0.000000, 2.074277);
  1321.     TextDrawTextSize(Registro[6], 246.888687, 0.000000);
  1322.     TextDrawAlignment(Registro[6], 1);
  1323.     TextDrawColor(Registro[6], 0);
  1324.     TextDrawUseBox(Registro[6], true);
  1325.     TextDrawBoxColor(Registro[6], -1627389780);
  1326.     TextDrawSetShadow(Registro[6], 0);
  1327.     TextDrawSetOutline(Registro[6], 0);
  1328.     TextDrawFont(Registro[6], 0);
  1329.  
  1330.     Registro[7] = TextDrawCreate(392.443878, 186.389007, "usebox");
  1331.     TextDrawLetterSize(Registro[7], 0.000000, 2.129832);
  1332.     TextDrawTextSize(Registro[7], 246.888687, 0.000000);
  1333.     TextDrawAlignment(Registro[7], 1);
  1334.     TextDrawColor(Registro[7], 0);
  1335.     TextDrawUseBox(Registro[7], true);
  1336.     TextDrawBoxColor(Registro[7], -1627389780);
  1337.     TextDrawSetShadow(Registro[7], 0);
  1338.     TextDrawSetOutline(Registro[7], 0);
  1339.     TextDrawFont(Registro[7], 0);
  1340.  
  1341.     Registro[8] = TextDrawCreate(221.666671, 70.000022, "Survival  The  Island");
  1342.     TextDrawLetterSize(Registro[8], 0.709999, 3.316293);
  1343.     TextDrawAlignment(Registro[8], 1);
  1344.     TextDrawColor(Registro[8], -16776961);
  1345.     TextDrawSetShadow(Registro[8], 0);
  1346.     TextDrawSetOutline(Registro[8], 1);
  1347.     TextDrawBackgroundColor(Registro[8], 255);
  1348.     TextDrawFont(Registro[8], 0);
  1349.     TextDrawSetProportional(Registro[8], 1);
  1350.  
  1351.     Registro[9] = TextDrawCreate(391.777252, 222.129760, "usebox");
  1352.     TextDrawLetterSize(Registro[9], 0.000000, 2.129832);
  1353.     TextDrawTextSize(Registro[9], 246.888687, 0.000000);
  1354.     TextDrawAlignment(Registro[9], 1);
  1355.     TextDrawColor(Registro[9], 0);
  1356.     TextDrawUseBox(Registro[9], true);
  1357.     TextDrawBoxColor(Registro[9], -1627389780);
  1358.     TextDrawSetShadow(Registro[9], 0);
  1359.     TextDrawSetOutline(Registro[9], 0);
  1360.     TextDrawFont(Registro[9], 0);
  1361.  
  1362.     Registro[10] = TextDrawCreate(392.221740, 258.389038, "usebox");
  1363.     TextDrawLetterSize(Registro[10], 0.000000, 2.129832);
  1364.     TextDrawTextSize(Registro[10], 246.333129, 0.000000);
  1365.     TextDrawAlignment(Registro[10], 1);
  1366.     TextDrawColor(Registro[10], 0);
  1367.     TextDrawUseBox(Registro[10], true);
  1368.     TextDrawBoxColor(Registro[10], -1627389780);
  1369.     TextDrawSetShadow(Registro[10], 0);
  1370.     TextDrawSetOutline(Registro[10], 0);
  1371.     TextDrawFont(Registro[10], 0);
  1372.  
  1373.     Registro[11] = TextDrawCreate(257.777801, 114.592613, "Bem vindo");
  1374.     TextDrawLetterSize(Registro[11], 0.551666, 1.646668);
  1375.     TextDrawAlignment(Registro[11], 1);
  1376.     TextDrawColor(Registro[11], -1);
  1377.     TextDrawSetShadow(Registro[11], 0);
  1378.     TextDrawSetOutline(Registro[11], 1);
  1379.     TextDrawBackgroundColor(Registro[11], 255);
  1380.     TextDrawFont(Registro[11], 2);
  1381.     TextDrawSetProportional(Registro[11], 1);
  1382. //============================ TEXT DA TELA ==============================//
  1383.     //BlackRadar= GangZoneCreate(-3334.758544, -3039.903808, 3049.241455, 3184.096191);
  1384.     //RadarPreto= GangZoneCreate(-3334.758544, -3039.903808, 3049.241455, 3184.096191);
  1385.  
  1386.     barrinha1 = TextDrawCreate(3.500000, 324.187500, "-");
  1387.     TextDrawLetterSize(barrinha1, 11.464503, 1.061874);
  1388.     TextDrawTextSize(barrinha1, -37.000000, -3.500000);
  1389.     TextDrawAlignment(barrinha1, 1);
  1390.     TextDrawColor(barrinha1, -1);
  1391.     TextDrawSetShadow(barrinha1, 0);
  1392.     TextDrawSetOutline(barrinha1, 1);
  1393.     TextDrawBackgroundColor(barrinha1, 51);
  1394.     TextDrawFont(barrinha1, 1);
  1395.     TextDrawSetProportional(barrinha1, 1);
  1396.  
  1397.     forum1 = TextDrawCreate(33.500000, 301.437500, "Survival The Island");
  1398.     TextDrawLetterSize(forum1, 0.449999, 1.600000);
  1399.     TextDrawAlignment(forum1, 1);
  1400.     TextDrawColor(forum1, -16776961);
  1401.     TextDrawSetShadow(forum1, 0);
  1402.     TextDrawSetOutline(forum1, 1);
  1403.     TextDrawBackgroundColor(forum1, 255);
  1404.     TextDrawFont(forum1, 0);
  1405.     TextDrawSetProportional(forum1, 1);
  1406.  
  1407.     forum2 = TextDrawCreate(58.500000, 314.437500, "v.Beta");
  1408.     TextDrawLetterSize(forum2, 0.449999, 1.600000);
  1409.     TextDrawAlignment(forum2, 1);
  1410.     TextDrawColor(forum2, 255);
  1411.     TextDrawSetShadow(forum2, 0);
  1412.     TextDrawSetOutline(forum2, 0);
  1413.     TextDrawBackgroundColor(forum2, 255);
  1414.     TextDrawFont(forum2, 1);
  1415.     TextDrawSetProportional(forum2, 1);
  1416.  
  1417.     barrinha2 = TextDrawCreate(8.500000, 292.375000, "-");
  1418.     TextDrawLetterSize(barrinha2, 11.464503, 1.061874);
  1419.     TextDrawTextSize(barrinha2, -37.000000, -3.500000);
  1420.     TextDrawAlignment(barrinha2, 1);
  1421.     TextDrawColor(barrinha2, -1);
  1422.     TextDrawSetShadow(barrinha2, 0);
  1423.     TextDrawSetOutline(barrinha2, 1);
  1424.     TextDrawBackgroundColor(barrinha2, 51);
  1425.     TextDrawFont(barrinha2, 1);
  1426.     TextDrawSetProportional(barrinha2, 1);
  1427.  
  1428.     forum3 = TextDrawCreate(2.500000, 430.937500, "Sugestoes, ideias, denuncias. Visite: www.inslandsurvival.forumeiros.com");
  1429.     TextDrawLetterSize(forum3, 0.217998, 1.739999);
  1430.     TextDrawAlignment(forum3, 1);
  1431.     TextDrawColor(forum3, -16776961);
  1432.     TextDrawSetShadow(forum3, 0);
  1433.     TextDrawSetOutline(forum3, 1);
  1434.     TextDrawBackgroundColor(forum3, 255);
  1435.     TextDrawFont(forum3, 1);
  1436.     TextDrawSetProportional(forum3, 1);
  1437.  
  1438.     DataC = TextDrawCreate(500.000000, 9.000000, "");
  1439.     TextDrawBackgroundColor(DataC, 255);
  1440.     TextDrawFont(DataC, 3);
  1441.     TextDrawLetterSize(DataC, 0.310000, 1.500000);
  1442.     TextDrawColor(DataC, -1);
  1443.     TextDrawSetOutline(DataC, 1);
  1444.     TextDrawSetProportional(DataC, 1);
  1445.     TextDrawSetSelectable(DataC, 0);
  1446.  //============================================================================//
  1447.     FrioT = TextDrawCreate(556, 429, "F");
  1448.     TextDrawBackgroundColor(FrioT, 255);
  1449.     TextDrawFont(FrioT, 1);
  1450.     TextDrawLetterSize(FrioT, 0.320000, 1.100000);
  1451.     TextDrawColor(FrioT, 0xFFFFFFFF);
  1452.     TextDrawSetOutline(FrioT, 1);
  1453.     TextDrawSetProportional(FrioT, 1);
  1454.  
  1455.     Textdraw0 = TextDrawCreate(552.500000, 447.312500, "usebox");
  1456.     TextDrawLetterSize(Textdraw0, 0.000000, -5.420833);
  1457.     TextDrawTextSize(Textdraw0, 635.000000, 0.000000);
  1458.     TextDrawAlignment(Textdraw0, 1);
  1459.     TextDrawColor(Textdraw0, 0);
  1460.     TextDrawUseBox(Textdraw0, true);
  1461.     TextDrawBoxColor(Textdraw0, 102);
  1462.     TextDrawSetShadow(Textdraw0, 0);
  1463.     TextDrawSetOutline(Textdraw0, 0);
  1464.     TextDrawFont(Textdraw0, 0);
  1465.  
  1466.     sprite1 = TextDrawCreate(555, 405, "hud:radar_dateFood");
  1467.     TextDrawFont(sprite1, 4); ///// aqui é a fonte
  1468.     TextDrawTextSize(sprite1, 10.000, 10.000);////importante!!Está parte em definir o tamanho da imagem essa proporção será boa em caso você queria colocar do lado de seu status
  1469.     TextDrawUseBox(sprite1, 1);
  1470.  
  1471.     sprite2 = TextDrawCreate(555, 417, "hud:radar_diner");
  1472.     TextDrawFont(sprite2, 4);
  1473.     TextDrawTextSize(sprite2, 10.000, 10.000);
  1474.     TextDrawUseBox(sprite2, 1);
  1475.  
  1476.     TextCash1 = TextDrawCreate(600.000000, 99.937500, "usebox");
  1477.     TextDrawLetterSize(TextCash1, 0.000000, 0.704164);
  1478.     TextDrawTextSize(TextCash1, 514.000000, 0.000000);
  1479.     TextDrawAlignment(TextCash1, 1);
  1480.     TextDrawColor(TextCash1, 0);
  1481.     TextDrawUseBox(TextCash1, true);
  1482.     TextDrawBoxColor(TextCash1, 255);
  1483.     TextDrawSetShadow(TextCash1, 0);
  1484.     TextDrawSetOutline(TextCash1, 0);
  1485.     TextDrawFont(TextCash1, 0);
  1486.  
  1487.     TextCash2 = TextDrawCreate(542.500000, 99.312500, "Cash:");
  1488.     TextDrawLetterSize(TextCash2, 0.215996, 0.755631);
  1489.     TextDrawAlignment(TextCash2, 2);
  1490.     TextDrawColor(TextCash2, -1061109505);
  1491.     TextDrawSetShadow(TextCash2, 0);
  1492.     TextDrawSetOutline(TextCash2, 0);
  1493.     TextDrawBackgroundColor(TextCash2, 51);
  1494.     TextDrawFont(TextCash2, 1);
  1495.     TextDrawSetProportional(TextCash2, 1);
  1496.  
  1497.     TextCash3 = TextDrawCreate(553.000000, 99.750000, "...");
  1498.     TextDrawLetterSize(TextCash3, 0.177000, 0.738125);
  1499.     TextDrawAlignment(TextCash3, 1);
  1500.     TextDrawColor(TextCash3, -1061109505);
  1501.     TextDrawSetShadow(TextCash3, 0);
  1502.     TextDrawSetOutline(TextCash3, 1);
  1503.     TextDrawBackgroundColor(TextCash3, 51);
  1504.     TextDrawFont(TextCash3, 1);
  1505.    
  1506.     TextDin0 = TextDrawCreate(627.000000, 78.500000, "usebox");
  1507.     TextDrawLetterSize(TextDin0, 0.000000, 1.980555);
  1508.     TextDrawTextSize(TextDin0, 486.500000, 0.000000);
  1509.     TextDrawAlignment(TextDin0, 1);
  1510.     TextDrawColor(TextDin0, 0);
  1511.     TextDrawUseBox(TextDin0, true);
  1512.     TextDrawBoxColor(TextDin0, -16776961);
  1513.     TextDrawSetShadow(TextDin0, 0);
  1514.     TextDrawSetOutline(TextDin0, 0);
  1515.     TextDrawFont(TextDin0, 0);
  1516.  
  1517.     TextDin1 = TextDrawCreate(520.000000, 80.500000, "...");
  1518.     TextDrawLetterSize(TextDin1, 0.210997, 1.368126);
  1519.     TextDrawAlignment(TextDin1, 1);
  1520.     TextDrawColor(TextDin1, -1061109505);
  1521.     TextDrawSetShadow(TextDin1, 0);
  1522.     TextDrawSetOutline(TextDin1, -1);
  1523.     TextDrawBackgroundColor(TextDin1, 255);
  1524.     TextDrawFont(TextDin1, 2);
  1525.     TextDrawSetProportional(TextDin1, 1);
  1526.  
  1527.     TextDin2 = TextDrawCreate(626.000000, 79.375000, "usebox");
  1528.     TextDrawLetterSize(TextDin2, 0.000000, 1.824998);
  1529.     TextDrawTextSize(TextDin2, 487.500000, 0.000000);
  1530.     TextDrawAlignment(TextDin2, 1);
  1531.     TextDrawColor(TextDin2, 0);
  1532.     TextDrawUseBox(TextDin2, true);
  1533.     TextDrawBoxColor(TextDin2, 255);
  1534.     TextDrawSetShadow(TextDin2, 0);
  1535.     TextDrawSetOutline(TextDin2, 0);
  1536.     TextDrawFont(TextDin2, 0);
  1537.    
  1538.     TextGPS = TextDrawCreate(33.000000, 333.083404, "ld_pool:ball");
  1539.     TextDrawLetterSize(TextGPS, 0.000000, 0.000000);
  1540.     TextDrawTextSize(TextGPS, 107.500000, 99.166633);
  1541.     TextDrawAlignment(TextGPS, 1);
  1542.     TextDrawColor(TextGPS, 255);
  1543.     TextDrawSetShadow(TextGPS, 0);
  1544.     TextDrawSetOutline(TextGPS, 0);
  1545.     TextDrawFont(TextGPS, 4);
  1546.  //============================================================================//
  1547.     FomeA = CreateProgressBar(570, 409, 60.55, 4.50, -8716033, 100.0);
  1548.     SetProgressBarMaxValue(FomeA, 100);
  1549.     SetProgressBarColor(FomeA, 0xFFA500FF);
  1550.     SedeB = CreateProgressBar(570.00, 421.00, 60.55, 4.50, -8716033, 100.0);
  1551.     SetProgressBarMaxValue(SedeB, 100);
  1552.     SetProgressBarColor(SedeB, 0x00BFFFFF);
  1553.     FrioD = CreateProgressBar(570.00, 433, 60.55, 4.50, -8716033, 100.0);
  1554.     SetProgressBarMaxValue(FrioD, 100);
  1555.     SetProgressBarColor(FrioD, 0x00FF00FF);
  1556.     Exemplo = CreateProgressBar(53.000000, 400.00, 60.55, 3.699997, -1429936641, 100.0); //cria a bar
  1557.     Exemplo2 = CreateProgressBar(53.000000, 400.00, 60.55, 3.699997, -1429936641, 100.0); //cria a bar
  1558. //======================== Logo Text Draw ===========================//
  1559.     STILogoTextDraw[0] = TextDrawCreate(530.000000, 5.760019, "Survive_The_Island");
  1560.     TextDrawLetterSize(STILogoTextDraw[0], 0.400000, 1.600000);
  1561.     TextDrawAlignment(STILogoTextDraw[0], 1);
  1562.     TextDrawColor(STILogoTextDraw[0], -1);
  1563.     TextDrawSetShadow(STILogoTextDraw[0], 0);
  1564.     TextDrawSetOutline(STILogoTextDraw[0], 1);
  1565.     TextDrawBackgroundColor(STILogoTextDraw[0], 255);
  1566.     TextDrawFont(STILogoTextDraw[0], 0);
  1567.     TextDrawSetProportional(STILogoTextDraw[0], 1);
  1568.  
  1569.     STILogoTextDraw[1] = TextDrawCreate(610.500000, 19.199987, "Beta");
  1570.     TextDrawLetterSize(STILogoTextDraw[1], 0.243499, 1.376000);
  1571.     TextDrawAlignment(STILogoTextDraw[1], 1);
  1572.     TextDrawColor(STILogoTextDraw[1], -1);
  1573.     TextDrawSetShadow(STILogoTextDraw[1], 0);
  1574.     TextDrawSetOutline(STILogoTextDraw[1], 1);
  1575.     TextDrawBackgroundColor(STILogoTextDraw[1], 255);
  1576.     TextDrawFont(STILogoTextDraw[1], 1);
  1577.     TextDrawSetProportional(STILogoTextDraw[1], 1);
  1578. //====================== Material Stats Text Draw ===============================//
  1579.     StatsTextDrawContainer[0] = TextDrawCreate(539.099975, 329.299865, "box");
  1580.     TextDrawLetterSize(StatsTextDrawContainer[0], 0.000000, 6.799997);
  1581.     TextDrawTextSize(StatsTextDrawContainer[0], 643.000000, 0.000000);
  1582.     TextDrawAlignment(StatsTextDrawContainer[0], 1);
  1583.     TextDrawColor(StatsTextDrawContainer[0], -65281);
  1584.     TextDrawUseBox(StatsTextDrawContainer[0], 1);
  1585.     TextDrawBoxColor(StatsTextDrawContainer[0], -65478);
  1586.     TextDrawSetShadow(StatsTextDrawContainer[0], 0);
  1587.     TextDrawBackgroundColor(StatsTextDrawContainer[0], -65281);
  1588.     TextDrawFont(StatsTextDrawContainer[0], 1);
  1589.     TextDrawSetProportional(StatsTextDrawContainer[0], 1);
  1590.  
  1591.     StatsTextDrawContainer[1] = TextDrawCreate(538.599853, 332.096588, "box");
  1592.     TextDrawLetterSize(StatsTextDrawContainer[1], 0.000000, 0.099998);
  1593.     TextDrawTextSize(StatsTextDrawContainer[1], 646.000000, 0.000000);
  1594.     TextDrawAlignment(StatsTextDrawContainer[1], 1);
  1595.     TextDrawColor(StatsTextDrawContainer[1], -65281);
  1596.     TextDrawUseBox(StatsTextDrawContainer[1], 1);
  1597.     TextDrawBoxColor(StatsTextDrawContainer[1], 112);
  1598.     TextDrawSetShadow(StatsTextDrawContainer[1], 0);
  1599.     TextDrawBackgroundColor(StatsTextDrawContainer[1], -65281);
  1600.     TextDrawFont(StatsTextDrawContainer[1], 1);
  1601.     TextDrawSetProportional(StatsTextDrawContainer[1], 1);
  1602.  
  1603.     //============================================================================//
  1604.  
  1605.     for ( new  i ; i < MAX_PLAYERS ; ++i )
  1606.     {
  1607.         Wood[i] = TextDrawCreate(564.000000, 292.687500, "1 x Madeira");
  1608.         TextDrawLetterSize(Wood[i], 0.248500, 1.429373);
  1609.         TextDrawAlignment(Wood[i], 1);
  1610.         TextDrawColor(Wood[i], -2139062017);
  1611.         TextDrawSetShadow(Wood[i], 0);
  1612.         TextDrawSetOutline(Wood[i], 1);
  1613.         TextDrawBackgroundColor(Wood[i], 51);
  1614.         TextDrawFont(Wood[i], 1);
  1615.         TextDrawSetProportional(Wood[i], 1);
  1616.  
  1617.         Wood3[i] = TextDrawCreate(564.000000, 292.687500, "3 x Madeira");
  1618.         TextDrawLetterSize(Wood3[i], 0.248500, 1.429373);
  1619.         TextDrawAlignment(Wood3[i], 1);
  1620.         TextDrawColor(Wood3[i], -2139062017);
  1621.         TextDrawSetShadow(Wood3[i], 0);
  1622.         TextDrawSetOutline(Wood3[i], 1);
  1623.         TextDrawBackgroundColor(Wood3[i], 51);
  1624.         TextDrawFont(Wood3[i], 1);
  1625.         TextDrawSetProportional(Wood3[i], 1);
  1626.  
  1627.         Boxzin[i] = TextDrawCreate(621.000000, 292.000000, "usebox");
  1628.         TextDrawLetterSize(Boxzin[i], 0.000000, 1.676388);
  1629.         TextDrawTextSize(Boxzin[i], 553.500000, 0.000000);
  1630.         TextDrawAlignment(Boxzin[i], 1);
  1631.         TextDrawColor(Boxzin[i], 0);
  1632.         TextDrawUseBox(Boxzin[i], true);
  1633.         TextDrawBoxColor(Boxzin[i], 102);
  1634.         TextDrawSetShadow(Boxzin[i], 0);
  1635.         TextDrawSetOutline(Boxzin[i], 0);
  1636.         TextDrawFont(Boxzin[i], 0);
  1637.  
  1638.         Stone[i] = TextDrawCreate(564.000000, 292.687500, "5 x Pedra");
  1639.         TextDrawLetterSize(Stone[i], 0.248500, 1.429373);
  1640.         TextDrawAlignment(Stone[i], 1);
  1641.         TextDrawColor(Stone[i], -2139062017);
  1642.         TextDrawSetShadow(Stone[i], 0);
  1643.         TextDrawSetOutline(Stone[i], 1);
  1644.         TextDrawBackgroundColor(Stone[i], 51);
  1645.         TextDrawFont(Stone[i], 1);
  1646.         TextDrawSetProportional(Stone[i], 1);
  1647.        
  1648.         Boxzin2[i] = TextDrawCreate(621.500000, 312.687500, "usebox");
  1649.         TextDrawLetterSize(Boxzin2[i], 0.000000, 1.626387);
  1650.         TextDrawTextSize(Boxzin2[i], 553.500000, 0.000000);
  1651.         TextDrawAlignment(Boxzin2[i], 1);
  1652.         TextDrawColor(Boxzin2[i], 0);
  1653.         TextDrawUseBox(Boxzin2[i], true);
  1654.         TextDrawBoxColor(Boxzin2[i], 102);
  1655.         TextDrawSetShadow(Boxzin2[i], 0);
  1656.         TextDrawSetOutline(Boxzin2[i], 0);
  1657.         TextDrawFont(Boxzin2[i], 0);
  1658.        
  1659.         MetalF[i] = TextDrawCreate(564.500000, 312.937500, "2 x Metal");
  1660.         TextDrawLetterSize(MetalF[i], 0.248500, 1.429373);
  1661.         TextDrawAlignment(MetalF[i], 1);
  1662.         TextDrawColor(MetalF[i], -2139062017);
  1663.         TextDrawSetShadow(MetalF[i], 0);
  1664.         TextDrawSetOutline(MetalF[i], 1);
  1665.         TextDrawBackgroundColor(MetalF[i], 51);
  1666.         TextDrawFont(MetalF[i], 1);
  1667.         TextDrawSetProportional(MetalF[i], 1);
  1668.  
  1669.         LimiteMaterial[i] = TextDrawCreate(564.000000, 292.687500, "Limite");
  1670.         TextDrawLetterSize(LimiteMaterial[i], 0.248500, 1.429373);
  1671.         TextDrawAlignment(LimiteMaterial[i], 1);
  1672.         TextDrawColor(LimiteMaterial[i], -2139062017);
  1673.         TextDrawSetShadow(LimiteMaterial[i], 0);
  1674.         TextDrawSetOutline(LimiteMaterial[i], 1);
  1675.         TextDrawBackgroundColor(LimiteMaterial[i], 51);
  1676.         TextDrawFont(LimiteMaterial[i], 1);
  1677.         TextDrawSetProportional(LimiteMaterial[i], 1);
  1678.  
  1679.         //====================== Material Stats Text Draw ===============================//
  1680.  
  1681.         StatsTextDraw[i][0] = CreatePlayerTextDraw(i, 517.000000, 334.016540, "");
  1682.         PlayerTextDrawTextSize(i, StatsTextDraw[i][0], 67.000000, 59.000000);
  1683.         PlayerTextDrawAlignment(i, StatsTextDraw[i][0], 1);
  1684.         PlayerTextDrawColor(i, StatsTextDraw[i][0], -1);
  1685.         PlayerTextDrawBackgroundColor(i, StatsTextDraw[i][0], 0);
  1686.         PlayerTextDrawSetShadow(i, StatsTextDraw[i][0], 0);
  1687.         PlayerTextDrawFont(i, StatsTextDraw[i][0], 5);
  1688.         PlayerTextDrawSetProportional(i, StatsTextDraw[i][0], 0);
  1689.         PlayerTextDrawSetPreviewModel(i, StatsTextDraw[i][0], 0);
  1690.         PlayerTextDrawSetPreviewRot(i, StatsTextDraw[i][0], 0.000000, 0.000000, 0.000000, 1.000000);
  1691.  
  1692.         StatsTextDraw[i][1] = CreatePlayerTextDraw(i, 598.398193, 338.516815, "Mad:500_Ped:500~n~Met:500_Par:500~n~Bor:500_Fru:10~n~Pei:5_Carn:5~n~Cou:500_Agu:10");
  1693.         PlayerTextDrawLetterSize(i, StatsTextDraw[i][1], 0.213999, 0.995199);
  1694.         PlayerTextDrawTextSize(i, StatsTextDraw[i][1], 0.000000, 569.500000);
  1695.         PlayerTextDrawAlignment(i, StatsTextDraw[i][1], 2);
  1696.         PlayerTextDrawColor(i, StatsTextDraw[i][1], -1);
  1697.         PlayerTextDrawSetShadow(i, StatsTextDraw[i][1], 0);
  1698.         PlayerTextDrawSetOutline(i, StatsTextDraw[i][1], 1);
  1699.         PlayerTextDrawBackgroundColor(i, StatsTextDraw[i][1], 255);
  1700.         PlayerTextDrawFont(i, StatsTextDraw[i][1], 1);
  1701.         PlayerTextDrawSetProportional(i, StatsTextDraw[i][1], 1);
  1702.  
  1703.     }
  1704. //===============================================
  1705.     for(new i; i < MAX_BASES; i++)
  1706.     {
  1707.         CarregarBases(i);
  1708.     }
  1709.     for(new i; i < MAX_BANCADAS; i++)
  1710.     {
  1711.         CarregarBancadas(i);
  1712.     }
  1713.     for(new i; i < MAX_PORTAS; i++)
  1714.     {
  1715.         CarregarPortas(i);
  1716.     }
  1717.     for(new i; i < MAX_BAU; i++)
  1718.     {
  1719.         CarregarBaus(i);
  1720.     }
  1721.     for(new i; i < MAX_RAMPAS; i++)
  1722.     {
  1723.         CarregarRampas(i);
  1724.     }
  1725.     for(new i; i < MAX_DOOR; i++)
  1726.     {
  1727.         CarregarDoor(i);
  1728.     }
  1729.     for(new i; i < MAX_CAMA; i++)
  1730.     {
  1731.         CarregarCama(i);
  1732.     }
  1733.     for(new i; i < MAX_WINDOWN; i++)
  1734.     {
  1735.         CarregarWindowns(i);
  1736.     }
  1737.     for(new i; i < MAX_FORNO; i++)
  1738.     {
  1739.         CarregarForno(i);
  1740.     }
  1741.     return 1;
  1742. }
  1743.  
  1744.  
  1745. CarregarTextPlayer(playerid)
  1746. {
  1747.     PlayerRegistro[0] = CreatePlayerTextDraw(playerid, 263.777801, 153.962951, "Registrar");
  1748.     PlayerTextDrawLetterSize(playerid, PlayerRegistro[0], 0.480555, 1.496297);
  1749.     PlayerTextDrawAlignment(playerid, PlayerRegistro[0], 1);
  1750.     PlayerTextDrawColor(playerid, PlayerRegistro[0], -1);
  1751.     PlayerTextDrawSetShadow(playerid, PlayerRegistro[0], 0);
  1752.     PlayerTextDrawSetOutline(playerid, PlayerRegistro[0], 1);
  1753.     PlayerTextDrawBackgroundColor(playerid, PlayerRegistro[0], 255);
  1754.     PlayerTextDrawFont(playerid, PlayerRegistro[0], 2);
  1755.     PlayerTextDrawSetProportional(playerid, PlayerRegistro[0], 1);
  1756.  
  1757.     PlayerRegistro[1] = CreatePlayerTextDraw(playerid, 279.777709, 188.666687, "logar");
  1758.     PlayerTextDrawLetterSize(playerid, PlayerRegistro[1], 0.480555, 1.496297);
  1759.     PlayerTextDrawAlignment(playerid, PlayerRegistro[1], 1);
  1760.     PlayerTextDrawColor(playerid, PlayerRegistro[1], -1);
  1761.     PlayerTextDrawSetShadow(playerid, PlayerRegistro[1], 0);
  1762.     PlayerTextDrawSetOutline(playerid, PlayerRegistro[1], 1);
  1763.     PlayerTextDrawBackgroundColor(playerid, PlayerRegistro[1], 255);
  1764.     PlayerTextDrawFont(playerid, PlayerRegistro[1], 2);
  1765.     PlayerTextDrawSetProportional(playerid, PlayerRegistro[1], 1);
  1766.  
  1767.     PlayerRegistro[2] = CreatePlayerTextDraw(playerid, 269.666748, 224.925949, "creditos");
  1768.     PlayerTextDrawLetterSize(playerid, PlayerRegistro[2], 0.480555, 1.496297);
  1769.     PlayerTextDrawAlignment(playerid, PlayerRegistro[2], 1);
  1770.     PlayerTextDrawColor(playerid, PlayerRegistro[2], -1);
  1771.     PlayerTextDrawSetShadow(playerid, PlayerRegistro[2], 0);
  1772.     PlayerTextDrawSetOutline(playerid, PlayerRegistro[2], 1);
  1773.     PlayerTextDrawBackgroundColor(playerid, PlayerRegistro[2], 255);
  1774.     PlayerTextDrawFont(playerid, PlayerRegistro[2], 2);
  1775.     PlayerTextDrawSetProportional(playerid, PlayerRegistro[2], 1);
  1776.  
  1777.     PlayerRegistro[3] = CreatePlayerTextDraw(playerid, 292.333282, 261.185211, "sair");
  1778.     PlayerTextDrawLetterSize(playerid, PlayerRegistro[3], 0.480555, 1.496297);
  1779.     PlayerTextDrawAlignment(playerid, PlayerRegistro[3], 1);
  1780.     PlayerTextDrawColor(playerid, PlayerRegistro[3], -1);
  1781.     PlayerTextDrawSetShadow(playerid, PlayerRegistro[3], 0);
  1782.     PlayerTextDrawSetOutline(playerid, PlayerRegistro[3], 1);
  1783.     PlayerTextDrawBackgroundColor(playerid, PlayerRegistro[3], 255);
  1784.     PlayerTextDrawFont(playerid, PlayerRegistro[3], 2);
  1785.     PlayerTextDrawSetProportional(playerid, PlayerRegistro[3], 1);
  1786.    
  1787.     PlayerRegistro[4] = CreatePlayerTextDraw(playerid, 216.666641, 287.777770, "voltar");
  1788.     PlayerTextDrawLetterSize(playerid, PlayerRegistro[4], 0.196666, 0.754816);
  1789.     PlayerTextDrawAlignment(playerid, PlayerRegistro[4], 1);
  1790.     PlayerTextDrawColor(playerid, PlayerRegistro[4], -1);
  1791.     PlayerTextDrawSetShadow(playerid, PlayerRegistro[4], 0);
  1792.     PlayerTextDrawSetOutline(playerid, PlayerRegistro[4], 1);
  1793.     PlayerTextDrawBackgroundColor(playerid, PlayerRegistro[4], 255);
  1794.     PlayerTextDrawFont(playerid, PlayerRegistro[4], 2);
  1795.     PlayerTextDrawSetProportional(playerid, PlayerRegistro[4], 1);
  1796.     for(new a; a < sizeof(PlayerRegistro); ++a) PlayerTextDrawSetSelectable(playerid, PlayerText:PlayerRegistro[a], true);
  1797.  
  1798.     return 1;
  1799. }
  1800.  
  1801. stock CarregarPlayerText(playerid)
  1802. {
  1803.     INV_DESIGN[playerid][0] = CreatePlayerTextDraw(playerid,123.000000, 130.000000, "_");
  1804.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][0], 255);
  1805.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][0], 1);
  1806.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][0], 0.500000, 27.899990);
  1807.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][0], -1);
  1808.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][0], 0);
  1809.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][0], 1);
  1810.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][0], 1);
  1811.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][0], 1);
  1812.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][0], 117);
  1813.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][0], 477.000000, 0.000000);
  1814.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][0], 0);
  1815.  
  1816.     INV_DESIGN[playerid][1] = CreatePlayerTextDraw(playerid,123.000000, 130.000000, "_");
  1817.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][1], 255);
  1818.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][1], 1);
  1819.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][1], 0.500000, -0.599998);
  1820.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][1], -1);
  1821.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][1], 0);
  1822.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][1], 1);
  1823.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][1], 1);
  1824.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][1], 1);
  1825.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][1], 144);
  1826.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][1], 477.000000, 0.000000);
  1827.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][1], 0);
  1828.  
  1829.     INV_DESIGN[playerid][2] = CreatePlayerTextDraw(playerid,261.000000, 129.000000, "Inventario");
  1830.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][2], 255);
  1831.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][2], 3);
  1832.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][2], 0.500000, 1.000000);
  1833.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][2], -1);
  1834.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][2], 0);
  1835.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][2], 1);
  1836.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][2], 1);
  1837.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][2], 0);
  1838.  
  1839.     INV_DESIGN[playerid][3] = CreatePlayerTextDraw(playerid,468.000000, 129.000000, "X");
  1840.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][3], 255);
  1841.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][3], 3);
  1842.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][3], 0.500000, 1.000000);
  1843.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][3], -16776961);
  1844.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][3], 1);
  1845.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][3], 1);
  1846.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][3], 1);
  1847.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][3], -2021161216);
  1848.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][3], 477.000000, 10.000000);
  1849.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][3], 1);
  1850.  
  1851.     INV_DESIGN[playerid][4] = CreatePlayerTextDraw(playerid,126.000000, 148.000000, "_");
  1852.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][4], 255);
  1853.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][4], 1);
  1854.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][4], 0.500000, 17.999982);
  1855.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][4], -1);
  1856.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][4], 0);
  1857.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][4], 1);
  1858.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][4], 1);
  1859.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][4], 1);
  1860.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][4], -2021161184);
  1861.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][4], 474.000000, 0.000000);
  1862.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][4], 0);
  1863.  
  1864.     INV_DESIGN[playerid][5] = CreatePlayerTextDraw(playerid,126.000000, 130.000000, "__");
  1865.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][5], 255);
  1866.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][5], 3);
  1867.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][5], 0.500000, 1.000000);
  1868.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][5], -2021160961);
  1869.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][5], 1);
  1870.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][5], 1);
  1871.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][5], 1);
  1872.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][5], -2021161216);
  1873.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][5], 202.000000, 10.000000);
  1874.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][5], 0);
  1875.  
  1876.     INV_DESIGN[playerid][6] = CreatePlayerTextDraw(playerid,372.000000, 130.000000, "__");
  1877.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][6], 255);
  1878.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][6], 3);
  1879.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][6], 0.500000, 1.000000);
  1880.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][6], -2021160961);
  1881.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][6], 1);
  1882.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][6], 1);
  1883.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][6], 1);
  1884.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][6], -2021161216);
  1885.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][6], 443.000000, 10.000000);
  1886.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][6], 0);
  1887.  
  1888.     INV_DESIGN[playerid][7] = CreatePlayerTextDraw(playerid,182.000000, 148.000000, "_");
  1889.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][7], 255);
  1890.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][7], 1);
  1891.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][7], 0.500000, 17.799995);
  1892.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][7], -1);
  1893.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][7], 0);
  1894.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][7], 1);
  1895.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][7], 1);
  1896.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][7], 1);
  1897.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][7], 255);
  1898.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][7], 177.000000, 0.000000);
  1899.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][7], 0);
  1900.  
  1901.     INV_DESIGN[playerid][8] = CreatePlayerTextDraw(playerid,241.000000, 148.000000, "_");
  1902.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][8], 255);
  1903.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][8], 1);
  1904.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][8], 0.500000, 17.799999);
  1905.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][8], -1);
  1906.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][8], 0);
  1907.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][8], 1);
  1908.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][8], 1);
  1909.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][8], 1);
  1910.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][8], 255);
  1911.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][8], 236.000000, 0.000000);
  1912.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][8], 0);
  1913.  
  1914.     INV_DESIGN[playerid][9] = CreatePlayerTextDraw(playerid,301.000000, 148.000000, "_");
  1915.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][9], 255);
  1916.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][9], 1);
  1917.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][9], 0.500000, 17.899999);
  1918.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][9], -1);
  1919.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][9], 0);
  1920.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][9], 1);
  1921.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][9], 1);
  1922.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][9], 1);
  1923.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][9], 255);
  1924.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][9], 296.000000, 0.000000);
  1925.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][9], 0);
  1926.  
  1927.     INV_DESIGN[playerid][10] = CreatePlayerTextDraw(playerid,361.000000, 148.000000, "_");
  1928.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][10], 255);
  1929.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][10], 1);
  1930.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][10], 0.500000, 17.799999);
  1931.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][10], -1);
  1932.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][10], 0);
  1933.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][10], 1);
  1934.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][10], 1);
  1935.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][10], 1);
  1936.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][10], 255);
  1937.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][10], 356.000000, 0.000000);
  1938.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][10], 0);
  1939.  
  1940.     INV_DESIGN[playerid][11] = CreatePlayerTextDraw(playerid,420.000000, 148.000000, "_");
  1941.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][11], 255);
  1942.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][11], 1);
  1943.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][11], 0.500000, 17.999992);
  1944.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][11], -1);
  1945.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][11], 0);
  1946.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][11], 1);
  1947.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][11], 1);
  1948.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][11], 1);
  1949.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][11], 255);
  1950.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][11], 415.000000, 0.000000);
  1951.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][11], 0);
  1952.  
  1953.     INV_DESIGN[playerid][12] = CreatePlayerTextDraw(playerid,126.000000, 188.000000, "_");
  1954.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][12], 255);
  1955.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][12], 1);
  1956.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][12], 0.500000, -0.200000);
  1957.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][12], -1);
  1958.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][12], 0);
  1959.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][12], 1);
  1960.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][12], 1);
  1961.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][12], 1);
  1962.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][12], 255);
  1963.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][12], 475.000000, -3.000000);
  1964.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][12], 0);
  1965.  
  1966.     INV_DESIGN[playerid][13] = CreatePlayerTextDraw(playerid,126.000000, 229.000000, "_");
  1967.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][13], 255);
  1968.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][13], 1);
  1969.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][13], 0.500000, -0.200000);
  1970.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][13], -1);
  1971.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][13], 0);
  1972.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][13], 1);
  1973.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][13], 1);
  1974.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][13], 1);
  1975.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][13], 255);
  1976.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][13], 475.000000, -3.000000);
  1977.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][13], 0);
  1978.  
  1979.     INV_DESIGN[playerid][14] = CreatePlayerTextDraw(playerid,126.000000, 270.000000, "_");
  1980.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][14], 255);
  1981.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][14], 1);
  1982.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][14], 0.500000, -0.200000);
  1983.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][14], -1);
  1984.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][14], 0);
  1985.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][14], 1);
  1986.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][14], 1);
  1987.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][14], 1);
  1988.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][14], 255);
  1989.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][14], 475.000000, -3.000000);
  1990.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][14], 0);
  1991.  
  1992.     INV_DESIGN[playerid][15] = CreatePlayerTextDraw(playerid,126.000000, 312.000000, "_");
  1993.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][15], 255);
  1994.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][15], 1);
  1995.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][15], 0.500000, -0.200000);
  1996.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][15], -1);
  1997.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][15], 0);
  1998.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][15], 1);
  1999.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][15], 1);
  2000.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][15], 1);
  2001.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][15], 255);
  2002.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][15], 475.000000, -3.000000);
  2003.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][15], 0);
  2004.  
  2005.     INV_DESIGN[playerid][16] = CreatePlayerTextDraw(playerid,131.000000, 316.000000, "Maos");
  2006.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][16], -2021161104);
  2007.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][16], 5);
  2008.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][16], 0.500000, 1.000000);
  2009.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][16], -1);
  2010.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][16], 0);
  2011.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][16], 1);
  2012.     PlayerTextDrawSetShadow(playerid,INV_DESIGN[playerid][16], 1);
  2013.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][16], 1);
  2014.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][16], 255);
  2015.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][16], 79.000000, 61.000000);
  2016.     PlayerTextDrawSetPreviewModel(playerid, INV_DESIGN[playerid][16], 60000);
  2017.     PlayerTextDrawSetPreviewRot(playerid, INV_DESIGN[playerid][16], 1.000000, 1.000000, 1.000000, 1.000000);
  2018.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][16], 1);
  2019.  
  2020.     INV_DESIGN[playerid][17] = CreatePlayerTextDraw(playerid,428.000000, 321.000000, "USAR");
  2021.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][17], 255);
  2022.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][17], 3);
  2023.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][17], 0.410000, 1.500000);
  2024.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][17], -2021160961);
  2025.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][17], 1);
  2026.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][17], 1);
  2027.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][17], 1);
  2028.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][17], -2021161216);
  2029.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][17], 460.000000, 10.000000);
  2030.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][17], 1);
  2031.  
  2032.     INV_DESIGN[playerid][18] = CreatePlayerTextDraw(playerid,428.000000, 357.000000, "DROP");
  2033.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][18], 255);
  2034.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][18], 3);
  2035.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][18], 0.410000, 1.500000);
  2036.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][18], -2021160961);
  2037.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][18], 1);
  2038.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][18], 1);
  2039.     PlayerTextDrawUseBox(playerid,INV_DESIGN[playerid][18], 1);
  2040.     PlayerTextDrawBoxColor(playerid,INV_DESIGN[playerid][18], -2021161216);
  2041.     PlayerTextDrawTextSize(playerid,INV_DESIGN[playerid][18], 460.000000, 10.000000);
  2042.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][18], 1);
  2043.  
  2044.     INV_DESIGN[playerid][19] = CreatePlayerTextDraw(playerid,415.000000, 339.000000, "[]");
  2045.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][19], 255);
  2046.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][19], 0);
  2047.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][19], 0.410000, 1.500000);
  2048.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][19], -2021160961);
  2049.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][19], 1);
  2050.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][19], 1);
  2051.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][19], 0);
  2052.  
  2053.     INV_DESIGN[playerid][20] = CreatePlayerTextDraw(playerid,436.000000, 339.000000, "[]");
  2054.     PlayerTextDrawBackgroundColor(playerid,INV_DESIGN[playerid][20], 255);
  2055.     PlayerTextDrawFont(playerid,INV_DESIGN[playerid][20], 0);
  2056.     PlayerTextDrawLetterSize(playerid,INV_DESIGN[playerid][20], 0.410000, 1.500000);
  2057.     PlayerTextDrawColor(playerid,INV_DESIGN[playerid][20], -2021160961);
  2058.     PlayerTextDrawSetOutline(playerid,INV_DESIGN[playerid][20], 1);
  2059.     PlayerTextDrawSetProportional(playerid,INV_DESIGN[playerid][20], 1);
  2060.     PlayerTextDrawSetSelectable(playerid,INV_DESIGN[playerid][20], 0);
  2061.  
  2062.     INV_SLOTS[playerid][0] = CreatePlayerTextDraw(playerid,112.000000, 133.000000, "Item00");
  2063.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][0], -2021161216);
  2064.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][0], 5);
  2065.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][0], 0.500000, 1.000000);
  2066.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][0], -1);
  2067.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][0], 0);
  2068.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][0], 1);
  2069.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][0], 1);
  2070.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][0], 1);
  2071.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][0], 255);
  2072.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][0], 79.000000, 61.000000);
  2073.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][0], 11738);
  2074.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][0], 1.000000, 1.000000, 1.000000, 1.000000);
  2075.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][0], 1);
  2076.  
  2077.     INV_SLOTS[playerid][1] = CreatePlayerTextDraw(playerid,170.000000, 133.000000, "Item01");
  2078.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][1], -2021161216);
  2079.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][1], 5);
  2080.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][1], 0.500000, 1.000000);
  2081.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][1], -1);
  2082.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][1], 0);
  2083.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][1], 1);
  2084.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][1], 1);
  2085.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][1], 1);
  2086.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][1], 255);
  2087.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][1], 79.000000, 61.000000);
  2088.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][1], 11738);
  2089.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][1], 1.000000, 1.000000, 1.000000, 1.000000);
  2090.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][1], 1);
  2091.  
  2092.     INV_SLOTS[playerid][2] = CreatePlayerTextDraw(playerid,229.000000, 133.000000, "Item02");
  2093.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][2], -2021161216);
  2094.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][2], 5);
  2095.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][2], 0.500000, 1.000000);
  2096.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][2], -1);
  2097.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][2], 0);
  2098.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][2], 1);
  2099.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][2], 1);
  2100.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][2], 1);
  2101.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][2], 255);
  2102.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][2], 79.000000, 61.000000);
  2103.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][2], 11738);
  2104.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][2], 1.000000, 1.000000, 1.000000, 1.000000);
  2105.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][2], 1);
  2106.  
  2107.     INV_SLOTS[playerid][3] = CreatePlayerTextDraw(playerid,290.000000, 133.000000, "Item03");
  2108.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][3], -2021161216);
  2109.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][3], 5);
  2110.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][3], 0.500000, 1.000000);
  2111.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][3], -1);
  2112.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][3], 0);
  2113.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][3], 1);
  2114.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][3], 1);
  2115.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][3], 1);
  2116.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][3], 255);
  2117.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][3], 79.000000, 61.000000);
  2118.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][3], 11738);
  2119.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][3], 1.000000, 1.000000, 1.000000, 1.000000);
  2120.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][3], 1);
  2121.  
  2122.     INV_SLOTS[playerid][4] = CreatePlayerTextDraw(playerid,348.000000, 133.000000, "Item04");
  2123.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][4], -2021161216);
  2124.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][4], 5);
  2125.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][4], 0.500000, 1.000000);
  2126.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][4], -1);
  2127.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][4], 0);
  2128.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][4], 1);
  2129.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][4], 1);
  2130.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][4], 1);
  2131.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][4], 255);
  2132.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][4], 79.000000, 61.000000);
  2133.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][4], 11738);
  2134.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][4], 1.000000, 1.000000, 1.000000, 1.000000);
  2135.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][4], 1);
  2136.  
  2137.     INV_SLOTS[playerid][5] = CreatePlayerTextDraw(playerid,408.000000, 133.000000, "Item05");
  2138.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][5], -2021161216);
  2139.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][5], 5);
  2140.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][5], 0.500000, 1.000000);
  2141.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][5], -1);
  2142.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][5], 0);
  2143.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][5], 1);
  2144.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][5], 1);
  2145.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][5], 1);
  2146.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][5], 255);
  2147.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][5], 79.000000, 61.000000);
  2148.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][5], 11738);
  2149.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][5], 1.000000, 1.000000, 1.000000, 1.000000);
  2150.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][5], 1);
  2151.  
  2152.     INV_SLOTS[playerid][6] = CreatePlayerTextDraw(playerid,112.000000, 175.000000, "Item06");
  2153.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][6], -2021161216);
  2154.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][6], 5);
  2155.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][6], 0.500000, 1.000000);
  2156.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][6], -1);
  2157.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][6], 0);
  2158.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][6], 1);
  2159.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][6], 1);
  2160.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][6], 1);
  2161.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][6], 255);
  2162.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][6], 79.000000, 61.000000);
  2163.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][6], 11738);
  2164.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][6], 1.000000, 1.000000, 1.000000, 1.000000);
  2165.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][6], 1);
  2166.  
  2167.     INV_SLOTS[playerid][7] = CreatePlayerTextDraw(playerid,112.000000, 216.000000, "Item07");
  2168.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][7], -2021161216);
  2169.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][7], 5);
  2170.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][7], 0.500000, 1.000000);
  2171.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][7], -1);
  2172.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][7], 0);
  2173.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][7], 1);
  2174.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][7], 1);
  2175.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][7], 1);
  2176.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][7], 255);
  2177.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][7], 79.000000, 61.000000);
  2178.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][7], 11738);
  2179.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][7], 1.000000, 1.000000, 1.000000, 1.000000);
  2180.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][7], 1);
  2181.  
  2182.     INV_SLOTS[playerid][8] = CreatePlayerTextDraw(playerid,112.000000, 258.000000, "Item08");
  2183.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][8], -2021161216);
  2184.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][8], 5);
  2185.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][8], 0.500000, 1.000000);
  2186.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][8], -1);
  2187.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][8], 0);
  2188.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][8], 1);
  2189.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][8], 1);
  2190.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][8], 1);
  2191.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][8], 255);
  2192.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][8], 79.000000, 61.000000);
  2193.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][8], 11738);
  2194.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][8], 1.000000, 1.000000, 1.000000, 1.000000);
  2195.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][8], 1);
  2196.  
  2197.     INV_SLOTS[playerid][9] = CreatePlayerTextDraw(playerid,170.000000, 258.000000, "Item09");
  2198.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][9], -2021161216);
  2199.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][9], 5);
  2200.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][9], 0.500000, 1.000000);
  2201.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][9], -1);
  2202.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][9], 0);
  2203.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][9], 1);
  2204.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][9], 1);
  2205.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][9], 1);
  2206.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][9], 255);
  2207.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][9], 79.000000, 61.000000);
  2208.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][9], 11738);
  2209.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][9], 1.000000, 1.000000, 1.000000, 1.000000);
  2210.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][9], 1);
  2211.  
  2212.     INV_SLOTS[playerid][10] = CreatePlayerTextDraw(playerid,229.000000, 258.000000, "Item10");
  2213.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][10], -2021161216);
  2214.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][10], 5);
  2215.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][10], 0.500000, 1.000000);
  2216.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][10], -1);
  2217.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][10], 0);
  2218.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][10], 1);
  2219.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][10], 1);
  2220.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][10], 1);
  2221.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][10], 255);
  2222.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][10], 79.000000, 61.000000);
  2223.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][10], 11738);
  2224.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][10], 1.000000, 1.000000, 1.000000, 1.000000);
  2225.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][10], 1);
  2226.  
  2227.     INV_SLOTS[playerid][11] = CreatePlayerTextDraw(playerid,287.000000, 258.000000, "Item11");
  2228.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][11], -2021161216);
  2229.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][11], 5);
  2230.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][11], 0.500000, 1.000000);
  2231.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][11], -1);
  2232.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][11], 0);
  2233.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][11], 1);
  2234.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][11], 1);
  2235.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][11], 1);
  2236.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][11], 255);
  2237.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][11], 79.000000, 61.000000);
  2238.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][11], 11738);
  2239.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][11], 1.000000, 1.000000, 1.000000, 1.000000);
  2240.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][11], 1);
  2241.  
  2242.     INV_SLOTS[playerid][12] = CreatePlayerTextDraw(playerid,348.000000, 258.000000, "Item12");
  2243.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][12], -2021161216);
  2244.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][12], 5);
  2245.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][12], 0.500000, 1.000000);
  2246.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][12], -1);
  2247.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][12], 0);
  2248.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][12], 1);
  2249.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][12], 1);
  2250.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][12], 1);
  2251.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][12], 255);
  2252.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][12], 79.000000, 61.000000);
  2253.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][12], 11738);
  2254.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][12], 1.000000, 1.000000, 1.000000, 1.000000);
  2255.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][12], 1);
  2256.  
  2257.     INV_SLOTS[playerid][13] = CreatePlayerTextDraw(playerid,407.000000, 258.000000, "Item13");
  2258.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][13], -2021161216);
  2259.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][13], 5);
  2260.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][13], 0.500000, 1.000000);
  2261.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][13], -1);
  2262.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][13], 0);
  2263.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][13], 1);
  2264.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][13], 1);
  2265.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][13], 1);
  2266.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][13], 255);
  2267.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][13], 79.000000, 61.000000);
  2268.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][13], 11738);
  2269.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][13], 1.000000, 1.000000, 1.000000, 1.000000);
  2270.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][13], 1);
  2271.  
  2272.     INV_SLOTS[playerid][14] = CreatePlayerTextDraw(playerid,407.000000, 215.000000, "Item14");
  2273.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][14], -2021161216);
  2274.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][14], 5);
  2275.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][14], 0.500000, 1.000000);
  2276.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][14], -1);
  2277.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][14], 0);
  2278.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][14], 1);
  2279.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][14], 1);
  2280.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][14], 1);
  2281.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][14], 255);
  2282.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][14], 79.000000, 61.000000);
  2283.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][14], 11738);
  2284.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][14], 1.000000, 1.000000, 1.000000, 1.000000);
  2285.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][14], 1);
  2286.  
  2287.     INV_SLOTS[playerid][15] = CreatePlayerTextDraw(playerid,347.000000, 215.000000, "Item15");
  2288.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][15], -2021161216);
  2289.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][15], 5);
  2290.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][15], 0.500000, 1.000000);
  2291.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][15], -1);
  2292.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][15], 0);
  2293.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][15], 1);
  2294.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][15], 1);
  2295.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][15], 1);
  2296.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][15], 255);
  2297.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][15], 79.000000, 61.000000);
  2298.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][15], 11738);
  2299.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][15], 1.000000, 1.000000, 1.000000, 1.000000);
  2300.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][15], 1);
  2301.  
  2302.     INV_SLOTS[playerid][16] = CreatePlayerTextDraw(playerid,289.000000, 215.000000, "Item16");
  2303.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][16], -2021161216);
  2304.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][16], 5);
  2305.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][16], 0.500000, 1.000000);
  2306.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][16], -1);
  2307.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][16], 0);
  2308.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][16], 1);
  2309.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][16], 1);
  2310.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][16], 1);
  2311.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][16], 255);
  2312.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][16], 79.000000, 61.000000);
  2313.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][16], 11738);
  2314.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][16], 1.000000, 1.000000, 1.000000, 1.000000);
  2315.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][16], 1);
  2316.  
  2317.     INV_SLOTS[playerid][17] = CreatePlayerTextDraw(playerid,229.000000, 215.000000, "Item17");
  2318.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][17], -2021161216);
  2319.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][17], 5);
  2320.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][17], 0.500000, 1.000000);
  2321.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][17], -1);
  2322.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][17], 0);
  2323.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][17], 1);
  2324.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][17], 1);
  2325.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][17], 1);
  2326.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][17], 255);
  2327.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][17], 79.000000, 61.000000);
  2328.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][17], 11738);
  2329.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][17], 1.000000, 1.000000, 1.000000, 1.000000);
  2330.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][17], 1);
  2331.  
  2332.     INV_SLOTS[playerid][18] = CreatePlayerTextDraw(playerid,169.000000, 215.000000, "Item18");
  2333.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][18], -2021161216);
  2334.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][18], 5);
  2335.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][18], 0.500000, 1.000000);
  2336.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][18], -1);
  2337.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][18], 0);
  2338.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][18], 1);
  2339.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][18], 1);
  2340.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][18], 1);
  2341.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][18], 255);
  2342.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][18], 79.000000, 61.000000);
  2343.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][18], 11738);
  2344.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][18], 1.000000, 1.000000, 1.000000, 1.000000);
  2345.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][18], 1);
  2346.  
  2347.     INV_SLOTS[playerid][19] = CreatePlayerTextDraw(playerid,169.000000, 176.000000, "Item19");
  2348.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][19], -2021161216);
  2349.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][19], 5);
  2350.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][19], 0.500000, 1.000000);
  2351.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][19], -1);
  2352.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][19], 0);
  2353.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][19], 1);
  2354.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][19], 1);
  2355.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][19], 1);
  2356.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][19], 255);
  2357.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][19], 79.000000, 61.000000);
  2358.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][19], 11738);
  2359.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][19], 1.000000, 1.000000, 1.000000, 1.000000);
  2360.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][19], 1);
  2361.  
  2362.     INV_SLOTS[playerid][20] = CreatePlayerTextDraw(playerid,228.000000, 176.000000, "Item20");
  2363.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][20], -2021161216);
  2364.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][20], 5);
  2365.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][20], 0.500000, 1.000000);
  2366.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][20], -1);
  2367.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][20], 0);
  2368.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][20], 1);
  2369.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][20], 1);
  2370.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][20], 1);
  2371.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][20], 255);
  2372.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][20], 79.000000, 61.000000);
  2373.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][20], 11738);
  2374.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][20], 1.000000, 1.000000, 1.000000, 1.000000);
  2375.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][20], 1);
  2376.  
  2377.     INV_SLOTS[playerid][21] = CreatePlayerTextDraw(playerid,289.000000, 176.000000, "Item21");
  2378.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][21], -2021161216);
  2379.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][21], 5);
  2380.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][21], 0.500000, 1.000000);
  2381.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][21], -1);
  2382.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][21], 0);
  2383.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][21], 1);
  2384.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][21], 1);
  2385.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][21], 1);
  2386.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][21], 255);
  2387.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][21], 79.000000, 61.000000);
  2388.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][21], 11738);
  2389.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][21], 1.000000, 1.000000, 1.000000, 1.000000);
  2390.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][21], 1);
  2391.  
  2392.     INV_SLOTS[playerid][22] = CreatePlayerTextDraw(playerid,348.000000, 176.000000, "Item22");
  2393.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][22], -2021161216);
  2394.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][22], 5);
  2395.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][22], 0.500000, 1.000000);
  2396.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][22], -1);
  2397.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][22], 0);
  2398.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][22], 1);
  2399.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][22], 1);
  2400.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][22], 1);
  2401.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][22], 255);
  2402.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][22], 79.000000, 61.000000);
  2403.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][22], 11738);
  2404.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][22], 1.000000, 1.000000, 1.000000, 1.000000);
  2405.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][22], 1);
  2406.  
  2407.     INV_SLOTS[playerid][23] = CreatePlayerTextDraw(playerid,407.000000, 176.000000, "Item23");
  2408.     PlayerTextDrawBackgroundColor(playerid,INV_SLOTS[playerid][23], -2021161216);
  2409.     PlayerTextDrawFont(playerid,INV_SLOTS[playerid][23], 5);
  2410.     PlayerTextDrawLetterSize(playerid,INV_SLOTS[playerid][23], 0.500000, 1.000000);
  2411.     PlayerTextDrawColor(playerid,INV_SLOTS[playerid][23], -1);
  2412.     PlayerTextDrawSetOutline(playerid,INV_SLOTS[playerid][23], 0);
  2413.     PlayerTextDrawSetProportional(playerid,INV_SLOTS[playerid][23], 1);
  2414.     PlayerTextDrawSetShadow(playerid,INV_SLOTS[playerid][23], 1);
  2415.     PlayerTextDrawUseBox(playerid,INV_SLOTS[playerid][23], 1);
  2416.     PlayerTextDrawBoxColor(playerid,INV_SLOTS[playerid][23], 255);
  2417.     PlayerTextDrawTextSize(playerid,INV_SLOTS[playerid][23], 79.000000, 61.000000);
  2418.     PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][23], 11738);
  2419.     PlayerTextDrawSetPreviewRot(playerid, INV_SLOTS[playerid][23], 1.000000, 1.000000, 1.000000, 1.000000);
  2420.     PlayerTextDrawSetSelectable(playerid,INV_SLOTS[playerid][23], 1);
  2421.  
  2422.     return 1;
  2423. }
  2424.  
  2425. public OnGameModeExit()
  2426. {
  2427.     for(new i; i < MAX_BASES; i++)
  2428.     {
  2429.         if(Base[i][Existe]) SalvarBases(i);
  2430.     }
  2431.     for(new i; i < MAX_BANCADAS; i++)
  2432.     {
  2433.         if(Bancada[i][Existe]) SalvarBancadas(i);
  2434.     }
  2435.     for(new i; i < MAX_PORTAS; i++)
  2436.     {
  2437.         if(Porta[i][Existe]) SalvarPortas(i);
  2438.     }
  2439.     for(new i; i < MAX_BAU; i++)
  2440.     {
  2441.         if(Bau[i][Existe]) SalvarBaus(i);
  2442.     }
  2443.     for(new i; i < MAX_RAMPAS; i++)
  2444.     {
  2445.         if(Rampa[i][Existe]) SalvarRampas(i);
  2446.     }
  2447.     for(new i; i < MAX_DOOR; i++)
  2448.     {
  2449.         if(Door[i][Existe]) SalvarDoor(i);
  2450.     }
  2451.     for(new i; i < MAX_CAMA; i++)
  2452.     {
  2453.         if(Cama[i][Existe]) SalvarCama(i);
  2454.     }
  2455.     for(new i; i < MAX_WINDOWN; i++)
  2456.     {
  2457.         if(Windown[i][Existe]) SalvarWindowns(i);
  2458.     }
  2459.     for(new i; i < MAX_FORNO; i++)
  2460.     {
  2461.         if(Forno[i][Existe]) SalvarForno(i);
  2462.     }
  2463.     HideProgressBarForAll(FomeA);
  2464.     HideProgressBarForAll(SedeB);
  2465.     HideProgressBarForAll(FrioD);
  2466.     DOF2_Exit();
  2467.     return 1;
  2468. }
  2469.  
  2470. public OnPlayerRequestClass(playerid, classid)
  2471. {
  2472.     TogglePlayerSpectating(playerid, 1);
  2473.     InterpolateCameraPos(playerid, -2397.553710, 1436.038452, 140.798019, -2876.055175, 1382.189697, 159.150161, 17000);
  2474.     InterpolateCameraLookAt(playerid, -2401.776855, 1438.431640, 139.599197, -2872.188964, 1384.818359, 157.377395, 17000);
  2475.     return 1;
  2476. }
  2477.  
  2478. public OnPlayerConnect(playerid)
  2479. {
  2480.     PlayerPlaySound(playerid, 176, 0, 0, 0);
  2481.     SetPlayerColor(playerid, 0xFFFFFFAA);
  2482.     TogglePlayerClock(playerid, 0);
  2483.     SetPlayerTime(playerid, 0, 0);
  2484.     EditBaseID[playerid] = -1;
  2485.     EditBancadaID[playerid] = -1;
  2486.     EditPortaID[playerid] = -1;
  2487.     EditBauID[playerid] = -1;
  2488.     EditRampaID[playerid] = -1;
  2489.     EditDoorID[playerid] = -1;
  2490.     EditCamaID[playerid] = -1;
  2491.     EditWindownID[playerid] = -1;
  2492.     EditFornoID[playerid] = -1;
  2493.     PortaAberta[playerid] = false;
  2494.     pInfo[playerid][pSlots] = 0;
  2495.     pInfo[playerid][pBackpack] = 24;
  2496.     new strdialog[512];
  2497.     format(arquivo1, sizeof arquivo1, "lang/%s.ini",Nome(playerid));
  2498.     idioma[playerid] = DOF2_GetInt(arquivo1,"Idioma"); // Puxa o idioma do arquivo
  2499.     if(idioma[playerid]==0)
  2500.     {
  2501.     format(strdialog, sizeof(strdialog),"%s%s",strdialog, "Selecione seu idioma/Select your langague");
  2502.     return ShowPlayerDialog(playerid, 9548, DIALOG_STYLE_MSGBOX, "Idioma/Langague", strdialog, "Português", "English");
  2503.     }
  2504.     if(idioma[playerid]==PT)format(string1, sizeof string1,"%s logou", Nome(playerid)); // String em português
  2505.     if(idioma[playerid]==EN)format(string1, sizeof string1,"%s login", Nome(playerid)); // String em inglês
  2506.     SendClientMessageToAll(verde,string1);
  2507. //================================================
  2508.     SedeT[playerid] = CreatePlayerTextDraw(playerid,564.000000, 111.000000, "");
  2509.     PlayerTextDrawBackgroundColor(playerid, SedeT[playerid], 255);
  2510.     PlayerTextDrawFont(playerid, SedeT[playerid], 0);
  2511.     PlayerTextDrawLetterSize(playerid, SedeT[playerid], 0.320000, 1.100000);
  2512.     PlayerTextDrawColor(playerid, SedeT[playerid], 0xFFFFFFFF);
  2513.     PlayerTextDrawSetOutline(playerid, SedeT[playerid], 1);
  2514.     PlayerTextDrawSetProportional(playerid, SedeT[playerid], 1);
  2515.     return 1;
  2516. }
  2517.  
  2518. public OnPlayerDisconnect(playerid, reason)
  2519. {
  2520.     SalvarPlayer(playerid);
  2521.     return 1;
  2522. }
  2523.  
  2524. public OnPlayerSpawn(playerid)
  2525. {
  2526.     PlayerPlaySound(playerid, 0, 0, 0, 0);
  2527.     SetPlayerPos(playerid, -601.9653,-2654.6538,136.7200);
  2528.     SetPlayerAttachedObject(playerid, 1,371,1,0.01,-0.1,0.0,0.0,90.0,0.0,0.9,1.0,0.9,-1,0);
  2529.     GivePlayerWeapon(playerid, 4, 1);
  2530.     GangZoneShowForPlayer(playerid, BlackRadar, 0x000000FF);
  2531.     GangZoneShowForPlayer(playerid, RadarPreto, 0x000000FF);
  2532.     SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]);
  2533.     PlayerTextDrawSetPreviewModel(playerid, StatsTextDraw[playerid][0], PlayerInfo[playerid][Skin]);
  2534.     PlayerTextDrawShow(playerid, SedeT[playerid]);
  2535.     TextDrawShowForPlayer(playerid, FrioT);
  2536.     TextDrawShowForPlayer(playerid, DataC);
  2537.     TextDrawShowForPlayer(playerid, forum1);
  2538.     TextDrawShowForPlayer(playerid, forum2);
  2539.     TextDrawShowForPlayer(playerid, forum3);
  2540.     TextDrawShowForPlayer(playerid, barrinha1);
  2541.     TextDrawShowForPlayer(playerid, barrinha2);
  2542.     TextDrawShowForPlayer(playerid, Textdraw0);
  2543.     TextDrawShowForPlayer(playerid, TextGPS);
  2544.     TextDrawShowForPlayer(playerid, TextCash1);
  2545.     TextDrawShowForPlayer(playerid, TextCash2);
  2546.     TextDrawShowForPlayer(playerid, TextCash3);
  2547.     TextDrawShowForPlayer(playerid, TextDin0);
  2548.     TextDrawShowForPlayer(playerid, TextDin1);
  2549.     TextDrawShowForPlayer(playerid, TextDin2);
  2550.     TextDrawShowForPlayer(playerid, sprite1);
  2551.     TextDrawShowForPlayer(playerid, sprite2);
  2552.     TextDrawShowForPlayer(playerid, STILogoTextDraw[0]);
  2553.     TextDrawShowForPlayer(playerid, STILogoTextDraw[1]);
  2554.     TextDrawShowForPlayer(playerid, StatsTextDrawContainer[0]);
  2555.     TextDrawShowForPlayer(playerid, StatsTextDrawContainer[1]);
  2556.     PlayerTextDrawShow(playerid, StatsTextDraw[playerid][0]);
  2557.     PlayerTextDrawShow(playerid, StatsTextDraw[playerid][1]);
  2558.     PlayerTextDrawHide(playerid,PlayerRegistro[0]);
  2559.     SetPVarInt(playerid,"Fome", 99);
  2560.     ShowProgressBarForPlayer(playerid, FomeA);
  2561.     SetPVarInt(playerid,"Sede", 99);
  2562.     ShowProgressBarForPlayer(playerid, SedeB);
  2563.     SetPVarInt(playerid,"Frio", 99);
  2564.     ShowProgressBarForPlayer(playerid, FrioD);
  2565.     new Nami[24];
  2566.     format(Nami,sizeof(Nami),"%s", Nome(playerid));
  2567.     TextDrawSetString(TextDin1, Nami);
  2568. //============================================================================//
  2569.     SetTimerEx("Fome",FomeTempo, 120000, "i", playerid);
  2570.     SetTimerEx("Sede",SedeTempo, 60000, "i", playerid);
  2571.     SetTimerEx("Frio",FrioTempo, 180000, "i", playerid);
  2572.     SetTimerEx("Correction", 1000, true, "i", playerid);
  2573.     SetTimer("Relogio",1000,true);
  2574.     return 1;
  2575. }
  2576.  
  2577. public OnPlayerDeath(playerid, killerid, reason)
  2578. {
  2579.     if(killerid != INVALID_PLAYER_ID)
  2580.     {
  2581.         SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
  2582.         PlayerInfo[playerid][Cash] += 1;
  2583.         SalvarPlayer(playerid);
  2584.     }
  2585.     GameTextForPlayer(playerid, "~r~Voce Morreu", 5000, 1);
  2586.     SetProgressBarValue(FomeA, 100);
  2587.     UpdateProgressBar(FomeA,playerid);
  2588.     SetPVarInt(playerid,"Fome", 100);
  2589.     SetProgressBarValue(SedeB, 100);
  2590.     UpdateProgressBar(SedeB,playerid);
  2591.     SetPVarInt(playerid,"Sede", 100);
  2592.     SetProgressBarValue(FrioD, 100);
  2593.     UpdateProgressBar(FrioD,playerid);
  2594.     SetPVarInt(playerid,"Frio", 100);
  2595.     return 1;
  2596. }
  2597.  
  2598. public OnVehicleSpawn(vehicleid)
  2599. {
  2600.     return 1;
  2601. }
  2602.  
  2603. public OnVehicleDeath(vehicleid, killerid)
  2604. {
  2605.     return 1;
  2606. }
  2607.  
  2608. public OnPlayerText(playerid, text[])
  2609. {
  2610.     if(PlayerInfo[playerid][Logado] == false) return 0;
  2611.  
  2612.     if(calado[playerid] == true)
  2613.     {
  2614.         SendClientMessage(playerid,fail,"[!] Você foi calado e não poderá mais falar.");
  2615.         return 0;
  2616.     }
  2617.     return 1;
  2618. }
  2619.  
  2620. public OnPlayerCommandText(playerid, cmdtext[])
  2621. {
  2622.     if (strcmp(cmdtext, "/camera", true) == 0)
  2623.     {
  2624.         if(pUsarCamera[playerid] == 0)
  2625.         {
  2626.             SendClientMessage(playerid, -1, "Pronto! Agora você podera usar camera em primeira pessoa!");
  2627.             SendClientMessage(playerid, -1, "Para usar pressione e tecla de barra invertida ou use /primeiro.");
  2628.             pUsarCamera[playerid] = 1;
  2629.         }
  2630.         else if(pUsarCamera[playerid] == 1)
  2631.         {
  2632.             if(pPrimeiro[playerid] == 0)//camera desligada
  2633.             {
  2634.                 SendClientMessage(playerid, VERMELHO, "Ativação desligada! Você desabilitou a camera em primeira pessoa.");
  2635.                 pUsarCamera[playerid] = 0;
  2636.             }
  2637.             else
  2638.             {
  2639.                 SendClientMessage(playerid, VERDE, "   Sua camera esta ativada, desative-a antes.");
  2640.             }
  2641.         }
  2642.         return true;
  2643.     }
  2644.     if(strcmp(cmdtext, "/primeira", true) == 0)
  2645.     {
  2646.         if(pUsarCamera[playerid] == 1)
  2647.         {
  2648.             if(IsPlayerInAnyVehicle(playerid))
  2649.             {
  2650.                 SendClientMessage(playerid,VERDE,"Você não pode usar essa camêra em um veiculo!");
  2651.             }
  2652.             if(pPrimeiro[playerid] == 0)
  2653.             {
  2654.                 CameraPrimeira(playerid,1);
  2655.                 GameTextForPlayer(playerid, "~w~camera~g~ ligada", 5000, 6);
  2656.                 pPrimeiro[playerid] = 1;//ligou a camera
  2657.             }
  2658.             else
  2659.             {
  2660.                 pPrimeiro[playerid] = 0;
  2661.                 GameTextForPlayer(playerid, "~w~camera~r~ desligada", 5000, 6);
  2662.                 CameraPrimeira(playerid,0);
  2663.             }
  2664.         }
  2665.         else
  2666.         {
  2667.             SendClientMessage(playerid, VERDE, "Para poder usar camera em primeira pessoa tera que usar /camera antes!");
  2668.         }
  2669.         return 1;
  2670.     }
  2671.     if(strcmp(cmdtext, "/bandito", true) == 0)
  2672.     {
  2673.         if(PlayerInfo[playerid][Madeira] >= 1)
  2674.         {
  2675.             new Float:X, Float:Y, Float:Z, Float:A;
  2676.             GetPlayerPos(playerid, X, Y, Z);
  2677.             GetPlayerFacingAngle(playerid, A);
  2678.             CreateVehicle(568, X, Y+2, Z+1, A+180, -1, -1, 60);
  2679.             GameTextForPlayer(playerid, "~b~BANDITAO", 200, 0);
  2680.             PlayerInfo[playerid][Madeira] -= 1;
  2681.         }
  2682.         return 1;
  2683.     }
  2684.     if(strcmp(cmdtext, "/inv", true) == 0 || strcmp(cmdtext, "/inventario", true) == 0)
  2685.     {
  2686.         MostrarInventario(playerid);
  2687.         return 1;
  2688.     }
  2689.     if(strcmp(cmdtext, "/kit basico", true) == 0 || strcmp(cmdtext, "/kit basic", true) == 0)
  2690.     {
  2691.         if(PegouPresente[playerid] == 0)
  2692.         {
  2693.             SetPlayerArmour(playerid, 25.0);
  2694.             GivePlayerWeapon(playerid, 33, 10);
  2695.             GivePlayerWeapon(playerid, 1, 1);
  2696.             GivePlayerWeapon(playerid, 4, 1);
  2697.             PegouPresente[playerid] = 1;
  2698.             if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] O Player {FFFFFF}%s {FF6600}acabou de pegar seu kit basico, pegue você tambem digite: {FFFFFF}/kit basico", Nome(playerid)); // String em português
  2699.             if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Player {FFFFFF}%s {FF6600}just got his kit basic, get you also type: {FFFFFF}/kit basic", Nome(playerid)); // String em inglês
  2700.             SendClientMessageToAll(LARANJA, string1);
  2701.             SetTimer("Payday", 1800000, 0);
  2702.         }
  2703.         else if(PegouPresente[playerid] == 1)
  2704.         {
  2705.             if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você já pegou seu kit basico, espere 20 minutos para pegar de novo!"); // String em português
  2706.             if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You already got your kit basics, wait 20 minutes to get it again!"); // String em inglês
  2707.             SendClientMessageToAll(fail, string1);
  2708.         }
  2709.     return 1;
  2710.     }
  2711.     if(strcmp(cmdtext, "/editar bau", true) == 0)
  2712.     {
  2713.         if(EditBauID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2714.         new id = GetPlayerRangeBau(playerid);
  2715.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2716.         if(strcmp(Bau[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2717.         EditBauID[playerid] = id;
  2718.         EditDynamicObject(playerid, Bau[id][ObjectD]);
  2719.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2720.         return 1;
  2721.     }
  2722.     if(strcmp(cmdtext, "/editar cama", true) == 0)
  2723.     {
  2724.         if(EditCamaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2725.         new id = GetPlayerRangeCama(playerid);
  2726.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2727.         if(strcmp(Cama[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2728.         EditCamaID[playerid] = id;
  2729.         EditDynamicObject(playerid, Cama[id][ObjectG]);
  2730.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2731.         return 1;
  2732.     }
  2733.     if(strcmp(cmdtext, "/editar forno", true) == 0)
  2734.     {
  2735.         if(EditFornoID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2736.         new id = GetPlayerRangeForno(playerid);
  2737.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2738.         if(strcmp(Forno[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2739.         EditFornoID[playerid] = id;
  2740.         EditDynamicObject(playerid, Forno[id][ObjectJ]);
  2741.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2742.         return 1;
  2743.     }
  2744.     if(strcmp(cmdtext, "/editar windown", true) == 0)
  2745.     {
  2746.         if(EditWindownID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2747.         new id = GetPlayerRangeWindown(playerid);
  2748.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2749.         if(strcmp(Windown[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2750.         EditWindownID[playerid] = id;
  2751.         EditDynamicObject(playerid, Windown[id][ObjectH]);
  2752.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2753.         return 1;
  2754.     }
  2755.     if(strcmp(cmdtext, "/editar door", true) == 0)
  2756.     {
  2757.         if(EditDoorID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2758.         new id = GetPlayerRangeDoor(playerid);
  2759.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2760.         if(strcmp(Door[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2761.         EditDoorID[playerid] = id;
  2762.         EditDynamicObject(playerid, Door[id][ObjectF]);
  2763.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2764.         return 1;
  2765.     }
  2766.     if(strcmp(cmdtext, "/editar rampa", true) == 0)
  2767.     {
  2768.         if(EditRampaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2769.         new id = GetPlayerRangeRampa(playerid);
  2770.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2771.         if(strcmp(Rampa[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2772.         EditRampaID[playerid] = id;
  2773.         EditDynamicObject(playerid, Rampa[id][ObjectE]);
  2774.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2775.         return 1;
  2776.     }
  2777.     if(strcmp(cmdtext, "/editar porta", true) == 0)
  2778.     {
  2779.         if(EditPortaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2780.         new id = GetPlayerRangePorta(playerid);
  2781.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2782.         if(strcmp(Porta[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2783.         EditPortaID[playerid] = id;
  2784.         EditDynamicObject(playerid, Porta[id][ObjectC]);
  2785.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2786.         return 1;
  2787.     }
  2788.     if(strcmp(cmdtext, "/editar bancada", true) == 0)
  2789.     {
  2790.         if(EditBancadaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2791.         new id = GetPlayerRangeBancada(playerid);
  2792.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2793.         if(strcmp(Bancada[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2794.         EditBancadaID[playerid] = id;
  2795.         EditDynamicObject(playerid, Bancada[id][ObjectA]);
  2796.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2797.         return 1;
  2798.     }
  2799.     if(strcmp(cmdtext, "/editar base", true) == 0)
  2800.     {
  2801.         if(EditBaseID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  2802.         new id = GetPlayerRangeBase(playerid);
  2803.         if(id == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  2804.         if(strcmp(Base[id][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  2805.         EditBaseID[playerid] = id;
  2806.         EditDynamicObject(playerid, Base[id][ObjectB]);
  2807.         SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  2808.         return 1;
  2809.     }
  2810.     if(strcmp(cmdtext, "/beber agua", true) == 0)
  2811.     {
  2812.         if(PlayerInfo[playerid][Agua] >= 1)
  2813.         {
  2814.               PlayerInfo[playerid][Agua] -= 1;
  2815.               SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+15);
  2816.               SetProgressBarValue(SedeB, GetPVarInt(playerid,"Sede"));
  2817.               UpdateProgressBar(SedeB,playerid);
  2818.               ApplyPlayerAnimation(playerid, "VENDING", "VEND_Drink2_P", 4.1, 0, 1, 1, 1, 1, 1);
  2819.               SendClientMessage(playerid, COR_VERDE, "Você acabou de beber uma água e sua sede diminuiu.");
  2820.         }
  2821.         else if(PlayerInfo[playerid][Agua] == 0)
  2822.         {
  2823.             SendClientMessage(playerid, COR_VERMELHO, "Você não tem água para beber, vá buscar em um lago!");
  2824.         }
  2825.         return 1;
  2826.     }
  2827.     if(strcmp(cmdtext, "/comer fruta", true) == 0)
  2828.     {
  2829.         if(PlayerInfo[playerid][Frutas] >= 1)
  2830.         {
  2831.             PlayerInfo[playerid][Frutas] -= 1;
  2832.             SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+10);
  2833.             SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome"));
  2834.             UpdateProgressBar(FomeA,playerid);
  2835.             ApplyPlayerAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  2836.             SendClientMessage(playerid, COR_VERDE, "[!] Você comeu uma fruta e sua fome diminuiu.");
  2837.         }
  2838.         else if(PlayerInfo[playerid][Frutas] == 0)
  2839.         {
  2840.             SendClientMessage(playerid, COR_VERMELHO, "[!]Você não tem nenhuma fruta para comer!");
  2841.         }
  2842.         return 1;
  2843.     }
  2844.     if(strcmp(cmdtext, "/comer carne", true) == 0)
  2845.     {
  2846.         if(PlayerInfo[playerid][Carne] >= 1)
  2847.         {
  2848.             PlayerInfo[playerid][Carne] -= 1;
  2849.             SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+20);
  2850.             SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome"));
  2851.             UpdateProgressBar(FomeA,playerid);
  2852.             ApplyPlayerAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  2853.             SendClientMessage(playerid, COR_VERDE, "Você comeu uma carne e sua fome diminuiu.");
  2854.         }
  2855.         else if(PlayerInfo[playerid][Carne] == 0)
  2856.         {
  2857.             SendClientMessage(playerid, COR_VERMELHO, "Você não tem nenhuma carne para comer!");
  2858.         }
  2859.         return 1;
  2860.     }
  2861.     if(strcmp(cmdtext, "/comer peixe", true) == 0)
  2862.     {
  2863.         if(PlayerInfo[playerid][Peixe] >= 1)
  2864.         {
  2865.             PlayerInfo[playerid][Peixe] -= 1;
  2866.             SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+15);
  2867.             SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome"));
  2868.             UpdateProgressBar(FomeA,playerid);
  2869.             ApplyPlayerAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  2870.             SendClientMessage(playerid, COR_VERDE, "Você comeu um peixe e sua fome diminuiu.");
  2871.         }
  2872.         else if(PlayerInfo[playerid][Peixe] == 0)
  2873.         {
  2874.             SendClientMessage(playerid, COR_VERMELHO, "Você não tem nenhum peixe para comer!");
  2875.         }
  2876.         return 1;
  2877.     }
  2878.     if(strcmp(cmdtext, "/aquecer", true) == 0)
  2879.     {
  2880.         new Float:x, Float:y, Float:z;
  2881.         Streamer_GetFloatData(STREAMER_TYPE_OBJECT, Fogarel, E_STREAMER_X, x);
  2882.         Streamer_GetFloatData(STREAMER_TYPE_OBJECT, Fogarel, E_STREAMER_Y, y);
  2883.         Streamer_GetFloatData(STREAMER_TYPE_OBJECT, Fogarel, E_STREAMER_Z, z);
  2884.         if(!IsPlayerInRangeOfPoint(playerid, 2.0, x, y, z)) return SendClientMessage(playerid, 0xFF0000FF, "Você não está perto de uma campfire!");
  2885.         {
  2886.             SetPVarInt(playerid,"Frio",GetPVarInt(playerid,"Frio")+100);
  2887.             SetProgressBarValue(FrioD, GetPVarInt(playerid,"Frio"));
  2888.             UpdateProgressBar(FrioD,playerid);
  2889.             SendClientMessage(playerid,-1,"{FFFF00}Você se esquentou e por isso não está mais com frio!");
  2890.             return 1;
  2891.         }
  2892.     }
  2893.     if(strcmp(cmdtext, "/bandagem", true) == 0)
  2894.     {
  2895.         if(Bandagem[playerid] >= 1)
  2896.         {
  2897.             new Float:health;
  2898.             GetPlayerHealth(playerid, health);
  2899.             Bandagem[playerid] = Bandagem[playerid] -= 1;
  2900.             SetPlayerHealth(playerid, health + 10);
  2901.             SendClientMessage(playerid, COR_VERDE, "Você usou uma bandagem e curou 10 da sua vida!");
  2902.         }
  2903.         else if(Bandagem[playerid] == 0)
  2904.         {
  2905.             SendClientMessage(playerid, COR_VERMELHO, "Você não tem nenhuma bandagem!!");
  2906.         }
  2907.         return 1;
  2908.     }
  2909.     if(strcmp(cmdtext, "/remedio", true) == 0)
  2910.     {
  2911.         if(Remedio[playerid] >= 1)
  2912.         {
  2913.             new Float:health;
  2914.             GetPlayerHealth(playerid, health);
  2915.             Remedio[playerid] = Remedio[playerid] -= 1;
  2916.             SetPlayerHealth(playerid, health + 30);
  2917.             SendClientMessage(playerid, COR_VERDE, "Você usou um analgésico e curou 30 de sua vida!");
  2918.         }
  2919.         else if(Remedio[playerid] == 0)
  2920.         {
  2921.             SendClientMessage(playerid, COR_VERMELHO, "Você não tem nenhum analgésico!!");
  2922.         }
  2923.         return 1;
  2924.     }
  2925.     if(strcmp(cmdtext, "/pegar agua", true) == 0)
  2926.     {
  2927.         if(PlayerNoLugar(playerid,3.0,-722.4331,-2055.1331,6.3556) || PlayerNoLugar(playerid,3.0,-782.6783,-2038.8295,6.6471) || PlayerNoLugar(playerid,3.0,-805.0019,-1935.4814,6.3195) ||
  2928.         PlayerNoLugar(playerid,3.0,-724.8286,-1873.4583,6.8128) || PlayerNoLugar(playerid,3.0, -706.3614,-1933.9801,6.4755))
  2929.         {
  2930.             GameTextForPlayer(playerid, "~w~Pegando ~n~~b~Agua", 1000, 1);
  2931.             ApplyPlayerAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0);
  2932.             Valor2 [playerid] = 0 ;
  2933.             ShowProgressBarForPlayer(playerid, Exemplo2); //mostra a bar pro player
  2934.             SetProgressBarValue ( Exemplo, Valor2[playerid] ) ; //seta o valor dela
  2935.             Baru2[playerid] = SetTimerEx("pegandoagua", 500, true, "i" , playerid) ;//inicia o timer
  2936.         }
  2937.         else
  2938.         {
  2939.             SendClientMessage(playerid, COR_VERMELHO, "[!] Você não pode pegar água aqui, procure por um lago!");
  2940.         }
  2941.         return 1;
  2942.     }
  2943.     if(strcmp(cmdtext, "/degolar", true) == 0)
  2944.     {
  2945.         if(BambiDead[playerid] == 1)
  2946.         {
  2947.             if(GetPlayerWeapon(playerid) != 4) return SendClientMessage(playerid, COR_VERMELHO, "[!] Você precisa estar segurando uma faca para degolar!");
  2948.             ApplyPlayerAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0);
  2949.             SetTimer("Degolado", 5000, 0);
  2950.         }
  2951.         else if(BambiDead[playerid] == 0)
  2952.         {
  2953.             SendClientMessage(playerid, COR_VERMELHO, "[!] Você não matou nenhum bambi!");
  2954.         }
  2955.         return 1;
  2956.     }
  2957.     if(strcmp(cmdtext, "/pescar", true) == 0)
  2958.     {
  2959.         if(PlayerNoLugar(playerid,3.0,-722.4331,-2055.1331,6.3556) || PlayerNoLugar(playerid,3.0,-782.6783,-2038.8295,6.6471) || PlayerNoLugar(playerid,3.0,-805.0019,-1935.4814,6.3195) ||
  2960.         PlayerNoLugar(playerid,3.0,-724.8286,-1873.4583,6.8128) || PlayerNoLugar(playerid,3.0, -706.3614,-1933.9801,6.4755))
  2961.         {
  2962.             if(pPescando[playerid] == 1)
  2963.             {
  2964.                 SetPlayerAttachedObject(playerid, 2, 18632, 6, 0.1, 0.05, 0.02, 270.0, 270.0, 0.0, 1.0, 1.0, 1.0);
  2965.                 GameTextForPlayer(playerid, "~w~Pescando ~n~~b~Aguarde...", 100, 1);
  2966.                 ApplyPlayerAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  2967.                 SetTimer("Pescando", 10000, 0);
  2968.             } else
  2969.             {
  2970.                 SendClientMessage(playerid, COR_VERMELHO, "[!] Você já está pescando!");
  2971.             }
  2972.         }
  2973.         else
  2974.         {
  2975.             SendClientMessage(playerid, COR_VERMELHO, "[!] Você não pode pescar aqui, procure por um lago!");
  2976.         }
  2977.         return 1;
  2978.     }
  2979.     if(strcmp(cmdtext, "/colher frutas", true) == 0)
  2980.     {
  2981.         if(PlayerNoLugar(playerid, 2.0, -748.5999800,-2453.7000,68.0000) || PlayerNoLugar(playerid, 2.0, -717.9000200,-2465.5000,68.1000) || PlayerNoLugar(playerid, 2.0, -718.5000,-2431.6001,62.0000) || PlayerNoLugar(playerid, 2.0, -691.0999800,-2438.5000,63.5000) ||
  2982.         PlayerNoLugar(playerid, 2.0, -701.7000100,-2382.8000,49.0000) || PlayerNoLugar(playerid, 2.0, -576.0999800,-2230.5000,27.4000) || PlayerNoLugar(playerid, 2.0, -689.2000100,-2351.1001,36.8000) || PlayerNoLugar(playerid, 2.0, -645.4000200,-2373.2000,33.8000) ||
  2983.         PlayerNoLugar(playerid, 2.0, -663.7998,-2349.5996,34.7000) || PlayerNoLugar(playerid, 2.0, -654.2998,-2321.5996,34.5000) || PlayerNoLugar(playerid, 2.0, -671.5996100,-2298.0996,28.3000) || PlayerNoLugar(playerid, 2.0, -632.2998,-2291.5000,27.8000) ||
  2984.         PlayerNoLugar(playerid, 2.0, -599.5996100,-2264.7002,24.4000) || PlayerNoLugar(playerid, 2.0, -569.7999900,-2258.8000,25.9000) || PlayerNoLugar(playerid, 2.0, -1058.1000,-2456.8000,60.0000) || PlayerNoLugar(playerid, 2.0, -1090.2000,-2338.3999,49.8000) ||
  2985.         PlayerNoLugar(playerid, 2.0, -1024.4004,-2431.2998,65.5000) || PlayerNoLugar(playerid, 2.0, -1055.0996,-2416.0996,58.9000) || PlayerNoLugar(playerid, 2.0, -1080.0996,-2355.0996,47.8000) || PlayerNoLugar(playerid, 2.0, -1106.7000,-2298.8999,41.9000) ||
  2986.         PlayerNoLugar(playerid, 2.0, -1112.6000,-2332.5000,42.5000) || PlayerNoLugar(playerid, 2.0, -1092.7998,-2323.2998,51.7000) || PlayerNoLugar(playerid, 2.0, -1061.0000,-2309.7000,53.4000) || PlayerNoLugar(playerid, 2.0, -995.2999900,-2311.0000,61.8000) ||
  2987.         PlayerNoLugar(playerid, 2.0, -968.0999800,-2339.3999,65.5000) || PlayerNoLugar(playerid, 2.0, -976.2000100,-2288.0000,58.7000) || PlayerNoLugar(playerid, 2.0, -908.0000,-2401.3999,58.4000) || PlayerNoLugar(playerid, 2.0, -943.7999900,-2499.8999,103.2000) ||
  2988.         PlayerNoLugar(playerid, 2.0, -914.9003900,-2438.2002,80.1000) || PlayerNoLugar(playerid, 2.0, -945.7002,-2477.7002,99.3000) || PlayerNoLugar(playerid, 2.0, -764.5000,-2409.0000,64.0000) || PlayerNoLugar(playerid, 2.0, -690.4000200,-2191.7000,19.5000) ||
  2989.         PlayerNoLugar(playerid, 2.0, -726.5000,-2197.8994,34.4000) || PlayerNoLugar(playerid, 2.0, -736.7998,-2213.0996,36.5000) || PlayerNoLugar(playerid, 2.0, -665.0000,-2180.5000,18.3000) || PlayerNoLugar(playerid, 2.0, -680.5000,-2166.5000,22.1000) ||
  2990.         PlayerNoLugar(playerid, 2.0, -670.4000200,-2115.8000,25.5000) || PlayerNoLugar(playerid, 2.0, -659.0996100,-2126.5996,26.2000) || PlayerNoLugar(playerid, 2.0, -643.9000200,-2090.5000,27.7000) || PlayerNoLugar(playerid, 2.0, -690.7999900,-2137.0000,24.7000) ||
  2991.         PlayerNoLugar(playerid, 2.0, -763.5999800,-2221.8000,21.6000) || PlayerNoLugar(playerid, 2.0, -863.4000200,-2274.2000,25.3000) || PlayerNoLugar(playerid, 2.0, -870.4003900,-2246.0000,26.5000) || PlayerNoLugar(playerid, 2.0, -902.9000200,-2259.5000,37.9000) ||
  2992.         PlayerNoLugar(playerid, 2.0, -804.5000,-2297.3999,28.3000) || PlayerNoLugar(playerid, 2.0, -792.2000100,-2343.2000,43.4000) || PlayerNoLugar(playerid, 2.0, -809.4003900,-2328.5000,38.1000) || PlayerNoLugar(playerid, 2.0, -845.2000100,-2362.2000,57.7000) ||
  2993.         PlayerNoLugar(playerid, 2.0, -576.7000100,-1995.9000,45.4000) || PlayerNoLugar(playerid, 2.0, -607.5996100,-2047.4004,40.2000) || PlayerNoLugar(playerid, 2.0, -572.7998,-2016.0000,47.0000) || PlayerNoLugar(playerid, 2.0, -587.5000,-1980.0000,42.1000) ||
  2994.         PlayerNoLugar(playerid, 2.0, -603.7999900,-1948.3000,33.2000) || PlayerNoLugar(playerid, 2.0, -571.7998,-1952.5996,38.4000) || PlayerNoLugar(playerid, 2.0, -513.7999900,-2002.7000,47.5000) || PlayerNoLugar(playerid, 2.0, -519.2998,-1965.7002,41.4000) ||
  2995.         PlayerNoLugar(playerid, 2.0, -531.2998,-1988.9004,46.2000) || PlayerNoLugar(playerid, 2.0, -657.2999900,-1838.5000,20.7000) || PlayerNoLugar(playerid, 2.0, -587.7999900,-1831.6000,29.3000) || PlayerNoLugar(playerid, 2.0, -613.7002,-1868.7002,16.1000) ||
  2996.         PlayerNoLugar(playerid, 2.0, -557.5999800,-1858.4000,18.2000) || PlayerNoLugar(playerid, 2.0, -540.5000,-1843.0000,21.3000) || PlayerNoLugar(playerid, 2.0, -529.5000,-1862.7000,13.1000) || PlayerNoLugar(playerid, 2.0, -505.5000,-1854.0000,14.8000) ||
  2997.         PlayerNoLugar(playerid, 2.0, -393.7999900,-1952.2000,19.2000) || PlayerNoLugar(playerid, 2.0, -398.1000100,-1971.5000,24.6000) || PlayerNoLugar(playerid, 2.0, -397.8999900,-2003.4000,30.4000) || PlayerNoLugar(playerid, 2.0, -423.2999900,-2083.8000,77.0000) ||
  2998.         PlayerNoLugar(playerid, 2.0, -422.7000100,-2113.1001,83.8000) || PlayerNoLugar(playerid, 2.0, -456.1000100,-2094.7000,85.2000) || PlayerNoLugar(playerid, 2.0, -486.7999900,-2112.8999,89.0000) || PlayerNoLugar(playerid, 2.0, -453.0000,-2141.7000,87.8000) ||
  2999.         PlayerNoLugar(playerid, 2.0, -568.5000,-2120.6001,70.0000) || PlayerNoLugar(playerid, 2.0, -537.0999800,-2126.1001,78.1000) || PlayerNoLugar(playerid, 2.0, -325.5000,-2588.3000,127.7000) || PlayerNoLugar(playerid, 2.0, -473.2998,-2203.0996,74.1000) ||
  3000.         PlayerNoLugar(playerid, 2.0, -374.6000100,-2221.3999,65.9000) || PlayerNoLugar(playerid, 2.0, -348.2999900,-2301.8999,67.3000) || PlayerNoLugar(playerid, 2.0, -351.2000100,-2343.3999,82.3000) || PlayerNoLugar(playerid, 2.0, -295.7000100,-2380.5000,65.7000))
  3001.         {
  3002.             PlayerInfo[playerid][Frutas] += 5;
  3003.             SendClientMessage(playerid, AZUL_AGUA, "[!] Você acabou de colher algumas frutas!");
  3004.         }
  3005.         else
  3006.         {
  3007.             SendClientMessage(playerid, COR_VERMELHO, "[!] Você não está perto de uma árvore de frutas!");
  3008.         }
  3009.         return 1;
  3010.     }
  3011.     if(strcmp(cmdtext, "/cmds", true) == 0 || strcmp(cmdtext, "/comandos", true) == 0)
  3012.     {
  3013.         if(IsPlayerConnected(playerid))
  3014.         {
  3015.             new meudialog[500];
  3016.             strins(meudialog, "{33FF00} => Olá caro jogador, desejamos lhe um ótimo jogo no servidor, seja muito bem vindo aqui!\n", strlen(meudialog));
  3017.             strins(meudialog, "{33FF00} => Abaixo iremos mostrar-lhe algums comandos do servidor!\n\n", strlen(meudialog));
  3018.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Materiais:{43BBDE} /cortar madeira, /pegar pedras, /procurar parafusos,\n", strlen(meudialog));
  3019.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Materiais:{43BBDE} /cozinhar stone [Produzir Ferro].\n", strlen(meudialog));
  3020.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Crafting:{43BBDE} /construir [Base/Cama/Bancada/Baú], /fabricar vara,\n", strlen(meudialog));
  3021.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Crafting:{43BBDE} /campfire, /fabricar rifle, /fabricar faca, /fabricar colete.\n", strlen(meudialog));
  3022.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Fome:{43BBDE} /colher [frutas], /comer [Fruta/Carne/Peixe].\n", strlen(meudialog));
  3023.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Fome:{43BBDE} /assar [Peixe/Carne].\n", strlen(meudialog));
  3024.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Sede:{43BBDE} /pegar agua /fazer suco, /beber [agua/suco].\n", strlen(meudialog));
  3025.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Frio:{43BBDE} /aquecer, /casaco.\n", strlen(meudialog));
  3026.             strins(meudialog, "{43BBDE} =>{33FF00}Comandos Úteis:{43BBDE} /infocash, /admins, /bug, /cmds, /relatorio, /forum!\n", strlen(meudialog));
  3027.             ShowPlayerDialog(playerid, 1281, DIALOG_STYLE_MSGBOX, "Comandos Island Survival", meudialog, "Entendido", "");
  3028.         }
  3029.         return 1;
  3030.     }
  3031.     if(strcmp(cmdtext, "/info", true) == 0)
  3032.     {
  3033.         new coordsstring[300];
  3034.         new DialogStatus[2000];
  3035.         format(coordsstring, sizeof(coordsstring), "{33FFFF}Social: {FFFFFF}Nome: {33FFFF}[%s] {FFFFFF}Level: {33FFFF}[%d] {FFFFFF}Cash: {33FFFF}[%d].\n", Nome(playerid), PlayerInfo[playerid][Level], PlayerInfo[playerid][Cash]);
  3036.         strcat(DialogStatus,coordsstring);
  3037.         format(coordsstring, sizeof(coordsstring), "{33FFFF}Materiais: {FFFFFF}Madeiras:{33FFFF}[%d] {FFFFFF}Pedras:{33FFFF}[%d] {FFFFFF}Metais:{33FFFF}[%d]\n", PlayerInfo[playerid][Madeira], PlayerInfo[playerid][Pedra], PlayerInfo[playerid][Metal]);
  3038.         strcat(DialogStatus,coordsstring);
  3039.         format(coordsstring, sizeof(coordsstring), "{33FFFF}Materiais: {FFFFFF}Cloth{33FFFF}[%d] {FFFFFF}Parafusos{33FFFF}[%d]\n", PlayerInfo[playerid][Cloth], PlayerInfo[playerid][Parafuso]);
  3040.         strcat(DialogStatus,coordsstring);
  3041.         format(coordsstring, sizeof(coordsstring), "{33FFFF}Alimentos: {FFFFFF}Peixes:{33FFFF}[%d] {FFFFFF}Carne:{33FFFF}[%d] {FFFFFF}Frutas:{33FFFF}[%d]\n", PlayerInfo[playerid][Peixe], PlayerInfo[playerid][Carne], PlayerInfo[playerid][Frutas]);
  3042.         strcat(DialogStatus,coordsstring);
  3043.         format(coordsstring, sizeof(coordsstring), "{33FFFF}Alimentos: {FFFFFF}Laranjas:{33FFFF}[%d] {FFFFFF}Aguas:{33FFFF}[%d] {FFFFFF}Sucos:{33FFFF}[%s]\n ", PlayerInfo[playerid][Level], PlayerInfo[playerid][Agua], PlayerInfo[playerid][Cash]);
  3044.         strcat(DialogStatus,coordsstring);
  3045.         ShowPlayerDialog(playerid, 8789, DIALOG_STYLE_MSGBOX, "{00F6F6}Informações\n", DialogStatus, "Fechar", "");
  3046.         return 1;
  3047.     }
  3048.     if(strcmp(cmdtext, "/creditos", true) == 0)
  3049.     {
  3050.         new frank[500];
  3051.         strins(frank, "{FFFFFF}================= Créditos do Survival the Island =================\n\n", strlen(frank));
  3052.         strins(frank, "{FF0000}•{FFFFFF} GameMode criado totalmente do zero por: {FF0000}Power.\n", strlen(frank));
  3053.         strins(frank, "{FF0000}•{FFFFFF} Fundadores do Survival the Island: {FF0000}Power e Mozart.\n", strlen(frank));
  3054.         strins(frank, "{FF0000}•{FFFFFF} Mapper do Survival the Island: {FF0000}Power.\n", strlen(frank));
  3055.         strins(frank, "{FF0000}•{FFFFFF} Agradecimentos por ajudas e tutoriais: {FF0000} Fórum SA-MP e Carlos001.\n", strlen(frank));
  3056.         ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Créditos do Survival the Island\n", frank, "Fechar", "");
  3057.         return 1;
  3058.     }
  3059.     if(strcmp(cmdtext, "/infocash", true) == 0)
  3060.     {
  3061.         new frank2[410];
  3062.         strins(frank2, "{00FF00} Plano 20 de Cash = {FF0000}R$ 5. {00FF00}Use: /forum e confira.\n", strlen(frank2));
  3063.         strins(frank2, "{00FF00} Plano 50 de Cash = {FF0000}R$ 10. {00FF00}Use: /forum e confira.\n", strlen(frank2));
  3064.         strins(frank2, "{00FF00} Plano 75 de Cash = {FF0000}R$ 15. {00FF00}Use: /forum e confira.\n", strlen(frank2));
  3065.         strins(frank2, "{00FF00} Plano 100 de Cash = {FF0000}R$ 20. {00FF00}Use: /forum e confira.\n", strlen(frank2));
  3066.         strins(frank2, "{00FFFF} Veja outros valores e promoções no nosso fórum. Use: /forum.\n", strlen(frank2));
  3067.         ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Planos Cash do Survival the Island\n", frank2, "Fechar", "");
  3068.         return 1;
  3069.     }
  3070.     if(strcmp(cmdtext, "/loja", true) == 0)
  3071.     {
  3072.         if(PlayerInfo[playerid][Cash] < 1)
  3073.         {
  3074.             return SendClientMessage(playerid,COR_VERMELHO,"Você não tem cash para acessar a loja!");
  3075.         }
  3076.         ShowPlayerDialog(playerid,123,DIALOG_STYLE_LIST,"Loja de Cash","Armamentos\nMedicamentos\n","Aceitar","Cancelar");
  3077.         return 1;
  3078.     }
  3079.     /* COMANDOS CRAFTING */
  3080.     if(strcmp(cmdtext, "/construir", true) == 0 || strcmp(cmdtext, "/craft", true) == 0)
  3081.     {
  3082.         ShowPlayerDialog(playerid,9964,DIALOG_STYLE_LIST,"Crafting's"," - Crafting Casa/House\n - Crafting Mobilias/Furniture\n - Crafting Veiculos/Vehicles\n","Aceitar","Cancelar");
  3083.         return 1;
  3084.     }
  3085.     if(strcmp(cmdtext, "/construir tenda", true) == 0)
  3086.     {
  3087.         new Float:x,Float:y,Float:z;
  3088.         CreateTentP(playerid);
  3089.         GetPlayerPos(playerid, x, y, z);
  3090.         SetPlayerPos(playerid, x+0.01, y, z); // move o jogador quase nada para a tenda aparecer
  3091.         return 1;
  3092.     }
  3093.     if(strcmp(cmdtext, "/bancada", true) == 0)
  3094.     {
  3095.         for(new i; i < MAX_BANCADAS; i++)
  3096.         {
  3097.             if(IsPlayerInRangeOfPoint(playerid, 3.0, Bancada[i][PosX], Bancada[i][PosY], Bancada[i][PosZ]))
  3098.             {
  3099.                 ShowPlayerDialog(playerid,9798,DIALOG_STYLE_LIST,"Bancada","Fabricar Armas\nFabricar Medicamentos\n","Aceitar","Cancelar");
  3100.             }
  3101.         }
  3102.         return 1;
  3103.     }
  3104.     if(strcmp(cmdtext, "/construir forno", true) == 0)
  3105.     {
  3106.         new id = -1;
  3107.         for(new i; i < MAX_FORNO; i++)
  3108.         {
  3109.             if(!Forno[i][Existe])
  3110.             {
  3111.                 id = i;
  3112.                 break;
  3113.             }
  3114.         }
  3115.         new Float:X, Float:Y, Float:Z, Float: A;
  3116.         GetPlayerPos(playerid, X, Y, Z);
  3117.         GetPlayerFacingAngle(playerid, A);
  3118.  
  3119.         Forno[id][Dono] = pName(playerid);
  3120.         Forno[id][Existe] = 1;
  3121.         Forno[id][PosX] = X;
  3122.         Forno[id][PosY] = Y;
  3123.         Forno[id][PosZ] = Z;
  3124.         Forno[id][RZ] = A + 180;
  3125.         Forno[id][ObjectJ] = CreateDynamicObject(forno, Forno[id][PosX], Forno[id][PosY], Forno[id][PosZ], Forno[id][RX], Forno[id][RY], Forno[id][RZ]);
  3126.         SendClientMessage(playerid, -1, "Forno criado com Sucesso");
  3127.         SalvarForno(id);
  3128.         return 1;
  3129.     }
  3130.     if(strcmp(cmdtext, "/construir cama", true) == 0)
  3131.     {
  3132.         new id = -1;
  3133.         for(new i; i < MAX_CAMA; i++)
  3134.         {
  3135.             if(!Cama[i][Existe])
  3136.             {
  3137.                 id = i;
  3138.                 break;
  3139.             }
  3140.         }
  3141.         new Float:X, Float:Y, Float:Z, Float: A;
  3142.         GetPlayerPos(playerid, X, Y, Z);
  3143.         GetPlayerFacingAngle(playerid, A);
  3144.  
  3145.         Cama[id][Dono] = pName(playerid);
  3146.         Cama[id][Existe] = 1;
  3147.         Cama[id][PosX] = X;
  3148.         Cama[id][PosY] = Y;
  3149.         Cama[id][PosZ] = Z;
  3150.         Cama[id][RZ] = A + 180;
  3151.         Cama[id][ObjectG] = CreateDynamicObject(cama, Cama[id][PosX], Cama[id][PosY], Cama[id][PosZ], Cama[id][RX], Cama[id][RY], Cama[id][RZ]);
  3152.         SendClientMessage(playerid, -1, "Cama criado com Sucesso");
  3153.         SalvarCama(id);
  3154.         return 1;
  3155.     }
  3156.     if(strcmp(cmdtext, "/construir windown", true) == 0)
  3157.     {
  3158.         new id = -1;
  3159.         for(new i; i < MAX_WINDOWN; i++)
  3160.         {
  3161.             if(!Windown[i][Existe])
  3162.             {
  3163.                 id = i;
  3164.                 break;
  3165.             }
  3166.         }
  3167.         new Float:X, Float:Y, Float:Z, Float: A;
  3168.         GetPlayerPos(playerid, X, Y, Z);
  3169.         GetPlayerFacingAngle(playerid, A);
  3170.  
  3171.         Windown[id][Dono] = pName(playerid);
  3172.         Windown[id][Existe] = 1;
  3173.         Windown[id][PosX] = X;
  3174.         Windown[id][PosY] = Y;
  3175.         Windown[id][PosZ] = Z;
  3176.         Windown[id][RZ] = A + 180;
  3177.         Windown[id][ObjectH] = CreateDynamicObject(windown1, Windown[id][PosX], Windown[id][PosY], Windown[id][PosZ], Windown[id][RX], Windown[id][RY], Windown[id][RZ]);
  3178.         SendClientMessage(playerid, -1, "windown criado com Sucesso");
  3179.         SalvarWindowns(id);
  3180.         return 1;
  3181.     }
  3182.     if(strcmp(cmdtext, "/construir walldoor", true) == 0)
  3183.     {
  3184.         new id = -1;
  3185.         for(new i; i < MAX_DOOR; i++)
  3186.         {
  3187.             if(!Door[i][Existe])
  3188.             {
  3189.                 id = i;
  3190.                 break;
  3191.             }
  3192.         }
  3193.         new Float:X, Float:Y, Float:Z, Float: A;
  3194.         GetPlayerPos(playerid, X, Y, Z);
  3195.         GetPlayerFacingAngle(playerid, A);
  3196.  
  3197.         Door[id][Dono] = pName(playerid);
  3198.         Door[id][Existe] = 1;
  3199.         Door[id][PosX] = X;
  3200.         Door[id][PosY] = Y;
  3201.         Door[id][PosZ] = Z;
  3202.         Door[id][RZ] = A + 180;
  3203.         Door[id][ObjectF] = CreateDynamicObject(walldoor, Door[id][PosX], Door[id][PosY], Door[id][PosZ], Door[id][RX], Door[id][RY], Door[id][RZ]);
  3204.         SendClientMessage(playerid, -1, "Door criado com Sucesso");
  3205.         SalvarDoor(id);
  3206.         return 1;
  3207.     }
  3208.     if(strcmp(cmdtext, "/construir rampa", true) == 0)
  3209.     {
  3210.         new id = -1;
  3211.         for(new i; i < MAX_RAMPAS; i++)
  3212.         {
  3213.             if(!Rampa[i][Existe])
  3214.             {
  3215.                 id = i;
  3216.                 break;
  3217.             }
  3218.         }
  3219.         new Float:X, Float:Y, Float:Z, Float: A;
  3220.         GetPlayerPos(playerid, X, Y, Z);
  3221.         GetPlayerFacingAngle(playerid, A);
  3222.  
  3223.         Rampa[id][Dono] = pName(playerid);
  3224.         Rampa[id][Existe] = 1;
  3225.         Rampa[id][PosX] = X;
  3226.         Rampa[id][PosY] = Y;
  3227.         Rampa[id][PosZ] = Z;
  3228.         Rampa[id][RZ] = A + 180;
  3229.         Rampa[id][ObjectE] = CreateDynamicObject(rampa, Rampa[id][PosX], Rampa[id][PosY], Rampa[id][PosZ], Rampa[id][RX], Rampa[id][RY], Rampa[id][RZ]);
  3230.         SendClientMessage(playerid, -1, "Rampa criado com Sucesso");
  3231.         SalvarRampas(id);
  3232.         return 1;
  3233.     }
  3234.     if(strcmp(cmdtext, "/construir bau", true) == 0)
  3235.     {
  3236.         new id = -1;
  3237.         for(new i; i < MAX_BAU; i++)
  3238.         {
  3239.             if(!Bau[i][Existe])
  3240.             {
  3241.                 id = i;
  3242.                 break;
  3243.             }
  3244.         }
  3245.         new Float:X, Float:Y, Float:Z, Float: A;
  3246.         GetPlayerPos(playerid, X, Y, Z);
  3247.         GetPlayerFacingAngle(playerid, A);
  3248.  
  3249.         Bau[id][Dono] = pName(playerid);
  3250.         Bau[id][Existe] = 1;
  3251.         Bau[id][PosX] = X;
  3252.         Bau[id][PosY] = Y;
  3253.         Bau[id][PosZ] = Z;
  3254.         Bau[id][RZ] = A + 180;
  3255.         Bau[id][ObjectD] = CreateDynamicObject(bau, Bau[id][PosX], Bau[id][PosY], Bau[id][PosZ], Bau[id][RX], Bau[id][RY], Bau[id][RZ]);
  3256.         SendClientMessage(playerid, -1, "Bau criado com Sucesso");
  3257.         SalvarBaus(id);
  3258.         return 1;
  3259.     }
  3260.     if(strcmp(cmdtext, "/construir porta", true) == 0)
  3261.     {
  3262.         new id = -1;
  3263.         for(new i; i < MAX_PORTAS; i++)
  3264.         {
  3265.             if(!Porta[i][Existe])
  3266.             {
  3267.                 id = i;
  3268.                 break;
  3269.             }
  3270.         }
  3271.         new Float:X, Float:Y, Float:Z, Float: A;
  3272.         GetPlayerPos(playerid, X, Y, Z);
  3273.         GetPlayerFacingAngle(playerid, A);
  3274.  
  3275.         Porta[id][Dono] = pName(playerid);
  3276.         Porta[id][Existe] = 1;
  3277.         Porta[id][PosX] = X;
  3278.         Porta[id][PosY] = Y;
  3279.         Porta[id][PosZ] = Z;
  3280.         Porta[id][RZ] = A + 180;
  3281.         Porta[id][ObjectC] = CreateDynamicObject(porta, Porta[id][PosX], Porta[id][PosY], Porta[id][PosZ], Porta[id][RX], Porta[id][RY], Porta[id][RZ]);
  3282.         SendClientMessage(playerid, -1, "Porta criada com Sucesso");
  3283.         SalvarPortas(id);
  3284.         return 1;
  3285.     }
  3286.     if(strcmp(cmdtext, "/construir bancada", true) == 0)
  3287.     {
  3288.         new id = -1;
  3289.         for(new i; i < MAX_BANCADAS; i++)
  3290.         {
  3291.             if(!Bancada[i][Existe])
  3292.             {
  3293.                 id = i;
  3294.                 break;
  3295.             }
  3296.         }
  3297.         new Float:X, Float:Y, Float:Z, Float: A;
  3298.         GetPlayerPos(playerid, X, Y, Z);
  3299.         GetPlayerFacingAngle(playerid, A);
  3300.  
  3301.         Bancada[id][Dono] = pName(playerid);
  3302.         Bancada[id][Existe] = 1;
  3303.         Bancada[id][PosX] = X;
  3304.         Bancada[id][PosY] = Y;
  3305.         Bancada[id][PosZ] = Z -1;
  3306.         Bancada[id][RZ] = A + 180;
  3307.         Bancada[id][ObjectA] = CreateDynamicObject(bancada, Bancada[id][PosX], Bancada[id][PosY], Bancada[id][PosZ], Bancada[id][RX], Bancada[id][RY], Bancada[id][RZ]);
  3308.         SendClientMessage(playerid, -1, "Bancada criada com Sucesso");
  3309.         SalvarBancadas(id);
  3310.         return 1;
  3311.     }
  3312.     if(strcmp(cmdtext, "/construir base", true) == 0)
  3313.     {
  3314.         new id = -1;
  3315.         for(new i; i < MAX_BASES; i++)
  3316.         {
  3317.             if(!Base[i][Existe])
  3318.             {
  3319.                 id = i;
  3320.                 break;
  3321.             }
  3322.         }
  3323.         new Float:X, Float:Y, Float:Z, Float: A;
  3324.         GetPlayerPos(playerid, X, Y, Z);
  3325.         GetPlayerFacingAngle(playerid, A);
  3326.  
  3327.         Base[id][Dono] = pName(playerid);
  3328.         Base[id][Existe] = 1;
  3329.         Base[id][PosX] = X;
  3330.         Base[id][PosY] = Y;
  3331.         Base[id][PosZ] = Z+1;
  3332.         Base[id][RZ] = A + 180;
  3333.         Base[id][ObjectB] = CreateDynamicObject(ObjectBase, Base[id][PosX], Base[id][PosY], Base[id][PosZ], Base[id][RX], Base[id][RY], Base[id][RZ]);
  3334.         SendClientMessage(playerid, verde, "[!] Base criada com Sucesso");
  3335.         SalvarBases(id);
  3336.         return 1;
  3337.     }
  3338.     if(strcmp(cmdtext, "/campfire", true) == 0)
  3339.     {
  3340.         if(PlayerInfo[playerid][Madeira] >= 5)
  3341.         {
  3342.             if(Fogo[playerid] == 0)
  3343.             {
  3344.                 GameTextForPlayer(playerid, "~r~Fazendo ~n~~w~campfire", 100, 1);
  3345.                 ApplyPlayerAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0);
  3346.                 TogglePlayerControllable(playerid, 0);
  3347.                 SetTimer("campfire", 10000, 0);
  3348.             }
  3349.             else if(Fogo[playerid] == 1)
  3350.             {
  3351.                 SendClientMessage(playerid, COR_VERMELHO, "Você já tem uma CampFire, espere até que ela apague!");
  3352.             }
  3353.             else if(PlayerInfo[playerid][Madeira] == 0)
  3354.             {
  3355.                 SendClientMessage(playerid, COR_VERMELHO, "Você não tem as Madeira necessarias!");
  3356.             }
  3357.         }
  3358.         return 1;
  3359.     }
  3360.     if(strcmp(cmdtext, "/usar tocha", true) == 0)
  3361.     {
  3362.         if(Tocha[playerid] >= 1)
  3363.         {
  3364.             SetPlayerAttachedObject(playerid, 1, 3525, 6, 0.1, 0.05, 0.02, 360.0, 360.0, 0.0, 1.0, 1.0, 1.0);
  3365.             SendClientMessage(playerid, COR_VERDE, "Você usou sua tocha!");
  3366.             SetTimer("ApagarTocha", 300000, 0);
  3367.         }
  3368.         else if(Tocha[playerid] == 0)
  3369.         {
  3370.             SendClientMessage(playerid, COR_VERMELHO, "Você não tem nenhuma tocha!!");
  3371.         }
  3372.         return 1;
  3373.     }
  3374.     if(strcmp(cmdtext, "/fazer tocha", true) == 0)
  3375.     {
  3376.         if(IsPlayerConnected(playerid))
  3377.         {
  3378.            if(Tocha[playerid] == 0)
  3379.             {
  3380.                 if(PlayerInfo[playerid][Madeira] >= 1)
  3381.                 {
  3382.                         PlayerInfo[playerid][Madeira] -= 1;
  3383.                         SendClientMessage(playerid, COR_VERDE, "Você fez uma tocha para usa-la digite /usar tocha");
  3384.                         Tocha[playerid] += 1;
  3385.                 } else {
  3386.                 SendClientMessage(playerid, COR_VERMELHO, "Você não tem madeira suficiente. Use: /ajuda.");
  3387.                 }
  3388.             } else if(Tocha[playerid] >= 1){
  3389.                 SendClientMessage(playerid, COR_VERMELHO, "Você ja tem 1 tocha!");
  3390.             }
  3391.         }
  3392.         return 1;
  3393.     }
  3394.     //comandos para destruir
  3395.     if(strcmp(cmdtext, "/destruir forno", true) == 0)
  3396.     {
  3397.         new id = GetPlayerRangeForno(playerid);
  3398.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto de sua Forno!");
  3399.         if(strcmp(Forno[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Esta Forno não é sua!");
  3400.         DestroyDynamicObject(Forno[id][ObjectJ]);
  3401.         Forno[id][Existe] = 0;
  3402.         Forno[id][PosX] = 0;
  3403.         Forno[id][PosY] = 0;
  3404.         Forno[id][PosZ] = 0;
  3405.         Forno[id][RX] = 0;
  3406.         Forno[id][RY] = 0;
  3407.         Forno[id][RZ] = 0;
  3408.  
  3409.         new file[64];
  3410.         format(file, sizeof(file), "Saves/Fornalhas/%d.ini", id);
  3411.         if(DOF2_FileExists(file))
  3412.             DOF2_RemoveFile(file);
  3413.         SendClientMessage(playerid, -1, "Forno Apagada");
  3414.         return 1;
  3415.     }
  3416.     if(strcmp(cmdtext, "/destruir cama", true) == 0)
  3417.     {
  3418.         new id = GetPlayerRangeCama(playerid);
  3419.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto de sua Cama!");
  3420.         if(strcmp(Cama[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Esta cama não é sua!");
  3421.         DestroyDynamicObject(Cama[id][ObjectG]);
  3422.         Cama[id][Existe] = 0;
  3423.         Cama[id][PosX] = 0;
  3424.         Cama[id][PosY] = 0;
  3425.         Cama[id][PosZ] = 0;
  3426.         Cama[id][RX] = 0;
  3427.         Cama[id][RY] = 0;
  3428.         Cama[id][RZ] = 0;
  3429.  
  3430.         new file[64];
  3431.         format(file, sizeof(file), "Saves/Cama/%d.ini", id);
  3432.         if(DOF2_FileExists(file))
  3433.             DOF2_RemoveFile(file);
  3434.         SendClientMessage(playerid, -1, "Cama Apagada");
  3435.         return 1;
  3436.     }
  3437.     if(strcmp(cmdtext, "/destruir walldoor", true) == 0)
  3438.     {
  3439.         new id = GetPlayerRangeDoor(playerid);
  3440.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto de sua WallDoor!");
  3441.         if(strcmp(Door[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Esta WallDoor não é sua!");
  3442.         DestroyDynamicObject(Door[id][ObjectF]);
  3443.         Door[id][Existe] = 0;
  3444.         Door[id][PosX] = 0;
  3445.         Door[id][PosY] = 0;
  3446.         Door[id][PosZ] = 0;
  3447.         Door[id][RX] = 0;
  3448.         Door[id][RY] = 0;
  3449.         Door[id][RZ] = 0;
  3450.  
  3451.         new file[64];
  3452.         format(file, sizeof(file), "Saves/Door/%d.ini", id);
  3453.         if(DOF2_FileExists(file))
  3454.             DOF2_RemoveFile(file);
  3455.         SendClientMessage(playerid, -1, "Door Apagada");
  3456.         return 1;
  3457.     }
  3458.     if(strcmp(cmdtext, "/destruir rampa", true) == 0)
  3459.     {
  3460.         new id = GetPlayerRangeRampa(playerid);
  3461.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto de sua Rampa!");
  3462.         if(strcmp(Rampa[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Esta rampa não é sua!");
  3463.         DestroyDynamicObject(Rampa[id][ObjectE]);
  3464.         Rampa[id][Existe] = 0;
  3465.         Rampa[id][PosX] = 0;
  3466.         Rampa[id][PosY] = 0;
  3467.         Rampa[id][PosZ] = 0;
  3468.         Rampa[id][RX] = 0;
  3469.         Rampa[id][RY] = 0;
  3470.         Rampa[id][RZ] = 0;
  3471.  
  3472.         new file[64];
  3473.         format(file, sizeof(file), "Saves/Rampas/%d.ini", id);
  3474.         if(DOF2_FileExists(file))
  3475.             DOF2_RemoveFile(file);
  3476.         SendClientMessage(playerid, -1, "Rampa Apagada");
  3477.         return 1;
  3478.     }
  3479.     if(strcmp(cmdtext, "/destruir bau", true) == 0)
  3480.     {
  3481.         new id = GetPlayerRangeBau(playerid);
  3482.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto do seu Baú!");
  3483.         if(strcmp(Bau[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Este baú não é seu!");
  3484.         DestroyDynamicObject(Bau[id][ObjectD]);
  3485.         Bau[id][Existe] = 0;
  3486.         Bau[id][PosX] = 0;
  3487.         Bau[id][PosY] = 0;
  3488.         Bau[id][PosZ] = 0;
  3489.         Bau[id][RX] = 0;
  3490.         Bau[id][RY] = 0;
  3491.         Bau[id][RZ] = 0;
  3492.  
  3493.         new file[64];
  3494.         format(file, sizeof(file), "Saves/Baus/%d.ini", id);
  3495.         if(DOF2_FileExists(file))
  3496.             DOF2_RemoveFile(file);
  3497.         SendClientMessage(playerid, -1, "Bau Apagada");
  3498.         return 1;
  3499.     }
  3500.     if(strcmp(cmdtext, "/destruir porta", true) == 0)
  3501.     {
  3502.         new id = GetPlayerRangePorta(playerid);
  3503.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto de sua Porta!");
  3504.         if(strcmp(Porta[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Esta porta não é sua!");
  3505.         DestroyDynamicObject(Porta[id][ObjectC]);
  3506.         Porta[id][Existe] = 0;
  3507.         Porta[id][PosX] = 0;
  3508.         Porta[id][PosY] = 0;
  3509.         Porta[id][PosZ] = 0;
  3510.         Porta[id][RX] = 0;
  3511.         Porta[id][RY] = 0;
  3512.         Porta[id][RZ] = 0;
  3513.  
  3514.         new file[64];
  3515.         format(file, sizeof(file), "Saves/Portas/%d.ini", id);
  3516.         if(DOF2_FileExists(file))
  3517.             DOF2_RemoveFile(file);
  3518.         SendClientMessage(playerid, -1, "Porta Apagada");
  3519.         return 1;
  3520.     }
  3521.     if(strcmp(cmdtext, "/destruir base", true) == 0)
  3522.     {
  3523.         new id = GetPlayerRangeBase(playerid);
  3524.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto de sua Base!");
  3525.         if(strcmp(Base[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Esta base não é sua!");
  3526.         DestroyDynamicObject(Base[id][ObjectB]);
  3527.         Base[id][Existe] = 0;
  3528.         Base[id][PosX] = 0;
  3529.         Base[id][PosY] = 0;
  3530.         Base[id][PosZ] = 0;
  3531.         Base[id][RX] = 0;
  3532.         Base[id][RY] = 0;
  3533.         Base[id][RZ] = 0;
  3534.  
  3535.         new file[64];
  3536.         format(file, sizeof(file), "Saves/Bases/%d.ini", id);
  3537.         if(DOF2_FileExists(file))
  3538.             DOF2_RemoveFile(file);
  3539.         SendClientMessage(playerid, -1, "Base Apagada");
  3540.         return 1;
  3541.     }
  3542.     if(strcmp(cmdtext, "/destruir bancada", true) == 0)
  3543.     {
  3544.         new id = GetPlayerRangeBancada(playerid);
  3545.         if(id == -1) return SendClientMessage(playerid, -1, "Você não está perto de sua Bancada!");
  3546.         if(strcmp(Bancada[id][Dono], pName(playerid))) return SendClientMessage(playerid, -1, "Esta bancada não é sua!");
  3547.         DestroyDynamicObject(Bancada[id][ObjectA]);
  3548.         Bancada[id][Existe] = 0;
  3549.         Bancada[id][PosX] = 0;
  3550.         Bancada[id][PosY] = 0;
  3551.         Bancada[id][PosZ] = 0;
  3552.         Bancada[id][RX] = 0;
  3553.         Bancada[id][RY] = 0;
  3554.         Bancada[id][RZ] = 0;
  3555.  
  3556.         new file[64];
  3557.         format(file, sizeof(file), "Saves/Bancadas/%d.ini", id);
  3558.         if(DOF2_FileExists(file))
  3559.             DOF2_RemoveFile(file);
  3560.         SendClientMessage(playerid, -1, "Bancada Apagada");
  3561.         return 1;
  3562.     }
  3563.     if(strcmp(cmdtext, "/admins", true) == 0 || strcmp(cmdtext, "/administradores", true) == 0)
  3564.     {
  3565.         SendClientMessage(playerid, 0x2DFFFFFF, "||- Online no Survival The Island -||");
  3566.         paramount(i,MAX_PLAYERS)
  3567.         {
  3568.             new lolz[20];
  3569.             if(PlayerInfo[playerid][Administrador] == 1)
  3570.             {
  3571.                 lolz = "[1] Iniciante";
  3572.             }
  3573.             if(PlayerInfo[playerid][Administrador] == 2)
  3574.             {
  3575.                 lolz = "[2] Moderador";
  3576.             }
  3577.             if(PlayerInfo[playerid][Administrador] == 3)
  3578.             {
  3579.                 lolz = "[3] Master";
  3580.             }
  3581.             if(PlayerInfo[playerid][Administrador] == 4)
  3582.             {
  3583.                 lolz = "[4] Sub-Dono";
  3584.             }
  3585.             if(PlayerInfo[playerid][Administrador] == 5)
  3586.             {
  3587.                 lolz = "[5] Dono/Fundador";
  3588.             }
  3589.             if(PlayerInfo[playerid][Administrador] >= 1 && PlayerInfo[playerid][Administrador] >= 5)
  3590.             {
  3591.                 format(string_,sizeof(string_), "{00FFFF} %s {FF7F00}|| %s || ", Nome(playerid), lolz);
  3592.                 SendClientMessage(playerid, 0x3366FFFF, string_);
  3593.             }
  3594.         }
  3595.         return 1;
  3596.     }
  3597.     if(strcmp(cmdtext,"/skin", true, 5) == 0)
  3598.     {
  3599.         if(PlayerInfo[playerid][Cloth] >= 1)
  3600.         {
  3601.             static
  3602.             string[128],
  3603.             skinid
  3604.         ;
  3605.             if(sscanf(cmdtext[6],"i",skinid)) return SendClientMessage(playerid, 0xF60000AA, "Erro: Tu deves escrever o numero da skin!");
  3606.             SetPlayerSkin(playerid, skinid);
  3607.             PlayerInfo[playerid][Skin] = skinid;
  3608.             format(string, 128, "Tu mudaste o teu skin para: %i" ,skinid);
  3609.             SendClientMessage(playerid, 0xF60000AA, string);
  3610.         }
  3611.         else if(PlayerInfo[playerid][Cloth] == 0)
  3612.         {
  3613.             SendClientMessage(playerid, 0xFFFFFFFF, "Você não tem Clouth suficiente!");
  3614.         }
  3615.         return 1;
  3616.     }
  3617.     if(strcmp(cmdtext,"/guardar arma", true) == 0)
  3618.     {
  3619.         switch(GetPlayerWeapon(playerid)){
  3620.  
  3621.         }
  3622.         return 1;
  3623.     }
  3624.     // comandos admin apartir daqui
  3625.     if(strcmp(cmdtext, "/gmx", true) == 0 || strcmp(cmdtext, "/reiniciar", true) == 0)
  3626.     {
  3627.         if(PlayerInfo[playerid][Administrador] >= 5)
  3628.         {
  3629.             GameTextForPlayer(playerid, "~b~GMX ~w~AGUARDE", 200, 0);
  3630.             SendRconCommand("Gmx");
  3631.         }
  3632.         else return SendClientMessage(playerid,fail,NAOADM);
  3633.         return 1;
  3634.     }
  3635.     if(strcmp(cmdtext, "/setskin", true, 7) == 0)
  3636.     {
  3637.         if(PlayerInfo[playerid][Administrador] >= 2)
  3638.         {
  3639.             new
  3640.                 idx,
  3641.                 skinid;
  3642.                 if(sscanf(cmdtext[8],"ud",idx,skinid)) return SendClientMessage(playerid,-1,"use /mudarskin [playerid] [skinid]");
  3643.                 if(!IsPlayerConnected(idx)) return SendClientMessage(playerid,-1,"Jogador Off-line.");
  3644.                 if(skinid < 0 || skinid > 311) return SendClientMessage(playerid,-1,"use de 0-311");
  3645.                 SetPlayerSkin(idx,skinid);
  3646.                 SendClientMessage(playerid,-1,"Você setou uma skin com sucesso.");
  3647.                 SendClientMessage(playerid,-1,"O administrador mudou sua skin.");
  3648.                 PlayerInfo[playerid][SkinAnterior] = PlayerInfo[playerid][Skin];
  3649.                 PlayerInfo[playerid][Skin] = skinid;
  3650.                 SalvarPlayer(playerid);
  3651.         }
  3652.         else return SendClientMessage(playerid,fail,NAOADM);
  3653.         return 1;
  3654.     }
  3655.     if(strcmp(cmdtext, "/darnivel", true, 8) == 0)
  3656.     {
  3657.         if(PlayerInfo[playerid][Administrador] >= 5)
  3658.         {
  3659.             new
  3660.                 String[64],
  3661.                 idx,
  3662.                 nivel;
  3663.             if(sscanf(cmdtext[9], "dd",idx,nivel)) return SendClientMessage(playerid, COR_BRANCO, "USE: /darnivel [id] [Quantidade]");
  3664.             if(!IsPlayerConnected(idx)) return SendClientMessage(playerid,fail,"Jogador Off-line.");
  3665.             SetPlayerScore(idx, nivel);
  3666.             PlayerInfo[playerid][Level] += nivel;
  3667.             format(String, sizeof(String), "Você recebeu [%d] de niveis do Admin [%s]", nivel, Nome(playerid));
  3668.             SendClientMessage(idx, COR_AZUL, String);
  3669.             format(String, sizeof(String), "Você deu [%d] de niveis para [%s]", nivel, Nome(idx));
  3670.             SendClientMessage(playerid, COR_AZUL, String);
  3671.             SalvarPlayer(playerid);
  3672.         }
  3673.         else return SendClientMessage(playerid,fail,NAOADM);
  3674.         return 1;
  3675.     }
  3676.     if(strcmp(cmdtext, "/darcash", true, 8) == 0)
  3677.     {
  3678.         if(PlayerInfo[playerid][Administrador] >= 5)
  3679.         {
  3680.             new
  3681.                 String[64],
  3682.                 idx,
  3683.                 cash;
  3684.             if(sscanf(cmdtext[9], "dd",idx,cash)) return SendClientMessage(playerid, COR_BRANCO, "USE: /darcash [id] [Quantidade]");
  3685.             if(!IsPlayerConnected(idx)) return SendClientMessage(playerid,fail,"Jogador Off-line.");
  3686.             PlayerInfo[playerid][Cash] += cash;
  3687.             format(String, sizeof(String), "Você recebeu [%d] de cash do Admin [%s]", cash, Nome(playerid));
  3688.             SendClientMessage(idx, COR_AZUL, String);
  3689.             format(String, sizeof(String), "Você deu [%d] de cash para [%s]", cash, Nome(idx));
  3690.             SendClientMessage(playerid, COR_AZUL, String);
  3691.             SalvarPlayer(playerid);
  3692.         }
  3693.         else return SendClientMessage(playerid,fail,NAOADM);
  3694.         return 1;
  3695.     }
  3696.     if(strcmp(cmdtext, "/autorizar", true) == 0)
  3697.     {
  3698.         if(PlayerInfo[playerid][Administrador] >= 4)
  3699.         {
  3700.             new
  3701.                 idx;
  3702.             if(sscanf(cmdtext,"jj",idx)) return SendClientMessage(playerid,COR_BRANCO,"/autorizar [playerid]");
  3703.             if(!IsPlayerConnected(idx)) return SendClientMessage(playerid,fail,"Jogador Off-line.");
  3704.             pInfo2[idx][pAutorizado] = 1;
  3705.             SendClientMessage(idx,verde,"foi autorizado a mudar de nick.");
  3706.         }
  3707.         else return SendClientMessage(playerid,fail,NAOADM);
  3708.         return 1;
  3709.     }
  3710.     if(strcmp(cmdtext, "/mudarnick", true) == 0)
  3711.     {
  3712.         if(pInfo2[playerid][pAutorizado] == 1)
  3713.         {
  3714.             if(sscanf(cmdtext,"s[24]",string_)) return SendClientMessage(playerid,verde,"use /mudarnick [nome_novo]");
  3715.             SetPlayerName(playerid,string_);
  3716.             SendClientMessage(playerid,verde,"nick alterado com sucesso.");
  3717.             pInfo2[playerid][pAutorizado] = 0;
  3718.         }
  3719.         else return SendClientMessage(playerid,verde,"não está autorizado.");
  3720.         return 1;
  3721.     }
  3722.     if(strcmp(cmdtext, "/descalar", true) == 0)
  3723.     {
  3724.         if(PlayerInfo[playerid][Administrador] >= 2)
  3725.         {
  3726.             new
  3727.                 idx;
  3728.             if(sscanf(cmdtext,"uu",idx)) return SendClientMessage(playerid,verde,"/calar [id/ou nome do individuo] ");
  3729.             calado[idx] = false;
  3730.             SendClientMessage(playerid,verde,"individuo descalado com sucesso.");
  3731.             SendClientMessage(idx,fail,"foi descalado pelo admin!");
  3732.         }
  3733.         else return SendClientMessage(playerid,fail,NAOADM);
  3734.         return 1;
  3735.     }
  3736.     if(strcmp(cmdtext, "/calar", true) == 0)
  3737.     {
  3738.         if(PlayerInfo[playerid][Administrador] >= 2)
  3739.         {
  3740.             new
  3741.                 idx;
  3742.             if(sscanf(cmdtext,"ls",idx)) return SendClientMessage(playerid,verde,"/calar [id/ou nome do individuo] ");
  3743.             calado[idx] = true;
  3744.             SendClientMessage(playerid,verde,"individuo calado com sucesso.");
  3745.             SendClientMessage(idx,fail,"foi calado pelo admin seu noob, cala boca um pouco!");
  3746.         }
  3747.         else return SendClientMessage(playerid,fail,NAOADM);
  3748.         return 1;
  3749.     }
  3750.     if(strcmp(cmdtext, "/votacao", true) == 0)
  3751.     {
  3752.         if(PlayerInfo[playerid][Administrador] >= 1)
  3753.         {
  3754.             new
  3755.                 pergunta[128]
  3756.             ;
  3757.             if(sscanf(cmdtext,"s[128]",pergunta)) return SendClientMessage(playerid,0xFFFFFFAA, "Use: /votacao [pergunta]");
  3758.             SendClientMessageToAll(LARANJA,"====================================");
  3759.             format(string_, sizeof string_, "==> [%s] Votação: %s?", Nome(playerid), pergunta);
  3760.             SendClientMessageToAll(VERDECLARO, string_);
  3761.             SendClientMessageToAll(LARANJA,"    ");
  3762.             SendClientMessageToAll(LARANJA," > Para votar digite:");
  3763.             SendClientMessageToAll(VERDEMEDIO, "* /sim - Se você concorda digite.");
  3764.             SendClientMessageToAll(VERDEMEDIO, "* /não - Se você discorda digite.");
  3765.             SendClientMessageToAll(LARANJA,"====================================");
  3766.             GameTextForAll("~w~Nova ~r~votacao~w~ foi~b~ iniciada!",6000,3);
  3767.             enquete = true;
  3768.         }
  3769.         else return SendClientMessage(playerid, fail, NAOADM);
  3770.         return 1;
  3771.     }
  3772.     if(strcmp(cmdtext, "/sim", true) == 0)
  3773.     {
  3774.         if(enquete == true)
  3775.         {
  3776.             if(votou[playerid] == false)
  3777.             {
  3778.                 sim++;
  3779.                 SendClientMessage(playerid,verde,"voto computado com sucesso.");
  3780.                 votou[playerid] = true;
  3781.             }
  3782.             else return SendClientMessage(playerid,fail,"já votou");
  3783.         }
  3784.         else return SendClientMessage(playerid,fail,"não há votação em andamento.");
  3785.         return 1;
  3786.     }
  3787.     if(strcmp(cmdtext, "/nao", true) == 0)
  3788.     {
  3789.         if(enquete == true)
  3790.         {
  3791.             if(votou[playerid] == false)
  3792.             {
  3793.                 SendClientMessage(playerid,LARANJA, "Seu voto foi computado com sucesso!");
  3794.                 nao++;
  3795.                 votou[playerid] = true;
  3796.                 return 1;
  3797.             }
  3798.         }
  3799.         return 1;
  3800.     }
  3801.     if(strcmp(cmdtext, "/encerrar", true) == 0)
  3802.     {
  3803.         if(PlayerInfo[playerid][Administrador] >= 1)
  3804.         {
  3805.             if(enquete == true)
  3806.             {
  3807.                 enquete = false;
  3808.                 SendClientMessageToAll(LARANJA,"====================================");
  3809.                 SendClientMessageToAll(LARANJA, "==> Votacâo encerrada! <<==");
  3810.                 format(string_, sizeof string_, "* %d jogador(es) concordaram com a pergunta.", sim);
  3811.                 SendClientMessageToAll(VERDEMEDIO, string_);
  3812.                 format(string_, sizeof string_, "* %d jogador(es) discordaram com a pergunta.", nao);
  3813.                 SendClientMessageToAll(VERDEMEDIO, string_);
  3814.                 paramount(i,MAX_PLAYERS) return votou[i] = false;
  3815.                 if(sim == nao)
  3816.                 {
  3817.                     SendClientMessageToAll(VERMELHO, "==> Houve um empate!");
  3818.                 } else if(sim > nao)
  3819.                 {
  3820.                     SendClientMessageToAll(VERMELHO, "==> A maioria CONCORDA com a pergunta.");
  3821.                 } else if(sim > nao)
  3822.                 {
  3823.                     SendClientMessageToAll(VERMELHO, "==> A maioria DISCORDA com a pergunta.");
  3824.                 }
  3825.                 SendClientMessageToAll(LARANJA,"====================================");
  3826.             }
  3827.             else return SendClientMessage(playerid,fail,"Não há uma votação em andamento");
  3828.         }
  3829.         else SendClientMessage(playerid,fail,NAOADM);
  3830.         return 1;
  3831.     }
  3832.     if(strcmp(cmdtext, "/lchat", true) == 0)
  3833.     {
  3834.         if(PlayerInfo[playerid][Administrador] >= 1)
  3835.         {
  3836.             for(new a = 0; a < 100; a++)
  3837.             SendClientMessageToAll(-1,"");
  3838.         }
  3839.         else SendClientMessage(playerid,fail,NAOADM);
  3840.         return 1;
  3841.     }
  3842.     if(strcmp(cmdtext, "/dia", true) == 0)
  3843.     {
  3844.         if(PlayerInfo[playerid][Administrador] >= 1)
  3845.         {
  3846.             SetWorldTime(12);
  3847.             SendClientMessage(playerid, COR_VERMELHO, "Horario do jogo alterado para 12 horas");
  3848.         }
  3849.         else SendClientMessage(playerid,fail,NAOADM);
  3850.         return 1;
  3851.     }
  3852.     if(strcmp(cmdtext, "/noite", true) == 0)
  3853.     {
  3854.         if(PlayerInfo[playerid][Administrador] >= 1)
  3855.         {
  3856.             SetWorldTime(0);
  3857.             SendClientMessage(playerid, COR_VERMELHO, "Horario do jogo alterado para 0 horas");
  3858.         }
  3859.         else SendClientMessage(playerid,fail,NAOADM);
  3860.         return 1;
  3861.     }
  3862.     // comandos admin rcon
  3863.     if(strcmp(cmdtext, "/virar admin", true) == 0)
  3864.     {
  3865.         if(!IsPlayerAdmin(playerid)) return 1;
  3866.         PlayerInfo[playerid][Administrador] = 5;
  3867.         SalvarPlayer(playerid);
  3868.         return 1;
  3869.     }
  3870.     if(strcmp(cmdtext, "/kill", true) == 0)
  3871.     {
  3872.         if (!IsPlayerAdmin(playerid))
  3873.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3874.         SetPlayerHealth(playerid, 0);
  3875.         return 1;
  3876.     }
  3877.     if(strcmp(cmdtext, "/cash", true) == 0)
  3878.     {
  3879.         if (!IsPlayerAdmin(playerid))
  3880.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3881.         PlayerInfo[playerid][Cash] += 999999999;
  3882.         PlayerPlaySound(playerid, 1084, 0.0, 0.0, 0.0);
  3883.         return 1;
  3884.     }
  3885.     if(strcmp(cmdtext, "/cloth", true) == 0)
  3886.     {
  3887.         if (!IsPlayerAdmin(playerid))
  3888.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3889.         PlayerInfo[playerid][Cloth] += 100;
  3890.         return 1;
  3891.     }
  3892.     if(strcmp(cmdtext, "/parafuso", true) == 0)
  3893.     {
  3894.         if (!IsPlayerAdmin(playerid))
  3895.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3896.         PlayerInfo[playerid][Parafuso] += 100;
  3897.         return 1;
  3898.     }
  3899.     if(strcmp(cmdtext, "/borracha", true) == 0)
  3900.     {
  3901.         if (!IsPlayerAdmin(playerid))
  3902.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3903.         PlayerInfo[playerid][Borracha] += 100;
  3904.         return 1;
  3905.     }
  3906.     if(strcmp(cmdtext, "/metal", true) == 0)
  3907.     {
  3908.         if (!IsPlayerAdmin(playerid))
  3909.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3910.         PlayerInfo[playerid][Metal] += 100;
  3911.         return 1;
  3912.     }
  3913.     if(strcmp(cmdtext, "/pegar rifle", true) == 0)
  3914.     {
  3915.         if (!IsPlayerAdmin(playerid))
  3916.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3917.         GivePlayerWeapon(playerid, 33, 20);
  3918.         SendClientMessageToAll(-1,"Você pegou seu rifle");
  3919.         return 1;
  3920.     }
  3921.     if(strcmp(cmdtext, "/pegar sniper", true) == 0)
  3922.     {
  3923.         if (!IsPlayerAdmin(playerid))
  3924.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3925.         GivePlayerWeapon(playerid, 34, 20);
  3926.         SendClientMessageToAll(-1,"Você pegou sua sniper");
  3927.         return 1;
  3928.     }
  3929.     if(strcmp(cmdtext, "/pegar shot", true) == 0)
  3930.     {
  3931.         if (!IsPlayerAdmin(playerid))
  3932.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3933.         GivePlayerWeapon(playerid, 25, 20);
  3934.         SendClientMessageToAll(-1,"Você pegou sua shotgun");
  3935.         return 1;
  3936.     }
  3937.     if(strcmp(cmdtext, "/pegar shot", true) == 0)
  3938.     {
  3939.         if (!IsPlayerAdmin(playerid))
  3940.         return SendClientMessage(playerid,-1,"Você não é um Administrador RCON");
  3941.         GivePlayerWeapon(playerid, 25, 20);
  3942.         SendClientMessageToAll(-1,"Você pegou sua shotgun");
  3943.         return 1;
  3944.     }
  3945.     return SendClientMessage(playerid, COR_VERMELHO, "Esse comando não existe, digite: /ajuda ou chame um administrador no /duvida");
  3946. }
  3947.  
  3948. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  3949. {
  3950.     return 1;
  3951. }
  3952.  
  3953. public OnPlayerExitVehicle(playerid, vehicleid)
  3954. {
  3955.     return 1;
  3956. }
  3957.  
  3958. public OnPlayerStateChange(playerid, newstate, oldstate)
  3959. {
  3960.     return 1;
  3961. }
  3962.  
  3963. public OnPlayerEnterCheckpoint(playerid)
  3964. {
  3965.     return 1;
  3966. }
  3967.  
  3968. public OnPlayerLeaveCheckpoint(playerid)
  3969. {
  3970.     return 1;
  3971. }
  3972.  
  3973. public OnPlayerEnterRaceCheckpoint(playerid)
  3974. {
  3975.     return 1;
  3976. }
  3977.  
  3978. public OnPlayerLeaveRaceCheckpoint(playerid)
  3979. {
  3980.     return 1;
  3981. }
  3982.  
  3983. public OnRconCommand(cmd[])
  3984. {
  3985.     return 1;
  3986. }
  3987.  
  3988.  
  3989. public OnPlayerRequestSpawn(playerid)
  3990. {
  3991.     TogglePlayerSpectating(playerid, 1);
  3992.     InterpolateCameraPos(playerid, -2397.553710, 1436.038452, 140.798019, -2876.055175, 1382.189697, 159.150161, 17000);
  3993.     InterpolateCameraLookAt(playerid, -2401.776855, 1438.431640, 139.599197, -2872.188964, 1384.818359, 157.377395, 17000);
  3994.     return 1;
  3995. }
  3996.  
  3997. public OnObjectMoved(objectid)
  3998. {
  3999.     return 1;
  4000. }
  4001.  
  4002. public OnPlayerObjectMoved(playerid, objectid)
  4003. {
  4004.     return 1;
  4005. }
  4006.  
  4007. public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
  4008. {
  4009.     if(response == EDIT_RESPONSE_FINAL) {
  4010.         new id = EditBaseID[playerid];
  4011.         if(id != -1)
  4012.         {
  4013.             Base[id][PosX] = x;
  4014.             Base[id][PosY] = y;
  4015.             Base[id][PosZ] = z;
  4016.             Base[id][RX] = rx;
  4017.             Base[id][RY] = ry;
  4018.             Base[id][RZ] = rz;
  4019.             SetDynamicObjectPos(objectid, x, y, z);
  4020.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4021.             EditBaseID[playerid] = -1;
  4022.             SalvarBases(id);
  4023.         }
  4024.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4025.         new id = EditBaseID[playerid];
  4026.         if(id != -1)
  4027.         {
  4028.             SetDynamicObjectPos(objectid, Base[id][PosX], Base[id][PosY], Base[id][PosZ]);
  4029.             SetDynamicObjectRot(objectid, Base[id][RX], Base[id][RY], Base[id][RZ]);
  4030.             EditBaseID[playerid] = -1;
  4031.         }
  4032.     }
  4033.     if(response == EDIT_RESPONSE_FINAL) {
  4034.         new id = EditBancadaID[playerid];
  4035.         if(id != -1)
  4036.         {
  4037.             Bancada[id][PosX] = x;
  4038.             Bancada[id][PosY] = y;
  4039.             Bancada[id][PosZ] = z;
  4040.             Bancada[id][RX] = rx;
  4041.             Bancada[id][RY] = ry;
  4042.             Bancada[id][RZ] = rz;
  4043.             SetDynamicObjectPos(objectid, x, y, z);
  4044.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4045.             EditBancadaID[playerid] = -1;
  4046.             SalvarBancadas(id);
  4047.         }
  4048.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4049.         new id = EditBancadaID[playerid];
  4050.         if(id != -1)
  4051.         {
  4052.             SetDynamicObjectPos(objectid, Bancada[id][PosX], Bancada[id][PosY], Bancada[id][PosZ]);
  4053.             SetDynamicObjectRot(objectid, Bancada[id][RX], Bancada[id][RY], Bancada[id][RZ]);
  4054.             EditBancadaID[playerid] = -1;
  4055.         }
  4056.     }
  4057.     if(response == EDIT_RESPONSE_FINAL) {
  4058.         new id = EditPortaID[playerid];
  4059.         if(id != -1)
  4060.         {
  4061.             Porta[id][PosX] = x;
  4062.             Porta[id][PosY] = y;
  4063.             Porta[id][PosZ] = z;
  4064.             Porta[id][RX] = rx;
  4065.             Porta[id][RY] = ry;
  4066.             Porta[id][RZ] = rz;
  4067.             SetDynamicObjectPos(objectid, x, y, z);
  4068.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4069.             EditPortaID[playerid] = -1;
  4070.             SalvarPortas(id);
  4071.         }
  4072.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4073.         new id = EditPortaID[playerid];
  4074.         if(id != -1)
  4075.         {
  4076.             SetDynamicObjectPos(objectid, Porta[id][PosX], Porta[id][PosY], Porta[id][PosZ]);
  4077.             SetDynamicObjectRot(objectid, Porta[id][RX], Porta[id][RY], Porta[id][RZ]);
  4078.             EditPortaID[playerid] = -1;
  4079.         }
  4080.     }
  4081.     if(response == EDIT_RESPONSE_FINAL) {
  4082.         new id = EditBauID[playerid];
  4083.         if(id != -1)
  4084.         {
  4085.             Bau[id][PosX] = x;
  4086.             Bau[id][PosY] = y;
  4087.             Bau[id][PosZ] = z;
  4088.             Bau[id][RX] = rx;
  4089.             Bau[id][RY] = ry;
  4090.             Bau[id][RZ] = rz;
  4091.             SetDynamicObjectPos(objectid, x, y, z);
  4092.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4093.             EditBauID[playerid] = -1;
  4094.             SalvarBaus(id);
  4095.         }
  4096.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4097.         new id = EditBauID[playerid];
  4098.         if(id != -1)
  4099.         {
  4100.             SetDynamicObjectPos(objectid, Bau[id][PosX], Bau[id][PosY], Bau[id][PosZ]);
  4101.             SetDynamicObjectRot(objectid, Bau[id][RX], Bau[id][RY], Bau[id][RZ]);
  4102.             EditBauID[playerid] = -1;
  4103.         }
  4104.     }
  4105.     if(response == EDIT_RESPONSE_FINAL) {
  4106.         new id = EditRampaID[playerid];
  4107.         if(id != -1)
  4108.         {
  4109.             Rampa[id][PosX] = x;
  4110.             Rampa[id][PosY] = y;
  4111.             Rampa[id][PosZ] = z;
  4112.             Rampa[id][RX] = rx;
  4113.             Rampa[id][RY] = ry;
  4114.             Rampa[id][RZ] = rz;
  4115.             SetDynamicObjectPos(objectid, x, y, z);
  4116.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4117.             EditRampaID[playerid] = -1;
  4118.             SalvarRampas(id);
  4119.         }
  4120.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4121.         new id = EditRampaID[playerid];
  4122.         if(id != -1)
  4123.         {
  4124.             SetDynamicObjectPos(objectid, Rampa[id][PosX], Rampa[id][PosY], Rampa[id][PosZ]);
  4125.             SetDynamicObjectRot(objectid, Rampa[id][RX], Rampa[id][RY], Rampa[id][RZ]);
  4126.             EditRampaID[playerid] = -1;
  4127.         }
  4128.     }
  4129.     if(response == EDIT_RESPONSE_FINAL) {
  4130.         new id = EditDoorID[playerid];
  4131.         if(id != -1)
  4132.         {
  4133.             Door[id][PosX] = x;
  4134.             Door[id][PosY] = y;
  4135.             Door[id][PosZ] = z;
  4136.             Door[id][RX] = rx;
  4137.             Door[id][RY] = ry;
  4138.             Door[id][RZ] = rz;
  4139.             SetDynamicObjectPos(objectid, x, y, z);
  4140.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4141.             EditDoorID[playerid] = -1;
  4142.             SalvarDoor(id);
  4143.         }
  4144.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4145.         new id = EditDoorID[playerid];
  4146.         if(id != -1)
  4147.         {
  4148.             SetDynamicObjectPos(objectid, Door[id][PosX], Door[id][PosY], Door[id][PosZ]);
  4149.             SetDynamicObjectRot(objectid, Door[id][RX], Door[id][RY], Door[id][RZ]);
  4150.             EditDoorID[playerid] = -1;
  4151.         }
  4152.     }
  4153.     if(response == EDIT_RESPONSE_FINAL) {
  4154.         new id = EditCamaID[playerid];
  4155.         if(id != -1)
  4156.         {
  4157.             Cama[id][PosX] = x;
  4158.             Cama[id][PosY] = y;
  4159.             Cama[id][PosZ] = z;
  4160.             Cama[id][RX] = rx;
  4161.             Cama[id][RY] = ry;
  4162.             Cama[id][RZ] = rz;
  4163.             SetDynamicObjectPos(objectid, x, y, z);
  4164.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4165.             EditCamaID[playerid] = -1;
  4166.             SalvarCama(id);
  4167.         }
  4168.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4169.         new id = EditCamaID[playerid];
  4170.         if(id != -1)
  4171.         {
  4172.             SetDynamicObjectPos(objectid, Cama[id][PosX], Cama[id][PosY], Cama[id][PosZ]);
  4173.             SetDynamicObjectRot(objectid, Cama[id][RX], Cama[id][RY], Cama[id][RZ]);
  4174.             EditCamaID[playerid] = -1;
  4175.         }
  4176.     }
  4177.     if(response == EDIT_RESPONSE_FINAL) {
  4178.         new id = EditWindownID[playerid];
  4179.         if(id != -1)
  4180.         {
  4181.             Windown[id][PosX] = x;
  4182.             Windown[id][PosY] = y;
  4183.             Windown[id][PosZ] = z;
  4184.             Windown[id][RX] = rx;
  4185.             Windown[id][RY] = ry;
  4186.             Windown[id][RZ] = rz;
  4187.             SetDynamicObjectPos(objectid, x, y, z);
  4188.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4189.             EditWindownID[playerid] = -1;
  4190.             SalvarWindowns(id);
  4191.         }
  4192.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4193.         new id = EditWindownID[playerid];
  4194.         if(id != -1)
  4195.         {
  4196.             SetDynamicObjectPos(objectid, Windown[id][PosX], Windown[id][PosY], Windown[id][PosZ]);
  4197.             SetDynamicObjectRot(objectid, Windown[id][RX], Windown[id][RY], Windown[id][RZ]);
  4198.             EditWindownID[playerid] = -1;
  4199.         }
  4200.     }
  4201.     if(response == EDIT_RESPONSE_FINAL) {
  4202.         new id = EditFornoID[playerid];
  4203.         if(id != -1)
  4204.         {
  4205.             Forno[id][PosX] = x;
  4206.             Forno[id][PosY] = y;
  4207.             Forno[id][PosZ] = z;
  4208.             Forno[id][RX] = rx;
  4209.             Forno[id][RY] = ry;
  4210.             Forno[id][RZ] = rz;
  4211.             SetDynamicObjectPos(objectid, x, y, z);
  4212.             SetDynamicObjectRot(objectid, rx, ry, rz);
  4213.             EditFornoID[playerid] = -1;
  4214.             SalvarForno(id);
  4215.         }
  4216.     }else if(response == EDIT_RESPONSE_CANCEL) {
  4217.         new id = EditFornoID[playerid];
  4218.         if(id != -1)
  4219.         {
  4220.             SetDynamicObjectPos(objectid, Forno[id][PosX], Forno[id][PosY], Forno[id][PosZ]);
  4221.             SetDynamicObjectRot(objectid, Forno[id][RX], Forno[id][RY], Forno[id][RZ]);
  4222.             EditFornoID[playerid] = -1;
  4223.         }
  4224.     }
  4225.     return 1;
  4226. }
  4227.  
  4228.  
  4229. public OnPlayerPickUpPickup(playerid, pickupid)
  4230. {
  4231.     return 1;
  4232. }
  4233.  
  4234. public OnVehicleMod(playerid, vehicleid, componentid)
  4235. {
  4236.     return 1;
  4237. }
  4238.  
  4239. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  4240. {
  4241.     return 1;
  4242. }
  4243.  
  4244. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  4245. {
  4246.     return 1;
  4247. }
  4248.  
  4249. public OnPlayerSelectedMenuRow(playerid, row)
  4250. {
  4251.     return 1;
  4252. }
  4253.  
  4254. public OnPlayerExitedMenu(playerid)
  4255. {
  4256.     return 1;
  4257. }
  4258.  
  4259. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  4260. {
  4261.     return 1;
  4262. }
  4263.  
  4264. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  4265. {
  4266.     if(PRESSED(KEY_FIRE))
  4267.     {
  4268.         if(PlayerNoLugar(playerid, 2.0, -748.5999800,-2453.7000,68.0000) || PlayerNoLugar(playerid, 2.0, -717.9000200,-2465.5000,68.1000) || PlayerNoLugar(playerid, 2.0, -718.5000,-2431.6001,62.0000) || PlayerNoLugar(playerid, 2.0, -691.0999800,-2438.5000,63.5000) ||
  4269.         PlayerNoLugar(playerid, 2.0, -701.7000100,-2382.8000,49.0000) || PlayerNoLugar(playerid, 2.0, -576.0999800,-2230.5000,27.4000) || PlayerNoLugar(playerid, 2.0, -689.2000100,-2351.1001,36.8000) || PlayerNoLugar(playerid, 2.0, -645.4000200,-2373.2000,33.8000) ||
  4270.         PlayerNoLugar(playerid, 2.0, -663.7998,-2349.5996,34.7000) || PlayerNoLugar(playerid, 2.0, -654.2998,-2321.5996,34.5000) || PlayerNoLugar(playerid, 2.0, -671.5996100,-2298.0996,28.3000) || PlayerNoLugar(playerid, 2.0, -632.2998,-2291.5000,27.8000) ||
  4271.         PlayerNoLugar(playerid, 2.0, -599.5996100,-2264.7002,24.4000) || PlayerNoLugar(playerid, 2.0, -569.7999900,-2258.8000,25.9000) || PlayerNoLugar(playerid, 2.0, -1058.1000,-2456.8000,60.0000) || PlayerNoLugar(playerid, 2.0, -1090.2000,-2338.3999,49.8000) ||
  4272.         PlayerNoLugar(playerid, 2.0, -1024.4004,-2431.2998,65.5000) || PlayerNoLugar(playerid, 2.0, -1055.0996,-2416.0996,58.9000) || PlayerNoLugar(playerid, 2.0, -1080.0996,-2355.0996,47.8000) || PlayerNoLugar(playerid, 2.0, -1106.7000,-2298.8999,41.9000) ||
  4273.         PlayerNoLugar(playerid, 2.0, -1112.6000,-2332.5000,42.5000) || PlayerNoLugar(playerid, 2.0, -1092.7998,-2323.2998,51.7000) || PlayerNoLugar(playerid, 2.0, -1061.0000,-2309.7000,53.4000) || PlayerNoLugar(playerid, 2.0, -995.2999900,-2311.0000,61.8000) ||
  4274.         PlayerNoLugar(playerid, 2.0, -968.0999800,-2339.3999,65.5000) || PlayerNoLugar(playerid, 2.0, -976.2000100,-2288.0000,58.7000) || PlayerNoLugar(playerid, 2.0, -908.0000,-2401.3999,58.4000) || PlayerNoLugar(playerid, 2.0, -943.7999900,-2499.8999,103.2000) ||
  4275.         PlayerNoLugar(playerid, 2.0, -914.9003900,-2438.2002,80.1000) || PlayerNoLugar(playerid, 2.0, -945.7002,-2477.7002,99.3000) || PlayerNoLugar(playerid, 2.0, -764.5000,-2409.0000,64.0000) || PlayerNoLugar(playerid, 2.0, -690.4000200,-2191.7000,19.5000) ||
  4276.         PlayerNoLugar(playerid, 2.0, -726.5000,-2197.8994,34.4000) || PlayerNoLugar(playerid, 2.0, -736.7998,-2213.0996,36.5000) || PlayerNoLugar(playerid, 2.0, -665.0000,-2180.5000,18.3000) || PlayerNoLugar(playerid, 2.0, -680.5000,-2166.5000,22.1000) ||
  4277.         PlayerNoLugar(playerid, 2.0, -670.4000200,-2115.8000,25.5000) || PlayerNoLugar(playerid, 2.0, -659.0996100,-2126.5996,26.2000) || PlayerNoLugar(playerid, 2.0, -643.9000200,-2090.5000,27.7000) || PlayerNoLugar(playerid, 2.0, -690.7999900,-2137.0000,24.7000) ||
  4278.         PlayerNoLugar(playerid, 2.0, -763.5999800,-2221.8000,21.6000) || PlayerNoLugar(playerid, 2.0, -863.4000200,-2274.2000,25.3000) || PlayerNoLugar(playerid, 2.0, -870.4003900,-2246.0000,26.5000) || PlayerNoLugar(playerid, 2.0, -902.9000200,-2259.5000,37.9000) ||
  4279.         PlayerNoLugar(playerid, 2.0, -804.5000,-2297.3999,28.3000) || PlayerNoLugar(playerid, 2.0, -792.2000100,-2343.2000,43.4000) || PlayerNoLugar(playerid, 2.0, -809.4003900,-2328.5000,38.1000) || PlayerNoLugar(playerid, 2.0, -845.2000100,-2362.2000,57.7000) ||
  4280.         PlayerNoLugar(playerid, 2.0, -576.7000100,-1995.9000,45.4000) || PlayerNoLugar(playerid, 2.0, -607.5996100,-2047.4004,40.2000) || PlayerNoLugar(playerid, 2.0, -572.7998,-2016.0000,47.0000) || PlayerNoLugar(playerid, 2.0, -587.5000,-1980.0000,42.1000) ||
  4281.         PlayerNoLugar(playerid, 2.0, -603.7999900,-1948.3000,33.2000) || PlayerNoLugar(playerid, 2.0, -571.7998,-1952.5996,38.4000) || PlayerNoLugar(playerid, 2.0, -513.7999900,-2002.7000,47.5000) || PlayerNoLugar(playerid, 2.0, -519.2998,-1965.7002,41.4000) ||
  4282.         PlayerNoLugar(playerid, 2.0, -531.2998,-1988.9004,46.2000) || PlayerNoLugar(playerid, 2.0, -657.2999900,-1838.5000,20.7000) || PlayerNoLugar(playerid, 2.0, -587.7999900,-1831.6000,29.3000) || PlayerNoLugar(playerid, 2.0, -613.7002,-1868.7002,16.1000) ||
  4283.         PlayerNoLugar(playerid, 2.0, -557.5999800,-1858.4000,18.2000) || PlayerNoLugar(playerid, 2.0, -540.5000,-1843.0000,21.3000) || PlayerNoLugar(playerid, 2.0, -529.5000,-1862.7000,13.1000) || PlayerNoLugar(playerid, 2.0, -505.5000,-1854.0000,14.8000) ||
  4284.         PlayerNoLugar(playerid, 2.0, -393.7999900,-1952.2000,19.2000) || PlayerNoLugar(playerid, 2.0, -398.1000100,-1971.5000,24.6000) || PlayerNoLugar(playerid, 2.0, -397.8999900,-2003.4000,30.4000) || PlayerNoLugar(playerid, 2.0, -423.2999900,-2083.8000,77.0000) ||
  4285.         PlayerNoLugar(playerid, 2.0, -422.7000100,-2113.1001,83.8000) || PlayerNoLugar(playerid, 2.0, -456.1000100,-2094.7000,85.2000) || PlayerNoLugar(playerid, 2.0, -486.7999900,-2112.8999,89.0000) || PlayerNoLugar(playerid, 2.0, -453.0000,-2141.7000,87.8000) ||
  4286.         PlayerNoLugar(playerid, 2.0, -568.5000,-2120.6001,70.0000) || PlayerNoLugar(playerid, 2.0, -537.0999800,-2126.1001,78.1000) || PlayerNoLugar(playerid, 2.0, -325.5000,-2588.3000,127.7000) || PlayerNoLugar(playerid, 2.0, -473.2998,-2203.0996,74.1000) ||
  4287.         PlayerNoLugar(playerid, 2.0, -374.6000100,-2221.3999,65.9000) || PlayerNoLugar(playerid, 2.0, -348.2999900,-2301.8999,67.3000) || PlayerNoLugar(playerid, 2.0, -351.2000100,-2343.3999,82.3000) || PlayerNoLugar(playerid, 2.0, -295.7000100,-2380.5000,65.7000))       {
  4288.         if(GetPlayerWeapon(playerid) == 4){
  4289.                 if (HandleMaterialLoot(playerid, 0)) { // handle material loot, id, material id
  4290.                     TextDrawShowForPlayer(playerid, Boxzin[playerid]);
  4291.                     TextDrawShowForPlayer(playerid, Wood[playerid]);
  4292.                     SetTimerEx("DestruirTextoDraw", 1500, false, "i", playerid);
  4293.                     PlayerInfo[playerid][Madeira] += 1;
  4294.                 }else{
  4295.                     PlayerInfo[playerid][Madeira] = def_LimiteMadeira;
  4296.                     TextDrawShowForPlayer(playerid, Boxzin[playerid]);
  4297.                     TextDrawShowForPlayer(playerid, LimiteMaterial[playerid]);
  4298.                     SetTimerEx("DestruirTextoDraw", 1500, false, "i", playerid);
  4299.                 }
  4300.             }  
  4301.         }  
  4302.     }
  4303.     if(PRESSED(KEY_FIRE))
  4304.     {
  4305.         if(PlayerNoLugar(playerid, 2.0, -317.4003900,-2319.0996,62.6000) || PlayerNoLugar(playerid, 2.0, -313.6000100,-2364.1001,72.4000) || PlayerNoLugar(playerid, 2.0, -310.2000100,-2429.5000,80.3000) || PlayerNoLugar(playerid, 2.0, -208.5000,-2571.3999,47.2000) ||
  4306.         PlayerNoLugar(playerid, 2.0, -290.2002,-2456.5996,73.6000) || PlayerNoLugar(playerid, 2.0, -230.9003900,-2440.0996,41.8000) || PlayerNoLugar(playerid, 2.0, -250.9003900,-2437.0996,50.3000) || PlayerNoLugar(playerid, 2.0, -190.2002,-2473.0996,34.0000) ||
  4307.         PlayerNoLugar(playerid, 2.0, -199.2002,-2529.7998,35.2000) || PlayerNoLugar(playerid, 2.0, -137.0000,-2598.6001,63.8000) || PlayerNoLugar(playerid, 2.0, -135.0000,-2492.0000,29.8000) || PlayerNoLugar(playerid, 2.0, -150.2002,-2514.5996,28.8000) ||
  4308.         PlayerNoLugar(playerid, 2.0, -131.2998,-2572.0996,55.8000) || PlayerNoLugar(playerid, 2.0, -105.5996100,-2576.7002,62.6000) || PlayerNoLugar(playerid, 2.0, -105.5996100,-2576.7002,62.6000) || PlayerNoLugar(playerid, 2.0, -115.4000,-2631.1001,70.8000) ||
  4309.         PlayerNoLugar(playerid, 2.0, -127.5000,-2665.3000,69.7000) || PlayerNoLugar(playerid, 2.0, -143.5000,-2628.6001,63.0000) || PlayerNoLugar(playerid, 2.0, -149.0000,-2701.1001,72.0000) || PlayerNoLugar(playerid, 2.0, -137.0000,-2752.8999,60.5000) ||
  4310.         PlayerNoLugar(playerid, 2.0, -423.5000,-2218.3994,70.7000) || PlayerNoLugar(playerid, 2.0, -315.2002,-2560.7998,118.4000) || PlayerNoLugar(playerid, 2.0, -381.5000,-2663.8000,146.3000) || PlayerNoLugar(playerid, 2.0, -302.2000100,-2606.2000,128.2000) ||
  4311.         PlayerNoLugar(playerid, 2.0, -344.7002,-2611.5996,137.3000) || PlayerNoLugar(playerid, 2.0, -323.6000100,-2664.2000,119.1000) || PlayerNoLugar(playerid, 2.0, -451.3999900,-2320.5000,77.7000) || PlayerNoLugar(playerid, 2.0, -479.1000100,-2313.8000,63.2000) ||
  4312.         PlayerNoLugar(playerid, 2.0, -523.5999800,-2376.1001,53.2000) || PlayerNoLugar(playerid, 2.0, -470.2998,-2356.2002,71.3000) || PlayerNoLugar(playerid, 2.0, -411.5000,-2410.3000,87.9000) || PlayerNoLugar(playerid, 2.0, -426.2998,-2368.7998,86.2000) ||
  4313.         PlayerNoLugar(playerid, 2.0, -392.3999900,-2439.8000,94.0000) || PlayerNoLugar(playerid, 2.0, -372.1000100,-2419.1001,96.7000) || PlayerNoLugar(playerid, 2.0, -364.5000,-2459.6001,102.4000) || PlayerNoLugar(playerid, 2.0, -390.1000100,-2504.3000,109.7000) ||
  4314.         PlayerNoLugar(playerid, 2.0, -368.6000100,-2520.6001,115.3000) || PlayerNoLugar(playerid, 2.0, -403.2999900,-2604.8000,144.6000100) || PlayerNoLugar(playerid, 2.0, -381.8999900,-2557.5000,130.8000) || PlayerNoLugar(playerid, 2.0, -410.8999900,-2536.7000,121.3000) ||
  4315.         PlayerNoLugar(playerid, 2.0, -464.0000,-2749.5000,145.8999900) || PlayerNoLugar(playerid, 2.0, -444.2999900,-2787.1001,115.6000) || PlayerNoLugar(playerid, 2.0, -421.2998,-2654.5996,151.7000) || PlayerNoLugar(playerid, 2.0, -463.8999900,-2600.3999,139.8999900) ||
  4316.         PlayerNoLugar(playerid, 2.0, -443.5000,-2682.7998,159.3000) || PlayerNoLugar(playerid, 2.0, -464.0000,-2657.8994,156.3000) || PlayerNoLugar(playerid, 2.0, -474.2999900,-2519.6001,109.4000) || PlayerNoLugar(playerid, 2.0, -461.2998,-2539.8994,115.1000) ||
  4317.         PlayerNoLugar(playerid, 2.0, -501.6000100,-2423.3999,105.0000) || PlayerNoLugar(playerid, 2.0, -479.7002,-2474.0000,111.9000) || PlayerNoLugar(playerid, 2.0, -452.0000,-2436.8000,112.2000) || PlayerNoLugar(playerid, 2.0, -380.0000,-2726.6001,128.7000) ||
  4318.         PlayerNoLugar(playerid, 2.0, -406.5000,-2753.3999,129.3000) || PlayerNoLugar(playerid, 2.0, -370.7999900,-2771.5000,98.7000) || PlayerNoLugar(playerid, 2.0, -336.1000100,-2776.3000,82.9000) || PlayerNoLugar(playerid, 2.0, -431.4003900,-2724.8994,158.6000100) ||
  4319.         PlayerNoLugar(playerid, 2.0, -606.0999800,-2781.8999,111.1000) || PlayerNoLugar(playerid, 2.0, -510.5996100,-2778.2002,123.2000) || PlayerNoLugar(playerid, 2.0, -543.7998,-2781.8994,122.3000) || PlayerNoLugar(playerid, 2.0, -577.0000,-2786.7998,115.3000) ||
  4320.         PlayerNoLugar(playerid, 2.0, -573.4000200,-2755.8999,127.2000) || PlayerNoLugar(playerid, 2.0, -605.2999900,-2745.6001,117.1000) || PlayerNoLugar(playerid, 2.0, -576.4000200,-2722.0000,128.3999900) || PlayerNoLugar(playerid, 2.0, -526.9000200,-2726.5000,142.2000) ||
  4321.         PlayerNoLugar(playerid, 2.0, -557.0996100,-2737.3994,133.8999900) || PlayerNoLugar(playerid, 2.0, -481.3999900,-2707.2000,157.5000) || PlayerNoLugar(playerid, 2.0, -578.9000200,-2673.3999,137.5000) || PlayerNoLugar(playerid, 2.0, -608.7000100,-2615.6001,132.8000) ||
  4322.         PlayerNoLugar(playerid, 2.0, -618.2998,-2655.7998,121.1000) || PlayerNoLugar(playerid, 2.0, -565.5999800,-2625.8000,146.1000100) || PlayerNoLugar(playerid, 2.0, -506.0000,-2622.8999,161.6000100) || PlayerNoLugar(playerid, 2.0, -578.9003900,-2579.2002,130.7000) ||
  4323.         PlayerNoLugar(playerid, 2.0, -595.4003900,-2560.7002,124.5000) || PlayerNoLugar(playerid, 2.0, -554.7998,-2549.2998,135.8999900) ||
  4324.         PlayerNoLugar(playerid, 2.0, -526.5996100,-2578.2002,146.0000)) {
  4325.             if(GetPlayerWeapon(playerid) == 4){
  4326.                 if (HandleMaterialLoot(playerid, 0)) { // handle material loot, id, material id
  4327.                     TextDrawShowForPlayer(playerid, Boxzin[playerid]);
  4328.                     TextDrawShowForPlayer(playerid, Wood[playerid]);
  4329.                     SetTimerEx("DestruirTextoDraw", 1500, false, "i", playerid);
  4330.                     PlayerInfo[playerid][Madeira] += 1;
  4331.                 }else{
  4332.                     TextDrawShowForPlayer(playerid, Boxzin[playerid]);
  4333.                     TextDrawShowForPlayer(playerid, LimiteMaterial[playerid]);
  4334.                     SetTimerEx("DestruirTextoDraw", 1500, false, "i", playerid);
  4335.                 }
  4336.             }  
  4337.         }  
  4338.     }
  4339.     if(PRESSED(KEY_FIRE))
  4340.     {
  4341.         if(PlayerNoLugar(playerid, 2.0, -534.3222040,-2753.0402830,137.0267480) || PlayerNoLugar(playerid, 2.0, -410.0322870,-2683.9238280,158.8573450) || PlayerNoLugar(playerid, 2.0, -568.3247070,-2639.3981930,146.2480160) || PlayerNoLugar(playerid, 2.0, -461.0124810,-2632.1486810,153.5100860))
  4342.         if(GetPlayerWeapon(playerid) == 4)
  4343.         {
  4344.             if (HandleMaterialLoot(playerid, 0))
  4345.             {
  4346.                 TextDrawShowForPlayer(playerid, Boxzin[playerid]);
  4347.                 TextDrawShowForPlayer(playerid, Wood3[playerid]);
  4348.                 SetTimerEx("DestruirTextoDraw", 1500, false, "i", playerid);
  4349.                 PlayerInfo[playerid][Madeira] += 3;
  4350.  
  4351.             }else{
  4352.                 TextDrawShowForPlayer(playerid, Boxzin[playerid]);
  4353.                 TextDrawShowForPlayer(playerid, LimiteMaterial[playerid]);
  4354.                 SetTimerEx("DestruirTextoDraw", 1500, false, "i", playerid);
  4355.             }
  4356.            
  4357.         }
  4358.     }
  4359.     if(PRESSED(KEY_FIRE))
  4360.     {
  4361.         if(PlayerNoLugar(playerid, 8.0,-543.0999800,-2619.3999000,154.0000000) ||  PlayerNoLugar(playerid, 8.0,-651.2999900,-2649.6001000,102.0000000) ||  PlayerNoLugar(playerid, 8.0,-596.5000000,-2495.0000000,62.0000000) ||
  4362.         PlayerNoLugar(playerid, 8.0,-750.2999900,-2473.3000000,75.0000000) ||  PlayerNoLugar(playerid, 8.0,-584.2999900,-1946.1000000,40.0000000) ||  PlayerNoLugar(playerid, 8.0,-855.2002000,-2290.2998000,26.0000000) ||
  4363.         PlayerNoLugar(playerid, 8.0,-600.2002000,-2090.3994000,40.0000000) ||  PlayerNoLugar(playerid, 8.0,-431.6000100,-2107.8000000,88.0000000) ||  PlayerNoLugar(playerid, 8.0,-440.9003900,-1838.0000000,8.0000000) ||
  4364.         PlayerNoLugar(playerid, 8.0,-297.6000100,-2406.3000000,74.0000000) || PlayerNoLugar(playerid, 8.0, -146.2000000,-2485.3999000,30.0000000) || PlayerNoLugar(playerid, 8.0, -126.7000000,-2601.5000000,69.0000000) ||
  4365.         PlayerNoLugar(playerid, 8.0,-142.3999900,-2694.0000000,74.0000000) || PlayerNoLugar(playerid, 8.0, -584.2000100,-2267.7000000,27.0000000) || PlayerNoLugar(playerid, 8.0, -343.7002000,-2641.5000000,135.0000000) ||
  4366.         PlayerNoLugar(playerid, 8.0,-418.7002000,-2705.8994000,162.0000000) || PlayerNoLugar(playerid, 8.0, -928.5996100,-2505.7998000,114.0000000) || PlayerNoLugar(playerid, 8.0, -1045.5996000,-2076.5000000,57.9000000) ||
  4367.         PlayerNoLugar(playerid, 8.0,-899.7998000,-1870.5996000,88.0000000) || PlayerNoLugar(playerid, 8.0, -1083.7000000,-2193.0000000,41.0000000))
  4368.         {
  4369.             if(GetPlayerWeapon(playerid) == 0)
  4370.             {
  4371.                 TextDrawShowForPlayer(playerid, Boxzin[playerid]);
  4372.                 TextDrawShowForPlayer(playerid, Boxzin2[playerid]);
  4373.                 TextDrawShowForPlayer(playerid, Stone[playerid]);
  4374.                 TextDrawShowForPlayer(playerid, MetalF[playerid]);
  4375.                 SetTimerEx("DestruirTextoDraw", 1500, false, "i", playerid);
  4376.                 PlayerInfo[playerid][Pedra] += 5;
  4377.                 PlayerInfo[playerid][Metal] += 2;
  4378.             }
  4379.         }
  4380.     }
  4381.     if(newkeys == 1 && GetPlayerState(playerid) != PLAYER_STATE_DRIVER)
  4382.     {
  4383.         if(pUsarCamera[playerid] == 1)
  4384.         {
  4385.             if(pPrimeiro[playerid] == 0)
  4386.             {
  4387.                 CameraPrimeira(playerid,1);
  4388.                 pPrimeiro[playerid] = 1;
  4389.                 GameTextForPlayer(playerid, "~w~camera~g~ ligada", 5000, 6);
  4390.             }
  4391.             else if(pPrimeiro[playerid] == 1)
  4392.             {
  4393.                 pPrimeiro[playerid] = 0;
  4394.                 CameraPrimeira(playerid,0);
  4395.                 GameTextForPlayer(playerid, "~w~camera~r~ desligada", 5000, 6);
  4396.             }
  4397.         }
  4398.     }
  4399.     if(PRESSED(KEY_NO))
  4400.     {
  4401.         for(new i; i < MAX_BANCADAS; i++)
  4402.         {
  4403.             if(IsPlayerInRangeOfPoint(playerid, 2.0, Bancada[i][PosX], Bancada[i][PosY], Bancada[i][PosZ]))
  4404.             {
  4405.                 ShowPlayerDialog(playerid,9798,DIALOG_STYLE_LIST,"Bancada","Fabricar Armas\nFabricar Medicamentos\n","Aceitar","Cancelar");
  4406.             }
  4407.         }
  4408.     }
  4409.     if(PRESSED(KEY_YES))
  4410.     {
  4411.         OnPlayerCommandText(playerid,"/inv");
  4412.     }
  4413.     Item_OnPlayerKeyStateChange(playerid, newkeys, oldkeys);
  4414.     return 1;
  4415. }
  4416.  
  4417. public OnRconLoginAttempt(ip[], password[], success)
  4418. {
  4419.     return 1;
  4420. }
  4421.  
  4422. public OnPlayerUpdate(playerid)
  4423. {
  4424.     static armedbody_pTick[MAX_PLAYERS];
  4425.     if(GetTickCount() - armedbody_pTick[playerid] > 113)
  4426.     {
  4427.  
  4428.         new weaponid[13],weaponammo[13],pArmedWeapon;
  4429.         pArmedWeapon = GetPlayerWeapon(playerid);
  4430.         GetPlayerWeaponData(playerid,1,weaponid[1],weaponammo[1]);
  4431.         GetPlayerWeaponData(playerid,6,weaponid[6],weaponammo[6]);
  4432.         if(weaponid[1] && weaponammo[1] > 0){
  4433.             if(pArmedWeapon != weaponid[1]){
  4434.                 if(!IsPlayerAttachedObjectSlotUsed(playerid,0)){
  4435.                     SetPlayerAttachedObject(playerid,0,GetWeaponModel(weaponid[1]),8, 0.10000, 0.03000, 0.10000, -90.900006, 90.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  4436.                 }
  4437.             }
  4438.             else {
  4439.                 if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
  4440.                     RemovePlayerAttachedObject(playerid,0);
  4441.                 }
  4442.             }
  4443.         }
  4444.         else if(IsPlayerAttachedObjectSlotUsed(playerid,0)){
  4445.             RemovePlayerAttachedObject(playerid,0);
  4446.         }
  4447.         if(weaponid[6] && weaponammo[6] > 0){
  4448.             if(pArmedWeapon != weaponid[6]){
  4449.                 if(!IsPlayerAttachedObjectSlotUsed(playerid,3)){
  4450.                     SetPlayerAttachedObject(playerid,3,GetWeaponModel(weaponid[6]),1, 0.200000, -0.119999, -0.059999, 0.000000, 206.000000, 0.000000, 1.000000, 1.000000, 1.000000);
  4451.                 }
  4452.             }
  4453.             else {
  4454.                 if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
  4455.                     RemovePlayerAttachedObject(playerid,3);
  4456.                 }
  4457.             }
  4458.         }
  4459.         else if(IsPlayerAttachedObjectSlotUsed(playerid,3)){
  4460.             RemovePlayerAttachedObject(playerid,3);
  4461.         }
  4462.         armedbody_pTick[playerid] = GetTickCount();
  4463.     }
  4464. //============================================================================//
  4465.     new Cashe[15];
  4466.     format(Cashe,sizeof(Cashe),"%d", PlayerInfo[playerid][Cash]);
  4467.     TextDrawSetString(TextCash3, Cashe);
  4468. //============================================================================//
  4469.     return 1;
  4470. }
  4471.  
  4472. stock GetWeaponModel(weaponid)
  4473. {
  4474.     switch(weaponid)
  4475.     {
  4476.         case 1:
  4477.             return 331;
  4478.  
  4479.         case 2..8:
  4480.             return weaponid+331;
  4481.  
  4482.         case 9:
  4483.             return 341;
  4484.  
  4485.         case 10..15:
  4486.             return weaponid+311;
  4487.  
  4488.         case 16..18:
  4489.             return weaponid+326;
  4490.  
  4491.         case 22..29:
  4492.             return weaponid+324;
  4493.  
  4494.         case 30,31:
  4495.             return weaponid+325;
  4496.  
  4497.         case 32:
  4498.             return 372;
  4499.  
  4500.         case 33..45:
  4501.             return weaponid+324;
  4502.  
  4503.         case 46:
  4504.             return 371;
  4505.     }
  4506.     return 0;
  4507. }
  4508.  
  4509. public OnPlayerStreamIn(playerid, forplayerid)
  4510. {
  4511.     return 1;
  4512. }
  4513.  
  4514. public OnPlayerStreamOut(playerid, forplayerid)
  4515. {
  4516.     return 1;
  4517. }
  4518.  
  4519. public OnVehicleStreamIn(vehicleid, forplayerid)
  4520. {
  4521.     return 1;
  4522. }
  4523.  
  4524. public OnVehicleStreamOut(vehicleid, forplayerid)
  4525. {
  4526.     return 1;
  4527. }
  4528.  
  4529. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  4530. {
  4531.     new cmdString[200];
  4532.  
  4533.     switch (dialogid)
  4534.     {
  4535.         case DIALOG_REGISTRO:
  4536.         {
  4537.             if(response)
  4538.             {
  4539.                 if(strlen(inputtext) < 5 || strlen(inputtext) > 16 || !strlen(inputtext))
  4540.                 {
  4541.                     SendClientMessage(playerid, COR_AVISO, "• Digite uma Senha com no Minimo 5 caracteres ou no Maximo 16");
  4542.                     format(cmdString, sizeof(cmdString),"{F8F8FF}Bem Vindo(a) Ao Servidor {EE3B3B}%s{F8F8FF}\n\nVocê não tem uma Conta registrada\n\nDigite uma senha para Registrar\n\nStatus: {EE3B3B}N/A Registrado{F8F8FF}\n\nIP: {EE3B3B}%s", Nome(playerid), IP(playerid));
  4543.                     return ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "~   REGISTRANDO   ~", cmdString, "Registrar", "Cancelar");
  4544.                 }
  4545.  
  4546.                 DOF2_CreateFile(GetArquivo(playerid));
  4547.                 DOF2_SetString(GetArquivo(playerid), "Nome", Nome(playerid));
  4548.                 DOF2_SetString(GetArquivo(playerid), "Senha", inputtext);
  4549.                 DOF2_SetInt(GetArquivo(playerid), "Administrador", 0);
  4550.                 DOF2_SetInt(GetArquivo(playerid), "Level", 0);
  4551.                 DOF2_SetInt(GetArquivo(playerid), "Skin", 162);
  4552.                 DOF2_SetInt(GetArquivo(playerid), "Matou", 0);
  4553.                 DOF2_SetInt(GetArquivo(playerid), "Morreu", 0);
  4554.                 DOF2_SetInt(GetArquivo(playerid), "Dinheiro", 0);
  4555.                 DOF2_SetInt(GetArquivo(playerid), "Cash", 0);
  4556.                 DOF2_SetInt(GetArquivo(playerid), "CmdJaUsado", 0);
  4557.                 DOF2_SetInt(GetArquivo(playerid), "Madeira", 0);
  4558.                 DOF2_SetInt(GetArquivo(playerid), "Pedra", 0);
  4559.                 DOF2_SetInt(GetArquivo(playerid), "Metal", 0);
  4560.                 DOF2_SetInt(GetArquivo(playerid), "Parafuso", 0);
  4561.                 DOF2_SetInt(GetArquivo(playerid), "Borracha", 0);
  4562.                 DOF2_SetInt(GetArquivo(playerid), "Frutas", 0);
  4563.                 DOF2_SetInt(GetArquivo(playerid), "Peixe", 0);
  4564.                 DOF2_SetInt(GetArquivo(playerid), "Carne", 0);
  4565.                 DOF2_SetInt(GetArquivo(playerid), "Cloth", 0);
  4566.                 DOF2_SetInt(GetArquivo(playerid), "Agua", 0);
  4567.                 DOF2_SaveFile();
  4568.  
  4569.                 SendClientMessage(playerid, COR_SUCESSO, "• Registrado Com Sucesso Digite sua Senha para Logar.");
  4570.                 format(cmdString, sizeof(cmdString),"{F8F8FF}Bem Vindo(a) Ao Servidor {EE3B3B}%s{F8F8FF}\n\nVocê ja tem uma Conta registrada\n\nDigite sua Senha para Logar\n\nStatus: {EE3B3B}Registrado{F8F8FF}\n\nIP: {EE3B3B}%s", Nome(playerid), IP(playerid));
  4571.                 return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "~   LOGANDO   ~", cmdString, "Logar", "Cancelar");
  4572.             }
  4573.             else
  4574.             {
  4575.                 SelectTextDraw(playerid,0xFFFFFFFF);
  4576.                 for(new i = 0; i < sizeof(Registro); i++) TextDrawShowForPlayer(playerid, Registro[i]);
  4577.                 for(new i = 0; i < sizeof(PlayerRegistro) - 1; i++) PlayerTextDrawShow(playerid, PlayerText: PlayerRegistro[i]);
  4578.             }
  4579.         }
  4580.         case DIALOG_LOGIN:
  4581.         {
  4582.             if(response)
  4583.             {
  4584.                 if(!strlen(inputtext))
  4585.                 {
  4586.                     SendClientMessage(playerid, COR_AVISO, "• Você precisa digitar Sua Senha para Logar.");
  4587.                     format(cmdString, sizeof(cmdString),"{F8F8FF}Bem Vindo(a) Ao Servidor {EE3B3B}%s{F8F8FF}\n\nVocê ja tem uma Conta registrada\n\nDigite sua Senha para Logar\n\nStatus: {EE3B3B}Registrado{F8F8FF}\n\nIP: {EE3B3B}%s", Nome(playerid), IP(playerid));
  4588.                     return ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "~   LOGANDO   ~", cmdString, "Logar", "Cancelar");
  4589.                 }
  4590.  
  4591.                 if(strcmp(inputtext, DOF2_GetString(GetArquivo(playerid), "Senha"), false) == 0)
  4592.                 {
  4593.                     return CarregarPlayer(playerid);
  4594.                 }
  4595.                 else
  4596.                 {
  4597.  
  4598.                     SendClientMessage(playerid, COR_AVISO, "• Atenção você digitou sua senha Errado, Digite-a Novamente.");
  4599.                     format(cmdString, sizeof(cmdString),"{F8F8FF}Bem Vindo(a) Ao Servidor {EE3B3B}%s{F8F8FF}\n\nVocê ja tem uma Conta registrada\n\nDigite sua Senha para Logar\n\nStatus: {EE3B3B}Registrado{F8F8FF}\n\nIP: {EE3B3B}%s", Nome(playerid), IP(playerid));
  4600.                     ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "~   LOGANDO   ~", cmdString, "Logar", "Cancelar");
  4601.  
  4602.                     PlayerInfo[playerid][ERRO]++;
  4603.                     if(PlayerInfo[playerid][ERRO] == 3)
  4604.                     {
  4605.                         format(cmdString, sizeof(cmdString),"• O Jogador(a) %s foi Kickado do Servidor | Motivo: Limite de Erro |", Nome(playerid), IP(playerid));
  4606.                         SendClientMessageToAll(COR_ADMIN, cmdString);
  4607.                         return Kick(playerid);
  4608.                     }
  4609.                 }
  4610.             }
  4611.             else
  4612.             {
  4613.                 SelectTextDraw(playerid,0xFFFFFFFF);
  4614.                 for(new i = 0; i < sizeof(Registro); i++) TextDrawShowForPlayer(playerid, Registro[i]);
  4615.                 for(new i = 0; i < sizeof(PlayerRegistro) - 1; i++) PlayerTextDrawShow(playerid, PlayerText: PlayerRegistro[i]);
  4616.             }
  4617.         }
  4618.     }
  4619.     if(dialogid == 9548)
  4620.     {
  4621.         format(arquivo1, sizeof arquivo1, "lang/%s.ini",nome);
  4622.         if(response == 0)
  4623.         { // Inglês
  4624.         idioma[playerid]=EN; // seta o idioma do player para Inglês (=2/EN)
  4625.         DOF2_SetInt(arquivo1,"Idioma",idioma[playerid]); // salva idioma escolhido no arquivo
  4626.         DOF2_SaveFile();
  4627.         CarregarTextPlayer(playerid);
  4628.         CarregarPlayerText(playerid);
  4629.         SelectTextDraw(playerid,0xFFFFFFFF);
  4630.         for(new i = 0; i < sizeof(Registro); i++) TextDrawShowForPlayer(playerid, Registro[i]);
  4631.         for(new i = 0; i < sizeof(PlayerRegistro) - 1; i++) PlayerTextDrawShow(playerid, PlayerText: PlayerRegistro[i]);
  4632.         }
  4633.         if(response == 1)
  4634.         { // Português
  4635.             idioma[playerid]=PT; // seta o idioma do player para Português (=1/PT)
  4636.             DOF2_SetInt(arquivo1,"Idioma",idioma[playerid]);  // salva idioma escolhido no arquivo
  4637.             DOF2_SaveFile();
  4638.             CarregarTextPlayer(playerid);
  4639.             CarregarPlayerText(playerid);
  4640.             SelectTextDraw(playerid,0xFFFFFFFF);
  4641.             for(new i = 0; i < sizeof(Registro); i++) TextDrawShowForPlayer(playerid, Registro[i]);
  4642.             for(new i = 0; i < sizeof(PlayerRegistro) - 1; i++) PlayerTextDrawShow(playerid, PlayerText: PlayerRegistro[i]);
  4643.         }
  4644.     }
  4645.     if(dialogid == 9798)
  4646.     {
  4647.         if(!response) { return 1; }
  4648.         switch(listitem)
  4649.         {
  4650.             case 0:
  4651.             {
  4652.             ShowPlayerDialog(playerid,9799,DIALOG_STYLE_LIST,"Armamentos","Rifle\nPistola\n","Selecionar","Voltar");
  4653.             }
  4654.             case 1:
  4655.             {
  4656.             ShowPlayerDialog(playerid,9795,DIALOG_STYLE_LIST,"Medicamentos","Bandagem - 3 Cloth's\nAnalgésico - 2 Águas + 1 Cloth\nMed KIT - 1 Bandagem + 1 Analgésico\n","Selecionar","Voltar");
  4657.             }
  4658.         }
  4659.     }
  4660.     if(dialogid == 9799)
  4661.     {
  4662.         if(!response) { return ShowPlayerDialog(playerid,9798,DIALOG_STYLE_LIST,"Bancada","Fabricar Armas\nFabricar Medicamentos\nOutros","Aceitar","Cancelar"); }
  4663.         {
  4664.             if(listitem == 0)
  4665.             {
  4666.                 if(PlayerInfo[playerid][Madeira] >= 5)
  4667.                 {
  4668.                     if(PlayerInfo[playerid][Metal] >= 10)
  4669.                     {
  4670.                     SendClientMessage(playerid, COR_VERMELHO, "Espere enquanto você faz seu rifle.");
  4671.                     ApplyPlayerAnimation(playerid, "SCRATCHING", "scshrtl", 4.0, 1, 0, 0, 0, 0, 1);
  4672.                     Valor [playerid] = 0 ;
  4673.                     ShowProgressBarForPlayer(playerid, Exemplo); //mostra a bar pro player
  4674.                     SetProgressBarValue ( Exemplo, Valor[playerid] ) ; //seta o valor dela
  4675.                     Baru[playerid] = SetTimerEx("Almentar", 500, true, "i" , playerid) ;//inicia o timer
  4676.                     }
  4677.                     else if(PlayerInfo[playerid][Metal] == 0)
  4678.                     {
  4679.                         SendClientMessage(playerid, COR_VERMELHO, "Você não tem os metais necessarios");
  4680.                     }
  4681.                     else if(PlayerInfo[playerid][Madeira] == 0)
  4682.                     {
  4683.                     SendClientMessage(playerid, COR_VERMELHO, "Você não tem madeira suficiente. Use: /ajuda.");
  4684.                     }
  4685.                 }
  4686.             }
  4687.         }
  4688.         if(listitem == 1)
  4689.         {
  4690.             if(PlayerInfo[playerid][Parafuso] >= 5)
  4691.             {
  4692.                 if(PlayerInfo[playerid][Metal] >= 10)
  4693.                 {
  4694.                     SendClientMessage(playerid, COR_VERMELHO, "Espere enquanto você faz sua pistola.");
  4695.                     ApplyAnimation(playerid, "SCRATCHING", "scshrtl", 4.0, 1, 0, 0, 0, 0, 1);
  4696.                     SetTimer("FazendoPistola", 10000, 0);
  4697.                 }
  4698.                 else if(PlayerInfo[playerid][Metal] == 0)
  4699.                 {
  4700.                     SendClientMessage(playerid, COR_VERMELHO, "Você não tem os metais necessarios!");
  4701.                 }
  4702.                 else if(PlayerInfo[playerid][Parafuso] == 0)
  4703.                 {
  4704.                     SendClientMessage(playerid, COR_VERMELHO, "Você não tem os parafusos necessarios!");
  4705.                 }
  4706.             }
  4707.         }
  4708.     }
  4709.     if(dialogid == 9795)
  4710.     {
  4711.         if(!response) { return ShowPlayerDialog(playerid,9798,DIALOG_STYLE_LIST,"Bancada","Fabricar Armas\nFabricar Medicamentos\nOutros","Aceitar","Cancelar"); }
  4712.         {
  4713.             if(listitem == 0)
  4714.             {
  4715.                 if(Bandagem[playerid] == 0)
  4716.                 {
  4717.                     if(PlayerInfo[playerid][Cloth] >= 3)
  4718.                     {
  4719.                         PlayerInfo[playerid][Cloth] -= 5;
  4720.                         SendClientMessage(playerid, COR_VERDE, "Você fez um bandagem ela cura até 10 da sua vida, para usa-la digite /usar bandagem");
  4721.                         Bandagem[playerid] += 1;
  4722.                     }
  4723.                     else
  4724.                     {
  4725.                         SendClientMessage(playerid, COR_VERMELHO, "Você não tem Cloth suficiente. Use: /ajuda.");
  4726.                     }
  4727.                 }
  4728.             }
  4729.         }
  4730.         if(listitem == 1)
  4731.         {
  4732.             if(Remedio[playerid] == 0)
  4733.             {
  4734.                 if(PlayerInfo[playerid][Agua] >= 2)
  4735.                 {
  4736.                     if(PlayerInfo[playerid][Cloth] >= 1)
  4737.                     {
  4738.                         PlayerInfo[playerid][Cloth] -= 1;
  4739.                         PlayerInfo[playerid][Agua] -= 2;
  4740.                         SendClientMessage(playerid, COR_VERDE, "Você fez um Analgésico ele cura até 30 da sua vida, para usa-lo digite /tomar remedio");
  4741.                         Remedio[playerid] += 1;
  4742.                     } else
  4743.                     {
  4744.                         SendClientMessage(playerid, COR_VERMELHO, "Você não tem Cloth suficiente. Use: /ajuda.");
  4745.                 }
  4746.                 }
  4747.                 else
  4748.                 {
  4749.                     SendClientMessage(playerid, COR_VERMELHO, "Você não tem água suficiente. Use: /ajuda.");
  4750.                 }
  4751.             }
  4752.         }
  4753.         if(listitem == 2)
  4754.         {
  4755.             if(Medkit[playerid] == 0)
  4756.             {
  4757.                 if(Remedio[playerid] >= 1)
  4758.                 {
  4759.                     if(Bandagem[playerid] >= 1)
  4760.                     {
  4761.                         Bandagem[playerid] = Bandagem[playerid]-1;
  4762.                         Remedio[playerid] = Remedio[playerid]-1;
  4763.                         SendClientMessage(playerid, COR_VERDE, "Você fez um Med KIT ele cura 100 da sua vida, para usa-lo digite /medkit");
  4764.                         Medkit[playerid] += 1;
  4765.                     } else
  4766.                     {
  4767.                         SendClientMessage(playerid, COR_VERMELHO, "Você não tem 1 bandagem suficiente. Use: /ajuda.");
  4768.                     }
  4769.                 }
  4770.                 else
  4771.                 {
  4772.                     SendClientMessage(playerid, COR_VERMELHO, "Você não tem 1 analgésico. Use: /ajuda.");
  4773.                 }
  4774.             }
  4775.         }
  4776.     }
  4777.     if(dialogid == 123)
  4778.     {
  4779.         if(!response) { return 1; }
  4780.         switch(listitem)
  4781.         {
  4782.             case 0:
  4783.             {
  4784.             ShowPlayerDialog(playerid,1234,DIALOG_STYLE_LIST,"Armamentos","Espingarda\nPistola\nSniper\nRifle\nShotgum\n","Selecionar","Voltar");
  4785.             }
  4786.             case 1:
  4787.             {
  4788.             ShowPlayerDialog(playerid,12345,DIALOG_STYLE_LIST,"Medicamentos","Bandagem\nAnalgésico\nMed Kit\n","Selecionar","Voltar");
  4789.             }
  4790.         }
  4791.     }
  4792.     if(dialogid == 1234)
  4793.     {
  4794.         if(!response) { return ShowPlayerDialog(playerid,123,DIALOG_STYLE_LIST,"Loja de Cash","Armamentos\nMedicamentos\n","Aceitar","Cancelar"); }
  4795.         {
  4796.             if(listitem == 0)
  4797.             {
  4798.                 if(PlayerInfo[playerid][Cash] >= 20)
  4799.                 {
  4800.                     if(PlayerInfo[playerid][Cash] < 20)
  4801.                     {
  4802.                         return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 20 de cash para comprar!");
  4803.                     }
  4804.                     GivePlayerWeapon(playerid, 33, 20);
  4805.                     PlayerInfo[playerid][Cash] -= 20;
  4806.                     SendClientMessage(playerid, COR_VERDE, "Você comprou uma espingarda por 20 Cash's.");
  4807.                 }
  4808.             }
  4809.         }
  4810.         if(listitem == 1)
  4811.         {
  4812.             if(PlayerInfo[playerid][Cash] >= 30)
  4813.             {
  4814.                 if(PlayerInfo[playerid][Cash] < 20)
  4815.                 {
  4816.                     return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 20 de cash para comprar!");
  4817.                 }
  4818.                 GivePlayerWeapon(playerid, 24, 49);
  4819.                 PlayerInfo[playerid][Cash] -= 30;
  4820.                 SendClientMessage(playerid, COR_VERDE, "Você comprou uma pistola por 30 Cash's.");
  4821.             }
  4822.         }
  4823.         if(listitem == 2)
  4824.         {
  4825.             if(PlayerInfo[playerid][Cash] >= 50)
  4826.             {
  4827.                 if(PlayerInfo[playerid][Cash] < 50)
  4828.                 {
  4829.                     return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 50 de cash para comprar!");
  4830.                 }
  4831.                 GivePlayerWeapon(playerid, 34, 10);
  4832.                 PlayerInfo[playerid][Cash] -= 50;
  4833.                 SendClientMessage(playerid, COR_VERDE, "Você comprou uma Sniper por 50 Cash's.");
  4834.             }
  4835.         }
  4836.         if(listitem == 3)
  4837.         {
  4838.             if(PlayerInfo[playerid][Cash] >= 40)
  4839.             {
  4840.                 if(PlayerInfo[playerid][Cash] < 40)
  4841.                 {
  4842.                     return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 40 de cash para comprar!");
  4843.                 }
  4844.                 GivePlayerWeapon(playerid, 31, 100);
  4845.                 PlayerInfo[playerid][Cash] -= 40;
  4846.                 SendClientMessage(playerid, COR_VERDE, "Você comprou um Rifle por 40 Cash's.");
  4847.             }
  4848.         }
  4849.         if(listitem == 4)
  4850.         {
  4851.             if(PlayerInfo[playerid][Cash] >= 30)
  4852.             {
  4853.                 if(PlayerInfo[playerid][Cash] < 30)
  4854.                 {
  4855.                     return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 30 de cash para comprar!");
  4856.                 }
  4857.                 GivePlayerWeapon(playerid, 25, 24);
  4858.                 PlayerInfo[playerid][Cash] -= 30;
  4859.                 SendClientMessage(playerid, COR_VERDE, "Você comprou uma Shotgum por 30 Cash's.");
  4860.             }
  4861.         }
  4862.     }
  4863.     if(dialogid == 12345)
  4864.     {
  4865.         if(!response) { return ShowPlayerDialog(playerid,123,DIALOG_STYLE_LIST,"Loja de Cash","Armamentos\nMedicamentos\n","Aceitar","Cancelar"); }
  4866.         {
  4867.             if(listitem == 0)
  4868.             {
  4869.                 if(PlayerInfo[playerid][Cash] >= 3)
  4870.                 {
  4871.                     if(PlayerInfo[playerid][Cash] < 3)
  4872.                     {
  4873.                         return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 3 de cash para comprar!");
  4874.                     }
  4875.                     Bandagem[playerid] += 1;
  4876.                     PlayerInfo[playerid][Cash] -= 3;
  4877.                     SendClientMessage(playerid, COR_VERDE, "Você comprou uma bandagem por 3 Cash's.");
  4878.                 }
  4879.             }
  4880.         }
  4881.         if(listitem == 1)
  4882.         {
  4883.             if(PlayerInfo[playerid][Cash] >= 5)
  4884.             {
  4885.                 if(PlayerInfo[playerid][Cash] < 5)
  4886.                 {
  4887.                     return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 5 de cash para comprar!");
  4888.                 }
  4889.                 Remedio[playerid] += 1;
  4890.                 PlayerInfo[playerid][Cash] -= 5;
  4891.                 SendClientMessage(playerid, COR_VERDE, "Você comprou um analgésico por 5 Cash's.");
  4892.             }
  4893.         }
  4894.         if(listitem == 2)
  4895.         {
  4896.             if(PlayerInfo[playerid][Cash] >= 10)
  4897.             {
  4898.                 if(PlayerInfo[playerid][Cash] < 10)
  4899.                 {
  4900.                     return SendClientMessage(playerid,COR_VERMELHO,"Você não tem 50 de cash para comprar!");
  4901.                 }
  4902.                 Medkit[playerid] += 1;
  4903.                 PlayerInfo[playerid][Cash] -= 10;
  4904.                 SendClientMessage(playerid, COR_VERDE, "Você comprou um MedKit por 10 Cash's.");
  4905.             }
  4906.         }
  4907.     }
  4908.     if(dialogid == 9964)
  4909.     {
  4910.         if(!response) { return 1; }
  4911.         switch(listitem)
  4912.         {
  4913.             case 0:
  4914.             {
  4915.             ShowPlayerDialog(playerid,9965,DIALOG_STYLE_LIST,"Crafting Casa/House","Foundation [Fundação]\nWall [Parede]\nWallDoor [Parede para Porta]\nDoor [Porta]\nWindown [Parede com Janela]\nRamp [Rampa]\n","Selecionar","Voltar");
  4916.             }
  4917.             case 1:
  4918.             {
  4919.             ShowPlayerDialog(playerid,9952,DIALOG_STYLE_LIST,"Crafting Mobilias/Furniture","Workbench [Bancada de Trabalho]\nBed [Cama]\nChest [Baú]\nFurnace [Fornalha]","Selecionar","Voltar");
  4920.             }
  4921.             case 2:
  4922.             {
  4923.             ShowPlayerDialog(playerid,9948,DIALOG_STYLE_LIST,"Crafting Veiculos/Vehicles","Motorcycle Sanchez [Moto Sanchez]\nQuadricycle [Quadriciculo]\nBandito Car [Carro Bandito]\nPatriot Jeep Car [Carro Patriot Jeep]","Selecionar","Voltar");
  4924.             }
  4925.         }
  4926.     }
  4927.     if(dialogid == 9965)
  4928.     {
  4929.         if(!response) { return ShowPlayerDialog(playerid,9964,DIALOG_STYLE_LIST,"Crafting's"," - Crafting Casa/House\n - Crafting Mobilias/Furniture\n - Crafting Veiculos/Vehicles\n","Aceitar","Cancelar"); }
  4930.         {
  4931.             if(listitem == 0)
  4932.             {
  4933.                 if(PlayerInfo[playerid][Madeira] >= 20)
  4934.                 {
  4935.                     new id = -1;
  4936.                     for(new i; i < MAX_BASES; i++)
  4937.                     {
  4938.                         if(!Base[i][Existe])
  4939.                         {
  4940.                             id = i;
  4941.                             break;
  4942.                         }
  4943.                     }
  4944.                     new Float:X, Float:Y, Float:Z, Float: A;
  4945.                     GetPlayerPos(playerid, X, Y, Z);
  4946.                     GetPlayerFacingAngle(playerid, A);
  4947.  
  4948.                     Base[id][Dono] = pName(playerid);
  4949.                     Base[id][Existe] = 1;
  4950.                     Base[id][PosX] = X;
  4951.                     Base[id][PosY] = Y;
  4952.                     Base[id][PosZ] = Z+1;
  4953.                     Base[id][RZ] = A + 180;
  4954.                     Base[id][ObjectB] = CreateDynamicObject(ObjectBase, Base[id][PosX] +1, Base[id][PosY], Base[id][PosZ], Base[id][RX], Base[id][RY], Base[id][RZ]);
  4955.  
  4956.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Fundação criada com sucesso."); // String em português
  4957.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Foundation created successfully."); // String em inglês
  4958.                     SendClientMessage(playerid, verde, string1);
  4959.  
  4960.                     if(EditBaseID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  4961.                     new id1 = GetPlayerRangeBase(playerid);
  4962.                     if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  4963.                     if(strcmp(Base[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  4964.                     EditBaseID[playerid] = id1;
  4965.                     EditDynamicObject(playerid, Base[id1][ObjectB]);
  4966.                     SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  4967.                     SalvarBases(id);
  4968.                     }
  4969.                     else if(PlayerInfo[playerid][Madeira] == 0)
  4970.                     {
  4971.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  4972.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  4973.                     SendClientMessage(playerid, fail, string1);
  4974.                 }
  4975.             }
  4976.         }
  4977.         if(listitem == 1)
  4978.         {
  4979.             if(PlayerInfo[playerid][Madeira] >= 20)
  4980.             {
  4981.                 new id = -1;
  4982.                 for(new i; i < MAX_BASES; i++)
  4983.                 {
  4984.                     if(!Base[i][Existe])
  4985.                     {
  4986.                         id = i;
  4987.                         break;
  4988.                     }
  4989.                 }
  4990.                 new Float:X, Float:Y, Float:Z, Float: A;
  4991.                 GetPlayerPos(playerid, X, Y, Z);
  4992.                 GetPlayerFacingAngle(playerid, A);
  4993.  
  4994.                 Base[id][Dono] = pName(playerid);
  4995.                 Base[id][Existe] = 1;
  4996.                 Base[id][PosX] = X;
  4997.                 Base[id][PosY] = Y;
  4998.                 Base[id][PosZ] = Z+1;
  4999.                 Base[id][RZ] = A + 180;
  5000.                 Base[id][ObjectB] = CreateDynamicObject(ObjectBase, Base[id][PosX] +1, Base[id][PosY], Base[id][PosZ], Base[id][RX], Base[id][RY], Base[id][RZ]);
  5001.  
  5002.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Parede criada com sucesso!"); // String em português
  5003.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Wall created successfully!"); // String em inglês
  5004.                 SendClientMessage(playerid, verde, string1);
  5005.  
  5006.                 if(EditBaseID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5007.                 new id1 = GetPlayerRangeBase(playerid);
  5008.                 if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5009.                 if(strcmp(Base[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5010.                 EditBaseID[playerid] = id1;
  5011.                 EditDynamicObject(playerid, Base[id1][ObjectB]);
  5012.                 SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5013.                 SalvarBases(id);
  5014.                 }
  5015.                 else if(PlayerInfo[playerid][Madeira] == 0)
  5016.                 {
  5017.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5018.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5019.                 SendClientMessage(playerid, fail, string1);
  5020.             }
  5021.         }
  5022.         if(listitem == 2)
  5023.         {
  5024.             if(PlayerInfo[playerid][Madeira] >= 15)
  5025.             {
  5026.                 new id = -1;
  5027.                 for(new i; i < MAX_DOOR; i++)
  5028.                 {
  5029.                     if(!Door[i][Existe])
  5030.                     {
  5031.                         id = i;
  5032.                         break;
  5033.                     }
  5034.                 }
  5035.                 new Float:X, Float:Y, Float:Z, Float: A;
  5036.                 GetPlayerPos(playerid, X, Y, Z);
  5037.                 GetPlayerFacingAngle(playerid, A);
  5038.  
  5039.                 Door[id][Dono] = pName(playerid);
  5040.                 Door[id][Existe] = 1;
  5041.                 Door[id][PosX] = X;
  5042.                 Door[id][PosY] = Y;
  5043.                 Door[id][PosZ] = Z;
  5044.                 Door[id][RZ] = A + 180;
  5045.                 Door[id][ObjectF] = CreateDynamicObject(walldoor, Door[id][PosX] +1, Door[id][PosY], Door[id][PosZ], Door[id][RX], Door[id][RY], Door[id][RZ]);
  5046.  
  5047.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] 'Parede para porta' criada com sucesso!"); // String em português
  5048.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Walldoor created successfully!"); // String em inglês
  5049.                 SendClientMessage(playerid, verde, string1);
  5050.  
  5051.                 if(EditDoorID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5052.                 new id1 = GetPlayerRangeDoor(playerid);
  5053.                 if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5054.                 if(strcmp(Door[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5055.                 EditDoorID[playerid] = id1;
  5056.                 EditDynamicObject(playerid, Door[id1][ObjectF]);
  5057.                 SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5058.                 SalvarDoor(id);
  5059.                 }
  5060.                 else if(PlayerInfo[playerid][Madeira] == 0)
  5061.                 {
  5062.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5063.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5064.                 SendClientMessage(playerid, fail, string1);
  5065.             }
  5066.         }
  5067.         if(listitem == 3)
  5068.         {
  5069.             if(PlayerInfo[playerid][Madeira] >= 10)
  5070.             {
  5071.                 new id = -1;
  5072.                 for(new i; i < MAX_DOOR; i++)
  5073.                 {
  5074.                     if(!Door[i][Existe])
  5075.                     {
  5076.                         id = i;
  5077.                         break;
  5078.                     }
  5079.                 }
  5080.                 new Float:X, Float:Y, Float:Z, Float: A;
  5081.                 GetPlayerPos(playerid, X, Y, Z);
  5082.                 GetPlayerFacingAngle(playerid, A);
  5083.  
  5084.                 Porta[id][Dono] = pName(playerid);
  5085.                 Porta[id][Existe] = 1;
  5086.                 Porta[id][PosX] = X;
  5087.                 Porta[id][PosY] = Y;
  5088.                 Porta[id][PosZ] = Z;
  5089.                 Porta[id][RZ] = A + 180;
  5090.                 Porta[id][ObjectC] = CreateDynamicObject(porta, Porta[id][PosX] +1, Porta[id][PosY], Porta[id][PosZ], Porta[id][RX], Porta[id][RY], Porta[id][RZ]);
  5091.  
  5092.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Porta criada com sucesso!"); // String em português
  5093.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Door created successfully!"); // String em inglês
  5094.                 SendClientMessage(playerid, verde, string1);
  5095.  
  5096.                 if(EditPortaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5097.                 new id1 = GetPlayerRangePorta(playerid);
  5098.                 if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5099.                 if(strcmp(Porta[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5100.                 EditPortaID[playerid] = id1;
  5101.                 EditDynamicObject(playerid, Porta[id1][ObjectC]);
  5102.                 SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5103.                 SalvarPortas(id);
  5104.                 }
  5105.                 else if(PlayerInfo[playerid][Madeira] == 0)
  5106.                 {
  5107.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5108.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5109.                 SendClientMessage(playerid, fail, string1);
  5110.             }
  5111.         }
  5112.         if(listitem == 4)
  5113.         {
  5114.             if(PlayerInfo[playerid][Madeira] >= 15)
  5115.             {
  5116.                 new id = -1;
  5117.                 for(new i; i < MAX_WINDOWN; i++)
  5118.                 {
  5119.                     if(!Windown[i][Existe])
  5120.                     {
  5121.                         id = i;
  5122.                         break;
  5123.                     }
  5124.                 }
  5125.                 new Float:X, Float:Y, Float:Z, Float: A;
  5126.                 GetPlayerPos(playerid, X, Y, Z);
  5127.                 GetPlayerFacingAngle(playerid, A);
  5128.  
  5129.                 Windown[id][Dono] = pName(playerid);
  5130.                 Windown[id][Existe] = 1;
  5131.                 Windown[id][PosX] = X;
  5132.                 Windown[id][PosY] = Y;
  5133.                 Windown[id][PosZ] = Z;
  5134.                 Windown[id][RZ] = A + 180;
  5135.                 Windown[id][ObjectH] = CreateDynamicObject(windown1, Windown[id][PosX] +1, Windown[id][PosY], Windown[id][PosZ], Windown[id][RX], Windown[id][RY], Windown[id][RZ]);
  5136.  
  5137.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] 'Parede para janela' criada com sucesso!"); // String em português
  5138.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Windown created successfully!"); // String em inglês
  5139.                 SendClientMessage(playerid, verde, string1);
  5140.  
  5141.                 if(EditWindownID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5142.                 new id1 = GetPlayerRangeWindown(playerid);
  5143.                 if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5144.                 if(strcmp(Windown[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5145.                 EditWindownID[playerid] = id1;
  5146.                 EditDynamicObject(playerid, Windown[id1][ObjectH]);
  5147.                 SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5148.                 SalvarWindowns(id);
  5149.                 }
  5150.                 else if(PlayerInfo[playerid][Madeira] == 0)
  5151.                 {
  5152.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5153.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5154.                 SendClientMessage(playerid, fail, string1);
  5155.             }
  5156.         }
  5157.         if(listitem == 5)
  5158.         {
  5159.             if(PlayerInfo[playerid][Madeira] >= 20)
  5160.             {
  5161.                 new id = -1;
  5162.                 for(new i; i < MAX_RAMPAS; i++)
  5163.                 {
  5164.                     if(!Rampa[i][Existe])
  5165.                     {
  5166.                         id = i;
  5167.                         break;
  5168.                     }
  5169.                 }
  5170.                 new Float:X, Float:Y, Float:Z, Float: A;
  5171.                 GetPlayerPos(playerid, X, Y, Z);
  5172.                 GetPlayerFacingAngle(playerid, A);
  5173.  
  5174.                 Rampa[id][Dono] = pName(playerid);
  5175.                 Rampa[id][Existe] = 1;
  5176.                 Rampa[id][PosX] = X;
  5177.                 Rampa[id][PosY] = Y;
  5178.                 Rampa[id][PosZ] = Z;
  5179.                 Rampa[id][RZ] = A + 180;
  5180.                 Rampa[id][ObjectE] = CreateDynamicObject(rampa, Rampa[id][PosX] +1, Rampa[id][PosY], Rampa[id][PosZ], Rampa[id][RX], Rampa[id][RY], Rampa[id][RZ]);
  5181.  
  5182.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Rampa criada com sucesso!"); // String em português
  5183.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Ramp created successfully!"); // String em inglês
  5184.                 SendClientMessage(playerid, verde, string1);
  5185.  
  5186.                 if(EditRampaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5187.                 new id1 = GetPlayerRangeRampa(playerid);
  5188.                 if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5189.                 if(strcmp(Rampa[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua / This is not your base.");
  5190.                 EditRampaID[playerid] = id1;
  5191.                 EditDynamicObject(playerid, Rampa[id1][ObjectE]);
  5192.                 SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5193.                 SalvarRampas(id);
  5194.                 }
  5195.                 else if(PlayerInfo[playerid][Madeira] == 0)
  5196.                 {
  5197.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5198.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5199.                 SendClientMessage(playerid, fail, string1);
  5200.             }
  5201.         }
  5202.     }
  5203.     if(dialogid == 9952)
  5204.     {
  5205.         if(!response) { return ShowPlayerDialog(playerid,9964,DIALOG_STYLE_LIST,"Crafting's"," - Crafting Casa/House\n - Crafting Mobilias/Furniture\n - Crafting Veiculos/Vehicles\n","Aceitar","Cancelar"); }
  5206.         {
  5207.             if(listitem == 0)
  5208.             {
  5209.                 if(PlayerInfo[playerid][Madeira] >= 15)
  5210.                 {
  5211.                     new id = -1;
  5212.                     for(new i; i < MAX_BANCADAS; i++)
  5213.                     {
  5214.                         if(!Bancada[i][Existe])
  5215.                         {
  5216.                             id = i;
  5217.                             break;
  5218.                         }
  5219.                     }
  5220.                     new Float:X, Float:Y, Float:Z, Float: A;
  5221.                     GetPlayerPos(playerid, X, Y, Z);
  5222.                     GetPlayerFacingAngle(playerid, A);
  5223.  
  5224.                     Bancada[id][Dono] = pName(playerid);
  5225.                     Bancada[id][Existe] = 1;
  5226.                     Bancada[id][PosX] = X;
  5227.                     Bancada[id][PosY] = Y;
  5228.                     Bancada[id][PosZ] = Z -1;
  5229.                     Bancada[id][RZ] = A + 180;
  5230.                     Bancada[id][ObjectA] = CreateDynamicObject(bancada, Bancada[id][PosX] +1, Bancada[id][PosY], Bancada[id][PosZ], Bancada[id][RX], Bancada[id][RY], Bancada[id][RZ]);
  5231.  
  5232.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Bancada de Trabalho criada com sucesso!"); // String em português
  5233.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Workbench created successfully!"); // String em inglês
  5234.                     SendClientMessage(playerid, verde, string1);
  5235.  
  5236.                     if(EditBancadaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5237.                     new id1 = GetPlayerRangeBancada(playerid);
  5238.                     if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5239.                     if(strcmp(Bancada[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5240.                     EditBancadaID[playerid] = id1;
  5241.                     EditDynamicObject(playerid, Bancada[id1][ObjectA]);
  5242.                     SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5243.                     SalvarBancadas(id);
  5244.                     }
  5245.                     else if(PlayerInfo[playerid][Madeira] == 0)
  5246.                     {
  5247.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5248.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5249.                     SendClientMessage(playerid, fail, string1);
  5250.                 }
  5251.             }
  5252.         }
  5253.         if(listitem == 1)
  5254.         {
  5255.             if(PlayerInfo[playerid][Madeira] >= 15)
  5256.             {
  5257.                 if(PlayerInfo[playerid][Cloth] >= 10)
  5258.                 {
  5259.                     new id = -1;
  5260.                     for(new i; i < MAX_CAMA; i++)
  5261.                     {
  5262.                         if(!Cama[i][Existe])
  5263.                         {
  5264.                             id = i;
  5265.                             break;
  5266.                         }
  5267.                     }
  5268.                     new Float:X, Float:Y, Float:Z, Float: A;
  5269.                     GetPlayerPos(playerid, X, Y, Z);
  5270.                     GetPlayerFacingAngle(playerid, A);
  5271.  
  5272.                     Cama[id][Dono] = pName(playerid);
  5273.                     Cama[id][Existe] = 1;
  5274.                     Cama[id][PosX] = X;
  5275.                     Cama[id][PosY] = Y;
  5276.                     Cama[id][PosZ] = Z;
  5277.                     Cama[id][RZ] = A + 180;
  5278.                     Cama[id][ObjectG] = CreateDynamicObject(cama, Cama[id][PosX] +1, Cama[id][PosY], Cama[id][PosZ], Cama[id][RX], Cama[id][RY], Cama[id][RZ]);
  5279.  
  5280.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Cama criada com sucesso!"); // String em português
  5281.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Sleeping Bed created successfully!"); // String em inglês
  5282.                     SendClientMessage(playerid, verde, string1);
  5283.  
  5284.                     if(EditCamaID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5285.                     new id1 = GetPlayerRangeCama(playerid);
  5286.                     if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5287.                     if(strcmp(Cama[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5288.                     EditCamaID[playerid] = id1;
  5289.                     EditDynamicObject(playerid, Cama[id1][ObjectG]);
  5290.                     SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5291.                     SalvarCama(id);
  5292.                     }
  5293.                     else if(PlayerInfo[playerid][Madeira] == 0)
  5294.                     {
  5295.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5296.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5297.                     SendClientMessage(playerid, fail, string1);
  5298.                     }
  5299.                     else if(PlayerInfo[playerid][Cloth] == 0)
  5300.                     {
  5301.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5302.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5303.                     SendClientMessage(playerid, fail, string1);
  5304.                 }
  5305.             }
  5306.         }
  5307.         if(listitem == 2)
  5308.         {
  5309.             if(PlayerInfo[playerid][Madeira] >= 15)
  5310.             {
  5311.                 new id = -1;
  5312.                 for(new i; i < MAX_BAU; i++)
  5313.                 {
  5314.                     if(!Bau[i][Existe])
  5315.                     {
  5316.                         id = i;
  5317.                         break;
  5318.                     }
  5319.                 }
  5320.                 new Float:X, Float:Y, Float:Z, Float: A;
  5321.                 GetPlayerPos(playerid, X, Y, Z);
  5322.                 GetPlayerFacingAngle(playerid, A);
  5323.  
  5324.                 Bau[id][Dono] = pName(playerid);
  5325.                 Bau[id][Existe] = 1;
  5326.                 Bau[id][PosX] = X;
  5327.                 Bau[id][PosY] = Y;
  5328.                 Bau[id][PosZ] = Z;
  5329.                 Bau[id][RZ] = A + 180;
  5330.                 Bau[id][ObjectD] = CreateDynamicObject(bau, Bau[id][PosX] +1, Bau[id][PosY], Bau[id][PosZ], Bau[id][RX], Bau[id][RY], Bau[id][RZ]);
  5331.  
  5332.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Baú criada com sucesso!"); // String em português
  5333.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Chest created successfully!"); // String em inglês
  5334.                 SendClientMessage(playerid, verde, string1);
  5335.  
  5336.                 if(EditBauID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5337.                 new id1 = GetPlayerRangeBau(playerid);
  5338.                 if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5339.                 if(strcmp(Bau[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5340.                 EditBauID[playerid] = id1;
  5341.                 EditDynamicObject(playerid, Bau[id1][ObjectD]);
  5342.                 SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5343.                 SalvarBaus(id);
  5344.                 }
  5345.                 else if(PlayerInfo[playerid][Madeira] == 0)
  5346.                 {
  5347.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem madeira suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5348.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough wood, use: /help - Crafting - Construções."); // String em inglês
  5349.                 SendClientMessage(playerid, fail, string1);
  5350.             }
  5351.         }
  5352.         if(listitem == 3)
  5353.         {
  5354.             if(PlayerInfo[playerid][Pedra] >= 60)
  5355.             {
  5356.                 new id = -1;
  5357.                 for(new i; i < MAX_FORNO; i++)
  5358.                 {
  5359.                     if(!Forno[i][Existe])
  5360.                     {
  5361.                         id = i;
  5362.                         break;
  5363.                     }
  5364.                 }
  5365.                 new Float:X, Float:Y, Float:Z, Float: A;
  5366.                 GetPlayerPos(playerid, X, Y, Z);
  5367.                 GetPlayerFacingAngle(playerid, A);
  5368.  
  5369.                 Forno[id][Dono] = pName(playerid);
  5370.                 Forno[id][Existe] = 1;
  5371.                 Forno[id][PosX] = X;
  5372.                 Forno[id][PosY] = Y;
  5373.                 Forno[id][PosZ] = Z;
  5374.                 Forno[id][RZ] = A + 180;
  5375.                 Forno[id][ObjectJ] = CreateDynamicObject(forno, Forno[id][PosX] +1, Forno[id][PosY], Forno[id][PosZ], Forno[id][RX], Forno[id][RY], Forno[id][RZ]);
  5376.  
  5377.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Fornalha criada com sucesso!"); // String em português
  5378.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] Furnace created successfully!"); // String em inglês
  5379.                 SendClientMessage(playerid, verde, string1);
  5380.  
  5381.                 if(EditFornoID[playerid] != -1) return SendClientMessage(playerid, fail, "[!] Você já está editando uma base / You are already editing a base.");
  5382.                 new id1 = GetPlayerRangeForno(playerid);
  5383.                 if(id1 == -1) return SendClientMessage(playerid, fail, "[!] Você não está perto de sua base / You're not near your base.");
  5384.                 if(strcmp(Forno[id1][Dono], pName(playerid))) return SendClientMessage(playerid, fail, "[!] Essa base não é sua!");
  5385.                 EditFornoID[playerid] = id1;
  5386.                 EditDynamicObject(playerid, Forno[id1][ObjectJ]);
  5387.                 SendClientMessage(playerid, AZULCLARO, "[!] Você pode editar sua base agora / You can edit your base now.");
  5388.                 SalvarForno(id);
  5389.                 }
  5390.                 else if(PlayerInfo[playerid][Pedra] == 0)
  5391.                 {
  5392.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem pedras suficiente, use: /ajuda - Crafting - Contruções."); // String em português
  5393.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough stones, use: /help - Crafting - Construções."); // String em inglês
  5394.                 SendClientMessage(playerid, fail, string1);
  5395.             }
  5396.         }
  5397.     }
  5398.     if(dialogid == 9948)
  5399.     {
  5400.         if(!response) { return ShowPlayerDialog(playerid,9964,DIALOG_STYLE_LIST,"Crafting's"," - Crafting Casa/House\n - Crafting Mobilias/Furniture\n - Crafting Veiculos/Vehicles\n","Aceitar","Cancelar"); }
  5401.         {
  5402.             if(listitem == 0)
  5403.             {
  5404.                 if(PlayerInfo[playerid][Borracha] >= 25)
  5405.                 {
  5406.                     if(PlayerInfo[playerid][Parafuso] >= 50)
  5407.                     {
  5408.                         if(PlayerInfo[playerid][Metal] >= 100)
  5409.                         {
  5410.                             new Float:X, Float:Y, Float:Z, Float:A;
  5411.                             GetPlayerPos(playerid, X, Y, Z);
  5412.                             GetPlayerFacingAngle(playerid, A);
  5413.                             CreateVehicle(468, X+5, Y, Z+1, A+180, -1, -1, 60);
  5414.                             PlayerInfo[playerid][Borracha] -= 25;
  5415.                             PlayerInfo[playerid][Metal] -= 100;
  5416.                             PlayerInfo[playerid][Parafuso] -= 50;
  5417.                         }
  5418.                         else
  5419.                         {
  5420.                             if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem metais suficientes, use: /ajuda - Crafting - Contruções."); // String em português
  5421.                             if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough, metals use: /help - Crafting - Construções."); // String em inglês
  5422.                             SendClientMessage(playerid, fail, string1);
  5423.                         }
  5424.                     }
  5425.                     else
  5426.                     {
  5427.                         if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem parafusos suficientes, use: /ajuda - Crafting - Contruções."); // String em português
  5428.                         if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough screw, use: /help - Crafting - Construções."); // String em inglês
  5429.                         SendClientMessage(playerid, fail, string1);
  5430.                     }
  5431.                 }
  5432.                 else
  5433.                 {
  5434.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem borrachas suficientes, use: /ajuda - Crafting - Contruções."); // String em português
  5435.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough rubbers, use: /help - Crafting - Construções."); // String em inglês
  5436.                     SendClientMessage(playerid, fail, string1);
  5437.                 }
  5438.             }
  5439.         }
  5440.         if(listitem == 1)
  5441.         {
  5442.             if(PlayerInfo[playerid][Borracha] >= 25)
  5443.             {
  5444.                 if(PlayerInfo[playerid][Parafuso] >= 50)
  5445.                 {
  5446.                     if(PlayerInfo[playerid][Metal] >= 100)
  5447.                     {
  5448.                         new Float:X, Float:Y, Float:Z, Float:A;
  5449.                         GetPlayerPos(playerid, X, Y, Z);
  5450.                         GetPlayerFacingAngle(playerid, A);
  5451.                         CreateVehicle(470, X+5, Y, Z+1, A+180, -1, -1, 60);
  5452.                         PlayerInfo[playerid][Borracha] -= 50;
  5453.                         PlayerInfo[playerid][Metal] -= 250;
  5454.                         PlayerInfo[playerid][Parafuso] -= 100;
  5455.                     }
  5456.                     else
  5457.                     {
  5458.                         if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem metais suficientes, use: /ajuda - Crafting - Contruções."); // String em português
  5459.                         if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough, metals use: /help - Crafting - Construções."); // String em inglês
  5460.                         SendClientMessage(playerid, fail, string1);
  5461.                     }
  5462.                 }
  5463.                 else
  5464.                 {
  5465.                     if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem parafusos suficientes, use: /ajuda - Crafting - Contruções."); // String em português
  5466.                     if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough screw, use: /help - Crafting - Construções."); // String em inglês
  5467.                     SendClientMessage(playerid, fail, string1);
  5468.                 }
  5469.             }
  5470.             else
  5471.             {
  5472.                 if(idioma[playerid]==PT)format(string1, sizeof string1,"[!] Você não tem borrachas suficientes, use: /ajuda - Crafting - Contruções."); // String em português
  5473.                 if(idioma[playerid]==EN)format(string1, sizeof string1,"[!] You do not have enough rubbers, use: /help - Crafting - Construções."); // String em inglês
  5474.                 SendClientMessage(playerid, fail, string1);
  5475.             }
  5476.         }
  5477.     }
  5478.     Item_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[0]);
  5479.     return 1;
  5480. }
  5481.  
  5482. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  5483. {
  5484.     if(clickedid == Text: INVALID_TEXT_DRAW && PlayerInfo[playerid][Logado] == false)
  5485.     {
  5486.         SelectTextDraw(playerid,0xFFFFFFFF);
  5487.     }
  5488.     if(Inv[playerid][InvOpen] == true)
  5489.     {
  5490.         if(clickedid == Text:INVALID_TEXT_DRAW)
  5491.         {
  5492.             EsconderInventario(playerid);
  5493.         }
  5494.     }
  5495.     return 1;
  5496. }
  5497.  
  5498. public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
  5499. {
  5500.     new cmdString[200];
  5501.  
  5502.     if(playertextid == PlayerRegistro[0])
  5503.     {
  5504.         if(DOF2_FileExists(GetArquivo(playerid)))
  5505.         {
  5506.             SendClientMessage(playerid, COR_AVISO, "• Você ja tem uma Conta, Clique em Logar para Logar.");
  5507.         }
  5508.         else
  5509.         {
  5510.             for(new i; i < sizeof(Registro); i++) { TextDrawHideForPlayer(playerid, Registro[i]); }
  5511.             for(new i; i < sizeof(PlayerRegistro); i++) { PlayerTextDrawHide(playerid, PlayerRegistro[i]); }
  5512.  
  5513.             format(cmdString, sizeof(cmdString),"{F8F8FF}Bem Vindo(a) Ao Servidor {EE3B3B}%s{F8F8FF}\n\nVocê não tem uma Conta registrada\n\nDigite uma senha para Registrar\n\nStatus: {EE3B3B}N/A Registrado{F8F8FF}\n\nIP: {EE3B3B}%s", Nome(playerid), IP(playerid));
  5514.             ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_PASSWORD, "~   REGISTRANDO   ~", cmdString, "Registrar", "Cancelar");
  5515.         }
  5516.     }
  5517.     if(playertextid == PlayerRegistro[1])
  5518.     {
  5519.  
  5520.         if(DOF2_FileExists(GetArquivo(playerid)))
  5521.         {
  5522.             for(new i; i < sizeof(Registro); i++) { TextDrawHideForPlayer(playerid, Registro[i]); }
  5523.             for(new i; i < sizeof(PlayerRegistro); i++) { PlayerTextDrawHide(playerid, PlayerRegistro[i]); }
  5524.  
  5525.             format(cmdString, sizeof(cmdString),"{F8F8FF}Bem Vindo(a) Ao Servidor {EE3B3B}%s{F8F8FF}\n\nVocê ja tem uma Conta registrada\n\nDigite sua Senha para Logar\n\nStatus: {EE3B3B}Registrado{F8F8FF}\n\nIP: {EE3B3B}%s", Nome(playerid), IP(playerid));
  5526.             ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "~   LOGANDO   ~", cmdString, "Logar", "Cancelar");
  5527.         }
  5528.         else
  5529.         {
  5530.             SendClientMessage(playerid, COR_AVISO, "• Você não tem uma Conta, Clique em Registrar para Registrar.");
  5531.         }
  5532.     }
  5533.     if(playertextid == PlayerRegistro[2])
  5534.     {
  5535.  
  5536.         for(new i; i < sizeof(Registro); i++) { TextDrawHideForPlayer(playerid, Registro[i]); }
  5537.         for(new i; i < sizeof(PlayerRegistro); i++) { PlayerTextDrawHide(playerid, PlayerRegistro[i]); }
  5538.  
  5539.         for(new i = 0; i < sizeof(Info); i++) { TextDrawShowForPlayer(playerid, Info[i]); }
  5540.         PlayerTextDrawShow(playerid, PlayerRegistro[4]);
  5541.  
  5542.     }
  5543.     if(playertextid == PlayerRegistro[3])
  5544.     {
  5545.         format(cmdString, sizeof(cmdString), "O Jogador %s Resolveu sair do Servidor", Nome(playerid));
  5546.         SendClientMessageToAll(COR_ADMIN, cmdString);
  5547.         for(new i; i < sizeof(Registro); i++) { TextDrawHideForPlayer(playerid, Registro[i]); }
  5548.         for(new i; i < sizeof(PlayerRegistro) - 1; i++) { PlayerTextDrawHide(playerid, PlayerRegistro[i]); }
  5549.         GameTextForPlayer(playerid, "~", 1000, 6);
  5550.     }
  5551.     if(playertextid == PlayerRegistro[4])
  5552.     {
  5553.         for(new i; i < sizeof(Registro); i++) { TextDrawShowForPlayer(playerid, Registro[i]); }
  5554.         for(new i; i < sizeof(PlayerRegistro) - 1; i++) { PlayerTextDrawShow(playerid, PlayerRegistro[i]); }
  5555.  
  5556.         for(new i = 0; i < sizeof(Info); i++) { TextDrawHideForPlayer(playerid, Info[i]); }
  5557.         PlayerTextDrawHide(playerid, PlayerRegistro[4]);
  5558.     }
  5559.     INV_OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid);
  5560.     return 1;
  5561. }
  5562.  
  5563. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  5564. {
  5565.     return 1;
  5566. }
  5567.  
  5568. public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
  5569. {
  5570.     if(hittype == 3)
  5571.     {
  5572.         if(IsValidObject(Bambi) && hitid == Bambi)
  5573.         {
  5574.             SendClientMessage(playerid, -1, "Você acertou o bambi, digite /degolar para mata-lo!");
  5575.             SetObjectPos(Bambi, -448.412994,-2647.328125,155.043136);
  5576.             SetObjectRot(Bambi, -86.400009, 0, 0);
  5577.             BambiDead[playerid] = 1;
  5578.         }
  5579.     }
  5580.     return 1;
  5581. }
  5582.  
  5583. forward Degolado(playerid);
  5584. public Degolado(playerid)
  5585. {
  5586.     new Float:x,Float:y,Float:z;
  5587.     StopLoopingAnim(playerid);
  5588.     PlayerInfo[playerid][Cloth] += 3;
  5589.     PlayerInfo[playerid][Carne] += 3;
  5590.     SendClientMessage(playerid, verde, "Você degolou o bambi e conseguiu 3 carnes e 3 cloth's!");
  5591.     BambiDead[playerid] = 0;
  5592.     GetObjectPos(Bambi, x, y, z);
  5593.     SetObjectPos(Bambi, x, y, z-2000); // teleporta o bambi pra debaixo da terra fazendo o 'sumir'
  5594.     SetObjectRot(Bambi, 0, 0, 0); // retorna o bambi a posicao de vivo
  5595.     Update3DTextLabelText(BambiText, AMARELO_2, " "); // limpa o texto do bambi
  5596.     SetTimer("BambiVoltou", 30000, true);
  5597. }
  5598.  
  5599. public BambiVoltou(playerid)
  5600. {
  5601.     SetObjectPos(Bambi, -448.4130,-2647.3594,155.0000);
  5602.     Update3DTextLabelText(BambiText, AMARELO_2, "* Bambi * \n {A9A9A9} Atire nele para matar! Depois /degolar!");
  5603.     return 1;
  5604. }
  5605.  
  5606. public DestruirTextoDraw(playerid)
  5607. {
  5608.     TextDrawHideForPlayer(playerid, Wood[playerid]);
  5609.     TextDrawHideForPlayer(playerid, Wood3[playerid]);
  5610.     TextDrawHideForPlayer(playerid, Boxzin[playerid]);
  5611.     TextDrawHideForPlayer(playerid, Stone[playerid]);
  5612.     TextDrawHideForPlayer(playerid, Boxzin2[playerid]);
  5613.     TextDrawHideForPlayer(playerid, MetalF[playerid]);
  5614.     TextDrawHideForPlayer(playerid, LimiteMaterial[playerid]);
  5615.     return 1;
  5616. }
  5617.  
  5618. public pegandoagua(playerid)
  5619. {
  5620.     Valor2 [playerid] +=20; //almentará a bar de 5 em 5
  5621.     SetProgressBarValue(Exemplo2, Valor2[playerid]);//seta o valor da bar para o valor da variavel
  5622.     UpdateProgressBar(Exemplo2, playerid); // atualiza a  bar
  5623.     if (Valor2[playerid] == 100)
  5624.     { //quando chegar a 100
  5625.         HideProgressBarForPlayer(playerid, Exemplo2); //sumira a bar
  5626.         SetProgressBarValue (Exemplo2, 0) ;//setara o valor dela para 0
  5627.         Valor2 [playerid] = 0; //o  da variavel também
  5628.         KillTimer (Baru2[playerid]) ; //e destruira o timer.
  5629.         PlayerInfo[playerid][Agua]+= 5;
  5630.         SendClientMessage(playerid, AZUL_AGUA, "Você acabou de pegar 5 litros de água!");
  5631.         StopLoopingAnim(playerid);
  5632.     }
  5633.     return 1;
  5634. }
  5635.  
  5636. forward Almentar (playerid);
  5637. public Almentar (playerid)
  5638. {
  5639.     Valor [playerid] +=5 ; //almentará a bar de 5 em 5
  5640.     SetProgressBarValue(Exemplo, Valor[playerid]) ;//seta o valor da bar para o valor da variavel
  5641.     UpdateProgressBar(Exemplo, playerid) ; // atualiza a  bar
  5642.     if (Valor[playerid] == 100)
  5643.     { //quando chegar a 100
  5644.         HideProgressBarForPlayer(playerid, Exemplo); //sumira a bar
  5645.         SetProgressBarValue (Exemplo, 0) ;//setara o valor dela para 0
  5646.         Valor [playerid] = 0; //o  da variavel também
  5647.         KillTimer (Baru[playerid]) ; //e destruira o timer.
  5648.         GivePlayerWeapon(playerid, 33, 5);
  5649.         SendClientMessage(playerid, AZUL_AGUA, "Você fez um rifle com 5 balas.");
  5650.         PlayerInfo[playerid][Madeira] -= 5;
  5651.         PlayerInfo[playerid][Metal] -= 10;
  5652.         TogglePlayerControllable(playerid, 1);
  5653.         StopLoopingAnim(playerid);
  5654.     }
  5655.     return 1;
  5656. }
  5657.  
  5658.  
  5659.  
  5660. public FazendoPistola(playerid)
  5661. {
  5662.     GivePlayerWeapon(playerid, 24, 7);
  5663.     SendClientMessage(playerid, AZUL_AGUA, "Você fez uma pistola com 7 balas.");
  5664.     PlayerInfo[playerid][Parafuso] -= 5;
  5665.     PlayerInfo[playerid][Metal] -= 10;
  5666.     StopLoopingAnim(playerid);
  5667.     return 1;
  5668. }
  5669.  
  5670. public Pescando(playerid)
  5671. {
  5672.     SendClientMessage(playerid, AZUL_AGUA, "Você conseguiu pegar um peixe!");
  5673.     StopLoopingAnim(playerid);
  5674.     RemovePlayerAttachedObject(playerid, 2);
  5675.     PlayerInfo[playerid][Peixe] += 1;
  5676.     pPescando[playerid] = 0;
  5677.     return 1;
  5678. }
  5679.  
  5680. public campfire(playerid)
  5681. {
  5682.     new Float:X, Float:Y, Float:Z, Float:A;
  5683.     GetPlayerPos(playerid, X, Y, Z);
  5684.     GetPlayerFacingAngle(playerid, A);
  5685.     GameTextForPlayer(playerid, "~r~Fogo Feito", 200, 0);
  5686.     Fogarel = CreateDynamicObject(19632, X, Y, Z-1, 0.0, 0.0, A+180);
  5687.     PlayerInfo[playerid][Madeira] -= 5;
  5688.     StopLoopingAnim(playerid);
  5689.     TogglePlayerControllable(playerid, 1);
  5690.     SetTimer("ApagarFogo", 500000, 0);
  5691. }
  5692.  
  5693. public ApagarFogo(playerid)
  5694. {
  5695.     DestroyDynamicObject(Fogarel);
  5696.     SendClientMessage(playerid, VERDE_ESCURO, "Sua CampFire apagou!");
  5697.     Fogo[playerid] = 0;
  5698. }
  5699.  
  5700. public ApagarTocha(playerid)
  5701. {
  5702.     RemovePlayerAttachedObject(playerid, 1);
  5703.     SetPlayerAttachedObject(playerid, 1,3026 ,1,-0.16,-0.08,0.0,0.5,0.5,0.0,1.0,1.3,1.0,-1,0);
  5704.     SendClientMessage(playerid, VERDE_ESCURO, "Sua Tocha apagou!");
  5705.     Tocha[playerid] = 0;
  5706. }
  5707.  
  5708. public Fome(playerid)
  5709. {
  5710.         SetPVarInt(playerid,"Fome", GetPVarInt(playerid,"Fome")-1);
  5711.         SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome"));
  5712.         UpdateProgressBar(FomeA,playerid);
  5713.         if(GetPVarInt(playerid,"Fome") <= 5)
  5714.         {
  5715.                 new Float:Vida;
  5716.                 GetPlayerHealth(playerid,Vida),SetPlayerHealth(playerid,Vida - 20);
  5717.                 SendClientMessage(playerid, 0xFF0000FF,"[!] Vá até a lanchonete comer ou irá morrer de fome!");
  5718.         }
  5719.         if(GetPVarInt(playerid,"Fome") <= 0)
  5720.         {
  5721.                 SetPlayerHealth(playerid, 0);
  5722.                 SendClientMessage(playerid, 0xFF0000FF, "[!] Você morreu de fome!");
  5723.         }
  5724.         return 1;
  5725. }
  5726.  
  5727. public Correction(playerid)
  5728. {
  5729.     if(GetPVarInt(playerid,"Sede") > 100)
  5730.     {
  5731.         SetPVarInt(playerid,"Sede", 100);
  5732.         SetProgressBarValue(SedeB, GetPVarInt(playerid,"Sede"));
  5733.         UpdateProgressBar(SedeB, playerid);
  5734.     }
  5735.     if(GetPVarInt(playerid,"Fome") > 100)
  5736.     {
  5737.         SetPVarInt(playerid,"Fome", 100);
  5738.         SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome"));
  5739.         UpdateProgressBar(FomeA, playerid);
  5740.     }
  5741.     if(GetPVarInt(playerid,"Frio") > 100)
  5742.     {
  5743.         SetPVarInt(playerid,"Frio", 100);
  5744.         SetProgressBarValue(FrioD, GetPVarInt(playerid,"Frio"));
  5745.         UpdateProgressBar(FrioD, playerid);
  5746.     }
  5747.     return 0;
  5748. }
  5749.  
  5750. public Sede(playerid)
  5751. {
  5752.         SetPVarInt(playerid,"Sede", GetPVarInt(playerid,"Sede")-1);
  5753.         SetProgressBarValue(SedeB, GetPVarInt(playerid,"Sede"));
  5754.         UpdateProgressBar(SedeB,playerid);
  5755.         if(GetPVarInt(playerid,"Sede") <= 5)
  5756.         {
  5757.                 new Float:Vida;
  5758.                 GetPlayerHealth(playerid,Vida),SetPlayerHealth(playerid,Vida - 20);
  5759.                 SendClientMessage(playerid, 0xFF0000FF,"[!] Você está com muita sede, beba algo ou morrerá!");
  5760.         }
  5761.         if(GetPVarInt(playerid,"Sede") <= 0)
  5762.         {
  5763.                 SetPlayerHealth(playerid, 0);
  5764.                 SendClientMessage(playerid, 0xFF0000FF, "[!] Você morreu de Sede!");
  5765.         }
  5766.         return 1;
  5767. }
  5768.  
  5769. public Frio(playerid)
  5770. {
  5771.         SetPVarInt(playerid,"Frio", GetPVarInt(playerid,"Frio")-3);
  5772.         SetProgressBarValue(FrioD, GetPVarInt(playerid,"Frio"));
  5773.         UpdateProgressBar(FrioD,playerid);
  5774.         if(GetPVarInt(playerid,"Frio") <= 6)
  5775.         {
  5776.                 new Float:Vida;
  5777.                 GetPlayerHealth(playerid,Vida),SetPlayerHealth(playerid,Vida - 20);
  5778.                 SendClientMessage(playerid, 0xFF0000FF,"[!] Você está com muito Frio, crie uma campfire para se aquecer!");
  5779.         }
  5780.         if(GetPVarInt(playerid,"Frio") <= 0)
  5781.         {
  5782.                 SetPlayerHealth(playerid, 0);
  5783.                 SendClientMessage(playerid, 0xFF0000FF, "[!] Você morreu de Frio!");
  5784.         }
  5785.         return 1;
  5786. }
  5787.  
  5788. public Payday(playerid)
  5789. {
  5790.     PegouPresente[playerid] = 0;
  5791.     SendClientMessageToAll(0xFF0000AA, "[INFO] {00FF7C}PayDay iniciado, use /presente para pegar sua promoção.");
  5792.     return 1;
  5793. }
  5794.  
  5795. public Acordar(playerid)
  5796. {
  5797.     new Float:x, Float:y, Float:z;
  5798.     GetPlayerPos(playerid,x,y,z);
  5799.  
  5800.     DOF2_SetFloat(GetArquivo(playerid),"PosX",x);
  5801.     DOF2_SetFloat(GetArquivo(playerid),"PosY",y);
  5802.     DOF2_SetFloat(GetArquivo(playerid),"PosZ",z);
  5803.     DOF2_SaveFile();
  5804.     StopLoopingAnim(playerid);
  5805.     return 1;
  5806. }
  5807.  
  5808. public SendMSG()
  5809. {
  5810.     new string[256];
  5811.     new randMSG = random(sizeof(RandomServerName));
  5812.     format(string,sizeof(string),"hostname %s",RandomServerName[randMSG]);
  5813.     SendRconCommand(string);
  5814. }
  5815.  
  5816. public mMensagens()
  5817. {
  5818.  
  5819.     new random2 = random(sizeof(RandomColors));
  5820.     new randMSG = random(sizeof(Mensagens));
  5821.     SendClientMessageToAll(RandomColors[random2], Mensagens[randMSG]);
  5822. }
  5823.  
  5824. stock Items_Industriais(items)
  5825. {
  5826.     switch(items)
  5827.     {
  5828.         case 0: items = 1;
  5829.         case 1: items = 2;
  5830.         case 2: items = 3;
  5831.         case 3: items = 4;
  5832.         case 4: items = 5;
  5833.         case 5: items = 6;
  5834.         case 6: items = 7;
  5835.         case 7: items = 8;
  5836.         case 8: items = 9;
  5837.         case 9: items = 10;
  5838.         case 10: items = 11;
  5839.     }
  5840.     return items;
  5841. }
  5842.  
  5843. forward CriarLoots();
  5844. public CriarLoots()
  5845. {
  5846.     new i;
  5847.     for(i = 0; i < sizeof(Industrial_Spawns); i++)
  5848.     {
  5849.         CriarItem(Items_Industriais(random(12)), Industrial_Spawns[i][0], Industrial_Spawns[i][1], Industrial_Spawns[i][2]);
  5850.     }
  5851.     printf("| INFO |: %i ITEMS TOTAIS.", sizeof(Industrial_Spawns));
  5852.     return 1;
  5853. }
  5854.  
  5855. /*
  5856. ItemInfo[][Item_Data] =
  5857. {
  5858.     {0,   19382,      "Null",          0.0, 0.0, 0.0,     -1}, //não mexa nesse
  5859.     {1,   11738,      "Kit Médico/MedKit",        0.0, 0.0, 0.0,     0x3EE314FF},
  5860.     {2,   19141,      "Capacete",        0.0, 0.0, 0.0,     0x3EE314FF},
  5861.     {3,   19142,      "Colete",        0.0, 0.0, 0.0,     0x3EE314FF},
  5862.     {4,   356,      "Metralhadora M16",        0.0, 0.0, 0.0,     0x3EE314FF},
  5863.     {5,   353,      "Sub-Metralhadora MP5",        0.0, 0.0, 0.0,     0x3EE314FF},
  5864.     {6,   358,      "Sniper",        0.0, 0.0, 0.0,     0x3EE314FF},
  5865.     {7,   349,      "Shotgun",        0.0, 0.0, 0.0,     0x3EE314FF},
  5866.     {8,   1650,      "Gasolina",        0.0, 0.0, 0.0,     0x3EE314FF},
  5867.     {9,   1279,      "Motor",        0.0, 0.0, 0.0,     0x3EE314FF},
  5868.     {10,   348,      "Pistola",        0.0, 0.0, 0.0,     0x3EE314FF},
  5869.     {11,   1210,      "Maleta de Cash",        0.0, 0.0, 0.0,     0x3EE314FF}
  5870. };
  5871. */
  5872.  
  5873. public OnPlayerUseItem(playerid, itemid)
  5874. {
  5875.     switch(itemid)
  5876.     {
  5877.         case 1:
  5878.         {
  5879.             RemoverItem(playerid, 1, 1);
  5880.             SetPlayerHealth(playerid, 100);
  5881.             SendClientMessage(playerid, COR_VERDE, "Você usou um MedKit e curou 100 de sua vida!");
  5882.         }
  5883.         case 2:
  5884.         {
  5885.             RemoverItem(playerid, 2, 1);
  5886.             SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+10);
  5887.             SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome"));
  5888.             UpdateProgressBar(FomeA,playerid);
  5889.             SendClientMessage(playerid, COR_VERDE, "Você comeu uma fruta e sua fome diminuiu.");
  5890.         }
  5891.         case 3:
  5892.         {
  5893.             SetPlayerArmour(playerid, 100);
  5894.             RemoverItem(playerid, 3, 1);
  5895.         }
  5896.         case 4:
  5897.         {
  5898.             GivePlayerWeapon(playerid, 31, 30);
  5899.             RemoverItem(playerid, 4, 1);
  5900.         }
  5901.         case 5:
  5902.         {
  5903.             GivePlayerWeapon(playerid, 29, 30);
  5904.             RemoverItem(playerid, 5, 1);
  5905.         }
  5906.         case 6:
  5907.         {
  5908.             GivePlayerWeapon(playerid, 33, 30);
  5909.             RemoverItem(playerid, 6, 1);
  5910.         }
  5911.         case 7:
  5912.         {
  5913.             GivePlayerWeapon(playerid, 25, 12);
  5914.             RemoverItem(playerid, 7, 1);
  5915.         }
  5916.         case 8:
  5917.         {
  5918.             RemoverItem(playerid, 8, 1);
  5919.         }
  5920.         case 9:
  5921.         {
  5922.             RemoverItem(playerid, 9, 1);
  5923.         }
  5924.         case 10:
  5925.         {
  5926.             GivePlayerWeapon(playerid, 22, 30);
  5927.             RemoverItem(playerid, 10, 1);
  5928.         }
  5929.         case 11:
  5930.         {
  5931.             PlayerInfo[playerid][Cash] += 5; // dar cash ao jogador
  5932.             SendClientMessage(playerid, COR_VERDE, "Você abriu a maleta e ganhou 5 de cash.");
  5933.             RemoverItem(playerid, 11, 1);
  5934.         }
  5935.     }
  5936.     return 1;
  5937. }
  5938.  
  5939. stock GetNearestItemID(playerid, Float:range = 1.5)
  5940. {
  5941.     for(new i; i < MAX_DROPS; i++)
  5942.     {
  5943.         if(IsPlayerInRangeOfPoint(playerid, range, DropInfo[i][dPosX], DropInfo[i][dPosY], DropInfo[i][dPosZ]))
  5944.         {
  5945.             return i;
  5946.         }
  5947.     }
  5948.     return -1;
  5949. }
  5950.  
  5951. public OnPlayerDropItem(playerid, itemid)
  5952. {
  5953.     static Float:X, Float:Y, Float:Z;
  5954.     GetPlayerPos(playerid, X, Y, Z);
  5955.     switch(itemid)
  5956.     {
  5957.         default:
  5958.         {
  5959.             RemoverItem(playerid, itemid, 1);
  5960.             CriarItem(itemid, X, Y, Z);
  5961.         }
  5962.     }
  5963.     return 1;
  5964. }
  5965.  
  5966. public PickUPItemDrop(playerid)
  5967. {
  5968.     new i = GetNearestItemID(playerid);
  5969.     if(i != -1)
  5970.     {
  5971.         if(IsPlayerInRangeOfPoint(playerid, 1.5, DropInfo[i][dPosX], DropInfo[i][dPosY], DropInfo[i][dPosZ]))
  5972.         {
  5973.             new itemid = DropInfo[i][DropItemID];
  5974.  
  5975.             AdicionarItem(playerid, ItemInfo[itemid][Item_ID], 1);
  5976.             DestroirItem(i);
  5977.         }
  5978.     }
  5979.     return 1;
  5980. }
  5981.  
  5982. public Item_OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  5983. {
  5984.     if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
  5985.     {
  5986.         if(PRESSED(KEY_NO))
  5987.         {
  5988.             new i = GetNearestItemID(playerid);
  5989.             if(i != -1)
  5990.             {
  5991.                 if(IsPlayerInRangeOfPoint(playerid, 1.5, DropInfo[i][dPosX], DropInfo[i][dPosY], DropInfo[i][dPosZ]))
  5992.                 {
  5993.                     new str[45],
  5994.                         itemid = DropInfo[i][DropItemID];
  5995.  
  5996.                     format(str, sizeof(str), "{FFFFFF}>> %s", ItemInfo[itemid][Item_Name]);
  5997.  
  5998.                     ShowPlayerDialog(playerid, DialogPegarItem, DIALOG_STYLE_MSGBOX,"Looting", str, "Pegar", "Fechar");
  5999.                 }
  6000.             }
  6001.         }
  6002.     }
  6003.     return 1;
  6004. }
  6005.  
  6006. public Item_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  6007. {
  6008.     switch(dialogid)
  6009.     {
  6010.         case DialogPegarItem:
  6011.         {
  6012.             if(response)
  6013.             {
  6014.                 if(pInfo[playerid][pSlots] == pInfo[playerid][pBackpack])
  6015.                 {
  6016.                     GameTextForPlayer(playerid,"~r~Inventario Cheio",1000,4);
  6017.                     return 1;
  6018.                 }
  6019.                 ApplyAnimation(playerid, "CARRY", "liftup05", 4.0, 0, 0, 0, 0, -1);
  6020.                 PickUPItemDrop(playerid);
  6021.             }
  6022.         }
  6023.     }
  6024.     return 1;
  6025. }
  6026.  
  6027. stock DestroirItem(dropid)
  6028. {
  6029.     DropInfo[dropid][dPosX] = 0.0;
  6030.     DropInfo[dropid][dPosY] = 0.0;
  6031.     DropInfo[dropid][dPosZ] = 0.0;
  6032.  
  6033.     DropInfo[dropid][DropItemID] = -1;
  6034.  
  6035.     DestroyDynamicObject(DropInfo[dropid][DropObj]);
  6036.     DestroyDynamic3DTextLabel(DropInfo[dropid][DropLabel]);
  6037.     return 1;
  6038. }
  6039.  
  6040. stock CriarItem(itemid, Float:X, Float:Y, Float:Z)
  6041. {
  6042.     if(itemid != 0)
  6043.     {
  6044.         for(new i; i < MAX_DROPS; i++)
  6045.         {
  6046.             if(DropInfo[i][dPosX] == 0.0 && DropInfo[i][dPosY] == 0.0 && DropInfo[i][dPosZ] == 0.0)
  6047.             {
  6048.  
  6049.                 DropInfo[i][dPosX] = X, DropInfo[i][dPosY] = Y, DropInfo[i][dPosZ] = Z-0.92;
  6050.  
  6051.                 DropInfo[i][DropItemID] = itemid;
  6052.  
  6053.                 DropInfo[i][DropLabel] = CreateDynamic3DTextLabel(ItemInfo[itemid][Item_Name], ItemInfo[itemid][Item_Color], DropInfo[i][dPosX], DropInfo[i][dPosY], DropInfo[i][dPosZ], 1.5);
  6054.                 DropInfo[i][DropObj] = CreateDynamicObject(ItemInfo[itemid][Item_Obj], DropInfo[i][dPosX], DropInfo[i][dPosY], DropInfo[i][dPosZ], ItemInfo[itemid][Item_RotX], ItemInfo[itemid][Item_RotY], ItemInfo[itemid][Item_RotZ]);
  6055.                 return 1;
  6056.             }
  6057.         }
  6058.     }
  6059.     return 0;
  6060. }
  6061.  
  6062. forward INV_OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid);
  6063. public INV_OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
  6064. {
  6065.     for(new i; i < 24; i++)
  6066.     {
  6067.         if(playertextid == INV_SLOTS[playerid][i])
  6068.         {
  6069.             new index = (24 * Inv[playerid][invPage]) + i;
  6070.  
  6071.             if(Inv[playerid][Item][index] != 0)
  6072.             {
  6073.                 Inv[playerid][ItemSelected] = Inv[playerid][Item][index];
  6074.                 PlayerTextDrawHide(playerid, INV_DESIGN[playerid][16]);
  6075.                 PlayerTextDrawSetPreviewModel(playerid, INV_DESIGN[playerid][16], ItemInfo[Inv[playerid][Item][index]][Item_Obj]);
  6076.                 PlayerTextDrawShow(playerid, INV_DESIGN[playerid][16]);
  6077.             }
  6078.             break;
  6079.         }
  6080.     }
  6081.     if(playertextid == INV_DESIGN[playerid][3])
  6082.     {
  6083.         EsconderInventario(playerid);
  6084.     }
  6085.     if(playertextid == INV_DESIGN[playerid][17])
  6086.     {
  6087.         if(Inv[playerid][ItemSelected] != 0)
  6088.         {
  6089.             CallLocalFunction("OnPlayerUseItem","ii",playerid, ItemInfo[Inv[playerid][ItemSelected]][Item_ID]);
  6090.             EsconderInventario(playerid);
  6091.         }
  6092.     }
  6093.  
  6094.     if(playertextid == INV_DESIGN[playerid][18])
  6095.     {
  6096.         if(Inv[playerid][ItemSelected] != 0)
  6097.         {
  6098.             CallLocalFunction("OnPlayerDropItem","ii",playerid, ItemInfo[Inv[playerid][ItemSelected]][Item_ID]);
  6099.             ApplyPlayerAnimation(playerid, "GRENADE", "WEAPON_throwu", 4.0, 0, 0, 0, 0, -1);
  6100.             EsconderInventario(playerid);
  6101.         }
  6102.     }
  6103.     return 1;
  6104. }
  6105. stock AdicionarItem(playerid, itemid, amount)
  6106. {
  6107.     pInfo[playerid][pSlots] += amount;
  6108.     for(new i; i < MAX_SLOTS; i++)
  6109.     {
  6110.         if(amount > 0)
  6111.         {
  6112.             if(Inv[playerid][Item][i] == 0)
  6113.             {
  6114.                 Inv[playerid][Item][i] = itemid;
  6115.                 //_SetItemAmountPVar(playerid,itemid,amount);
  6116.                 amount--;
  6117.             }
  6118.         }
  6119.         else break;
  6120.     }
  6121.     return 1;
  6122. }
  6123. stock RemoverItem(playerid, itemid, amount)
  6124. {
  6125.     pInfo[playerid][pSlots] -= amount;
  6126.     for(new i; i < MAX_SLOTS; i++)
  6127.     {
  6128.         if(amount > 0)
  6129.         {
  6130.             if(Inv[playerid][Item][i] == itemid)
  6131.             {
  6132.                 Inv[playerid][Item][i] = 0;
  6133.                 amount--;
  6134.             }
  6135.         }
  6136.         else break;
  6137.     }
  6138.     return 1;
  6139. }
  6140.  
  6141. stock ResetarPlayerInventario(playerid)
  6142. {
  6143.     pInfo[playerid][pSlots] = 0;
  6144.     for(new i; i < MAX_SLOTS; i++)
  6145.     {
  6146.         if(Inv[playerid][Item][i] != 0)
  6147.         {
  6148.             Inv[playerid][Item][i] = 0;
  6149.         }
  6150.     }
  6151.     return 1;
  6152. }
  6153.  
  6154. stock PlayerHasItem(playerid, itemid)
  6155. {
  6156.     new amount;
  6157.  
  6158.     for(new i; i < MAX_SLOTS; i++) // faz o loop em todos os slots
  6159.     {
  6160.         if(Inv[playerid][Item][i] == itemid) amount++;
  6161.     }
  6162.     return amount;
  6163. }
  6164.  
  6165. stock MostrarInventarioPagina(playerid, pageid)
  6166. {
  6167.     new index;
  6168.  
  6169.     for(new i; i < 24; i++)
  6170.     {
  6171.         index = (24 * pageid) + i;
  6172.  
  6173.         PlayerTextDrawSetPreviewModel(playerid, INV_SLOTS[playerid][i], ItemInfo[Inv[playerid][Item][index]][Item_Obj]);
  6174.         PlayerTextDrawShow(playerid, INV_SLOTS[playerid][i]);
  6175.     }
  6176.     Inv[playerid][invPage] = pageid;
  6177.     //format(str, sizeof(str), "%02i/01", Inv[playerid][invPage]);
  6178.     //PlayerTextDrawSetString(playerid, INV_DESIGN[playerid][2], str);
  6179. }
  6180.  
  6181. stock MostrarInventario(playerid)
  6182. {
  6183.     Inv[playerid][InvOpen] = true;
  6184.     PlayerTextDrawSetPreviewModel(playerid, INV_DESIGN[playerid][16], 60000);
  6185.     new i;
  6186.     for(i = 0; i < 21; i++) { PlayerTextDrawShow(playerid, INV_DESIGN[playerid][i]); }
  6187.     for(i = 0; i < 24; i++) { PlayerTextDrawShow(playerid, INV_SLOTS[playerid][i]); }
  6188.     MostrarInventarioPagina(playerid, 0);
  6189.     Inv[playerid][ItemSelected] = 0;
  6190.     SelectTextDraw(playerid, 0xFF0000FF);
  6191.     return 1;
  6192. }
  6193.  
  6194. stock EsconderInventario(playerid)
  6195. {
  6196.     Inv[playerid][InvOpen] = false;
  6197.     new i;
  6198.     for(i = 0; i < 21; i++) { PlayerTextDrawHide(playerid, INV_DESIGN[playerid][i]); }
  6199.     for(i = 0; i < 24; i++) { PlayerTextDrawHide(playerid, INV_SLOTS[playerid][i]); }
  6200.     CancelSelectTextDraw(playerid);
  6201.     return 1;
  6202. }
  6203.  
  6204. public Relogio()
  6205. {
  6206.     new string[128];
  6207.     new dia, mes, ano;
  6208.     getdate(ano, mes, dia);
  6209.     new convertermes[20];
  6210.  
  6211.     if(mes == 1) { convertermes = "Janeiro"; }
  6212.     else if(mes == 2) { convertermes = "Fevereiro"; }
  6213.     else if(mes == 3) { convertermes = "Marco"; }
  6214.     else if(mes == 4) { convertermes = "Abril"; }
  6215.     else if(mes == 5) { convertermes = "Maio"; }
  6216.     else if(mes == 6) { convertermes = "Junho"; }
  6217.     else if(mes == 7) { convertermes = "Julho"; }
  6218.     else if(mes == 8) { convertermes = "Agosto"; }
  6219.     else if(mes == 9) { convertermes = "Setembro"; }
  6220.     else if(mes == 10) { convertermes = "Outubro"; }
  6221.     else if(mes == 11) { convertermes = "Novembro"; }
  6222.     else if(mes == 12) { convertermes = "Dezembro"; }
  6223.  
  6224.     format(string, sizeof(string), "%d de %s de %d", dia, convertermes, ano);
  6225.     TextDrawSetString(DataC, string);
  6226.     return 1;
  6227. }
  6228.  
  6229. stock SalvarPlayer(playerid)
  6230. {
  6231.     if(DOF2_FileExists(GetArquivo(playerid)))
  6232.     {
  6233.         PlayerInfo[playerid][Level] = GetPlayerScore(playerid);
  6234.  
  6235.         DOF2_SetInt(GetArquivo(playerid), "Administrador", PlayerInfo[playerid][Administrador]);
  6236.         DOF2_SetInt(GetArquivo(playerid), "Level", PlayerInfo[playerid][Level]);
  6237.         DOF2_SetInt(GetArquivo(playerid), "Skin", PlayerInfo[playerid][Skin]);
  6238.         DOF2_SetInt(GetArquivo(playerid), "Matou", PlayerInfo[playerid][Matou]);
  6239.         DOF2_SetInt(GetArquivo(playerid), "Morreu", PlayerInfo[playerid][Morreu]);
  6240.         DOF2_SetInt(GetArquivo(playerid), "Dinheiro", GetPlayerMoney(playerid));
  6241.         DOF2_SetInt(GetArquivo(playerid), "Cash", PlayerInfo[playerid][Cash]);
  6242.         DOF2_SetInt(GetArquivo(playerid), "CmdJaUsado", PlayerInfo[playerid][CmdJaUsado]);
  6243.         DOF2_SetInt(GetArquivo(playerid), "Madeira", PlayerInfo[playerid][Madeira]);
  6244.         DOF2_SetInt(GetArquivo(playerid), "Pedra", PlayerInfo[playerid][Pedra]);
  6245.         DOF2_SetInt(GetArquivo(playerid), "Metal", PlayerInfo[playerid][Metal]);
  6246.         DOF2_SetInt(GetArquivo(playerid), "Parafuso", PlayerInfo[playerid][Parafuso]);
  6247.         DOF2_SetInt(GetArquivo(playerid), "Borracha", PlayerInfo[playerid][Borracha]);
  6248.         DOF2_SetInt(GetArquivo(playerid), "Frutas", PlayerInfo[playerid][Frutas]);
  6249.         DOF2_SetInt(GetArquivo(playerid), "Peixe", PlayerInfo[playerid][Peixe]);
  6250.         DOF2_SetInt(GetArquivo(playerid), "Carne", PlayerInfo[playerid][Carne]);
  6251.         DOF2_SetInt(GetArquivo(playerid), "Cloth", PlayerInfo[playerid][Cloth]);
  6252.         DOF2_SetInt(GetArquivo(playerid), "Agua", PlayerInfo[playerid][Agua]);
  6253.         DOF2_SetFloat(GetArquivo(playerid), "PosX", PlayerInfo[playerid][PosX]);
  6254.         DOF2_SetFloat(GetArquivo(playerid), "PosY", PlayerInfo[playerid][PosY]);
  6255.         DOF2_SetFloat(GetArquivo(playerid), "PosZ", PlayerInfo[playerid][PosZ]);
  6256.         DOF2_SaveFile();
  6257.     }
  6258.     return 1;
  6259. }
  6260.  
  6261. stock CarregarPlayer(playerid)
  6262. {
  6263.     if(DOF2_FileExists(GetArquivo(playerid)))
  6264.     {
  6265.  
  6266.         PlayerInfo[playerid][Administrador] = DOF2_GetInt(GetArquivo(playerid), "Administrador");
  6267.         PlayerInfo[playerid][Level] = DOF2_GetInt(GetArquivo(playerid), "Level");
  6268.         PlayerInfo[playerid][Skin] = DOF2_GetInt(GetArquivo(playerid), "Skin");
  6269.         PlayerInfo[playerid][Matou] = DOF2_GetInt(GetArquivo(playerid), "Matou");
  6270.         PlayerInfo[playerid][Morreu] = DOF2_GetInt(GetArquivo(playerid), "Morreu");
  6271.         PlayerInfo[playerid][Dinheiro] = DOF2_GetInt(GetArquivo(playerid), "Dinheiro");
  6272.         PlayerInfo[playerid][Cash] = DOF2_GetInt(GetArquivo(playerid), "Cash");
  6273.         PlayerInfo[playerid][CmdJaUsado] = DOF2_GetInt(GetArquivo(playerid), "CmdJaUsado");
  6274.         PlayerInfo[playerid][Madeira] = DOF2_GetInt(GetArquivo(playerid), "Madeira");
  6275.         PlayerInfo[playerid][Pedra] = DOF2_GetInt(GetArquivo(playerid), "Pedra");
  6276.         PlayerInfo[playerid][Metal] = DOF2_GetInt(GetArquivo(playerid), "Metal");
  6277.         PlayerInfo[playerid][Parafuso] = DOF2_GetInt(GetArquivo(playerid), "Parafuso");
  6278.         PlayerInfo[playerid][Borracha] = DOF2_GetInt(GetArquivo(playerid), "Borracha");
  6279.         PlayerInfo[playerid][Frutas] = DOF2_GetInt(GetArquivo(playerid), "Frutas");
  6280.         PlayerInfo[playerid][Peixe] = DOF2_GetInt(GetArquivo(playerid), "Peixe");
  6281.         PlayerInfo[playerid][Carne] = DOF2_GetInt(GetArquivo(playerid), "Carne");
  6282.         PlayerInfo[playerid][Cloth] = DOF2_GetInt(GetArquivo(playerid), "Cloth");
  6283.         PlayerInfo[playerid][Agua] = DOF2_GetInt(GetArquivo(playerid), "Agua");
  6284.         PlayerInfo[playerid][PosX] = DOF2_GetFloat(GetArquivo(playerid), "PosX");
  6285.         PlayerInfo[playerid][PosY] = DOF2_GetFloat(GetArquivo(playerid), "PosY");
  6286.         PlayerInfo[playerid][PosZ] = DOF2_GetFloat(GetArquivo(playerid), "PosZ");
  6287.         for(new i = 0; i < sizeof(Registro); i++) { TextDrawHideForPlayer(playerid, Registro[i]);}
  6288.         for(new i = 0; i < sizeof(PlayerRegistro); i++) { PlayerTextDrawHide(playerid, PlayerRegistro[i]);}
  6289.  
  6290.         PlayerInfo[playerid][Logado] = true;
  6291.  
  6292.         TogglePlayerSpectating(playerid, 0);
  6293.         CancelSelectTextDraw(playerid);
  6294.  
  6295.         SpawnPlayer(playerid);
  6296.  
  6297.         GivePlayerMoney(playerid, PlayerInfo[playerid][Dinheiro]);
  6298.         SetPlayerSkin(playerid, PlayerInfo[playerid][Skin]);
  6299.         SetPlayerScore(playerid, PlayerInfo[playerid][Level]);
  6300.     }
  6301.     return 1;
  6302. }
  6303.  
  6304. stock IP(playerid)
  6305. {
  6306.     static pIP[26];
  6307.     GetPlayerIp(playerid, pIP, sizeof(pIP));
  6308.     return pIP;
  6309. }
  6310.  
  6311. stock Nome(playerid)
  6312. {
  6313.     static ANome[MAX_PLAYER_NAME];
  6314.     GetPlayerName(playerid, ANome, sizeof(ANome));
  6315.     return ANome;
  6316. }
  6317.  
  6318. stock GetArquivo(playerid)
  6319. {
  6320.     static arquivo[50];
  6321.     format(arquivo, sizeof(arquivo), "Contas/%s.ini", Nome(playerid));
  6322.     return arquivo;
  6323. }
  6324.  
  6325. stock pName(playerid)
  6326. {
  6327.     new name[MAX_PLAYER_NAME + 1];
  6328.     GetPlayerName(playerid,name,sizeof(name));
  6329.     for(new i = 0; i < MAX_PLAYER_NAME; i++)
  6330.     {
  6331.         if(name[i] == '_') name[i] = ' ';
  6332.     }
  6333.     return name;
  6334. }
  6335.  
  6336. stock SalvarBases(id)
  6337. {
  6338.     new file[64];
  6339.     format(file, sizeof(file), "Saves/Bases/%d.ini", id);
  6340.  
  6341.     DOF2_CreateFile(file);
  6342.     DOF2_SetString(file,"Dono",Base[id][Dono]);
  6343.  
  6344.     DOF2_SetFloat(file, "PosX", Base[id][PosX]);
  6345.     DOF2_SetFloat(file, "PosY", Base[id][PosY]);
  6346.     DOF2_SetFloat(file, "PosZ", Base[id][PosZ]);
  6347.     DOF2_SetFloat(file, "RX", Base[id][RX]);
  6348.     DOF2_SetFloat(file, "RY", Base[id][RY]);
  6349.     DOF2_SetFloat(file, "RZ", Base[id][RZ]);
  6350.     DOF2_SaveFile();
  6351.     return 1;
  6352. }
  6353.  
  6354. stock CarregarBases(id)
  6355. {
  6356.     new file[64];
  6357.     format(file, sizeof(file), "Saves/Bases/%d.ini", id);
  6358.     if(DOF2_FileExists(file))
  6359.     {
  6360.         DOF2_GetString(file,"Dono", Base[id][Dono]);
  6361.  
  6362.         Base[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6363.         Base[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6364.         Base[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6365.         Base[id][RX] = DOF2_GetFloat(file, "RX" );
  6366.         Base[id][RY] = DOF2_GetFloat(file, "RY" );
  6367.         Base[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6368.         Base[id][ObjectB] = CreateDynamicObject(ObjectBase, Base[id][PosX], Base[id][PosY], Base[id][PosZ], Base[id][RX], Base[id][RY], Base[id][RZ]);
  6369.         Base[id][Existe] = 1;
  6370.     }
  6371.     return 1;
  6372. }
  6373.  
  6374. stock GetPlayerRangeBase(playerid)
  6375. {
  6376.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6377.     for(new i; i < MAX_BASES; i++)
  6378.     {
  6379.         if(!Base[i][Existe]) continue;
  6380.         distanciaB = GetPlayerDistanceFromPoint(playerid, Base[i][PosX], Base[i][PosY], Base[i][PosZ]);
  6381.  
  6382.         if(distanciaB <= distanciaA)
  6383.         {
  6384.             distanciaA = distanciaB;
  6385.             id = i;
  6386.             break;
  6387.         }
  6388.     }
  6389.     return id;
  6390. }
  6391.  
  6392. stock GetPlayerRangeBancada(playerid)
  6393. {
  6394.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6395.     for(new i; i < MAX_BANCADAS; i++)
  6396.     {
  6397.         if(!Bancada[i][Existe]) continue;
  6398.         distanciaB = GetPlayerDistanceFromPoint(playerid, Bancada[i][PosX], Bancada[i][PosY], Bancada[i][PosZ]);
  6399.  
  6400.         if(distanciaB <= distanciaA)
  6401.         {
  6402.             distanciaA = distanciaB;
  6403.             id = i;
  6404.             break;
  6405.         }
  6406.     }
  6407.     return id;
  6408. }
  6409.  
  6410. stock GetPlayerRangePorta(playerid)
  6411. {
  6412.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6413.     for(new i; i < MAX_PORTAS; i++)
  6414.     {
  6415.         if(!Porta[i][Existe]) continue;
  6416.         distanciaB = GetPlayerDistanceFromPoint(playerid, Porta[i][PosX], Porta[i][PosY], Porta[i][PosZ]);
  6417.  
  6418.         if(distanciaB <= distanciaA)
  6419.         {
  6420.             distanciaA = distanciaB;
  6421.             id = i;
  6422.             break;
  6423.         }
  6424.     }
  6425.     return id;
  6426. }
  6427.  
  6428. stock GetPlayerRangeBau(playerid)
  6429. {
  6430.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6431.     for(new i; i < MAX_BAU; i++)
  6432.     {
  6433.         if(!Bau[i][Existe]) continue;
  6434.         distanciaB = GetPlayerDistanceFromPoint(playerid, Bau[i][PosX], Bau[i][PosY], Bau[i][PosZ]);
  6435.  
  6436.         if(distanciaB <= distanciaA)
  6437.         {
  6438.             distanciaA = distanciaB;
  6439.             id = i;
  6440.             break;
  6441.         }
  6442.     }
  6443.     return id;
  6444. }
  6445.  
  6446. stock GetPlayerRangeRampa(playerid)
  6447. {
  6448.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6449.     for(new i; i < MAX_RAMPAS; i++)
  6450.     {
  6451.         if(!Rampa[i][Existe]) continue;
  6452.         distanciaB = GetPlayerDistanceFromPoint(playerid, Rampa[i][PosX], Rampa[i][PosY], Rampa[i][PosZ]);
  6453.  
  6454.         if(distanciaB <= distanciaA)
  6455.         {
  6456.             distanciaA = distanciaB;
  6457.             id = i;
  6458.             break;
  6459.         }
  6460.     }
  6461.     return id;
  6462. }
  6463.  
  6464. stock GetPlayerRangeDoor(playerid)
  6465. {
  6466.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6467.     for(new i; i < MAX_DOOR; i++)
  6468.     {
  6469.         if(!Door[i][Existe]) continue;
  6470.         distanciaB = GetPlayerDistanceFromPoint(playerid, Door[i][PosX], Door[i][PosY], Door[i][PosZ]);
  6471.  
  6472.         if(distanciaB <= distanciaA)
  6473.         {
  6474.             distanciaA = distanciaB;
  6475.             id = i;
  6476.             break;
  6477.         }
  6478.     }
  6479.     return id;
  6480. }
  6481.  
  6482. stock GetPlayerRangeCama(playerid)
  6483. {
  6484.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6485.     for(new i; i < MAX_CAMA; i++)
  6486.     {
  6487.         if(!Cama[i][Existe]) continue;
  6488.         distanciaB = GetPlayerDistanceFromPoint(playerid, Cama[i][PosX], Cama[i][PosY], Cama[i][PosZ]);
  6489.  
  6490.         if(distanciaB <= distanciaA)
  6491.         {
  6492.             distanciaA = distanciaB;
  6493.             id = i;
  6494.             break;
  6495.         }
  6496.     }
  6497.     return id;
  6498. }
  6499.  
  6500. stock GetPlayerRangeWindown(playerid)
  6501. {
  6502.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6503.     for(new i; i < MAX_WINDOWN; i++)
  6504.     {
  6505.         if(!Windown[i][Existe]) continue;
  6506.         distanciaB = GetPlayerDistanceFromPoint(playerid, Windown[i][PosX], Windown[i][PosY], Windown[i][PosZ]);
  6507.  
  6508.         if(distanciaB <= distanciaA)
  6509.         {
  6510.             distanciaA = distanciaB;
  6511.             id = i;
  6512.             break;
  6513.         }
  6514.     }
  6515.     return id;
  6516. }
  6517.  
  6518. stock GetPlayerRangeForno(playerid)
  6519. {
  6520.     new id = -1, Float: distanciaA = 2.0, Float: distanciaB;
  6521.     for(new i; i < MAX_FORNO; i++)
  6522.     {
  6523.         if(!Forno[i][Existe]) continue;
  6524.         distanciaB = GetPlayerDistanceFromPoint(playerid, Forno[i][PosX], Forno[i][PosY], Forno[i][PosZ]);
  6525.  
  6526.         if(distanciaB <= distanciaA)
  6527.         {
  6528.             distanciaA = distanciaB;
  6529.             id = i;
  6530.             break;
  6531.         }
  6532.     }
  6533.     return id;
  6534. }
  6535.  
  6536. stock SalvarBancadas(id)
  6537. {
  6538.     new file[64];
  6539.     format(file, sizeof(file), "Saves/Bancadas/%d.ini", id);
  6540.  
  6541.     DOF2_CreateFile(file);
  6542.     DOF2_SetString(file,"Dono",Bancada[id][Dono]);
  6543.  
  6544.     DOF2_SetFloat(file, "PosX", Bancada[id][PosX]);
  6545.     DOF2_SetFloat(file, "PosY", Bancada[id][PosY]);
  6546.     DOF2_SetFloat(file, "PosZ", Bancada[id][PosZ]);
  6547.     DOF2_SetFloat(file, "RX", Bancada[id][RX]);
  6548.     DOF2_SetFloat(file, "RY", Bancada[id][RY]);
  6549.     DOF2_SetFloat(file, "RZ", Bancada[id][RZ]);
  6550.     DOF2_SaveFile();
  6551.     return 1;
  6552. }
  6553.  
  6554. stock CarregarBancadas(id)
  6555. {
  6556.     new file[64];
  6557.     format(file, sizeof(file), "Saves/Bancadas/%d.ini", id);
  6558.     if(DOF2_FileExists(file))
  6559.     {
  6560.         DOF2_GetString(file,"Dono", Bancada[id][Dono]);
  6561.  
  6562.         Bancada[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6563.         Bancada[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6564.         Bancada[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6565.         Bancada[id][RX] = DOF2_GetFloat(file, "RX" );
  6566.         Bancada[id][RY] = DOF2_GetFloat(file, "RY" );
  6567.         Bancada[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6568.         Bancada[id][ObjectA] = CreateDynamicObject(bancada, Bancada[id][PosX], Bancada[id][PosY], Bancada[id][PosZ], Bancada[id][RX], Bancada[id][RY], Bancada[id][RZ]);
  6569.         Bancada[id][Existe] = 1;
  6570.     }
  6571.     return 1;
  6572. }
  6573.  
  6574. stock SalvarPortas(id)
  6575. {
  6576.     new file[64];
  6577.     format(file, sizeof(file), "Saves/Portas/%d.ini", id);
  6578.  
  6579.     DOF2_CreateFile(file);
  6580.     DOF2_SetString(file,"Dono",Porta[id][Dono]);
  6581.  
  6582.     DOF2_SetFloat(file, "PosX", Porta[id][PosX]);
  6583.     DOF2_SetFloat(file, "PosY", Porta[id][PosY]);
  6584.     DOF2_SetFloat(file, "PosZ", Porta[id][PosZ]);
  6585.     DOF2_SetFloat(file, "RX", Porta[id][RX]);
  6586.     DOF2_SetFloat(file, "RY", Porta[id][RY]);
  6587.     DOF2_SetFloat(file, "RZ", Porta[id][RZ]);
  6588.     DOF2_SaveFile();
  6589.     return 1;
  6590. }
  6591.  
  6592. stock CarregarPortas(id)
  6593. {
  6594.     new file[64];
  6595.     format(file, sizeof(file), "Saves/Portas/%d.ini", id);
  6596.     if(DOF2_FileExists(file))
  6597.     {
  6598.         DOF2_GetString(file,"Dono", Porta[id][Dono]);
  6599.  
  6600.         Porta[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6601.         Porta[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6602.         Porta[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6603.         Porta[id][RX] = DOF2_GetFloat(file, "RX" );
  6604.         Porta[id][RY] = DOF2_GetFloat(file, "RY" );
  6605.         Porta[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6606.         Porta[id][ObjectC] = CreateDynamicObject(porta, Porta[id][PosX], Porta[id][PosY], Porta[id][PosZ], Porta[id][RX], Porta[id][RY], Porta[id][RZ]);
  6607.         Porta[id][Existe] = 1;
  6608.     }
  6609.     return 1;
  6610. }
  6611.  
  6612. stock SalvarBaus(id)
  6613. {
  6614.     new file[64];
  6615.     format(file, sizeof(file), "Saves/Baus/%d.ini", id);
  6616.  
  6617.     DOF2_CreateFile(file);
  6618.     DOF2_SetString(file,"Dono",Bau[id][Dono]);
  6619.  
  6620.     DOF2_SetFloat(file, "PosX", Bau[id][PosX]);
  6621.     DOF2_SetFloat(file, "PosY", Bau[id][PosY]);
  6622.     DOF2_SetFloat(file, "PosZ", Bau[id][PosZ]);
  6623.     DOF2_SetFloat(file, "RX", Bau[id][RX]);
  6624.     DOF2_SetFloat(file, "RY", Bau[id][RY]);
  6625.     DOF2_SetFloat(file, "RZ", Bau[id][RZ]);
  6626.     DOF2_SaveFile();
  6627.     return 1;
  6628. }
  6629.  
  6630. stock CarregarBaus(id)
  6631. {
  6632.     new file[64];
  6633.     format(file, sizeof(file), "Saves/Baus/%d.ini", id);
  6634.     if(DOF2_FileExists(file))
  6635.     {
  6636.         DOF2_GetString(file,"Dono", Bau[id][Dono]);
  6637.  
  6638.         Bau[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6639.         Bau[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6640.         Bau[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6641.         Bau[id][RX] = DOF2_GetFloat(file, "RX" );
  6642.         Bau[id][RY] = DOF2_GetFloat(file, "RY" );
  6643.         Bau[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6644.         Bau[id][ObjectD] = CreateDynamicObject(bau, Bau[id][PosX], Bau[id][PosY], Bau[id][PosZ], Bau[id][RX], Bau[id][RY], Bau[id][RZ]);
  6645.         Bau[id][Existe] = 1;
  6646.     }
  6647.     return 1;
  6648. }
  6649.  
  6650. stock SalvarRampas(id)
  6651. {
  6652.     new file[64];
  6653.     format(file, sizeof(file), "Saves/Rampas/%d.ini", id);
  6654.  
  6655.     DOF2_CreateFile(file);
  6656.     DOF2_SetString(file,"Dono",Rampa[id][Dono]);
  6657.  
  6658.     DOF2_SetFloat(file, "PosX", Rampa[id][PosX]);
  6659.     DOF2_SetFloat(file, "PosY", Rampa[id][PosY]);
  6660.     DOF2_SetFloat(file, "PosZ", Rampa[id][PosZ]);
  6661.     DOF2_SetFloat(file, "RX", Rampa[id][RX]);
  6662.     DOF2_SetFloat(file, "RY", Rampa[id][RY]);
  6663.     DOF2_SetFloat(file, "RZ", Rampa[id][RZ]);
  6664.     DOF2_SaveFile();
  6665.     return 1;
  6666. }
  6667.  
  6668. stock CarregarRampas(id)
  6669. {
  6670.     new file[64];
  6671.     format(file, sizeof(file), "Saves/Rampas/%d.ini", id);
  6672.     if(DOF2_FileExists(file))
  6673.     {
  6674.         DOF2_GetString(file,"Dono", Rampa[id][Dono]);
  6675.  
  6676.         Rampa[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6677.         Rampa[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6678.         Rampa[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6679.         Rampa[id][RX] = DOF2_GetFloat(file, "RX" );
  6680.         Rampa[id][RY] = DOF2_GetFloat(file, "RY" );
  6681.         Rampa[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6682.         Rampa[id][ObjectE] = CreateDynamicObject(rampa, Rampa[id][PosX], Rampa[id][PosY], Rampa[id][PosZ], Rampa[id][RX], Rampa[id][RY], Rampa[id][RZ]);
  6683.         Rampa[id][Existe] = 1;
  6684.     }
  6685.     return 1;
  6686. }
  6687.  
  6688. stock SalvarWindowns(id)
  6689. {
  6690.     new file[64];
  6691.     format(file, sizeof(file), "Saves/Windowns/%d.ini", id);
  6692.  
  6693.     DOF2_CreateFile(file);
  6694.     DOF2_SetString(file,"Dono", Windown[id][Dono]);
  6695.  
  6696.     DOF2_SetFloat(file, "PosX", Windown[id][PosX]);
  6697.     DOF2_SetFloat(file, "PosY", Windown[id][PosY]);
  6698.     DOF2_SetFloat(file, "PosZ", Windown[id][PosZ]);
  6699.     DOF2_SetFloat(file, "RX", Windown[id][RX]);
  6700.     DOF2_SetFloat(file, "RY", Windown[id][RY]);
  6701.     DOF2_SetFloat(file, "RZ", Windown[id][RZ]);
  6702.     DOF2_SaveFile();
  6703.     return 1;
  6704. }
  6705.  
  6706. stock CarregarWindowns(id)
  6707. {
  6708.     new file[64];
  6709.     format(file, sizeof(file), "Saves/Windowns/%d.ini", id);
  6710.     if(DOF2_FileExists(file))
  6711.     {
  6712.         DOF2_GetString(file,"Dono", Windown[id][Dono]);
  6713.  
  6714.         Windown[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6715.         Windown[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6716.         Windown[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6717.         Windown[id][RX] = DOF2_GetFloat(file, "RX" );
  6718.         Windown[id][RY] = DOF2_GetFloat(file, "RY" );
  6719.         Windown[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6720.         Windown[id][ObjectH] = CreateDynamicObject(windown1, Windown[id][PosX], Windown[id][PosY], Windown[id][PosZ], Windown[id][RX], Windown[id][RY], Windown[id][RZ]);
  6721.         Windown[id][Existe] = 1;
  6722.     }
  6723.     return 1;
  6724. }
  6725.  
  6726. stock SalvarDoor(id)
  6727. {
  6728.     new file[64];
  6729.     format(file, sizeof(file), "Saves/Door/%d.ini", id);
  6730.  
  6731.     DOF2_CreateFile(file);
  6732.     DOF2_SetString(file,"Dono",Door[id][Dono]);
  6733.  
  6734.     DOF2_SetFloat(file, "PosX", Door[id][PosX]);
  6735.     DOF2_SetFloat(file, "PosY", Door[id][PosY]);
  6736.     DOF2_SetFloat(file, "PosZ", Door[id][PosZ]);
  6737.     DOF2_SetFloat(file, "RX", Door[id][RX]);
  6738.     DOF2_SetFloat(file, "RY", Door[id][RY]);
  6739.     DOF2_SetFloat(file, "RZ", Door[id][RZ]);
  6740.     DOF2_SaveFile();
  6741.     return 1;
  6742. }
  6743.  
  6744. stock CarregarDoor(id)
  6745. {
  6746.     new file[64];
  6747.     format(file, sizeof(file), "Saves/Door/%d.ini", id);
  6748.     if(DOF2_FileExists(file))
  6749.     {
  6750.         DOF2_GetString(file,"Dono", Door[id][Dono]);
  6751.  
  6752.         Door[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6753.         Door[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6754.         Door[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6755.         Door[id][RX] = DOF2_GetFloat(file, "RX" );
  6756.         Door[id][RY] = DOF2_GetFloat(file, "RY" );
  6757.         Door[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6758.         Door[id][ObjectF] = CreateDynamicObject(walldoor, Door[id][PosX], Door[id][PosY], Door[id][PosZ], Door[id][RX], Door[id][RY], Door[id][RZ]);
  6759.         Door[id][Existe] = 1;
  6760.     }
  6761.     return 1;
  6762. }
  6763.  
  6764. stock SalvarForno(id)
  6765. {
  6766.     new file[64];
  6767.     format(file, sizeof(file), "Saves/Fornalhas/%d.ini", id);
  6768.  
  6769.     DOF2_CreateFile(file);
  6770.     DOF2_SetString(file,"Dono",Forno[id][Dono]);
  6771.  
  6772.     DOF2_SetFloat(file, "PosX", Forno[id][PosX]);
  6773.     DOF2_SetFloat(file, "PosY", Forno[id][PosY]);
  6774.     DOF2_SetFloat(file, "PosZ", Forno[id][PosZ]);
  6775.     DOF2_SetFloat(file, "RX", Forno[id][RX]);
  6776.     DOF2_SetFloat(file, "RY", Forno[id][RY]);
  6777.     DOF2_SetFloat(file, "RZ", Forno[id][RZ]);
  6778.     DOF2_SaveFile();
  6779.     return 1;
  6780. }
  6781.  
  6782. stock CarregarForno(id)
  6783. {
  6784.     new file[64];
  6785.     format(file, sizeof(file), "Saves/Fornalhas/%d.ini", id);
  6786.     if(DOF2_FileExists(file))
  6787.     {
  6788.         DOF2_GetString(file,"Dono", Forno[id][Dono]);
  6789.  
  6790.         Forno[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6791.         Forno[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6792.         Forno[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6793.         Forno[id][RX] = DOF2_GetFloat(file, "RX" );
  6794.         Forno[id][RY] = DOF2_GetFloat(file, "RY" );
  6795.         Forno[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6796.         Forno[id][ObjectJ] = CreateDynamicObject(forno, Forno[id][PosX], Forno[id][PosY], Forno[id][PosZ], Forno[id][RX], Forno[id][RY], Forno[id][RZ]);
  6797.         Forno[id][Existe] = 1;
  6798.     }
  6799.     return 1;
  6800. }
  6801.  
  6802. stock SalvarCama(id)
  6803. {
  6804.     new file[64];
  6805.     format(file, sizeof(file), "Saves/Cama/%d.ini", id);
  6806.  
  6807.     DOF2_CreateFile(file);
  6808.     DOF2_SetString(file,"Dono",Cama[id][Dono]);
  6809.  
  6810.     DOF2_SetFloat(file, "PosX", Cama[id][PosX]);
  6811.     DOF2_SetFloat(file, "PosY", Cama[id][PosY]);
  6812.     DOF2_SetFloat(file, "PosZ", Cama[id][PosZ]);
  6813.     DOF2_SetFloat(file, "RX", Cama[id][RX]);
  6814.     DOF2_SetFloat(file, "RY", Cama[id][RY]);
  6815.     DOF2_SetFloat(file, "RZ", Cama[id][RZ]);
  6816.     DOF2_SaveFile();
  6817.     return 1;
  6818. }
  6819.  
  6820. stock CarregarCama(id)
  6821. {
  6822.     new file[64];
  6823.     format(file, sizeof(file), "Saves/Cama/%d.ini", id);
  6824.     if(DOF2_FileExists(file))
  6825.     {
  6826.         DOF2_GetString(file,"Dono", Cama[id][Dono]);
  6827.  
  6828.         Cama[id][PosX] = DOF2_GetFloat(file, "PosX" );
  6829.         Cama[id][PosY] = DOF2_GetFloat(file, "PosY" );
  6830.         Cama[id][PosZ] = DOF2_GetFloat(file, "PosZ" );
  6831.         Cama[id][RX] = DOF2_GetFloat(file, "RX" );
  6832.         Cama[id][RY] = DOF2_GetFloat(file, "RY" );
  6833.         Cama[id][RZ] = DOF2_GetFloat(file, "RZ" );
  6834.         Cama[id][ObjectG] = CreateDynamicObject(cama, Cama[id][PosX], Cama[id][PosY], Cama[id][PosZ], Cama[id][RX], Cama[id][RY], Cama[id][RZ]);
  6835.         Cama[id][Existe] = 1;
  6836.     }
  6837.     return 1;
  6838. }
  6839.  
  6840. stock CameraPrimeira(playerid,type)
  6841. {
  6842.     if(type == 0)
  6843.     {
  6844.         SetCameraBehindPlayer(playerid);
  6845.         DestroyObject(firstperson[playerid]);
  6846.     }
  6847.     else if(type == 1)
  6848.     {
  6849.         firstperson[playerid] = CreateObject(19300, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
  6850.         AttachObjectToPlayer(firstperson[playerid],playerid, 0.0, 0.0, 0.6, 0.0, 0.0, 0.0);
  6851.         AttachCameraToObject(playerid, firstperson[playerid]);
  6852.     }
  6853.     return type;
  6854. }
  6855.  
  6856. stock CreateTentP(playerid)
  6857. {
  6858.     tentCount += 1;
  6859.     new Float:tentx,Float:tenty,Float:tentz, Float:a;
  6860.     GetPlayerPos(playerid,tentx,tenty,tentz);
  6861.     GetPlayerFacingAngle(playerid, a);
  6862.     Tent[tentCount][xTent] = tentx;
  6863.     Tent[tentCount][yTent] = tenty;
  6864.     Tent[tentCount][zTent] = tentz;
  6865.  
  6866.     Tent[tentCount][TentID] = CreateTent(tentx, tenty, tentz - 0.5,a);
  6867.     Tent[tentCount][tent_text] = Create3DTextLabel("* Tenda * \n {A9A9A9} Aperte N para ver o conteudo!",AMARELO_2, tentx, tenty, tentz, 20, 0);
  6868.     return 1;
  6869. }
  6870.  
  6871. CreateTent(Float:x, Float:y, Float:z, Float:rz)
  6872. {
  6873.     Tent[tentCount][tent_SideR1] = CreateDynamicObject(19477,
  6874.         x + (0.49 * floatsin(-rz + 270.0, degrees)),
  6875.         y + (0.49 * floatcos(-rz + 270.0, degrees)),
  6876.         z,
  6877.         0.0, 45.0, rz);
  6878.  
  6879.     Tent[tentCount][tent_SideR2] = CreateDynamicObject(19477,
  6880.         x + (0.48 * floatsin(-rz + 270.0, degrees)),
  6881.         y + (0.48 * floatcos(-rz + 270.0, degrees)),
  6882.         z,
  6883.         0.0, 45.0, rz);
  6884.  
  6885.     Tent[tentCount][tent_SideL1] = CreateDynamicObject(19477,
  6886.         x + (0.49 * floatsin(-rz + 90.0, degrees)),
  6887.         y + (0.49 * floatcos(-rz + 90.0, degrees)),
  6888.         z,
  6889.         0.0, -45.0, rz);
  6890.  
  6891.     Tent[tentCount][tent_SideL2] = CreateDynamicObject(19477,
  6892.         x + (0.48 * floatsin(-rz + 90.0, degrees)),
  6893.         y + (0.48 * floatcos(-rz + 90.0, degrees)),
  6894.         z,
  6895.         0.0, -45.0, rz);
  6896.  
  6897.     Tent[tentCount][tent_EndF] = CreateDynamicObject(19475,
  6898.         x + (1.3 * floatsin(-rz, degrees)),
  6899.         y + (1.3 * floatcos(-rz, degrees)),
  6900.         z + 0.17,
  6901.         45.0, 0.0, rz + 90);
  6902.  
  6903.     Tent[tentCount][tent_EndB] = CreateDynamicObject(19475,
  6904.         x - (1.3 * floatsin(-rz, degrees)),
  6905.         y - (1.3 * floatcos(-rz, degrees)),
  6906.         z + 0.17,
  6907.         45.0, 0.0, rz + 90);
  6908.  
  6909.     Tent[tentCount][tent_PoleF] = CreateDynamicObject(19087,
  6910.         x + (1.3 * floatsin(-rz, degrees)),
  6911.         y + (1.3 * floatcos(-rz, degrees)),
  6912.         z + 0.48,
  6913.         0.0, 0.0, rz);
  6914.  
  6915.     Tent[tentCount][tent_PoleB] = CreateDynamicObject(19087,
  6916.         x - (1.3 * floatsin(-rz, degrees)),
  6917.         y - (1.3 * floatcos(-rz, degrees)),
  6918.         z + 0.48,
  6919.         0.0, 0.0, rz);
  6920.  
  6921.     SetDynamicObjectMaterial(Tent[tentCount][tent_SideR1], 0, 2068, "cj_ammo_net", "CJ_cammonet", 0);
  6922.     SetDynamicObjectMaterial(Tent[tentCount][tent_SideR2], 0, 3095, "a51jdrx", "sam_camo", 0);
  6923.     SetDynamicObjectMaterial(Tent[tentCount][tent_SideL1], 0, 2068, "cj_ammo_net", "CJ_cammonet", 0);
  6924.     SetDynamicObjectMaterial(Tent[tentCount][tent_SideL2], 0, 3095, "a51jdrx", "sam_camo", 0);
  6925.  
  6926.     SetDynamicObjectMaterial(Tent[tentCount][tent_EndF], 0, 2068, "cj_ammo_net", "CJ_cammonet", 0);
  6927.     SetDynamicObjectMaterial(Tent[tentCount][tent_EndB], 0, 2068, "cj_ammo_net", "CJ_cammonet", 0);
  6928.     SetDynamicObjectMaterial(Tent[tentCount][tent_PoleF], 0, 1270, "signs", "lamppost", 0);
  6929.     SetDynamicObjectMaterial(Tent[tentCount][tent_PoleB], 0, 1270, "signs", "lamppost", 0);
  6930. }
  6931.  
  6932. stock ApplyPlayerAnimation(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync = 0)
  6933. {
  6934.     ApplyAnimation(playerid, animlib, "null", fDelta, loop, lockx, locky, freeze, time, forcesync); // Pre-load animation library
  6935.     ApplyAnimation(playerid, animlib, "null", fDelta, loop, lockx, locky, freeze, 1, forcesync); // Pre-load animation library
  6936.     return ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
  6937. }
  6938.  
  6939. forward AtualizarPlayerStatsTexdraw();
  6940. public AtualizarPlayerStatsTexdraw()
  6941. {
  6942.     for ( new  i ; i < MAX_PLAYERS ; ++i ){
  6943.         new stats[128];
  6944.         if (!IsPlayerConnected(i)) continue;
  6945.         if (!PlayerInfo[i][Logado]) continue;
  6946.         format(stats, sizeof(stats), "Mad:%d_Ped:%d~n~Met:%d_Par:%d~n~Bor:%d_Fru:%d~n~Pei:%d_Carn:%d~n~Cou:%d_Agu:%d", PlayerInfo[i][Madeira], PlayerInfo[i][Pedra], PlayerInfo[i][Metal], PlayerInfo[i][Parafuso], PlayerInfo[i][Borracha], PlayerInfo[i][Frutas], PlayerInfo[i][Peixe], PlayerInfo[i][Carne], PlayerInfo[i][Cloth], PlayerInfo[i][Agua]);
  6947.         PlayerTextDrawSetString(i, StatsTextDraw[i][1], stats);
  6948.         if (PlayerInfo[i][Skin] != PlayerInfo[i][SkinAnterior]) {
  6949.             PlayerTextDrawSetPreviewModel(i, StatsTextDraw[i][0], PlayerInfo[i][Skin]);
  6950.             PlayerTextDrawShow(i, StatsTextDraw[i][0]);
  6951.             PlayerInfo[i][SkinAnterior] = PlayerInfo[i][Skin];
  6952.         }
  6953.     }
  6954. }
  6955.  
  6956. forward HandleMaterialLoot(playerid, materialID);
  6957.  
  6958. public HandleMaterialLoot(playerid, materialID){
  6959.     //new materials[5] = { Madeira, Pedra, Metal };
  6960.     switch (materialID){
  6961.         case 0: {
  6962.             if (PlayerInfo[playerid][Madeira] > def_LimiteMadeira)
  6963.             {
  6964.                 PlayerInfo[playerid][Madeira] = def_LimiteMadeira; 
  6965.                 return 0;
  6966.             }
  6967.         }
  6968.         case 1: {
  6969.             if (PlayerInfo[playerid][Pedra] > def_LimitePedra)
  6970.             {
  6971.                 PlayerInfo[playerid][Pedra] = def_LimitePedra; 
  6972.                 return 0;
  6973.             }
  6974.         }
  6975.         case 2: {
  6976.             if (PlayerInfo[playerid][Pedra] > def_LimitePedra)
  6977.             {
  6978.                 PlayerInfo[playerid][Pedra] = def_LimitePedra; 
  6979.                 return 0;
  6980.             }
  6981.         }
  6982.         case 3: {
  6983.             if (PlayerInfo[playerid][Pedra] > def_LimitePedra)
  6984.             {
  6985.                 PlayerInfo[playerid][Pedra] = def_LimitePedra;
  6986.                 return 0;
  6987.             }
  6988.         }
  6989.         case 4: {
  6990.             if (PlayerInfo[playerid][Pedra] > def_LimitePedra)
  6991.             {
  6992.                 PlayerInfo[playerid][Pedra] = def_LimitePedra; 
  6993.                 return 0;
  6994.             }
  6995.         }
  6996.         case 5: {
  6997.             if (PlayerInfo[playerid][Pedra] > def_LimitePedra)
  6998.             {
  6999.                 PlayerInfo[playerid][Pedra] = def_LimitePedra; 
  7000.                 return 0;
  7001.             }
  7002.         }
  7003.         case 6: {
  7004.             if (PlayerInfo[playerid][Pedra] > def_LimitePedra)
  7005.             {
  7006.                 PlayerInfo[playerid][Pedra] = def_LimitePedra; 
  7007.                 return 0;
  7008.             }
  7009.         }
  7010.     }
  7011.     return 1;
  7012. }
  7013. /* COISAS PARA FAZER:
  7014. MUDAR TODOS OS COMANDOS PARA STRCMP - 100%
  7015.  
  7016. NOVO MAPA - 100%
  7017.  
  7018. ITENS PARA O INVENTARIO -
  7019.  
  7020. NO MAPA CRIAR A ZONA DE RADIAÇÃO -
  7021.  
  7022. NOVO LOGIN/REGISTRO -
  7023.  
  7024. ARRUMAR PREÇOS, QUANTIDADES DE ITENS, ETC.. -
  7025.  
  7026. CRIAR BAMBIS COM SISTEMA DE DEGOLAR -
  7027.  
  7028. SISTEMA DE /CONSTRUIR EM DIALOG - 100%
  7029.  
  7030. QUANDO CONSTRUIR ENTRAR DIRETO NO EDITOBJECT -
  7031.  
  7032. CRIAR SISTEMA DE COLETE -
  7033.  
  7034. CRIAR FORNALHA -
  7035.  
  7036. CRIAR QUANDO MORRER AS OPÇÕES "AT A CAMP" OU "RESPAWN" -
  7037.  
  7038. ARRUMAR OS PROGRESSBAR -
  7039.  
  7040. ARRUMAS AS ESCRITAS "X5 WOOD" ETC.. -
  7041.  
  7042. COLOCAR OS SONS DO RUST "DE COMER" -
  7043.  
  7044. FAZER DINAMITES -
  7045. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement