SHARE
TWEET

Bruno Tadeu 1.0

a guest Aug 22nd, 2011 2,596 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2. #include <core>
  3. #include <float>
  4. #include <streamer>
  5. #include <Dini>
  6.  
  7. //Cores 0.3c Usadas No GM
  8. #define Verde "{00FF7F}"
  9. #define MeioBeje "{FFFFE0}"
  10. #define AzulClaro "{00FFFF}"
  11. #define Vermelho "{FF4500}"
  12. #define Amarelo "{FFFF00}"
  13. #define Azul "{4876FF}"
  14. #define Laranja "{FFB90F}"
  15. #define Roxo "{9B30FF}"
  16. #define AzulEscuro "{3A5FCD}"
  17. #define Rosa "{FF00FF}"
  18. #define Cinza "{D3D3D3}"
  19. #define Marron "{8B7D7B}"
  20. #define Branco "{FFFFFF}"
  21. #define VerdeEscuro "{008B45}"
  22. #define VerdeMClaro "{7FFFD4}"
  23. //Cores Normais
  24. #define COR_BRANCO 0xFFFFFF99
  25. #define COR_CINZA 0xD3D3D399
  26. #define COR_AZUL 0x4876FFAA
  27. #define COR_VERMELHO 0xFF0000AA
  28. #define COR_VERDE 0x00FF7F99
  29. #define COR_AMARELO 0xFFFF0099
  30. #define COR_LARANJA 0xFFB90F99
  31. #define COR_ROXO 0x9B30FF99
  32. #define COR_AZULM 0x3A5FCD99
  33. #define COR_ROSA 0xFF00FF99
  34. #define COR_MARRON 0x8B7D7B99
  35. #define COR_AZULC 0x00FFFF99
  36. #define COR_VERDEE 0x008B4599
  37. #define COR_BOX 0xFF634799
  38.  
  39. #define REGISTRO 1
  40. #define LOGIN    2
  41.  
  42. #define CONTAS "Contas/%s.ini"
  43.  
  44. new Matou[MAX_PLAYERS];
  45. new Morreu[MAX_PLAYERS];
  46. new Logou[MAX_PLAYERS];
  47.  
  48. //Sistema de TUnar
  49. #define DIALOGID 10 // ID du Dialog
  50. #define nitro 11 // Composant
  51. #define rodawire 12 // Composant
  52. #define suspensao 13 // Composant
  53.  
  54. #pragma unused PutRiotShieldOnArm
  55. #pragma unused GiveTazer
  56. #pragma unused GiveFlashLight
  57. #define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
  58. #define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
  59. #define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
  60.  
  61. forward SetPlayerRandomSpawn(playerid);
  62. forward BrunoChatLimpo(playerid, linhas);
  63. new pname[MAX_PLAYER_NAME];
  64. new Text:Bruno1;
  65.  
  66. //Mostrar Hora Na TEla
  67. forward BrunoHora();
  68. new Text:BrunoHora1;
  69. new Text:BrunoHora2;
  70.  
  71. //Sniper matar com 1 Tiro
  72. new Float:hp_old[MAX_PLAYERS];
  73. new Float:hp_new[MAX_PLAYERS];
  74. new Float:hp_counter[MAX_PLAYERS];
  75. new Float:ss[MAX_PLAYERS];
  76. new Float:ss2[MAX_PLAYERS];
  77. new Float:armour_old[MAX_PLAYERS];
  78. forward GetHealthAndVerify();
  79.  
  80. //Armas randamonicas
  81. new Armas[26] = {0,1,2,3,4,5,6,7,8,16,17,22,23,24,25,26,27,28,29,30,31,32,33,34,39,40};
  82.  
  83. #pragma tabsize 0
  84.  
  85. new iSpawnSet[MAX_PLAYERS];
  86. new Float:gRandomPlayerSpawns[23][3] = {
  87. {1958.3783,1343.1572,15.3746},
  88. {2199.6531,1393.3678,10.8203},
  89. {2483.5977,1222.0825,10.8203},
  90. {2637.2712,1129.2743,11.1797},
  91. {2000.0106,1521.1111,17.0625},
  92. {2024.8190,1917.9425,12.3386},
  93. {2261.9048,2035.9547,10.8203},
  94. {2262.0986,2398.6572,10.8203},
  95. {2244.2566,2523.7280,10.8203},
  96. {2335.3228,2786.4478,10.8203},
  97. {2150.0186,2734.2297,11.1763},
  98. {2158.0811,2797.5488,10.8203},
  99. {1969.8301,2722.8564,10.8203},
  100. {1652.0555,2709.4072,10.8265},
  101. {1564.0052,2756.9463,10.8203},
  102. {1271.5452,2554.0227,10.8203},
  103. {1441.5894,2567.9099,10.8203},
  104. {1480.6473,2213.5718,11.0234},
  105. {1400.5906,2225.6960,11.0234},
  106. {1598.8419,2221.5676,11.0625},
  107. {1318.7759,1251.3580,10.8203},
  108. {1558.0731,1007.8292,10.8125},
  109. {1705.2347,1025.6808,10.8203}
  110. };
  111.  
  112. main()
  113. {
  114.     print("                                  ");
  115.         print("()===(:::::::::::::::::::::::::::>");
  116.         print(":                                :");
  117.         print(":         GameMode Carregado     :");
  118.         print(":                                :");
  119.         print(":   Bruno Tadeu Drop Da Perdiçao :");
  120.         print(":                                :");
  121.         print("()===(:::::::::::::::::::::::::::>");
  122.         print("                                  ");
  123. }
  124.  
  125. public OnPlayerConnect(playerid)
  126. {
  127.     new Nome[MAX_PLAYER_NAME];
  128.         GetPlayerName(playerid, Nome, sizeof(Nome));
  129.         new String[100];
  130.         format(String, sizeof(String), CONTAS, Nome);
  131.         if(!dini_Exists(String))
  132.         {
  133.                 format(String, sizeof(String), "{7FFFD4}Nick: {4876FF}%s  {4876FF}Não Registrado\n\n{FFFFFF} Digite Uma Senha Para Continuar", Nome);
  134.                 ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_INPUT, "Registro", String, "Registrar", "Cancelar");
  135.         }
  136.         else
  137.         {
  138.                 format(String, sizeof(String), "{7FFFD4}Nick: {4876FF}%s  {4876FF}Registrado\n\n{FFFFFF} Digite Sua Senha Para Logar", Nome);
  139.         ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_INPUT, "Registro", String, "Logar", "Cancelar");
  140.         }
  141.     BrunoChatLimpo(playerid, 100);
  142.         SendClientMessage(playerid, COR_BRANCO,"Bem vindo ao Drop Da Perdiçao.");
  143.         SendClientMessage(playerid, COR_BRANCO,"Se precisar de ajuda digite {9B30FF}/ajuda.");
  144.         SendClientMessage(playerid, COR_BRANCO,"~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~");
  145.         SendClientMessage(playerid, COR_BRANCO,"Gamemode de Drop Feito Por {9B30FF}Bruno Tadeu");
  146.         SendClientMessage(playerid, COR_BRANCO,"~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~");
  147.         new string[52];
  148.         new pName[25];
  149.         GetPlayerName(playerid, pName, sizeof(pName));
  150.         format(string, sizeof(string), "%s Entrou no Servidor!", pName);
  151.         SendClientMessageToAll(COR_CINZA, string);
  152.         return 1;
  153. }
  154.  
  155. public OnPlayerDisconnect(playerid)
  156. {
  157.     new pName[MAX_PLAYER_NAME];
  158.         new string[52];
  159.         GetPlayerName(playerid, pName, sizeof(pName));
  160.         format(string, sizeof(string), "%s Saiu do Servidor! ", pName);
  161.         SendClientMessageToAll(COR_CINZA, string);
  162.         SalvarPlayer(playerid);
  163.         return 1;
  164. }
  165.  
  166. public OnPlayerCommandText(playerid, cmdtext[])
  167. {
  168.         new idx;
  169.         new cmd[128];
  170.         new string[128];
  171.        
  172.         cmd = strtok(cmdtext, idx);
  173.  
  174.         if(strcmp(cmdtext, "/kill", true) == 0) {
  175.         SetPlayerHealth(playerid,0);
  176.         ShowPlayerDialog(playerid, 7, DIALOG_STYLE_MSGBOX,"Mater-se", "{00FF7F}Parabens Seu Idiota\nVoce Acaba De Se Matar\nPorque Voce Fez Isso\nNao Tem Amor A Sua Vida\n\n\n\n", "Ok", "Sair");
  177.         return 1;
  178.     }
  179.         if(strcmp(cmdtext, "/creditos", true) == 0) {
  180.         ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX,"Todos Os Creditos", "{FFFFE0}GameMode Criado Por:\n{00FFFF}Bruno_Tadeu\n{FFFFE0}Feito Para Ser Usado De Base\nGamemode Colocado Na Net Com A Condiçao De Nao Retirar Os Creditos\nSistema de Registro:\n{00FFFF}ThiagoPS\n{FFFFE0}Obrigado Tambem A Todos Que Ajudaram.\n\n\n\n", "Ok", "Sair");
  181.         return 1;
  182.     }
  183.         if(strcmp(cmdtext, "/ajuda", true) == 0) {
  184.         ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX,"Comandos do Servidor", "{FFB90F}USE: {33CCFF}/Drops (Para ir as pistas de DROP.)\n{FFB90F}USE: {33CCFF}/Cmds (Para saber os comandos do servidor.)\n{FFB90F}USE: {33CCFF}/Creditos (Para saber os creditos do GM)\n{FFB90F}USE: {33CCFF}/kill (Para ir se matar.)\n\n\n\n", "Ok", "Sair");
  185.         return 1;
  186.     }
  187.         if(strcmp(cmdtext, "/Tunar", true, 10) == 0) {
  188.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "{00FFFF}Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Selecionar", "Cancelar");
  189.         return 1;
  190.     }
  191.         if(strcmp(cmdtext, "/Neon", true, 10) == 0) {
  192.         ShowPlayerDialog(playerid, 9, DIALOG_STYLE_LIST, "Menu De Neons", "{4876FF}Azul\n{FF4500}Vermelho\n{00FF7F}Verde\n{FFFFFF}Branco\n{FF00FF}Rosa\n{FFFF00}Amarelo\nRemover Neon", "Selecionar", "Cancelar");
  193.         return 1;
  194.     }
  195.         if(strcmp(cmdtext, "/CorNome", true) == 0) {
  196.         ShowPlayerDialog(playerid, 8, DIALOG_STYLE_LIST, "Escolha Uma Cor:", "{FF4500}Vermelho\n{00FF7F}Verde\n{FFFF00}Amarelo\n{4876FF}Azul\n{FFB90F}Laranja\n{9B30FF}Roxo\n{3A5FCD}Azu l Marinho\n{FF00FF}Rosa\n{D3D3D3}Cinza\n{8B7D7B}Marrom\n{FFFFFF}Branco\n{00FFFF}Azul Claro\n{008B45}Verde Escuro", "Selecionar", "Cancelar");
  197.         return 1;
  198.     }
  199.         if(strcmp(cmdtext, "/Drops", true) == 0) {
  200.         ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "ARENAS DE DROP", "{FF4500}Ir Para O Drop 1\n{00FF7F}Ir Para O Drop 2\n{4876FF}Ir Para O Drop 3\n{9B30FF}Ir Para O Drop 4", "Selecionar", "Cancelar");
  201.         return 1;
  202.     }
  203.         if(strcmp(cmdtext, "/drop1", true) == 0) {
  204.         SetPlayerInterior(playerid,0);
  205.         ResetPlayerWeapons(playerid);
  206.         for(new i = 0; i <= 26; i++)
  207.     {
  208.     GivePlayerWeapon(playerid,Armas[random(sizeof(Armas))],100);
  209.     }
  210.         SetPlayerArmour(playerid, 100);
  211.         SetPlayerHealth(playerid, 100);
  212.         GetPlayerName(playerid, pname, sizeof (pname));
  213.     format(string, sizeof(string),"%s Foi para o Drop {00FFFF}(/drop1)", pname);
  214.     SendClientMessageToAll(0xFFFFFF99, string);
  215.         GameTextForPlayer(playerid,"~g~Voce esta no drop", 3000, 5);
  216.         SetPlayerPos(playerid, 3578.5405, -2495.699, 877.9483);
  217.         return 1;
  218.     }
  219.         if(strcmp(cmdtext, "/drop2", true) == 0) {
  220.         SetPlayerInterior(playerid,0);
  221.         ResetPlayerWeapons(playerid);
  222.         for(new i = 0; i <= 26; i++)
  223.     {
  224.     GivePlayerWeapon(playerid,Armas[random(sizeof(Armas))],100);
  225.     }
  226.         SetPlayerArmour(playerid, 100);
  227.         SetPlayerHealth(playerid, 100);
  228.         GetPlayerName(playerid, pname, sizeof (pname));
  229.     format(string, sizeof(string),"%s Foi para o Drop {00FFFF}(/drop2)", pname);
  230.     SendClientMessageToAll(0xFFFFFF99, string);
  231.         GameTextForPlayer(playerid,"~g~Voce esta no drop", 3000, 5);
  232.         SetPlayerPos(playerid, -122.8430,-2236.8555,956.3837);
  233.         return 1;
  234.     }
  235.         if(strcmp(cmdtext, "/drop3", true) == 0) {
  236.         SetPlayerInterior(playerid,0);
  237.         ResetPlayerWeapons(playerid);
  238.         for(new i = 0; i <= 26; i++)
  239.     {
  240.     GivePlayerWeapon(playerid,Armas[random(sizeof(Armas))],100);
  241.     }
  242.         SetPlayerArmour(playerid, 100);
  243.         SetPlayerHealth(playerid, 100);
  244.         GetPlayerName(playerid, pname, sizeof (pname));
  245.     format(string, sizeof(string),"%s Foi para o Drop {00FFFF}(/drop3)", pname);
  246.     SendClientMessageToAll(0xFFFFFF99, string);
  247.         GameTextForPlayer(playerid,"~g~Voce esta no drop", 3000, 5);
  248.         SetPlayerPos(playerid, -3653.5298,381.4154,1191.0989);
  249.         return 1;
  250.     }
  251.         if(strcmp(cmdtext, "/drop4", true) == 0) {
  252.         SetPlayerInterior(playerid,0);
  253.         ResetPlayerWeapons(playerid);
  254.         for(new i = 0; i <= 26; i++)
  255.     {
  256.     GivePlayerWeapon(playerid,Armas[random(sizeof(Armas))],100);
  257.     }
  258.         SetPlayerArmour(playerid, 100);
  259.         SetPlayerHealth(playerid, 100);
  260.         GetPlayerName(playerid, pname, sizeof (pname));
  261.     format(string, sizeof(string),"%s Foi para o Drop {00FFFF}(/drop4)", pname);
  262.     SendClientMessageToAll(0xFFFFFF99, string);
  263.         GameTextForPlayer(playerid,"~g~Voce esta no drop", 3000, 5);
  264.         SetPlayerPos(playerid, -174.9214,-1858.2277,698.5009);
  265.         return 1;
  266.     }
  267.         if(strcmp(cmdtext, "/status", true) == 0) {
  268.         Status(playerid);
  269.                 return 1;
  270.         }
  271.  
  272.         return 0;
  273. }
  274.  
  275. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  276. {
  277.      if(dialogid == 4)
  278.      {
  279.                         if(response)
  280.                         {
  281.                                 if(listitem == 0)
  282.                                 {
  283.                                     OnPlayerCommandText(playerid,"/drop1");
  284.  
  285.                                 }
  286.                                 if(listitem == 1)
  287.                                 {
  288.                     OnPlayerCommandText(playerid,"/drop2");
  289.                                 }
  290.                                 if(listitem == 2)
  291.                                 {
  292.                     OnPlayerCommandText(playerid,"/drop3");
  293.                                 }
  294.                                 if(listitem == 3)
  295.                                 {
  296.                     OnPlayerCommandText(playerid,"/drop4");
  297.                                 }
  298.                                 if(listitem == 4)
  299.                                 {
  300.                     OnPlayerCommandText(playerid,"/drop5");
  301.                                 }
  302.                         }
  303.                         return 1;
  304.          }
  305.          new string[128];
  306.         if(dialogid == 8)
  307.      {
  308.                         if(response)
  309.                         {
  310.                                 if(listitem == 0)
  311.                                 {
  312.                                     SetPlayerColor(playerid, COR_VERMELHO);
  313.                     GetPlayerName(playerid, pname, sizeof(pname));
  314.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Vermelho (/CorNome)", pname);
  315.                     SendClientMessageToAll(COR_BRANCO, string);
  316.  
  317.                                 }
  318.                                 if(listitem == 1)
  319.                                 {
  320.                     SetPlayerColor(playerid, COR_VERDE);
  321.                     GetPlayerName(playerid, pname, sizeof(pname));
  322.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Verde (/CorNome)", pname);
  323.                     SendClientMessageToAll(COR_BRANCO, string);
  324.                                 }
  325.                                 if(listitem == 2)
  326.                                 {
  327.                     SetPlayerColor(playerid, COR_AMARELO);
  328.                     GetPlayerName(playerid, pname, sizeof(pname));
  329.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Amarelo (/CorNome)", pname);
  330.                     SendClientMessageToAll(COR_BRANCO, string);
  331.                                 }
  332.                                 if(listitem == 3)
  333.                                 {
  334.                     SetPlayerColor(playerid, COR_AZUL);
  335.                     GetPlayerName(playerid, pname, sizeof(pname));
  336.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Azul (/CorNome)", pname);
  337.                     SendClientMessageToAll(COR_BRANCO, string);
  338.                                 }
  339.                                 if(listitem == 4)
  340.                                 {
  341.                     SetPlayerColor(playerid, COR_LARANJA);
  342.                     GetPlayerName(playerid, pname, sizeof(pname));
  343.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Laranja (/CorNome)", pname);
  344.                     SendClientMessageToAll(COR_BRANCO, string);
  345.                 }
  346.                                 if(listitem == 5)
  347.                                 {
  348.                     SetPlayerColor(playerid, COR_ROXO);
  349.                     GetPlayerName(playerid, pname, sizeof(pname));
  350.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome para Roxo (/CorNome)", pname);
  351.                     SendClientMessageToAll(COR_BRANCO, string);
  352.                 }
  353.                                 if(listitem == 6)
  354.                                 {
  355.                     SetPlayerColor(playerid, COR_AZULM);
  356.                     GetPlayerName(playerid, pname, sizeof(pname));
  357.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Azul Marinho (/CorNome)", pname);
  358.                     SendClientMessageToAll(COR_BRANCO, string);
  359.                 }
  360.                                 if(listitem == 7)
  361.                                 {
  362.                     SetPlayerColor(playerid, COR_ROSA);
  363.                     GetPlayerName(playerid, pname, sizeof(pname));
  364.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Rosa (/CorNome)", pname);
  365.                     SendClientMessageToAll(COR_BRANCO, string);
  366.                 }
  367.                                 if(listitem == 8)
  368.                                 {
  369.                     SetPlayerColor(playerid, COR_CINZA);
  370.                     GetPlayerName(playerid, pname, sizeof(pname));
  371.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Cinza (/CorNome)", pname);
  372.                     SendClientMessageToAll(COR_BRANCO, string);
  373.                 }
  374.                                 if(listitem == 9)
  375.                                 {
  376.                     SetPlayerColor(playerid, COR_MARRON);
  377.                     GetPlayerName(playerid, pname, sizeof(pname));
  378.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Marron (/CorNome)", pname);
  379.                     SendClientMessageToAll(COR_BRANCO, string);
  380.                 }
  381.                                 if(listitem == 10)
  382.                                 {
  383.                     SetPlayerColor(playerid, COR_BRANCO);
  384.                     GetPlayerName(playerid, pname, sizeof(pname));
  385.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Branco (/CorNome)", pname);
  386.                     SendClientMessageToAll(COR_BRANCO, string);
  387.                 }
  388.                                 if(listitem == 11)
  389.                                 {
  390.                     SetPlayerColor(playerid, COR_AZULC);
  391.                     GetPlayerName(playerid, pname, sizeof(pname));
  392.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Azul Claro (/CorNome)", pname);
  393.                     SendClientMessageToAll(COR_BRANCO, string);
  394.                 }
  395.                                 if(listitem == 12)
  396.                                 {
  397.                     SetPlayerColor(playerid, COR_VERDEE);
  398.                     GetPlayerName(playerid, pname, sizeof(pname));
  399.                     format(string, sizeof(string), "%s Mudou A Cor Do Seu Nome Para Verde Escuro(/CorNome)", pname);
  400.                     SendClientMessageToAll(COR_BRANCO, string);
  401.                                 }
  402.                         }
  403.                         return 1;
  404.         }
  405.         if(dialogid == 9)
  406.         {
  407.                 if(response)
  408.                 {
  409.                         if(listitem == 0)
  410.                         {
  411.                                 SetPVarInt(playerid, "Status", 1);
  412.                 SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
  413.                     SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
  414.                 AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  415.                 AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  416.                     }
  417.                         if(listitem == 1)
  418.                         {
  419.                                 SetPVarInt(playerid, "Status", 1);
  420.                     SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
  421.                     SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
  422.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  423.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  424.             }
  425.                         if(listitem == 2)
  426.                         {
  427.                             SetPVarInt(playerid, "Status", 1);
  428.                     SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
  429.                     SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
  430.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  431.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  432.                 }
  433.                         if(listitem == 3)
  434.                         {
  435.                             SetPVarInt(playerid, "Status", 1);
  436.                     SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
  437.                     SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
  438.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  439.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  440.             }
  441.                         if(listitem == 4)
  442.                         {
  443.                             SetPVarInt(playerid, "Status", 1);
  444.                     SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
  445.                     SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
  446.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  447.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  448.  
  449.             }
  450.                         if(listitem == 5)
  451.                         {
  452.                             SetPVarInt(playerid, "Status", 1);
  453.                     SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
  454.                     SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
  455.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  456.                     AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
  457.  
  458.             }
  459.                         if(listitem == 6)
  460.                         {
  461.                         //remove neon
  462.                 DestroyObject(GetPVarInt(playerid, "neon"));
  463.                 DeletePVar(playerid, "Status");
  464.                 DestroyObject(GetPVarInt(playerid, "neon1"));
  465.                 DeletePVar(playerid, "Status");
  466.                 DestroyObject(GetPVarInt(playerid, "neon2"));
  467.                 DeletePVar(playerid, "Status");
  468.                 DestroyObject(GetPVarInt(playerid, "neon3"));
  469.                 DeletePVar(playerid, "Status");
  470.                 DestroyObject(GetPVarInt(playerid, "neon4"));
  471.                 DeletePVar(playerid, "Status");
  472.                 DestroyObject(GetPVarInt(playerid, "neon5"));
  473.                                 DeletePVar(playerid, "Status");
  474.                 DestroyObject(GetPVarInt(playerid, "neon6"));
  475.                 DeletePVar(playerid, "Status");
  476.                 DestroyObject(GetPVarInt(playerid, "neon7"));
  477.                 DeletePVar(playerid, "Status");
  478.                 DestroyObject(GetPVarInt(playerid, "neon8"));
  479.                 DeletePVar(playerid, "Status");
  480.                 DestroyObject(GetPVarInt(playerid, "neon9"));
  481.                 DeletePVar(playerid, "Status");
  482.                         DestroyObject(GetPVarInt(playerid, "neon10"));
  483.                 DeletePVar(playerid, "Status");
  484.                 DestroyObject(GetPVarInt(playerid, "neon11"));
  485.                 DeletePVar(playerid, "Status");
  486.                }
  487.                         }
  488.                         return 1;
  489.         }
  490.     new car;
  491.         car = GetPlayerVehicleID(playerid);
  492.         if(dialogid == DIALOGID) // Menu
  493.         {
  494.                 if(response)
  495.                 {
  496.                         if(listitem == 0) // Wheels
  497.                         {
  498.                                 ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "Rodas", "Estilo 1 \nEstilo 2 \nEstilo 3 \nEstilo 4 \nEstilo 5 \nEstilo 6 \nVoltar", "OK", "Cancelar");
  499.                         }
  500.                         if(listitem == 1) // Colors
  501.                         {
  502.                                 ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "Cores", "Preto \nBranco \nAzul escuro \nAzul claro \nVerde \nVermelho \nAmarelo \nRosa \nVoltar", "OK", "Cancelar");
  503.                         }
  504.                         if(listitem == 2) // Paintjobs
  505.                         {
  506.                                 ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "Trabalhos de Pinturas", "Estilo 1 \nEstilo 2 \nEstilo 3 \nVoltar", "OK", "Cancelar");
  507.                         }
  508.                         if(listitem == 3) // Nitro
  509.                         {
  510.             AddVehicleComponent(car,1010);
  511.             ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  512.                         }
  513.                         if(listitem == 4) // Hydraulic
  514.                         {
  515.             AddVehicleComponent(car,1087);
  516.             ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  517.                         }
  518.                         if(listitem == 5) // AutoTuning
  519.                         {
  520.         new idcarro;
  521.         TogglePlayerControllable(playerid, 1);
  522.         idcarro = GetPlayerVehicleID(playerid);
  523.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
  524.         {
  525.         AddVehicleComponent(idcarro,1046);
  526.         AddVehicleComponent(idcarro,1171);
  527.         AddVehicleComponent(idcarro,1149);
  528.         AddVehicleComponent(idcarro,1035);
  529.         AddVehicleComponent(idcarro,1147);
  530.         AddVehicleComponent(idcarro,1036);
  531.         AddVehicleComponent(idcarro,1040);
  532.         ChangeVehiclePaintjob(idcarro, 2);
  533.         ChangeVehicleColor(idcarro, 6, 6);
  534.         AddVehicleComponent(idcarro,nitro);
  535.         AddVehicleComponent(idcarro,rodawire);
  536.         AddVehicleComponent(idcarro,suspensao);
  537.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  538.         }
  539.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
  540.         {
  541.         AddVehicleComponent(idcarro,1028);
  542.         AddVehicleComponent(idcarro,1169);
  543.         AddVehicleComponent(idcarro,1141);
  544.         AddVehicleComponent(idcarro,1032);
  545.         AddVehicleComponent(idcarro,1138);
  546.         AddVehicleComponent(idcarro,1026);
  547.         AddVehicleComponent(idcarro,1027);
  548.         ChangeVehiclePaintjob(idcarro, 2);
  549.         AddVehicleComponent(idcarro,nitro);
  550.         AddVehicleComponent(idcarro,rodawire);
  551.         AddVehicleComponent(idcarro,suspensao);
  552.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  553.         }
  554.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
  555.         {
  556.         AddVehicleComponent(idcarro,1046);
  557.         AddVehicleComponent(idcarro,1153);
  558.         AddVehicleComponent(idcarro,1150);
  559.         AddVehicleComponent(idcarro,1054);
  560.         AddVehicleComponent(idcarro,1049);
  561.         AddVehicleComponent(idcarro,1047);
  562.         AddVehicleComponent(idcarro,1051);
  563.         AddVehicleComponent(idcarro,nitro);
  564.         AddVehicleComponent(idcarro,rodawire);
  565.         AddVehicleComponent(idcarro,suspensao);
  566.         ChangeVehiclePaintjob(idcarro, 2);
  567.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  568.         }
  569.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
  570.         {
  571.         AddVehicleComponent(idcarro,1065);
  572.         AddVehicleComponent(idcarro,1160);
  573.         AddVehicleComponent(idcarro,1159);
  574.         AddVehicleComponent(idcarro,1067);
  575.         AddVehicleComponent(idcarro,1162);
  576.         AddVehicleComponent(idcarro,1069);
  577.         AddVehicleComponent(idcarro,1071);
  578.         AddVehicleComponent(idcarro,nitro);
  579.         AddVehicleComponent(idcarro,rodawire);
  580.         AddVehicleComponent(idcarro,suspensao);
  581.         ChangeVehiclePaintjob(idcarro, 1);
  582.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  583.         }
  584.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
  585.         {
  586.         AddVehicleComponent(idcarro,1064);
  587.         AddVehicleComponent(idcarro,1155);
  588.         AddVehicleComponent(idcarro,1154);
  589.         AddVehicleComponent(idcarro,1055);
  590.         AddVehicleComponent(idcarro,1158);
  591.         AddVehicleComponent(idcarro,1056);
  592.         AddVehicleComponent(idcarro,1062);
  593.         AddVehicleComponent(idcarro,nitro);
  594.         AddVehicleComponent(idcarro,rodawire);
  595.         AddVehicleComponent(idcarro,suspensao);
  596.         ChangeVehiclePaintjob(idcarro, 2);
  597.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  598.         }
  599.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
  600.         {
  601.         AddVehicleComponent(idcarro,1089);
  602.         AddVehicleComponent(idcarro,1166);
  603.         AddVehicleComponent(idcarro,1168);
  604.         AddVehicleComponent(idcarro,1088);
  605.         AddVehicleComponent(idcarro,1164);
  606.         AddVehicleComponent(idcarro,1090);
  607.         AddVehicleComponent(idcarro,1094);
  608.         AddVehicleComponent(idcarro,nitro);
  609.         AddVehicleComponent(idcarro,rodawire);
  610.         AddVehicleComponent(idcarro,suspensao);
  611.         ChangeVehiclePaintjob(idcarro, 2);
  612.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  613.         }
  614.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
  615.         {
  616.         AddVehicleComponent(idcarro,1044);
  617.         AddVehicleComponent(idcarro,1174);
  618.         AddVehicleComponent(idcarro,1176);
  619.         AddVehicleComponent(idcarro,1042);
  620.         AddVehicleComponent(idcarro,1099);
  621.         AddVehicleComponent(idcarro,nitro);
  622.         AddVehicleComponent(idcarro,rodawire);
  623.         AddVehicleComponent(idcarro,suspensao);
  624.         ChangeVehiclePaintjob(idcarro, 0);
  625.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  626.         }
  627.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
  628.         {
  629.         AddVehicleComponent(idcarro,1126);
  630.     AddVehicleComponent(idcarro,1179);
  631.         AddVehicleComponent(idcarro,1180);
  632.         AddVehicleComponent(idcarro,1122);
  633.         AddVehicleComponent(idcarro,1101);
  634.         AddVehicleComponent(idcarro,1125);
  635.         AddVehicleComponent(idcarro,1123);
  636.         AddVehicleComponent(idcarro,1100);
  637.         AddVehicleComponent(idcarro,nitro);
  638.         AddVehicleComponent(idcarro,rodawire);
  639.         AddVehicleComponent(idcarro,suspensao);
  640.         ChangeVehiclePaintjob(idcarro, 2);
  641.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  642.         }
  643.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
  644.         {
  645.         AddVehicleComponent(idcarro,1104);
  646.         AddVehicleComponent(idcarro,1182);
  647.         AddVehicleComponent(idcarro,1184);
  648.         AddVehicleComponent(idcarro,1108);
  649.         AddVehicleComponent(idcarro,1107);
  650.         AddVehicleComponent(idcarro,nitro);
  651.         AddVehicleComponent(idcarro,rodawire);
  652.         AddVehicleComponent(idcarro,suspensao);
  653.         ChangeVehiclePaintjob(idcarro, 1);
  654.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  655.         }
  656.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
  657.         {
  658.         AddVehicleComponent(idcarro,1129);
  659.         AddVehicleComponent(idcarro,1189);
  660.         AddVehicleComponent(idcarro,1187);
  661.         AddVehicleComponent(idcarro,1102);
  662.         AddVehicleComponent(idcarro,1133);
  663.         AddVehicleComponent(idcarro,nitro);
  664.         AddVehicleComponent(idcarro,rodawire);
  665.         AddVehicleComponent(idcarro,suspensao);
  666.         ChangeVehiclePaintjob(idcarro, 2);
  667.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  668.         }
  669.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
  670.         {
  671.         AddVehicleComponent(idcarro,1010);
  672.         AddVehicleComponent(idcarro,1087);
  673.         AddVehicleComponent(idcarro,1081);
  674.         AddVehicleComponent(idcarro,1139);
  675.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  676.         }
  677.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
  678.         {
  679.         AddVehicleComponent(idcarro,1010);
  680.         AddVehicleComponent(idcarro,1087);
  681.         AddVehicleComponent(idcarro,1018);
  682.         AddVehicleComponent(idcarro,1013);
  683.         AddVehicleComponent(idcarro,1081);
  684.         AddVehicleComponent(idcarro,1086);
  685.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  686.         }
  687.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
  688.         {
  689.         AddVehicleComponent(idcarro,1086);
  690.         AddVehicleComponent(idcarro,1139);
  691.         AddVehicleComponent(idcarro,1081);
  692.         AddVehicleComponent(idcarro,1010);
  693.         AddVehicleComponent(idcarro,1087);
  694.         AddVehicleComponent(idcarro,1012);
  695.         AddVehicleComponent(idcarro,1013);
  696.         AddVehicleComponent(idcarro,1042);
  697.         AddVehicleComponent(idcarro,1043);
  698.         AddVehicleComponent(idcarro,1018);
  699.         AddVehicleComponent(idcarro,1006);
  700.         AddVehicleComponent(idcarro,1007);
  701.         AddVehicleComponent(idcarro,1017);
  702.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  703.         }
  704.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
  705.         {
  706.         ChangeVehiclePaintjob(idcarro,2);
  707.         AddVehicleComponent(idcarro,1191);
  708.         AddVehicleComponent(idcarro,1193);
  709.         AddVehicleComponent(idcarro,1010);
  710.         AddVehicleComponent(idcarro,1018);
  711.         AddVehicleComponent(idcarro,1081);
  712.         AddVehicleComponent(idcarro,1087);
  713.         AddVehicleComponent(idcarro,1134);
  714.         AddVehicleComponent(idcarro,1137);
  715.         ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, "Menu de Tunar", "Rodas\nCores\nTrabalhos de Pinturas\nNitro\nHidráulica\nAutoTuning", "Ok", "Cancelar");
  716.         }
  717.         else
  718.         {
  719.         TogglePlayerControllable(playerid, 1);
  720.         AddVehicleComponent(idcarro,nitro);
  721.         AddVehicleComponent(idcarro,rodawire);
  722.         AddVehicleComponent(idcarro,suspensao);
  723.         }
  724.                         }
  725.                 }
  726.                 return 1;
  727.         }
  728.         if(dialogid == REGISTRO)
  729.         {
  730.                 if(response)
  731.                 {
  732.                     if(!strlen(inputtext))
  733.                     {
  734.                                 new Nome[MAX_PLAYER_NAME];
  735.                                 GetPlayerName(playerid, Nome, sizeof(Nome));
  736.                                 new String[100];
  737.                         format(String, sizeof(String), "{7FFFD4}Nick: {1E90FF}%s  {1E90FF}Não Registrado\n\n{FFFFFF} Digite Uma Senha Para Continuar", Nome);
  738.                         ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_INPUT, "Registro", String, "Registrar", "Cancelar");
  739.                                 SendClientMessage(playerid,0x1E90FFAA,"Senha invalida, digite uma senha válida");
  740.                                 return 1;
  741.                         }
  742.                         new Nome[MAX_PLAYER_NAME];
  743.                         GetPlayerName(playerid, Nome, sizeof(Nome));
  744.                         new String[100];
  745.                         format(String, sizeof(String), CONTAS, Nome);
  746.                         dini_Create(String);
  747.                         dini_Set(String,"Senha",inputtext);
  748.                         dini_IntSet(String,"Dinheiro",0);
  749.                         dini_IntSet(String,"Vida", 100);
  750.                         dini_IntSet(String,"Colete", 100);
  751.                         dini_IntSet(String,"Matou",0);
  752.                         dini_IntSet(String,"Morreu",0);
  753.                         dini_IntSet(String,"Logou",0);
  754.                 ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_INPUT, "Login", "{1E90FF}Pronto você se registrou agora digite Sua Senha Para Logar-Se", "Logar", "Cancelar");
  755.                         return 1;
  756.                 }
  757.         else
  758.         {
  759.             SendClientMessage(playerid, 0xFF0000AA, "Você Foi Kickado Porque Não Quis Se Registrar!!");
  760.             Kick(playerid);
  761.             return 1;
  762.         }
  763.     }
  764.     if(dialogid == LOGIN)
  765.         {
  766.                 if(response)
  767.                 {
  768.                         if(!strlen(inputtext))
  769.                     {
  770.                                 new Nome[MAX_PLAYER_NAME];
  771.                                 GetPlayerName(playerid, Nome, sizeof(Nome));
  772.                                 new String[100];
  773.                                 format(String, sizeof(String), "{7FFFD4}Nick: {1E90FF}%s  {1E90FF}Registrado\n\n{FFFFFF} Digite Sua Senha Para Logar", Nome);
  774.                     ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_INPUT, "Registro", String, "Logar", "Cancelar");
  775.                                 SendClientMessage(playerid,0x1E90FFAA,"Senha Incorreta !");
  776.                                 return 1;
  777.                         }
  778.                         new Nome[MAX_PLAYER_NAME];
  779.                         GetPlayerName(playerid, Nome, sizeof(Nome));
  780.                         new String[100];
  781.                         format(String, sizeof(String), CONTAS, Nome);
  782.                         if(!strcmp(inputtext,dini_Get(String,"Senha"),false))
  783.                         {
  784.                             SetarPlayer(playerid);
  785.                             Logou[playerid]++;
  786.                             SendClientMessage(playerid,0x00FF00AA,"Você Foi Logado Com Sucesso > Escolha Sua Skin!");
  787.                             return 1;
  788.                         }
  789.                         else
  790.                         {
  791.                             SendClientMessage(playerid,0x00FF00AA,"Senha incorreta digite-a novamente");
  792.                                 format(String, sizeof(String), "{7FFFD4}Nick: {1E90FF}%s  {1E90FF}Registrado\n\n{FFFFFF} Digite Sua Senha Para Logar", Nome);
  793.                         ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_INPUT, "Registro", String, "Logar", "Cancelar");
  794.                         }
  795.                         return 1;
  796.                 }
  797.                 else
  798.                 {
  799.                         SendClientMessage(playerid, 0xFF0000AA, "Você não quis se logar, por este motivo será Kickado");
  800.                         Kick(playerid);
  801.                         return 1;
  802.                 }
  803.         }
  804.         return 1;
  805. }
  806.  
  807. SalvarPlayer(playerid)
  808. {
  809.         new Float:Vida;
  810.     new Float:Colete;
  811.     GetPlayerHealth(playerid, Vida);
  812.     GetPlayerArmour(playerid, Colete);
  813.     new Nome[MAX_PLAYER_NAME];
  814.     GetPlayerName(playerid, Nome, sizeof(Nome));
  815.     new String[50];
  816.     format(String, sizeof(String), CONTAS, Nome);
  817.     dini_IntSet(String,"Dinheiro", GetPlayerMoney(playerid));
  818.     dini_FloatSet(String,"Vida", Vida);
  819.     dini_FloatSet(String,"Colete", Colete);
  820.     dini_IntSet(String,"Matou", Matou[playerid]);
  821.     dini_IntSet(String,"Morreu", Morreu[playerid]);
  822.     dini_IntSet(String,"Logou", Logou[playerid]);
  823.     return 1;
  824. }
  825.  
  826. SetarPlayer(playerid)
  827. {
  828.         new Nome[MAX_PLAYER_NAME];
  829.     GetPlayerName(playerid, Nome, sizeof(Nome));
  830.     new String[50];
  831.     format(String, sizeof(String), CONTAS, Nome);
  832.     GivePlayerMoney(playerid, dini_Int(String,"Dinheiro"));
  833.     SetPlayerHealth(playerid, dini_Int(String,"Vida"));
  834.     SetPlayerArmour(playerid, dini_Int(String,"Colete"));
  835.     Matou[playerid] = dini_Int(String, "Matou");
  836.     Morreu[playerid] = dini_Int(String, "Morreu");
  837.     Logou[playerid] = dini_Int(String, "Logou");
  838.         return 1;
  839. }
  840.  
  841. Status(playerid)
  842. {
  843.         new Nome[MAX_PLAYER_NAME];
  844.     GetPlayerName(playerid, Nome, sizeof(Nome));
  845.         new String[128];
  846.         SendClientMessage(playerid, 0xFF0000AA, "================================================");
  847.         format(String, sizeof(String),"Status De %s",Nome);
  848.         SendClientMessage(playerid, 0xFFFF00AA,String);
  849.         format(String, sizeof(String),"Dinheiro: %d", GetPlayerMoney(playerid));
  850.         SendClientMessage(playerid, 0x1E90FFAA,String);
  851.         format(String, sizeof(String),"Matou: %d",Matou[playerid]);
  852.         SendClientMessage(playerid, 0x1E90FFAA,String);
  853.         format(String, sizeof(String),"Morreu: %d",Morreu[playerid]);
  854.         SendClientMessage(playerid, 0x1E90FFAA,String);
  855.         format(String, sizeof(String),"Você Já Logou %d Vezes Neste Servidor",Logou[playerid]);
  856.         SendClientMessage(playerid, 0x1E90FFAA,String);
  857.     SendClientMessage(playerid, 0xFF0000AA, "================================================");
  858.         return 1;
  859. }
  860.  
  861. public OnPlayerSpawn(playerid)
  862. {
  863.         SetPlayerInterior(playerid,0);
  864.         TogglePlayerClock(playerid,0);
  865.         SetPlayerRandomSpawn(playerid);
  866.         TextDrawShowForPlayer(playerid, Bruno1);
  867.         TextDrawHideForAll(BrunoHora1);
  868.     TextDrawShowForPlayer(playerid, BrunoHora1);
  869.     TextDrawHideForAll(BrunoHora2);
  870.         TextDrawShowForPlayer(playerid, BrunoHora2);
  871.         return 1;
  872. }
  873.  
  874. public SetPlayerRandomSpawn(playerid)
  875. {
  876.     if (iSpawnSet[playerid] == 0)
  877.     {
  878.                 new rand = random(sizeof(gRandomPlayerSpawns));
  879.                 SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
  880.         }
  881.         return 1;
  882. }
  883.  
  884. public OnPlayerDeath(playerid, killerid, reason)
  885. {
  886.     if(IsPlayerConnected(killerid))
  887.         {
  888.                 Matou[killerid]++;
  889.         }
  890.         Morreu[playerid]++;
  891.         new playercash;
  892.         if(killerid == INVALID_PLAYER_ID)
  893.         {
  894.         SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
  895.         ResetPlayerMoney(playerid);
  896.         } else {
  897.                 SendDeathMessage(killerid,playerid,reason);
  898.                 SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
  899.                 playercash = GetPlayerMoney(playerid);
  900.                 if (playercash > 0)
  901.                 {
  902.                         GivePlayerMoney(killerid, playercash);
  903.                         ResetPlayerMoney(playerid);
  904.                 }
  905.     }
  906.         return 1;
  907. }
  908.  
  909. SetupPlayerForClassSelection(playerid)
  910. {
  911.         SetPlayerInterior(playerid,14);
  912.         SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
  913.         SetPlayerFacingAngle(playerid, 270.0);
  914.         SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
  915.         SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
  916. }
  917.  
  918. public OnPlayerRequestClass(playerid, classid)
  919. {
  920.         SetupPlayerForClassSelection(playerid);
  921.     ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
  922.     PlayerPlaySound(playerid, 1097,-119.9460,23.1096,12.2238);
  923.         return 1;
  924. }
  925.  
  926. public OnGameModeExit()
  927. {
  928.         for(new i=0; i<MAX_PLAYERS; i++)
  929.         SalvarPlayer(i);
  930.         TextDrawHideForAll(Bruno1);
  931.         TextDrawDestroy(Bruno1);
  932.         TextDrawDestroy(BrunoHora1);
  933.     TextDrawDestroy(BrunoHora2);
  934.         TextDrawHideForAll(BrunoHora1);
  935.         TextDrawHideForAll(BrunoHora2);
  936.         return 1;
  937. }
  938.  
  939. public OnGameModeInit()
  940. {
  941.         SetGameModeText("Drop Da Perdiçao");
  942.         SetTimer("GetHealthAndVerify",500,1);
  943.         SendRconCommand("mapname San Andreas");
  944.         SendRconCommand("hostname Drop Da Perdiçao [Base v1.0a]");
  945.         SetTimer("BrunoHora",1000,true);
  946.         UsePlayerPedAnims();
  947.         ShowPlayerMarkers(1);
  948.         ShowNameTags(1);
  949.         AllowAdminTeleport(1);
  950.    
  951.     Bruno1 = TextDrawCreate(1, 427, " ~y~Para Saber Todos Os Cmds Do Servidor Digite ~r~/Ajuda ~p~[Drop Da Perdiçao V1.0a]");
  952.         TextDrawBackgroundColor(Bruno1, 255);
  953.         TextDrawBoxColor(Bruno1,0x00000066);
  954.         TextDrawUseBox(Bruno1,1);
  955.         TextDrawFont(Bruno1, 3);
  956.         TextDrawLetterSize(Bruno1, 0.400000, 2.000000);
  957.         TextDrawAlignment(Bruno1, 0);
  958.         TextDrawSetOutline(Bruno1, 1);
  959.         TextDrawSetProportional(Bruno1, 0);
  960.        
  961.         BrunoHora1 = TextDrawCreate(470.000000,4.000000,"RELOGIO");//525
  962.         BrunoHora2 = TextDrawCreate(550.000000,23.000000,"BRUNO");
  963.         TextDrawAlignment(BrunoHora1,0);
  964.         TextDrawAlignment(BrunoHora2,0);
  965.         TextDrawBackgroundColor(BrunoHora1,0x000000FF);
  966.         TextDrawBackgroundColor(BrunoHora2,0x000000FF);
  967.         TextDrawFont(BrunoHora1,3);
  968.         TextDrawLetterSize(BrunoHora1,0.500000,2.000000);
  969.         TextDrawFont(BrunoHora2,3);
  970.         TextDrawLetterSize(BrunoHora2,0.399999,2.000000);
  971.         TextDrawColor(BrunoHora1,0x00C7FFFF);
  972.         TextDrawColor(BrunoHora2,0x00C7FFFF);
  973.         TextDrawSetProportional(BrunoHora1,1);
  974.         TextDrawSetProportional(BrunoHora2,1);
  975.         TextDrawSetShadow(BrunoHora1,1);
  976.         TextDrawSetShadow(BrunoHora2,1);
  977.         TextDrawSetOutline(BrunoHora1,1);
  978.         TextDrawSetOutline(BrunoHora2,1);
  979.         TextDrawShowForAll(BrunoHora1);
  980.         TextDrawShowForAll(BrunoHora2);
  981.        
  982.         //Skins Dos Players
  983.         AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  984.         AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  985.         AddPlayerClass(267,1958.3783,1343.1572,15.3746,270.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  986.         AddPlayerClass(268,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  987.         AddPlayerClass(269,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  988.         AddPlayerClass(270,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  989.         AddPlayerClass(271,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  990.         AddPlayerClass(272,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  991.         AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  992.         AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  993.         AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  994.         AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  995.         AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  996.         AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  997.         AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  998.         AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  999.         AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1000.         AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1001.         AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1002.         AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1003.         AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1004.         AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1005.         AddPlayerClass(260,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1006.         AddPlayerClass(261,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1007.         AddPlayerClass(262,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1008.         AddPlayerClass(263,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1009.         AddPlayerClass(264,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1010.         AddPlayerClass(274,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1011.         AddPlayerClass(275,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1012.         AddPlayerClass(276,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1013.         AddPlayerClass(1,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1014.         AddPlayerClass(2,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1015.         AddPlayerClass(290,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1016.         AddPlayerClass(291,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1017.         AddPlayerClass(292,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1018.         AddPlayerClass(293,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1019.         AddPlayerClass(294,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1020.         AddPlayerClass(295,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1021.         AddPlayerClass(296,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1022.         AddPlayerClass(297,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1023.         AddPlayerClass(298,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1024.     AddPlayerClass(299,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1025.         AddPlayerClass(277,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1026.         AddPlayerClass(278,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1027.         AddPlayerClass(279,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1028.         AddPlayerClass(288,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1029.         AddPlayerClass(47,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1030.         AddPlayerClass(48,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1031.         AddPlayerClass(49,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1032.         AddPlayerClass(50,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1033.         AddPlayerClass(51,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1034.         AddPlayerClass(52,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1035.         AddPlayerClass(53,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1036.         AddPlayerClass(54,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1037.         AddPlayerClass(55,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1038.         AddPlayerClass(56,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1039.         AddPlayerClass(57,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1040.         AddPlayerClass(58,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1041.         AddPlayerClass(59,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1042.         AddPlayerClass(60,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1043.         AddPlayerClass(61,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1044.         AddPlayerClass(62,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1045.         AddPlayerClass(63,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1046.         AddPlayerClass(64,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1047.         AddPlayerClass(66,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1048.         AddPlayerClass(67,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1049.         AddPlayerClass(68,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1050.         AddPlayerClass(69,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1051.         AddPlayerClass(70,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1052.         AddPlayerClass(71,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1053.         AddPlayerClass(72,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1054.         AddPlayerClass(73,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1055.         AddPlayerClass(75,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1056.         AddPlayerClass(76,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1057.         AddPlayerClass(78,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1058.         AddPlayerClass(79,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1059.         AddPlayerClass(80,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1060.         AddPlayerClass(81,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1061.         AddPlayerClass(82,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1062.         AddPlayerClass(83,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1063.         AddPlayerClass(84,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1064.         AddPlayerClass(85,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1065.         AddPlayerClass(87,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1066.         AddPlayerClass(88,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1067.         AddPlayerClass(89,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1068.         AddPlayerClass(91,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1069.         AddPlayerClass(92,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1070.         AddPlayerClass(93,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1071.         AddPlayerClass(95,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1072.         AddPlayerClass(96,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1073.         AddPlayerClass(97,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1074.         AddPlayerClass(98,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1075.         AddPlayerClass(99,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1076.         AddPlayerClass(100,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1077.         AddPlayerClass(101,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1078.         AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1079.         AddPlayerClass(103,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1080.         AddPlayerClass(104,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1081.         AddPlayerClass(105,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1082.         AddPlayerClass(106,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1083.         AddPlayerClass(107,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1084.         AddPlayerClass(108,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1085.         AddPlayerClass(109,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1086.         AddPlayerClass(110,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1087.         AddPlayerClass(111,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1088.         AddPlayerClass(112,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1089.         AddPlayerClass(113,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1090.         AddPlayerClass(114,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1091.         AddPlayerClass(115,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1092.         AddPlayerClass(116,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1093.         AddPlayerClass(117,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1094.         AddPlayerClass(118,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1095.         AddPlayerClass(120,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1096.         AddPlayerClass(121,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1097.         AddPlayerClass(122,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1098.         AddPlayerClass(123,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1099.         AddPlayerClass(124,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1100.         AddPlayerClass(125,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1101.         AddPlayerClass(126,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1102.         AddPlayerClass(127,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1103.         AddPlayerClass(128,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1104.         AddPlayerClass(129,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1105.         AddPlayerClass(131,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1106.         AddPlayerClass(133,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1107.         AddPlayerClass(134,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1108.         AddPlayerClass(135,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1109.         AddPlayerClass(136,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1110.         AddPlayerClass(137,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1111.         AddPlayerClass(138,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1112.         AddPlayerClass(139,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1113.         AddPlayerClass(140,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1114.         AddPlayerClass(141,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1115.         AddPlayerClass(142,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1116.         AddPlayerClass(143,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1117.         AddPlayerClass(144,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1118.         AddPlayerClass(145,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1119.         AddPlayerClass(146,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1120.         AddPlayerClass(147,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1121.         AddPlayerClass(148,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1122.         AddPlayerClass(150,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1123.         AddPlayerClass(151,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1124.         AddPlayerClass(152,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1125.         AddPlayerClass(153,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1126.         AddPlayerClass(154,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1127.         AddPlayerClass(155,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1128.         AddPlayerClass(156,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1129.         AddPlayerClass(157,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1130.         AddPlayerClass(158,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1131.         AddPlayerClass(159,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1132.         AddPlayerClass(160,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1133.         AddPlayerClass(161,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1134.         AddPlayerClass(162,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1135.         AddPlayerClass(163,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1136.         AddPlayerClass(164,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1137.         AddPlayerClass(165,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1138.         AddPlayerClass(166,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1139.         AddPlayerClass(167,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1140.         AddPlayerClass(168,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1141.         AddPlayerClass(169,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1142.         AddPlayerClass(170,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1143.         AddPlayerClass(171,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1144.         AddPlayerClass(172,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1145.         AddPlayerClass(173,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1146.         AddPlayerClass(174,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1147.         AddPlayerClass(175,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1148.         AddPlayerClass(176,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1149.         AddPlayerClass(177,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1150.         AddPlayerClass(178,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1151.         AddPlayerClass(179,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1152.         AddPlayerClass(180,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1153.         AddPlayerClass(181,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1154.         AddPlayerClass(182,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1155.         AddPlayerClass(183,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1156.         AddPlayerClass(184,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1157.         AddPlayerClass(185,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1158.         AddPlayerClass(186,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1159.         AddPlayerClass(187,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1160.         AddPlayerClass(188,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1161.         AddPlayerClass(189,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1162.         AddPlayerClass(190,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1163.         AddPlayerClass(191,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1164.         AddPlayerClass(192,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1165.         AddPlayerClass(193,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1166.         AddPlayerClass(194,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1167.         AddPlayerClass(195,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1168.         AddPlayerClass(196,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1169.         AddPlayerClass(197,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1170.         AddPlayerClass(198,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1171.         AddPlayerClass(199,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1172.         AddPlayerClass(200,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1173.         AddPlayerClass(201,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1174.         AddPlayerClass(202,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1175.         AddPlayerClass(203,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1176.         AddPlayerClass(204,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1177.         AddPlayerClass(205,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1178.         AddPlayerClass(206,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1179.         AddPlayerClass(207,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1180.         AddPlayerClass(209,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1181.         AddPlayerClass(210,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1182.         AddPlayerClass(211,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1183.         AddPlayerClass(212,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1184.         AddPlayerClass(213,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1185.         AddPlayerClass(214,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1186.         AddPlayerClass(215,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1187.         AddPlayerClass(216,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1188.         AddPlayerClass(217,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1189.         AddPlayerClass(218,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1190.         AddPlayerClass(219,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1191.         AddPlayerClass(220,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1192.         AddPlayerClass(221,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1193.         AddPlayerClass(222,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1194.         AddPlayerClass(223,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1195.         AddPlayerClass(224,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1196.         AddPlayerClass(225,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1197.         AddPlayerClass(226,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1198.         AddPlayerClass(227,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1199.         AddPlayerClass(228,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1200.         AddPlayerClass(229,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1201.         AddPlayerClass(230,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1202.         AddPlayerClass(231,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1203.         AddPlayerClass(232,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1204.         AddPlayerClass(233,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1205.         AddPlayerClass(234,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1206.         AddPlayerClass(235,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1207.         AddPlayerClass(236,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1208.         AddPlayerClass(237,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1209.         AddPlayerClass(238,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1210.         AddPlayerClass(239,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1211.         AddPlayerClass(240,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1212.         AddPlayerClass(241,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1213.         AddPlayerClass(242,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1214.         AddPlayerClass(243,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1215.         AddPlayerClass(244,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1216.         AddPlayerClass(245,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1217.         AddPlayerClass(246,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1218.         AddPlayerClass(247,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1219.         AddPlayerClass(248,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1220.         AddPlayerClass(249,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1221.         AddPlayerClass(250,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1222.         AddPlayerClass(251,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1223.         AddPlayerClass(253,1958.3783,1343.1572,15.3746,269.1425,0,0,Armas[random(sizeof(Armas))],300,-1,-1);
  1224.  
  1225.     //Carros do nascimento
  1226.         AddStaticVehicle(451,2040.0520,1319.2799,10.3779,183.2439,16,16);
  1227.         AddStaticVehicle(429,2040.5247,1359.2783,10.3516,177.1306,13,13);
  1228.         AddStaticVehicle(421,2110.4102,1398.3672,10.7552,359.5964,13,13);
  1229.         AddStaticVehicle(411,2074.9624,1479.2120,10.3990,359.6861,64,64);
  1230.         AddStaticVehicle(477,2075.6038,1666.9750,10.4252,359.7507,94,94);
  1231.         AddStaticVehicle(541,2119.5845,1938.5969,10.2967,181.9064,22,22);
  1232.         AddStaticVehicle(541,1843.7881,1216.0122,10.4556,270.8793,60,1);
  1233.         AddStaticVehicle(402,1944.1003,1344.7717,8.9411,0.8168,30,30);
  1234.         AddStaticVehicle(402,1679.2278,1316.6287,10.6520,180.4150,90,90);
  1235.         AddStaticVehicle(415,1685.4872,1751.9667,10.5990,268.1183,25,1);
  1236.         AddStaticVehicle(411,2034.5016,1912.5874,11.9048,0.2909,123,1);
  1237.         AddStaticVehicle(411,2172.1682,1988.8643,10.5474,89.9151,116,1);
  1238.         AddStaticVehicle(429,2245.5759,2042.4166,10.5000,270.7350,14,14);
  1239.         AddStaticVehicle(477,2361.1538,1993.9761,10.4260,178.3929,101,1);
  1240.         AddStaticVehicle(550,2221.9946,1998.7787,9.6815,92.6188,53,53);
  1241.         AddStaticVehicle(558,2243.3833,1952.4221,14.9761,359.4796,116,1);
  1242.         AddStaticVehicle(587,2276.7085,1938.7263,31.5046,359.2321,40,1);
  1243.         AddStaticVehicle(587,2602.7769,1853.0667,10.5468,91.4813,43,1);
  1244.         AddStaticVehicle(603,2610.7600,1694.2588,10.6585,89.3303,69,1);
  1245.         AddStaticVehicle(587,2635.2419,1075.7726,10.5472,89.9571,53,1);
  1246.         AddStaticVehicle(437,2577.2354,1038.8063,10.4777,181.7069,35,1);
  1247.         AddStaticVehicle(535,2039.1257,1545.0879,10.3481,359.6690,123,1);
  1248.         AddStaticVehicle(535,2009.8782,2411.7524,10.5828,178.9618,66,1);
  1249.         AddStaticVehicle(429,2010.0841,2489.5510,10.5003,268.7720,1,2);
  1250.         AddStaticVehicle(415,2076.4033,2468.7947,10.5923,359.9186,36,1);
  1251.         AddStaticVehicle(487,2093.2754,2414.9421,74.7556,89.0247,26,57);
  1252.         AddStaticVehicle(506,2352.9026,2577.9768,10.5201,0.4091,7,7);
  1253.         AddStaticVehicle(506,2166.6963,2741.0413,10.5245,89.7816,52,52);
  1254.         AddStaticVehicle(411,1960.9989,2754.9072,10.5473,200.4316,112,1);
  1255.         AddStaticVehicle(429,1919.5863,2760.7595,10.5079,100.0753,2,1);
  1256.         AddStaticVehicle(415,1673.8038,2693.8044,10.5912,359.7903,40,1);
  1257.         AddStaticVehicle(402,1591.0482,2746.3982,10.6519,172.5125,30,30);
  1258.         AddStaticVehicle(603,1580.4537,2838.2886,10.6614,181.4573,75,77);
  1259.         AddStaticVehicle(550,1555.2734,2750.5261,10.6388,91.7773,62,62);
  1260.         AddStaticVehicle(535,1455.9305,2878.5288,10.5837,181.0987,118,1);
  1261.         AddStaticVehicle(477,1537.8425,2578.0525,10.5662,0.0650,121,1);
  1262.         AddStaticVehicle(451,1433.1594,2607.3762,10.3781,88.0013,16,16);
  1263.         AddStaticVehicle(603,2223.5898,1288.1464,10.5104,182.0297,18,1);
  1264.         AddStaticVehicle(558,2451.6707,1207.1179,10.4510,179.8960,24,1);
  1265.         AddStaticVehicle(550,2461.7253,1357.9705,10.6389,180.2927,62,62);
  1266.         AddStaticVehicle(558,2461.8162,1629.2268,10.4496,181.4625,117,1);
  1267.         AddStaticVehicle(477,2395.7554,1658.9591,10.5740,359.7374,0,1);
  1268.         AddStaticVehicle(404,1553.3696,1020.2884,10.5532,270.6825,119,50);
  1269.         AddStaticVehicle(400,1380.8304,1159.1782,10.9128,355.7117,123,1);
  1270.         AddStaticVehicle(418,1383.4630,1035.0420,10.9131,91.2515,117,227);
  1271.         AddStaticVehicle(404,1445.4526,974.2831,10.5534,1.6213,109,100);
  1272.         AddStaticVehicle(400,1704.2365,940.1490,10.9127,91.9048,113,1);
  1273.         AddStaticVehicle(404,1658.5463,1028.5432,10.5533,359.8419,101,101);
  1274.         AddStaticVehicle(581,1677.6628,1040.1930,10.4136,178.7038,58,1);
  1275.         AddStaticVehicle(581,1383.6959,1042.2114,10.4121,85.7269,66,1);
  1276.         AddStaticVehicle(581,1064.2332,1215.4158,10.4157,177.2942,72,1);
  1277.         AddStaticVehicle(581,1111.4536,1788.3893,10.4158,92.4627,72,1);
  1278.         AddStaticVehicle(522,953.2818,1806.1392,8.2188,235.0706,3,8);
  1279.         AddStaticVehicle(522,995.5328,1886.6055,10.5359,90.1048,3,8);
  1280.         AddStaticVehicle(521,993.7083,2267.4133,11.0315,1.5610,75,13);
  1281.         AddStaticVehicle(535,1439.5662,1999.9822,10.5843,0.4194,66,1);
  1282.         AddStaticVehicle(522,1430.2354,1999.0144,10.3896,352.0951,6,25);
  1283.         AddStaticVehicle(522,2156.3540,2188.6572,10.2414,22.6504,6,25);
  1284.         AddStaticVehicle(598,2277.6846,2477.1096,10.5652,180.1090,0,1);
  1285.         AddStaticVehicle(598,2268.9888,2443.1697,10.5662,181.8062,0,1);
  1286.         AddStaticVehicle(598,2256.2891,2458.5110,10.5680,358.7335,0,1);
  1287.         AddStaticVehicle(598,2251.6921,2477.0205,10.5671,179.5244,0,1);
  1288.         AddStaticVehicle(523,2294.7305,2441.2651,10.3860,9.3764,0,0);
  1289.         AddStaticVehicle(523,2290.7268,2441.3323,10.3944,16.4594,0,0);
  1290.         AddStaticVehicle(523,2295.5503,2455.9656,2.8444,272.6913,0,0);
  1291.         AddStaticVehicle(522,2476.7900,2532.2222,21.4416,0.5081,8,82);
  1292.         AddStaticVehicle(522,2580.5320,2267.9595,10.3917,271.2372,8,82);
  1293.         AddStaticVehicle(522,2814.4331,2364.6641,10.3907,89.6752,36,105);
  1294.         AddStaticVehicle(535,2827.4143,2345.6953,10.5768,270.0668,97,1);
  1295.         AddStaticVehicle(521,1670.1089,1297.8322,10.3864,359.4936,87,118);
  1296.         AddStaticVehicle(487,1614.7153,1548.7513,11.2749,347.1516,58,8);
  1297.         AddStaticVehicle(487,1647.7902,1538.9934,11.2433,51.8071,0,8);
  1298.         AddStaticVehicle(487,1608.3851,1630.7268,11.2840,174.5517,58,8);
  1299.         AddStaticVehicle(476,1283.0006,1324.8849,9.5332,275.0468,7,6);
  1300.         AddStaticVehicle(476,1283.5107,1361.3171,9.5382,271.1684,1,6);
  1301.         AddStaticVehicle(476,1283.6847,1386.5137,11.5300,272.1003,89,91);
  1302.         AddStaticVehicle(476,1288.0499,1403.6605,11.5295,243.5028,119,117);
  1303.         AddStaticVehicle(415,1319.1038,1279.1791,10.5931,0.9661,62,1);
  1304.         AddStaticVehicle(521,1710.5763,1805.9275,10.3911,176.5028,92,3);
  1305.         AddStaticVehicle(521,2805.1650,2027.0028,10.3920,357.5978,92,3);
  1306.         AddStaticVehicle(535,2822.3628,2240.3594,10.5812,89.7540,123,1);
  1307.         AddStaticVehicle(521,2876.8013,2326.8418,10.3914,267.8946,115,118);
  1308.         AddStaticVehicle(429,2842.0554,2637.0105,10.5000,182.2949,1,3);
  1309.         AddStaticVehicle(549,2494.4214,2813.9348,10.5172,316.9462,72,39);
  1310.         AddStaticVehicle(549,2327.6484,2787.7327,10.5174,179.5639,75,39);
  1311.         AddStaticVehicle(549,2142.6970,2806.6758,10.5176,89.8970,79,39);
  1312.         AddStaticVehicle(521,2139.7012,2799.2114,10.3917,229.6327,25,118);
  1313.         AddStaticVehicle(521,2104.9446,2658.1331,10.3834,82.2700,36,0);
  1314.         AddStaticVehicle(521,1914.2322,2148.2590,10.3906,267.7297,36,0);
  1315.         AddStaticVehicle(549,1904.7527,2157.4312,10.5175,183.7728,83,36);
  1316.         AddStaticVehicle(549,1532.6139,2258.0173,10.5176,359.1516,84,36);
  1317.         AddStaticVehicle(521,1534.3204,2202.8970,10.3644,4.9108,118,118);
  1318.         AddStaticVehicle(549,1613.1553,2200.2664,10.5176,89.6204,89,35);
  1319.         AddStaticVehicle(400,1552.1292,2341.7854,10.9126,274.0815,101,1);
  1320.         AddStaticVehicle(404,1637.6285,2329.8774,10.5538,89.6408,101,101);
  1321.         AddStaticVehicle(400,1357.4165,2259.7158,10.9126,269.5567,62,1);
  1322.         AddStaticVehicle(411,1281.7458,2571.6719,10.5472,270.6128,106,1);
  1323.         AddStaticVehicle(522,1305.5295,2528.3076,10.3955,88.7249,3,8);
  1324.         AddStaticVehicle(521,993.9020,2159.4194,10.3905,88.8805,74,74);
  1325.         AddStaticVehicle(415,1512.7134,787.6931,10.5921,359.5796,75,1);
  1326.         AddStaticVehicle(522,2299.5872,1469.7910,10.3815,258.4984,3,8);
  1327.         AddStaticVehicle(522,2133.6428,1012.8537,10.3789,87.1290,3,8);
  1328.         //Carros Drop1
  1329.         AddStaticVehicle(411, -314.9246, 1514.3796, 75.0134, 179.6761, 1, 1);
  1330.         AddStaticVehicle(411, -317.9842, 1515.0247, 75.0158, 179.8005, 1, 1);
  1331.         AddStaticVehicle(411, -321.0535, 1514.7354, 75.0162, 179.0083, 1, 1);
  1332.         AddStaticVehicle(411, -324.0871, 1514.9575, 75.0186, 178.9199, 6, 6);
  1333.         AddStaticVehicle(411, -327.2884, 1515.3178, 75.0175, 179.1033, 6, 6);
  1334.         AddStaticVehicle(560, -330.6756, 1515.2672, 75.0177, 178.2458, 146, 146);
  1335.         AddStaticVehicle(560, -333.5965, 1515.306, 75.0164, 179.3804, 0, 0);
  1336.         AddStaticVehicle(560, -336.6707, 1515.5467, 75.0193, 180.3213, 17, 1);
  1337.         AddStaticVehicle(560, -339.7021, 1514.6728, 75.0179, 178.9595, 17, 1);
  1338.         AddStaticVehicle(560, -342.9378, 1515.6173, 75.0177, 180.3818, 2, 2);
  1339.         AddStaticVehicle(560, -345.8682, 1515.577, 75.0193, 178.7752, 2, 2);
  1340.         AddStaticVehicle(560, 3589.8024, -2480.2664, 877.4429, 357.3192, 23, 23);
  1341.         AddStaticVehicle(522, 3592.9921, -2480.3133, 877.4426, 358.208, 23, 23);
  1342.         AddStaticVehicle(522, 3596.2158, -2486.7457, 877.4348, 268.9801, 23, 23);
  1343.         AddStaticVehicle(522, 3586.6499, -2480.3157, 877.444, 359.238, 23, 23);
  1344.         AddStaticVehicle(522, 3583.1875, -2480.212, 877.4425, 1.3697, 23, 23);
  1345.         AddStaticVehicle(522, 3580.1057, -2480.3182, 877.4385, 359.9157, 23, 23);
  1346.         AddStaticVehicle(521, 3576.9816, -2480.2784, 877.4359, 0.6524, 23, 23);
  1347.         AddStaticVehicle(521, 3577.1086, -2491.3182, 877.436, 0.6535, 23, 23);
  1348.         AddStaticVehicle(575, 3573.905, -2480.1761, 877.4362, 0.2384, 23, 23);
  1349.         AddStaticVehicle(575, 3573.9526, -2491.5218, 877.4348, 0.2391, 23, 23);
  1350.         AddStaticVehicle(575, 3570.7973, -2480.3792, 877.4379, 359.9812, 23, 23);
  1351.         AddStaticVehicle(551, 3570.7973, -2491.449, 877.4359, 359.9812, 23, 23);
  1352.         AddStaticVehicle(551, 3567.1938, -2480.2349, 877.4345, 359.4002, 23, 23);
  1353.         AddStaticVehicle(551, 3567.0742, -2491.5506, 877.4357, 359.3996, 23, 23);
  1354.         AddStaticVehicle(551, 3564.0253, -2480.2737, 877.4382, 358.6784, 23, 23);
  1355.         AddStaticVehicle(551, 3563.9614, -2491.2378, 877.4345, 0.3957, 23, 23);
  1356.         AddStaticVehicle(568, 3560.726, -2480.2396, 877.4348, 359.0726, 23, 23);
  1357.         AddStaticVehicle(568, 3560.8854, -2491.5013, 877.4345, 359.8211, 23, 23);
  1358.         AddStaticVehicle(568, 3557.8718, -2480.4732, 877.4354, 0.0031, 23, 23);
  1359.         AddStaticVehicle(568, 3557.8718, -2491.0755, 877.4362, 0.0046, 23, 23);
  1360.         AddStaticVehicle(568, 3554.2775, -2480.45, 877.4345, 0.2364, 23, 23);
  1361.         AddStaticVehicle(568, 3554.3232, -2491.5259, 877.4367, 0.2368, 23, 23);
  1362.         AddStaticVehicle(562, 3551.55, -2480.1641, 877.4345, 0.6837, 23, 23);
  1363.         AddStaticVehicle(562, 3551.6804, -2491.0115, 877.439, 0.6861, 23, 23);
  1364.         AddStaticVehicle(562, 3548.2438, -2480.1839, 877.4362, 0.9079, 23, 23);
  1365.         AddStaticVehicle(562, 3548.4182, -2491.242, 877.4343, 1.4249, 23, 23);
  1366.         AddStaticVehicle(562, 3545.1203, -2480.3597, 877.4348, 358.6169, 23, 23);
  1367.         AddStaticVehicle(562, 3544.85, -2491.5218, 877.4357, 358.6176, 23, 23);
  1368.         AddStaticVehicle(562, 3541.6911, -2480.2081, 877.4354, 359.8532, 23, 23);
  1369.         AddStaticVehicle(562, 3541.6691, -2491.3794, 877.4354, 359.8868, 23, 23);
  1370.         AddStaticVehicle(562, 3538.6655, -2480.2151, 877.4368, 2.094, 23, 23);
  1371.         //Carros Drop2
  1372.     AddStaticVehicle(522, -146.70510864, -2245.66406250, 955.87219238, 274.00000000, -1, -1); //NRG-500
  1373.     AddStaticVehicle(522, -146.61785889, -2242.30883789, 955.87219238, 273.99902344, -1, -1); //NRG-500
  1374.     AddStaticVehicle(522, -146.61347961, -2239.65185547, 955.87219238, 273.99902344, -1, -1); //NRG-500
  1375.     AddStaticVehicle(522, -146.79501343, -2236.44946289, 955.87219238, 273.99902344, -1, -1); //NRG-500
  1376.     AddStaticVehicle(522, -146.83551025, -2233.73681641, 955.87219238, 273.99902344, -1, -1); //NRG-500
  1377.     AddStaticVehicle(522, -146.92294312, -2230.23999023, 955.87219238, 273.99902344, -1, -1); //NRG-500
  1378.     AddStaticVehicle(522, -146.95745850, -2227.71899414, 955.87219238, 273.99902344, -1, -1); //NRG-500
  1379.     AddStaticVehicle(444, -144.66867065, -2250.22534180, 956.21942139, 270.00000000, -1, -1); //Monster
  1380.     AddStaticVehicle(556, -144.52030945, -2223.06567383, 956.21179199, 270.00000000, -1, -1); //Monster A
  1381.     AddStaticVehicle(503, -124.99304962, -2249.46752930, 956.18127441, 0.00000000, -1, -1); //Hotring Racer B
  1382.     AddStaticVehicle(495, -108.69704437, -2251.38476562, 956.77185059, 0.00000000, -1, -1); //Sandking
  1383.     AddStaticVehicle(575, -102.59497070, -2250.83325195, 955.95178223, 0.00000000, -1, -1); //Broadway
  1384.     AddStaticVehicle(535, -96.37574005, -2250.47900391, 956.05181885, 0.00000000, -1, -1); //Slamvan
  1385.     AddStaticVehicle(475, -89.94902039, -2250.53076172, 956.11181641, 0.00000000, -1, -1); //Sabre
  1386.     AddStaticVehicle(545, -83.69339752, -2251.02709961, 956.16180420, 0.00000000, -1, -1); //Hustler
  1387.     AddStaticVehicle(517, -115.36419678, -2222.54882812,956.14746094, 180.00000000, -1, -1); //Majestic
  1388.     AddStaticVehicle(603, -109.06948853, -2222.52197266, 956.21447754, 179.99987793, -1, -1); //Phoenix
  1389.     AddStaticVehicle(562, -102.75476837, -2222.11914062, 955.96533203, 180.00000000, -1, -1); //Elegy
  1390.     AddStaticVehicle(560, -96.21783447, -2222.23193359, 956.01678467, 179.99987793, -1, -1); //Sultan
  1391.     AddStaticVehicle(541, -90.04532623, -2222.59741211, 955.91180420, 180.00000000, -1, -1); //Bullet
  1392.     AddStaticVehicle(506, -83.59248352, -2223.67919922, 956.00390625, 180.00000000, -1, -1); //Super GT
  1393.         //carros drop3
  1394.     AddStaticVehicle(480,-3659.5671,360.4995,1190.8730,252.9441,1,1); //
  1395.     AddStaticVehicle(411,-3647.3914,378.9594,1190.8259,162.6013,79,79); //
  1396.     AddStaticVehicle(411,-3644.3955,378.0206,1190.8259,162.6013,79,79); //
  1397.     AddStaticVehicle(411,-3641.2534,376.6269,1190.8259,162.6014,79,79); //
  1398.     AddStaticVehicle(411,-3638.4531,375.7494,1190.8259,162.6014,79,79); //
  1399.     AddStaticVehicle(411,-3635.2427,374.7435,1190.8259,162.6014,79,79); //
  1400.     AddStaticVehicle(411,-3643.3757,346.5687,1190.8259,340.6745,79,79); //
  1401.     AddStaticVehicle(411,-3646.2961,347.5928,1190.8245,340.6745,79,79); //
  1402.     AddStaticVehicle(411,-3649.2400,348.6253,1190.8373,340.6745,79,79); //
  1403.     AddStaticVehicle(411,-3652.2900,349.6950,1190.8373,340.6745,79,79); //
  1404.     AddStaticVehicle(411,-3655.3184,350.7569,1190.8373,340.6745,79,79); //
  1405.     AddStaticVehicle(411,-3640.4167,345.4688,1190.8259,343.6024,79,79); //
  1406.     AddStaticVehicle(411,-3637.3560,344.5680,1190.8259,343.6024,79,79); //
  1407.     AddStaticVehicle(411,-3628.9043,373.2906,1190.8259,163.6037,79,79); //
  1408.     AddStaticVehicle(411,-3631.9167,374.1770,1190.8259,163.6037,79,79); //
  1409.     AddStaticVehicle(557,-3626.2573,371.2475,1191.4908,165.2414,1,1); //
  1410.     AddStaticVehicle(557,-3622.1406,370.6438,1191.4739,164.7095,1,1); //
  1411.     AddStaticVehicle(557,-3624.5413,342.6245,1191.4912,344.1159,1,1); //
  1412.     AddStaticVehicle(557,-3628.8242,343.8394,1191.4907,344.1160,1,1); //
  1413.     //Carros drop4
  1414.     AddStaticVehicle(541,-195.23579407,-1857.92565918,696.97912598,314.00000000,-1,-1); //Bullet
  1415.     AddStaticVehicle(541,-197.26219177,-1856.00036621,696.97912598,313.99475098,-1,-1); //Bullet
  1416.     AddStaticVehicle(451,-192.04429626,-1846.36730957,697.04345703,134.00000000,-1,-1); //Turismo
  1417.     AddStaticVehicle(451,-189.78625488,-1848.34326172,697.04345703,133.99475098,-1,-1); //Turismo
  1418.     AddStaticVehicle(451,-194.48965454,-1844.22595215,697.04345703,133.99475098,-1,-1); //Turismo
  1419.     AddStaticVehicle(411,-197.54904175,-1828.99230957,697.07910156,312.00000000,-1,-1); //Infernus
  1420.     AddStaticVehicle(411,-195.04403687,-1831.48803711,697.07910156,311.99523926,-1,-1); //Infernus
  1421.     AddStaticVehicle(411,-192.93972778,-1833.68383789,697.07910156,311.99523926,-1,-1); //Infernus
  1422.     AddStaticVehicle(411,-190.63494873,-1836.02978516,697.07910156,311.99523926,-1,-1); //Infernus
  1423.     AddStaticVehicle(415,-198.94592285,-1812.00048828,697.12866211,136.00000000,-1,-1); //Cheetah
  1424.     AddStaticVehicle(415,-196.22027588,-1814.25268555,697.12866211,135.99975586,-1,-1); //Cheetah
  1425.     AddStaticVehicle(415,-194.03276062,-1816.65612793,697.12866211,135.99975586,-1,-1); //Cheetah
  1426.    
  1427.     //Objetos Drop1
  1428. CreateObject(5112, 2060.1408, -2496.6011, 22.2878, 0.0, 336.0, 0.0, 0);
  1429. CreateObject(5112, 2144.8481, -2496.6155, 59.5246, 0.0, 336.0, 0.0, 0);
  1430. CreateObject(5112, 2206.7395, -2496.5621, 93.9942, 0.0, 332.0, 0.0, 0);
  1431. CreateObject(5112, 2279.1574, -2496.6443, 135.4924, 0.0, 330.0, 0.0, 0);
  1432. CreateObject(5112, 2349.6062, -2496.5469, 179.0257, 0.0, 326.0, 0.0, 0);
  1433. CreateObject(5112, 2420.2077, -2496.4476, 229.4819, 0.0, 323.9999, 0.0, 0);
  1434. CreateObject(5112, 2487.7192, -2496.3431, 277.8407, 0.0, 322.0, 0.0, 0);
  1435. CreateObject(5112, 2552.7807, -2496.2334, 327.69, 0.0, 322.0, 0.0, 0);
  1436. CreateObject(5112, 2621.1694, -2496.17, 379.3345, 0.0, 324.0, 0.0, 0);
  1437. CreateObject(5112, 2689.7807, -2496.1111, 427.3054, 0.0, 326.0, 0.0, 0);
  1438. CreateObject(5112, 2756.4809, -2496.0054, 470.7039, 0.0, 328.0, 0.0, 0);
  1439. CreateObject(5112, 2832.5791, -2495.8687, 516.6038, 0.0, 330.0, 0.0, 0);
  1440. CreateObject(5112, 2908.7175, -2495.7054, 559.0381, 0.0, 332.0, 0.0, 0);
  1441. CreateObject(5112, 2982.9902, -2495.6031, 597.5758, 0.0, 332.0, 0.0, 0);
  1442. CreateObject(5112, 3063.8994, -2495.7747, 639.0684, 0.0, 334.0, 0.0, 0);
  1443. CreateObject(5112, 3140.634, -2495.6976, 675.2153, 0.0, 332.0, 0.0, 0);
  1444. CreateObject(5112, 3218.2478, -2495.5987, 715.2767, 0.0, 332.0, 0.0, 0);
  1445. CreateObject(5112, 3296.1496, -2495.6353, 755.3308, 0.0, 332.0, 0.0, 0);
  1446. CreateObject(5112, 3373.749, -2495.7623, 795.3253, 0.0, 332.0, 0.0, 0);
  1447. CreateObject(5112, 3452.4382, -2495.6622, 836.079, 0.0, 332.0, 0.0, 0);
  1448. CreateObject(8040, 3559.6301, -2495.4129, 877.542, 0.0, 0.0, 180.0, 0);
  1449. CreateObject(1633, 3523.4255, -2500.9168, 878.0843, 0.0, 0.0, 88.0, 0);
  1450. CreateObject(1633, 3523.6826, -2496.9166, 878.0843, 0.0, 0.0, 87.9949, 0);
  1451. CreateObject(1633, 3523.9404, -2492.9166, 878.0843, 0.0, 0.0, 87.9949, 0);
  1452. CreateObject(1633, 3524.1982, -2488.9166, 878.0843, 0.0, 0.0, 87.9949, 0);
  1453. CreateObject(3434, 3597.2595, -2497.6395, 897.5001, 0.0, 0.0, 272.0, 0);
  1454. CreateObject(629, 3523.9431, -2511.3138, 876.7764, 0.0, 0.0, 0.0, 0);
  1455. CreateObject(629, 3523.3352, -2478.3721, 876.7764, 0.0, 0.0, 0.0, 0);
  1456. CreateObject(716, 3597.906, -2479.2364, 876.7764, 0.0, 0.0, 0.0, 0);
  1457. CreateObject(716, 3597.5087, -2512.5342, 876.7764, 0.0, 0.0, 0.0, 0);
  1458. //Drop2
  1459. CreateObject(8040,-111.10223389,-2236.84521484,955.97741699,0.00000000,0.00000000,0.00000000); //object(airprtcrprk02_lvs) (1)
  1460. CreateObject(1634,-74.88383484,-2231.68579102,956.51672363,0.00000000,0.00000000,270.00000000); //object(landjump2) (1)
  1461. CreateObject(1634,-74.87059021,-2235.72729492,956.51672363,0.00000000,0.00000000,270.00000000); //object(landjump2) (2)
  1462. CreateObject(1634,-74.84634399,-2239.81982422,956.51672363,0.00000000,0.00000000,270.00000000); //object(landjump2) (3)
  1463. CreateObject(1634,-74.81948853,-2243.93823242,956.50909424,0.00000000,0.00000000,270.00000000); //object(landjump2) (4)
  1464. CreateObject(5013,-37.98025131,-2235.75317383,941.72192383,340.00000000,0.00000000,272.00000000); //object(laroakt1_30_las) (1)
  1465. CreateObject(5013,22.87360382,-2233.69970703,919.63360596,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (3)
  1466. CreateObject(5013,94.72621918,-2231.27539062,893.21520996,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (4)
  1467. CreateObject(5013,166.31321716,-2228.80395508,867.32574463,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (5)
  1468. CreateObject(5013,237.61773682,-2226.46557617,841.65197754,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (6)
  1469. CreateObject(5013,310.27957153,-2223.95800781,815.31420898,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (7)
  1470. CreateObject(5013,378.13937378,-2221.51757812,790.75817871,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (8)
  1471. CreateObject(5013,450.17538452,-2218.92236328,764.61828613,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (9)
  1472. CreateObject(5013,517.35028076,-2216.51391602,740.30584717,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (10)
  1473. CreateObject(5013,587.89465332,-2214.03881836,714.67834473,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (11)
  1474. CreateObject(5013,660.70373535,-2211.38867188,688.29663086,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (12)
  1475. CreateObject(5013,729.46228027,-2208.96142578,663.40087891,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (13)
  1476. CreateObject(5013,801.37438965,-2206.49072266,637.31030273,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (14)
  1477. CreateObject(5013,863.41125488,-2204.29663086,614.80029297,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (16)
  1478. CreateObject(5013,931.21630859,-2201.76513672,590.16204834,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (17)
  1479. CreateObject(5013,1003.42498779,-2199.36889648,563.93963623,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (18)
  1480. CreateObject(5013,1071.51928711,-2196.94873047,539.30987549,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (19)
  1481. CreateObject(5013,1141.70349121,-2194.64257812,514.07330322,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (20)
  1482. CreateObject(5013,1214.53601074,-2192.20996094,487.65475464,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (21)
  1483. CreateObject(5013,1286.72363281,-2189.71411133,461.50158691,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (22)
  1484. CreateObject(5013,1359.62036133,-2187.43212891,435.06814575,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (23)
  1485. CreateObject(5013,1427.66870117,-2185.05590820,410.27697754,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (24)
  1486. CreateObject(5013,1498.12268066,-2182.57299805,384.69189453,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (25)
  1487. CreateObject(5013,1571.93627930,-2180.04418945,357.87243652,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (26)
  1488. CreateObject(5013,1639.16406250,-2177.72412109,333.46734619,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (27)
  1489. CreateObject(5013,1711.69604492,-2175.15649414,307.24963379,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (28)
  1490. CreateObject(5013,1784.29748535,-2172.45532227,280.89013672,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (29)
  1491. CreateObject(5013,1853.26782227,-2170.18115234,256.00479126,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (30)
  1492. CreateObject(5013,1921.97277832,-2167.69262695,231.27865601,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (32)
  1493. CreateObject(5013,1987.49133301,-2165.50927734,207.54809570,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (33)
  1494. CreateObject(5013,2053.59692383,-2163.18383789,183.62454224,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (34)
  1495. CreateObject(5013,2124.40112305,-2160.84716797,157.98760986,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (35)
  1496. CreateObject(5013,2198.58740234,-2158.22973633,131.31100464,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (36)
  1497. CreateObject(5013,2263.93237305,-2156.22387695,107.63933563,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (37)
  1498. CreateObject(5013,2335.41113281,-2153.82299805,81.70095825,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (38)
  1499. CreateObject(5013,2401.73608398,-2151.39257812,57.69185638,339.99938965,0.00000000,271.99951172); //object(laroakt1_30_las) (39)
  1500. CreateObject(1634,2439.29931641,-2142.70727539,45.33871460,0.00000000,0.00000000,272.00000000); //object(landjump2) (5)
  1501. CreateObject(1634,2439.56323242,-2146.65576172,45.35189819,0.00000000,0.00000000,271.99951172); //object(landjump2) (6)
  1502. CreateObject(1634,2439.76977539,-2150.81152344,45.33175278,0.00000000,0.00000000,271.99951172); //object(landjump2) (7)
  1503. CreateObject(1634,2439.91528320,-2154.89746094,45.33091736,0.00000000,0.00000000,271.99951172); //object(landjump2) (8)
  1504. CreateObject(1634,2439.76098633,-2158.16479492,45.30634308,0.00000000,0.00000000,271.99951172); //object(landjump2) (9)
  1505. CreateObject(1633,2442.45288086,-2142.54174805,49.23334503,38.00000000,0.00000000,274.00000000); //object(landjump) (1)
  1506. CreateObject(1633,2442.70214844,-2146.62695312,49.23512268,37.99621582,0.00000000,273.99902344); //object(landjump) (2)
  1507. CreateObject(1633,2442.95092773,-2150.77807617,49.23992157,37.99621582,0.00000000,273.99902344); //object(landjump) (3)
  1508. CreateObject(1633,2443.11254883,-2155.05004883,49.24450684,37.99621582,0.00000000,273.99902344); //object(landjump) (4)
  1509. CreateObject(1633,2443.31738281,-2157.91210938,49.19320679,37.99621582,0.00000000,273.99902344); //object(landjump) (5)
  1510. CreateObject(1633,2444.22534180,-2142.27490234,53.47476959,51.99621582,0.00000000,273.99902344); //object(landjump) (6)
  1511. CreateObject(1633,2444.46337891,-2146.40869141,53.45619202,51.99279785,0.00000000,273.99353027); //object(landjump) (7)
  1512. CreateObject(1633,2444.67919922,-2150.59912109,53.41245270,51.99279785,0.00000000,273.99353027); //object(landjump) (8)
  1513. CreateObject(1633,2444.86914062,-2154.81909180,53.46039581,51.99279785,0.00000000,273.99353027); //object(landjump) (9)
  1514. CreateObject(1633,2445.13525391,-2158.57080078,53.40772247,51.99279785,0.00000000,273.99353027); //object(landjump) (10)
  1515. CreateObject(1633,-24.54430580,-2235.47631836,937.96508789,0.00000000,0.00000000,272.00000000); //object(landjump) (11)
  1516. CreateObject(1633,234.88085938,-2219.36376953,843.85766602,0.00000000,0.00000000,271.99951172); //object(landjump) (12)
  1517. CreateObject(1633,484.61801147,-2225.25244141,753.62384033,0.00000000,0.00000000,271.99951172); //object(landjump) (13)
  1518. CreateObject(1633,826.53350830,-2198.63867188,629.44335938,0.00000000,0.00000000,271.99951172); //object(landjump) (14)
  1519. CreateObject(1633,1224.14843750,-2191.84521484,485.28744507,0.00000000,0.00000000,271.99951172); //object(landjump) (15)
  1520. CreateObject(1633,1642.51147461,-2185.10302734,333.64370728,0.00000000,0.00000000,271.99951172); //object(landjump) (16)
  1521. CreateObject(1633,1929.10583496,-2160.93408203,229.89843750,0.00000000,0.00000000,271.99951172); //object(landjump) (17)
  1522. CreateObject(1633,2313.89208984,-2154.41284180,90.66190338,0.00000000,0.00000000,271.99951172); //object(landjump) (18)
  1523. //Drop3
  1524. CreateObject(8040, -3622.7607421875, 355.98828125, 1190.8645019531, 0, 0, 343.99291992188);
  1525. CreateObject(1655, -2611.2685546875, 22.253341674805, 35.610202789307, 350.00451660156, 357.96850585938, 240.89471435547);
  1526. CreateObject(8356, -3516.0732421875, 325.2783203125, 1135.0153808594, 323.99230957031, 0, 253.99841308594);
  1527. CreateObject(8356, -3380.8798828125, 283.822265625, 1020.1749267578, 41.995239257813, 0, 71.998901367188);
  1528. CreateObject(8356, -3256.2744140625, 243.2099609375, 888.46759033203, 47.999267578125, 0, 71.998901367188);
  1529. CreateObject(8356, -3170.00390625, 212.39292907715, 732.78826904297, 70, 0, 68);
  1530. CreateObject(8356, -3114.8962402344, 190.17175292969, 559.77923583984, 72, 0, 68);
  1531. CreateObject(8356, -3050.787109375, 164.349609375, 387.62921142578, 63.995361328125, 0, 67.999877929688);
  1532. CreateObject(8356, -2956.6684570313, 128.77514648438, 236.76397705078, 48, 0, 70);
  1533. CreateObject(8356, -2830.357421875, 85.0810546875, 120.67181396484, 31.997680664063, 0, 71.998901367188);
  1534. CreateObject(8356, -2669.9931640625, 29.484375, 48.70964050293, 345.99792480469, 0, 249.99938964844);
  1535. CreateObject(1655, -2615.4436035156, 14.686187744141, 35.789752960205, 350.00244140625, 357.96752929688, 240.89172363281);
  1536. CreateObject(1655, -2619.7055664063, 7.3380699157715, 36.045375823975, 350.00244140625, 357.96752929688, 240.89172363281);
  1537. CreateObject(1655, -2623.6799316406, -0.11337693035603, 36.423069000244, 350.00244140625, 357.96752929688, 240.89172363281);
  1538. CreateObject(1655, -2604.6916503906, 18.72599029541, 39.317882537842, 18, 0, 240);
  1539. CreateObject(1655, -2613.1572265625, 3.5400390625, 39.364280700684, 17.99560546875, 0, 239.99084472656);
  1540. CreateObject(1655, -2608.8840332031, 11.084184646606, 39.415729522705, 17.99560546875, 0, 241.99633789063);
  1541. CreateObject(1655, -2617.125, -4.0094347000122, 39.713710784912, 17.99560546875, 0, 239.99633789063);
  1542. CreateObject(14553, -3460.458984375, 368.0888671875, 1161.3076171875, 3.9990234375, 0, 35.996704101563);
  1543. CreateObject(3524, -3610.3005371094, 352.82434082031, 1192.4682617188, 0, 0, 264);
  1544. CreateObject(3524, -3599.2014160156, 330.08065795898, 1194.0186767578, 0, 0, 179.99243164063);
  1545. CreateObject(3524, -3624.6237792969, 357.08963012695, 1192.8901367188, 0, 0, 263.99731445313);
  1546. CreateObject(3524, -3583.1057128906, 354.56008911133, 1196.0346679688, 77.991943359375, 0, 275.98425292969);
  1547. CreateObject(3524, -3654.3857421875, 382.6826171875, 1197.1618652344, 67.999877929688, 0, 51.992797851563);
  1548. CreateObject(3524, -3660.8640136719, 360.55996704102, 1196.9682617188, 58.950347900391, 332.02795410156, 116.45977783203);
  1549. CreateObject(3524, -3635.9663085938, 360.40936279297, 1192.8901367188, 0, 0, 245.99487304688);
  1550. CreateObject(3524, -3656.4814453125, 369.62145996094, 1196.9682617188, 72, 0, 95.993041992188);
  1551. CreateObject(3524, -3663.1003417969, 350.72015380859, 1196.7258300781, 76, 0, 89.993041992188);
  1552. CreateObject(3524, -3622.9753417969, 373.77020263672, 1196.9682617188, 48, 0, 343.99304199219);
  1553. CreateObject(3524, -3597.8359375, 367.14779663086, 1196.4682617188, 46, 0, 349.99304199219);
  1554. CreateObject(3524, -3646.2097167969, 379.51348876953, 1196.2182617188, 72, 0, 349.99304199219);
  1555. CreateObject(3524, -3638.0161132813, 341.19952392578, 1193.4678955078, 0, 0, 175.99169921875);
  1556. CreateObject(3524, -3619.0080566406, 335.96621704102, 1193.9084472656, 0, 0, 179.98828125);
  1557. CreateObject(3524, -3655.70703125, 346.24664306641, 1193.7258300781, 0, 0, 131.98974609375);
  1558. CreateObject(3524, -3634.6577148438, 377.41592407227, 1196.4682617188, 36, 0, 349.99304199219);
  1559. CreateObject(3524, -3586.4326171875, 363.283203125, 1197.3995361328, 45.999755859375, 0, 335.98937988281);
  1560. CreateObject(3528, -3658.78125, 367.3935546875, 1194.9132080078, 0, 0, 345.99792480469);
  1561. CreateObject(3528, -3583.02734375, 358.6845703125, 1192.9720458984, 0, 0, 157.99987792969);
  1562. CreateObject(7392, -3589.1201171875, 329.9951171875, 1199.5529785156, 0, 0, 343.99841308594);
  1563. CreateObject(1225, -3456.4050292969, 290.01159667969, 1086.9012451172, 0, 38, 340);
  1564. CreateObject(1225, 141.88735961914, 71.619247436523, 464.50140380859, 0, 0, 0);
  1565. CreateObject(1225, -3446.8356933594, 323.73599243164, 1087.0196533203, 3.7083129882813, 22.048583984375, 358.49948120117);
  1566. CreateObject(1225, -3136.0559082031, 217.08734130859, 653.02282714844, 0, 66, 344);
  1567. CreateObject(1225, -3148.3989257813, 187.66516113281, 653.5048828125, 0, 66, 338);
  1568. CreateObject(1225, -2883.755859375, 122.23173522949, 159.95425415039, 0, 32, 348);
  1569. CreateObject(1225, -2893.3784179688, 86.449981689453, 158.7735748291, 0, 24, 343.99996948242);
  1570. CreateObject(1225, -2670.00390625, 11.1474609375, 47.617069244385, 1.9775390625, 8.0035400390625, 359.71984863281);
  1571. CreateObject(1225, -2665.5095214844, 44.527965545654, 49.308933258057, 3.9391479492188, 10.02392578125, 357.30432128906);
  1572. CreateObject(3528, -2605.7255859375, 26.4560546875, 48.758651733398, 0, 0, 187.998046875);
  1573. CreateObject(3528, -2622.6240234375, -14.66796875, 47.337818145752, 0, 0, 129.99572753906);
  1574. CreateObject(6986, -2620.8193359375, -15.470703125, 61.373710632324, 0, 0, 315.99975585938);
  1575. CreateObject(7313, -3583.521484375, 350.390625, 1195.5988769531, 0, 0, 251.99890136719);
  1576. CreateObject(2660, -3662.52734375, 359.798828125, 1190.6441650391, 0, 0, 0);
  1577. CreateObject(4003, -3611.3312988281, 369.38143920898, 1197.1857910156, 0, 0, 164);
  1578. CreateObject(3434, -3658.8994140625, 367.50323486328, 1200.4406738281, 0, 0, 72);
  1579. CreateObject(3092, -3590.2907714844, 330.57592773438, 1190.3208007813, 85.999969482422, 180, 180);
  1580. //drop4
  1581. CreateObject(18450,-875.74468994,-1132.23352051,100.54533386,0.00000000,353.75000000,313.75000000); //object(cs_roadbridge04) (8)
  1582. CreateObject(18450,-1256.21618652,-741.05902100,66.16569519,0.00000000,5.49877930,313.74755859); //object(cs_roadbridge04) (9)
  1583. CreateObject(18450,-831.56054688,-1178.43164062,109.00836945,0.00000000,351.24389648,313.74206543); //object(cs_roadbridge04) (10)
  1584. CreateObject(18450,-798.95855713,-1212.46936035,121.46759033,0.00000000,345.24731445,313.99206543); //object(cs_roadbridge04) (11)
  1585. CreateObject(18450,-786.66522217,-1225.20715332,127.59558105,0.00000000,340.74536133,313.98925781); //object(cs_roadbridge04) (12)
  1586. CreateObject(18450,-753.79705811,-1259.23535156,145.01322937,0.00000000,339.49096680,313.98925781); //object(cs_roadbridge04) (14)
  1587. CreateObject(18450,-717.11895752,-1297.15234375,165.58312988,0.00000000,337.98852539,313.98925781); //object(cs_roadbridge04) (15)
  1588. CreateObject(18450,-693.29913330,-1321.79528809,181.22387695,0.00000000,335.48339844,313.98925781); //object(cs_roadbridge04) (16)
  1589. CreateObject(18450,-648.72326660,-1367.95190430,211.85722351,0.00000000,333.47851562,313.98925781); //object(cs_roadbridge04) (17)
  1590. CreateObject(18450,-619.97998047,-1397.75048828,233.50402832,0.00000000,331.22351074,313.98925781); //object(cs_roadbridge04) (18)
  1591. CreateObject(18450,-601.08056641,-1417.38146973,249.36795044,0.00000000,329.47131348,313.98925781); //object(cs_roadbridge04) (19)
  1592. CreateObject(18450,-560.19213867,-1459.74060059,286.07305908,0.00000000,326.71899414,313.98925781); //object(cs_roadbridge04) (20)
  1593. CreateObject(18450,-534.64801025,-1486.22839355,311.22851562,0.00000000,324.21691895,313.98925781); //object(cs_roadbridge04) (21)
  1594. CreateObject(18450,-505.62243652,-1516.32385254,342.46905518,0.00000000,321.96203613,313.98925781); //object(cs_roadbridge04) (22)
  1595. CreateObject(18450,-480.47659302,-1542.33459473,372.16613770,0.00000000,319.70983887,313.98925781); //object(cs_roadbridge04) (23)
  1596. CreateObject(18450,-318.84771729,-1709.74060059,570.13092041,0.00000000,319.70764160,313.98925781); //object(cs_roadbridge04) (24)
  1597. CreateObject(18450,-439.37597656,-1584.89648438,422.42089844,0.00000000,319.70764160,313.98925781); //object(cs_roadbridge04) (25)
  1598. CreateObject(18450,-398.81738281,-1626.89453125,471.96713257,0.00000000,319.70764160,313.98925781); //object(cs_roadbridge04) (26)
  1599. CreateObject(18450,-359.26953125,-1667.84472656,520.53405762,0.00000000,319.70764160,313.98925781); //object(cs_roadbridge04) (27)
  1600. CreateObject(18450,-236.98713684,-1794.48913574,670.12005615,0.00000000,319.70764160,313.98925781); //object(cs_roadbridge04) (28)
  1601. CreateObject(18450,-278.21484375,-1751.80078125,619.78405762,0.00000000,319.70764160,313.98925781); //object(cs_roadbridge04) (29)
  1602. CreateObject(8040,-187.81295776,-1844.58691406,697.04473877,0.00000000,0.00000000,134.00000000); //object(airprtcrprk02_lvs) (1)
  1603. CreateObject(3513,-1224.98498535,-760.96185303,67.09194183,0.00000000,0.00000000,224.00000000); //object(vgs_roadsign1) (1)
  1604. CreateObject(1262,-214.78048706,-1816.82897949,703.00842285,0.00000000,0.00000000,225.99996948); //object(mtraffic4) (1)
  1605. CreateObject(1231,-224.19244385,-1828.38549805,699.00952148,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (1)
  1606. CreateObject(1231,-202.80722046,-1806.51306152,699.00952148,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (2)
  1607. CreateObject(3513,-208.67871094,-1810.60156250,700.47894287,0.00000000,0.00000000,223.99475098); //object(vgs_roadsign1) (2)
  1608. CreateObject(979,-1230.72851562,-778.90106201,63.97156906,0.00000000,0.00000000,324.75000000); //object(sub_roadleft) (1)
  1609. CreateObject(979,-1219.70361328,-768.01867676,63.73890686,0.00000000,0.00000000,121.24490356); //object(sub_roadleft) (2)
  1610. CreateObject(18450,-823.05371094,-1187.36132812,112.50070953,0.00000000,348.49731445,313.74206543); //object(cs_roadbridge04) (30)
  1611. CreateObject(1632,-1286.12548828,-716.71813965,71.32459259,6.00000000,0.00000000,44.00000000); //object(waterjump1) (2)
  1612. CreateObject(1632,-1283.25048828,-713.96984863,71.32459259,5.99853516,0.00000000,43.99475098); //object(waterjump1) (3)
  1613. CreateObject(1632,-1280.44580078,-711.21868896,71.32459259,5.99853516,0.00000000,43.99475098); //object(waterjump1) (4)
  1614. CreateObject(1632,-1278.83203125,-709.68420410,71.32459259,5.99853516,0.00000000,43.99475098); //object(waterjump1) (5)
  1615. CreateObject(7916,-1222.15539551,-777.87463379,66.74115753,0.00000000,0.00000000,34.00000000); //object(vegaswaterfall02) (1)
  1616.    
  1617.         return 1;
  1618. }
  1619.  
  1620. public BrunoChatLimpo(playerid, linhas)
  1621. {
  1622.         if (IsPlayerConnected(playerid))
  1623.         {
  1624.                 for(new i=0; i<linhas; i++)
  1625.                 {
  1626.                         SendClientMessage(playerid, COR_BRANCO, " ");
  1627.                 }
  1628.         }
  1629.         return 1;
  1630. }
  1631. public BrunoHora()
  1632. {
  1633. new mtext[20];
  1634. new year, month,day;
  1635. getdate(year, month, day);
  1636. if(month == 1) { mtext = "Janeiro"; }
  1637. else if(month == 2) { mtext = "Fevereiro"; }
  1638. else if(month == 3) { mtext = "Marco"; }
  1639. else if(month == 4) { mtext = "Abril"; }
  1640. else if(month == 5) { mtext = "Maio"; }
  1641. else if(month == 6) { mtext = "Junho"; }
  1642. else if(month == 7) { mtext = "Julho"; }
  1643. else if(month == 8) { mtext = "Agosto"; }
  1644. else if(month == 9) { mtext = "Setembro"; }
  1645. else if(month == 10) { mtext = "Outubro"; }
  1646. else if(month == 11) { mtext = "Novembro"; }
  1647. else if(month == 12) { mtext = "Dezembro"; }
  1648. new
  1649.                 string[256],
  1650.                 horas,
  1651.                 minutos,
  1652.                 segundos;
  1653.         gettime(horas, minutos, segundos);
  1654.         format(string, sizeof string, "   %d de %s", day, mtext);
  1655.         TextDrawSetString(BrunoHora1, string);
  1656.         format(string, sizeof string, "%d:%d:%d",horas,minutos,segundos);
  1657.         TextDrawSetString(BrunoHora2, string);
  1658. }
  1659.  
  1660. public GetHealthAndVerify()
  1661. {
  1662.         for(new i = 0; i < MAX_PLAYERS; i++)
  1663.     {
  1664.         GetPlayerHealth(i,ss[i]);
  1665.         GetPlayerArmour(i,ss2[i]);
  1666.         hp_new[i] = ss[i]+ss2[i];
  1667.         hp_counter[i] = hp_old[i] - hp_new[i];
  1668.         if(hp_counter[i] >= 41 && hp_counter[i] <= 42)
  1669.         {
  1670.                 if(ss2[i] > 0 && ss[i] == 100)
  1671.                 {
  1672.                         SetPlayerArmour(i,0);
  1673.                         SetPlayerHealth(i,armour_old[i]);
  1674.                 }
  1675.                 if(ss2[i] > 0 && ss[i] != 100)
  1676.             {
  1677.                 SetPlayerArmour(i,0);
  1678.                 SetPlayerHealth(i,(ss[i]-(100-armour_old[i])));
  1679.             }
  1680.             if(ss2[i] == 0) SetPlayerHealth(i,0);
  1681.         }
  1682.         hp_old[i] = hp_new[i];
  1683.         GetPlayerArmour(i,armour_old[i]);
  1684.      }
  1685. }
  1686.  
  1687. PutRiotShieldOnArm(playerid)
  1688. {
  1689.             if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
  1690.                 SetPlayerAttachedObject(playerid, 1, 18637, 4, 0.3, 0, 0, 0, 170, 270, 1, 1, 1);
  1691. }
  1692.  
  1693. GiveFlashLight(playerid)
  1694. {
  1695.             if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
  1696.                 SetPlayerAttachedObject(playerid, 2,18641, 5, 0.1, 0.02, -0.05, 0, 0, 0, 1, 1, 1);
  1697. }
  1698.  
  1699. GiveTazer(playerid)
  1700. {
  1701.             if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
  1702.                 SetPlayerAttachedObject(playerid, 2,18642, 5, 0.12, 0.02, -0.05, 0, 0, 45,1,1,1);
  1703.  
  1704. }
  1705.  
  1706. strtok(const string[], &index)
  1707. {
  1708.         new length = strlen(string);
  1709.         while ((index < length) && (string[index] <= ' '))
  1710.         {
  1711.                 index++;
  1712.         }
  1713.  
  1714.         new offset = index;
  1715.         new result[20];
  1716.         while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
  1717.         {
  1718.                 result[index - offset] = string[index];
  1719.                 index++;
  1720.         }
  1721.         result[index - offset] = EOS;
  1722.         return result;
  1723. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top