Advertisement
WhooProg

Registro & Administração by Whoo ForumSamp

Feb 15th, 2016
7,038
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 99.39 KB | None | 0 0
  1. /*-----------------------------------------------------------------------------
  2. |                                                                              |
  3. |                   • Registro & Administração MySQL.                          |
  4. |                       - by Whoo.                                             |
  5. |                                                                              |
  6. |                   • Servidor Utilizando                                      |
  7. |                       - Plugin MySql R39 by BlueG                            |
  8. |                       - sscanf2   by Y_Less                                  |
  9. |                       - zcmd by Zeex                                         |
  10. |                                                                              |
  11. -------------------------------------------------------------------------------
  12. --------------------------------------------------------------------------------
  13. --------------------------------------------------------------------------------
  14. » INCLUES » INCLUES » INCLUES » INCLUES » INCLUES » INCLUES » INCLUES » INCLUES
  15. -------------------------------------------------------------------------------*/
  16. #include                    <       a_samp      >
  17. #include                    <       sscanf2     >
  18. #include                    <       zcmd        >
  19. #include                    <       a_mysql     >
  20. /*------------------------------------------------------------------------------
  21. » DIALOGS » DIALOGS » DIALOGS » DIALOGS » DIALOGS » DIALOGS » DIALOGS » DIALOGS
  22. -------------------------------------------------------------------------------*/
  23. #define                     d_registro                          ( 1 )
  24. #define                     d_login                             ( 2 )
  25. #define                     d_registro_aviso                    ( 3 )
  26. #define                     d_admins_on                         ( 4 )
  27. /*------------------------------------------------------------------------------
  28. » SEXO_PLAYER » SEXO_PLAYER » SEXO_PLAYER » SEXO_PLAYER » SEXO_PLAYER » SEXO_PLA
  29. -------------------------------------------------------------------------------*/
  30. #define                     p_masculino                          ( 1 )
  31. #define                     p_feminino                           ( 2 )
  32. #define                     s_masculino                         ( 240 )
  33. #define                     s_feminino                          ( 216 )
  34. /*------------------------------------------------------------------------------
  35. # CONEXÃO_MYSQL            # CONEXÃO_MYSQL                  # CONEXÃO_MYSQL
  36. ------------------------------------------------------------------------------*/
  37. #define                 HOST                            "localhost"
  38. #define                 USER                            "user"
  39. #define                 DATABASE                        "database"
  40. #define                 PASSWORD                        "password"
  41.  
  42. #define                 MAX_PLAYER_PASSWORD             (16)
  43. /*------------------------------------------------------------------------------
  44. » CORES _ MSG » CORES _ MSG » CORES _ MSG » CORES _ MSG » CORES _ MSG » CORES _
  45. -------------------------------------------------------------------------------*/
  46. #define                     mensagem                        SendClientMessage
  47. #define                     mensagem_all                    SendClientMessageToAll
  48.  
  49. #define                     c_branco_hex                        "{F8F8FF}"
  50. #define                     c_vermelho_hex                      "{EE3B3B}"
  51. #define                     c_azul_hex                          "{6495ED}"
  52. #define                     c_rosa_hex                          "{FAA2FA}"
  53. #define                     c_cinza_hex                         "{696969}"
  54. #define                     c_azul_claro_hex                    "{AFEEEE}"
  55. #define                     c_cinza_claro_hex                   "{BEBEBE}"
  56.  
  57.  
  58. new mysql_c;
  59. enum player_dados
  60. {
  61.     ORM:ORMID,
  62.     id,
  63.     nome[24],
  64.     senha[16],
  65.     skin,
  66.     dinheiro,
  67.     level,
  68.     sexo,
  69.     admin,
  70.     emprego
  71. };
  72.  
  73.  
  74.  
  75. new
  76.     s_dialog[256],
  77.     erro_senha[MAX_PLAYERS],
  78.     DATA_INFO[MAX_PLAYERS][player_dados],
  79.     bool:ContaExiste[MAX_PLAYERS]
  80. ;
  81.  
  82.  
  83. new
  84.     Text:wTuning[15],
  85.     Text:wWheels[9],
  86.     Text:wColor[9],
  87.     Text:wPaintJob[3],
  88.     Text:wNitro[3],
  89.     Text:wNeon[6],
  90.     Text:registro_draw[28],
  91.     Text:sexo_draw[15],
  92.     Text:Relogio[2]
  93. ;
  94.  
  95. new
  96.      bool:wTuningDraw[MAX_PLAYERS],
  97.      bool:AtivarCarGod[MAX_PLAYERS],
  98.      bool:p_Logado[MAX_PLAYERS],
  99.      bool:Turbo[MAX_PLAYERS]
  100. ;
  101.  
  102. new
  103.  
  104.     NEON_P[MAX_VEHICLES],
  105.     NEON_S[MAX_VEHICLES]
  106. ;
  107.  
  108.  
  109.  
  110. new
  111.     dp_veiculos[18],
  112.     dp_portao
  113. ;
  114.  
  115. new
  116.     a_cmd[256]
  117. ;
  118.  
  119. main()
  120. {
  121.     print("-------------------------------------");
  122.     print("     GM CARREGADO COM SUCESSO.       ");
  123.     print("     V1.0 By Whoo Forum Samp         ");
  124.     print("-------------------------------------");
  125.  
  126. }
  127.  
  128. public OnGameModeInit()
  129. {
  130.  
  131.  
  132.     mysql_c = mysql_connect(HOST, USER, DATABASE, PASSWORD);
  133.    
  134.     /*
  135.  
  136.     não é recomendável criar uma tabela utilizando script no gamemode ja que sera criada uma vez só
  137.  
  138.     CREATE TABLE IF NOT EXISTS `contasp`
  139.    (`id` int(11) NOT NULL AUTO_INCREMENT,
  140.    `nome` varchar(255) NOT NULL,
  141.    `senha` varchar(255) NOT NULL,
  142.     `skin` int(11) NOT NULL,
  143.    `dinheiro` int(11) NOT NULL,
  144.     `level` int(11) NOT NULL,
  145.     `sexo` int(11) NOT NULL,
  146.    `admin` int(11) NOT NULL,
  147.    `emprego` int(11) NOT NULL,
  148.     PRIMARY KEY (`id`))
  149.    
  150.  
  151.     */ 
  152.  
  153.     printf("%s", mysql_errno(mysql_c) == 0 ? ("Conectado ao banco de dados") : ("Falha ao conectar ao banco de dados"));
  154.  
  155.  
  156.     SetGameModeText("RPG - AHS");
  157.  
  158.     tempo_real();
  159.     SetTimer("tempo_real", 120000, true);
  160.  
  161.     dp_portao = CreateObject(980, 1548.65955, -1627.60107, 15.04578,   0.00000, 0.00000, 269.97717);
  162.     CreateObject(3749, 1549.32837, -1627.57788, 17.36279,   0.00000, 0.00000, 270.08295);
  163.     dp_veiculos[0] = AddStaticVehicleEx(596, 1535.6932, -1676.3667, 13.0518, 359.7990, -1, -1, 100);
  164.     dp_veiculos[1] = AddStaticVehicleEx(596, 1535.5873, -1669.0464, 13.0518, 359.7990, -1, -1, 100);
  165.     dp_veiculos[2] = AddStaticVehicleEx(596, 1591.0942, -1606.4717, 12.9923, 359.9057, -1, -1, 100);
  166.     dp_veiculos[3] = AddStaticVehicleEx(596, 1564.8998, -1606.6538, 12.9923, 359.9057, -1, -1, 100);
  167.     dp_veiculos[4] = AddStaticVehicleEx(596, 1568.8962, -1606.6490, 12.9923, 359.9057, -1, -1, 100);
  168.     dp_veiculos[5] = AddStaticVehicleEx(596, 1572.8884, -1606.6442, 12.9923, 359.9057, -1, -1, 100);
  169.     dp_veiculos[6] = AddStaticVehicleEx(596, 1576.3025, -1606.6399, 12.9923, 359.9057, -1, -1, 100);
  170.     dp_veiculos[7] = AddStaticVehicleEx(596, 1579.9821, -1606.6351, 12.9923, 359.9057, -1, -1, 100);
  171.     dp_veiculos[8] = AddStaticVehicleEx(596, 1583.5234, -1606.6582, 12.9923, 359.9057, -1, -1, 100);
  172.     dp_veiculos[9] = AddStaticVehicleEx(596, 1587.3358, -1606.4675, 12.9923, 359.9057, -1, -1, 100);
  173.     dp_veiculos[10] = AddStaticVehicleEx(427, 1554.1199, -1607.0854, 13.3711, 1.5282, -1, -1, 100);
  174.     dp_veiculos[11] = AddStaticVehicleEx(427, 1561.1278, -1606.8398, 13.3711, 1.5282, -1, -1, 100);
  175.     dp_veiculos[12] = AddStaticVehicleEx(427, 1557.5861, -1606.9319, 13.3711, 1.5282, -1, -1, 100);
  176.     dp_veiculos[13] = AddStaticVehicleEx(427, 1601.4954, -1700.2534, 5.8354, 449.1338, -1, -1, 100);
  177.     dp_veiculos[14] = AddStaticVehicleEx(427, 1601.4110, -1704.1182, 5.8354, 449.1338, -1, -1, 100);
  178.     dp_veiculos[15] = AddStaticVehicleEx(596, 1600.7094, -1696.1484, 5.7263, 89.8691, -1, -1, 100);
  179.     dp_veiculos[16] = AddStaticVehicleEx(596, 1600.9277, -1688.1681, 5.7263, 89.8691, -1, -1, 100);
  180.     dp_veiculos[17] = AddStaticVehicleEx(596, 1600.6254, -1692.2239, 5.7263, 89.8691, -1, -1, 100);
  181.  
  182.  
  183.  
  184.     CreateVehicle(481, 833.1193, -1334.8323, 13.1531, 0.0000, -1, -1, 100);
  185.     CreateVehicle(481, 830.0495, -1334.8363, 13.1531, 0.0000, -1, -1, 100);
  186.     CreateVehicle(481, 830.6771, -1334.8352, 13.1531, 0.0000, -1, -1, 100);
  187.     CreateVehicle(481, 831.3922, -1334.8344, 13.1531, 0.0000, -1, -1, 100);
  188.     CreateVehicle(481, 832.2032, -1334.8334, 13.1531, 0.0000, -1, -1, 100);
  189.     CreateVehicle(483, 819.7554, -1316.2386, 13.5029, 90.2656, -1, -1, 100);
  190.     AddPlayerClass(0,   332.2479,   -1517.9346, 35.8672,    234.2808,   000000);
  191.  
  192.     SetTimer("p_relogio",1000,1);
  193.     Relogio[0] = TextDrawCreate(448.000000, 411.000000, "");
  194.     TextDrawBackgroundColor(Relogio[0], 255);
  195.     TextDrawFont(Relogio[0], 3);
  196.     TextDrawLetterSize(Relogio[0], 0.419999, 1.399999);
  197.     TextDrawColor(Relogio[0], -1);
  198.     TextDrawSetOutline(Relogio[0], 1);
  199.     TextDrawSetProportional(Relogio[0], 1);
  200.     TextDrawSetSelectable(Relogio[0], 0);
  201.  
  202.     Relogio[1] = TextDrawCreate(505.000000, 396.000000, "");
  203.     TextDrawBackgroundColor(Relogio[1], 255);
  204.     TextDrawFont(Relogio[1], 3);
  205.     TextDrawLetterSize(Relogio[1], 0.419999, 1.399999);
  206.     TextDrawColor(Relogio[1], -1);
  207.     TextDrawSetOutline(Relogio[1], 1);
  208.     TextDrawSetProportional(Relogio[1], 1);
  209.     TextDrawSetSelectable(Relogio[1], 0);
  210.  
  211.     registro_draw[0] = TextDrawCreate(660.000000, 2.000000, "_");
  212.     TextDrawBackgroundColor(registro_draw[0], 255);
  213.     TextDrawFont(registro_draw[0], 1);
  214.     TextDrawLetterSize(registro_draw[0], 0.400000, 6.199998);
  215.     TextDrawColor(registro_draw[0], -1);
  216.     TextDrawSetOutline(registro_draw[0], 0);
  217.     TextDrawSetProportional(registro_draw[0], 1);
  218.     TextDrawSetShadow(registro_draw[0], 1);
  219.     TextDrawUseBox(registro_draw[0], 1);
  220.     TextDrawBoxColor(registro_draw[0], 875836671);
  221.     TextDrawTextSize(registro_draw[0], -10.000000, 0.000000);
  222.     TextDrawSetSelectable(registro_draw[0], 0);
  223.  
  224.     registro_draw[1] = TextDrawCreate(660.000000, 390.000000, "_");
  225.     TextDrawBackgroundColor(registro_draw[1], 255);
  226.     TextDrawFont(registro_draw[1], 1);
  227.     TextDrawLetterSize(registro_draw[1], 0.400000, 6.599998);
  228.     TextDrawColor(registro_draw[1], -1);
  229.     TextDrawSetOutline(registro_draw[1], 0);
  230.     TextDrawSetProportional(registro_draw[1], 1);
  231.     TextDrawSetShadow(registro_draw[1], 1);
  232.     TextDrawUseBox(registro_draw[1], 1);
  233.     TextDrawBoxColor(registro_draw[1], 875836671);
  234.     TextDrawTextSize(registro_draw[1], -10.000000, 0.000000);
  235.     TextDrawSetSelectable(registro_draw[1], 0);
  236.  
  237.     registro_draw[2] = TextDrawCreate(660.000000, 390.000000, "_");
  238.     TextDrawBackgroundColor(registro_draw[2], 255);
  239.     TextDrawFont(registro_draw[2], 1);
  240.     TextDrawLetterSize(registro_draw[2], 0.400000, -0.200000);
  241.     TextDrawColor(registro_draw[2], -1);
  242.     TextDrawSetOutline(registro_draw[2], 0);
  243.     TextDrawSetProportional(registro_draw[2], 1);
  244.     TextDrawSetShadow(registro_draw[2], 1);
  245.     TextDrawUseBox(registro_draw[2], 1);
  246.     TextDrawBoxColor(registro_draw[2], 512819199);
  247.     TextDrawTextSize(registro_draw[2], -10.000000, -61.000000);
  248.     TextDrawSetSelectable(registro_draw[2], 0);
  249.  
  250.     registro_draw[3] = TextDrawCreate(660.000000, 60.000000, "_");
  251.     TextDrawBackgroundColor(registro_draw[3], 255);
  252.     TextDrawFont(registro_draw[3], 1);
  253.     TextDrawLetterSize(registro_draw[3], 0.400000, -0.200000);
  254.     TextDrawColor(registro_draw[3], -1);
  255.     TextDrawSetOutline(registro_draw[3], 0);
  256.     TextDrawSetProportional(registro_draw[3], 1);
  257.     TextDrawSetShadow(registro_draw[3], 1);
  258.     TextDrawUseBox(registro_draw[3], 1);
  259.     TextDrawBoxColor(registro_draw[3], 512819199);
  260.     TextDrawTextSize(registro_draw[3], -10.000000, -61.000000);
  261.     TextDrawSetSelectable(registro_draw[3], 0);
  262.  
  263.     registro_draw[4] = TextDrawCreate(529.000000, 124.000000, "_");
  264.     TextDrawBackgroundColor(registro_draw[4], 255);
  265.     TextDrawFont(registro_draw[4], 1);
  266.     TextDrawLetterSize(registro_draw[4], 0.400000, 1.299998);
  267.     TextDrawColor(registro_draw[4], -1);
  268.     TextDrawSetOutline(registro_draw[4], 0);
  269.     TextDrawSetProportional(registro_draw[4], 1);
  270.     TextDrawSetShadow(registro_draw[4], 1);
  271.     TextDrawUseBox(registro_draw[4], 1);
  272.     TextDrawBoxColor(registro_draw[4], 875836671);
  273.     TextDrawTextSize(registro_draw[4], 118.000000, 0.000000);
  274.     TextDrawSetSelectable(registro_draw[4], 0);
  275.  
  276.     registro_draw[5] = TextDrawCreate(529.000000, 139.000000, "_");
  277.     TextDrawBackgroundColor(registro_draw[5], 255);
  278.     TextDrawFont(registro_draw[5], 1);
  279.     TextDrawLetterSize(registro_draw[5], 0.400000, 1.299998);
  280.     TextDrawColor(registro_draw[5], -1);
  281.     TextDrawSetOutline(registro_draw[5], 0);
  282.     TextDrawSetProportional(registro_draw[5], 1);
  283.     TextDrawSetShadow(registro_draw[5], 1);
  284.     TextDrawUseBox(registro_draw[5], 1);
  285.     TextDrawBoxColor(registro_draw[5], 512819199);
  286.     TextDrawTextSize(registro_draw[5], 118.000000, 0.000000);
  287.     TextDrawSetSelectable(registro_draw[5], 0);
  288.  
  289.     registro_draw[6] = TextDrawCreate(529.000000, 154.000000, "_");
  290.     TextDrawBackgroundColor(registro_draw[6], 255);
  291.     TextDrawFont(registro_draw[6], 1);
  292.     TextDrawLetterSize(registro_draw[6], 0.400000, 19.299999);
  293.     TextDrawColor(registro_draw[6], -1);
  294.     TextDrawSetOutline(registro_draw[6], 0);
  295.     TextDrawSetProportional(registro_draw[6], 1);
  296.     TextDrawSetShadow(registro_draw[6], 1);
  297.     TextDrawUseBox(registro_draw[6], 1);
  298.     TextDrawBoxColor(registro_draw[6], 875836671);
  299.     TextDrawTextSize(registro_draw[6], 118.000000, 0.000000);
  300.     TextDrawSetSelectable(registro_draw[6], 0);
  301.  
  302.     registro_draw[7] = TextDrawCreate(377.000000, 161.000000, "_");
  303.     TextDrawBackgroundColor(registro_draw[7], 255);
  304.     TextDrawFont(registro_draw[7], 1);
  305.     TextDrawLetterSize(registro_draw[7], 0.400000, 1.299998);
  306.     TextDrawColor(registro_draw[7], -1);
  307.     TextDrawSetOutline(registro_draw[7], 0);
  308.     TextDrawSetProportional(registro_draw[7], 1);
  309.     TextDrawSetShadow(registro_draw[7], 1);
  310.     TextDrawUseBox(registro_draw[7], 1);
  311.     TextDrawBoxColor(registro_draw[7], 512819199);
  312.     TextDrawTextSize(registro_draw[7], 262.000000, 0.000000);
  313.     TextDrawSetSelectable(registro_draw[7], 0);
  314.  
  315.     registro_draw[8] = TextDrawCreate(529.000000, 176.000000, "_");
  316.     TextDrawBackgroundColor(registro_draw[8], 255);
  317.     TextDrawFont(registro_draw[8], 1);
  318.     TextDrawLetterSize(registro_draw[8], 0.400000, -0.200001);
  319.     TextDrawColor(registro_draw[8], -1);
  320.     TextDrawSetOutline(registro_draw[8], 0);
  321.     TextDrawSetProportional(registro_draw[8], 1);
  322.     TextDrawSetShadow(registro_draw[8], 1);
  323.     TextDrawUseBox(registro_draw[8], 1);
  324.     TextDrawBoxColor(registro_draw[8], 512819199);
  325.     TextDrawTextSize(registro_draw[8], 118.000000, 0.000000);
  326.     TextDrawSetSelectable(registro_draw[8], 0);
  327.  
  328.     registro_draw[9] = TextDrawCreate(285.000000, 161.000000, "informacoes");
  329.     TextDrawBackgroundColor(registro_draw[9], 255);
  330.     TextDrawFont(registro_draw[9], 2);
  331.     TextDrawLetterSize(registro_draw[9], 0.250000, 1.100000);
  332.     TextDrawColor(registro_draw[9], -1);
  333.     TextDrawSetOutline(registro_draw[9], 0);
  334.     TextDrawSetProportional(registro_draw[9], 1);
  335.     TextDrawSetShadow(registro_draw[9], 0);
  336.     TextDrawSetSelectable(registro_draw[9], 0);
  337.  
  338.     registro_draw[10] = TextDrawCreate(133.000000, 191.000000, "servidor rpg");
  339.     TextDrawBackgroundColor(registro_draw[10], 255);
  340.     TextDrawFont(registro_draw[10], 2);
  341.     TextDrawLetterSize(registro_draw[10], 0.280000, 1.100000);
  342.     TextDrawColor(registro_draw[10], -1);
  343.     TextDrawSetOutline(registro_draw[10], 0);
  344.     TextDrawSetProportional(registro_draw[10], 1);
  345.     TextDrawSetShadow(registro_draw[10], 0);
  346.     TextDrawSetSelectable(registro_draw[10], 0);
  347.  
  348.     registro_draw[11] = TextDrawCreate(133.000000, 202.000000, "Server Nome: AHS - SERVER");
  349.     TextDrawBackgroundColor(registro_draw[11], 255);
  350.     TextDrawFont(registro_draw[11], 2);
  351.     TextDrawLetterSize(registro_draw[11], 0.280000, 1.100000);
  352.     TextDrawColor(registro_draw[11], -1);
  353.     TextDrawSetOutline(registro_draw[11], 0);
  354.     TextDrawSetProportional(registro_draw[11], 1);
  355.     TextDrawSetShadow(registro_draw[11], 0);
  356.     TextDrawSetSelectable(registro_draw[11], 0);
  357.  
  358.     registro_draw[12] = TextDrawCreate(133.000000, 213.000000, "Server Mode: RPG/RP");
  359.     TextDrawBackgroundColor(registro_draw[12], 255);
  360.     TextDrawFont(registro_draw[12], 2);
  361.     TextDrawLetterSize(registro_draw[12], 0.280000, 1.100000);
  362.     TextDrawColor(registro_draw[12], -1);
  363.     TextDrawSetOutline(registro_draw[12], 0);
  364.     TextDrawSetProportional(registro_draw[12], 1);
  365.     TextDrawSetShadow(registro_draw[12], 0);
  366.     TextDrawSetSelectable(registro_draw[12], 0);
  367.  
  368.     registro_draw[13] = TextDrawCreate(133.000000, 224.000000, "MAXIMO DE PLAYERS: 500");
  369.     TextDrawBackgroundColor(registro_draw[13], 255);
  370.     TextDrawFont(registro_draw[13], 2);
  371.     TextDrawLetterSize(registro_draw[13], 0.280000, 1.100000);
  372.     TextDrawColor(registro_draw[13], -1);
  373.     TextDrawSetOutline(registro_draw[13], 0);
  374.     TextDrawSetProportional(registro_draw[13], 1);
  375.     TextDrawSetShadow(registro_draw[13], 0);
  376.     TextDrawSetSelectable(registro_draw[13], 0);
  377.  
  378.     registro_draw[14] = TextDrawCreate(133.000000, 235.000000, "IP: 127.0.0.1");
  379.     TextDrawBackgroundColor(registro_draw[14], 255);
  380.     TextDrawFont(registro_draw[14], 2);
  381.     TextDrawLetterSize(registro_draw[14], 0.280000, 1.100000);
  382.     TextDrawColor(registro_draw[14], -1);
  383.     TextDrawSetOutline(registro_draw[14], 0);
  384.     TextDrawSetProportional(registro_draw[14], 1);
  385.     TextDrawSetShadow(registro_draw[14], 0);
  386.     TextDrawSetSelectable(registro_draw[14], 0);
  387.  
  388.     registro_draw[15] = TextDrawCreate(133.000000, 246.000000, "criado por: Whoo");
  389.     TextDrawBackgroundColor(registro_draw[15], 255);
  390.     TextDrawFont(registro_draw[15], 2);
  391.     TextDrawLetterSize(registro_draw[15], 0.280000, 1.100000);
  392.     TextDrawColor(registro_draw[15], -1);
  393.     TextDrawSetOutline(registro_draw[15], 0);
  394.     TextDrawSetProportional(registro_draw[15], 1);
  395.     TextDrawSetShadow(registro_draw[15], 0);
  396.     TextDrawSetSelectable(registro_draw[15], 0);
  397.  
  398.     registro_draw[16] = TextDrawCreate(133.000000, 257.000000, "SITE: WWW.AHS-SERVER.COM.BR");
  399.     TextDrawBackgroundColor(registro_draw[16], 255);
  400.     TextDrawFont(registro_draw[16], 2);
  401.     TextDrawLetterSize(registro_draw[16], 0.280000, 1.100000);
  402.     TextDrawColor(registro_draw[16], -1);
  403.     TextDrawSetOutline(registro_draw[16], 0);
  404.     TextDrawSetProportional(registro_draw[16], 1);
  405.     TextDrawSetShadow(registro_draw[16], 0);
  406.     TextDrawSetSelectable(registro_draw[16], 0);
  407.  
  408.     registro_draw[17] = TextDrawCreate(133.000000, 268.000000, "_");
  409.     TextDrawBackgroundColor(registro_draw[17], 255);
  410.     TextDrawFont(registro_draw[17], 2);
  411.     TextDrawLetterSize(registro_draw[17], 0.280000, 1.100000);
  412.     TextDrawColor(registro_draw[17], -1);
  413.     TextDrawSetOutline(registro_draw[17], 0);
  414.     TextDrawSetProportional(registro_draw[17], 1);
  415.     TextDrawSetShadow(registro_draw[17], 0);
  416.     TextDrawSetSelectable(registro_draw[17], 0);
  417.  
  418.     registro_draw[18] = TextDrawCreate(133.000000, 279.000000, "_");
  419.     TextDrawBackgroundColor(registro_draw[18], 255);
  420.     TextDrawFont(registro_draw[18], 2);
  421.     TextDrawLetterSize(registro_draw[18], 0.280000, 1.100000);
  422.     TextDrawColor(registro_draw[18], -1);
  423.     TextDrawSetOutline(registro_draw[18], 0);
  424.     TextDrawSetProportional(registro_draw[18], 1);
  425.     TextDrawSetShadow(registro_draw[18], 0);
  426.     TextDrawSetSelectable(registro_draw[18], 0);
  427.  
  428.     registro_draw[19] = TextDrawCreate(133.000000, 290.000000, "_");
  429.     TextDrawBackgroundColor(registro_draw[19], 255);
  430.     TextDrawFont(registro_draw[19], 2);
  431.     TextDrawLetterSize(registro_draw[19], 0.280000, 1.100000);
  432.     TextDrawColor(registro_draw[19], -1);
  433.     TextDrawSetOutline(registro_draw[19], 0);
  434.     TextDrawSetProportional(registro_draw[19], 1);
  435.     TextDrawSetShadow(registro_draw[19], 0);
  436.     TextDrawSetSelectable(registro_draw[19], 0);
  437.  
  438.     registro_draw[20] = TextDrawCreate(133.000000, 301.000000, "_");
  439.     TextDrawBackgroundColor(registro_draw[20], 255);
  440.     TextDrawFont(registro_draw[20], 2);
  441.     TextDrawLetterSize(registro_draw[20], 0.280000, 1.100000);
  442.     TextDrawColor(registro_draw[20], -1);
  443.     TextDrawSetOutline(registro_draw[20], 0);
  444.     TextDrawSetProportional(registro_draw[20], 1);
  445.     TextDrawSetShadow(registro_draw[20], 0);
  446.     TextDrawSetSelectable(registro_draw[20], 0);
  447.  
  448.     registro_draw[21] = TextDrawCreate(133.000000, 312.000000, "_");
  449.     TextDrawBackgroundColor(registro_draw[21], 255);
  450.     TextDrawFont(registro_draw[21], 2);
  451.     TextDrawLetterSize(registro_draw[21], 0.280000, 1.100000);
  452.     TextDrawColor(registro_draw[21], -1);
  453.     TextDrawSetOutline(registro_draw[21], 0);
  454.     TextDrawSetProportional(registro_draw[21], 1);
  455.     TextDrawSetShadow(registro_draw[21], 0);
  456.     TextDrawSetSelectable(registro_draw[21], 0);
  457.  
  458.     registro_draw[22] = TextDrawCreate(280.000000, 124.000000, "AHS - SERVER");
  459.     TextDrawBackgroundColor(registro_draw[22], 255);
  460.     TextDrawFont(registro_draw[22], 2);
  461.     TextDrawLetterSize(registro_draw[22], 0.280000, 1.100000);
  462.     TextDrawColor(registro_draw[22], -1);
  463.     TextDrawSetOutline(registro_draw[22], 0);
  464.     TextDrawSetProportional(registro_draw[22], 1);
  465.     TextDrawSetShadow(registro_draw[22], 0);
  466.     TextDrawSetSelectable(registro_draw[22], 0);
  467.  
  468.     registro_draw[23] = TextDrawCreate(203.000000, 139.000000, "logar");
  469.     TextDrawBackgroundColor(registro_draw[23], 255);
  470.     TextDrawFont(registro_draw[23], 2);
  471.     TextDrawLetterSize(registro_draw[23], 0.280000, 1.100000);
  472.     TextDrawColor(registro_draw[23], -1);
  473.     TextDrawSetOutline(registro_draw[23], 0);
  474.     TextDrawSetProportional(registro_draw[23], 1);
  475.     TextDrawSetShadow(registro_draw[23], 0);
  476.     TextDrawUseBox(registro_draw[23], 1);
  477.     TextDrawBoxColor(registro_draw[23], 0);
  478.     TextDrawTextSize(registro_draw[23], 242.000000, 10.000000);
  479.     TextDrawSetSelectable(registro_draw[23], 0);
  480.  
  481.     registro_draw[24] = TextDrawCreate(288.000000, 139.000000, "registrar");
  482.     TextDrawBackgroundColor(registro_draw[24], 255);
  483.     TextDrawFont(registro_draw[24], 2);
  484.     TextDrawLetterSize(registro_draw[24], 0.280000, 1.100000);
  485.     TextDrawColor(registro_draw[24], -1);
  486.     TextDrawSetOutline(registro_draw[24], 0);
  487.     TextDrawSetProportional(registro_draw[24], 1);
  488.     TextDrawSetShadow(registro_draw[24], 0);
  489.     TextDrawUseBox(registro_draw[24], 1);
  490.     TextDrawBoxColor(registro_draw[24], 0);
  491.     TextDrawTextSize(registro_draw[24], 353.000000, 10.000000);
  492.     TextDrawSetSelectable(registro_draw[24], 0);
  493.  
  494.     registro_draw[25] = TextDrawCreate(396.000000, 139.000000, "sair");
  495.     TextDrawBackgroundColor(registro_draw[25], 255);
  496.     TextDrawFont(registro_draw[25], 2);
  497.     TextDrawLetterSize(registro_draw[25], 0.280000, 1.100000);
  498.     TextDrawColor(registro_draw[25], -1);
  499.     TextDrawSetOutline(registro_draw[25], 0);
  500.     TextDrawSetProportional(registro_draw[25], 1);
  501.     TextDrawSetShadow(registro_draw[25], 0);
  502.     TextDrawUseBox(registro_draw[25], 1);
  503.     TextDrawBoxColor(registro_draw[25], 0);
  504.     TextDrawTextSize(registro_draw[25], 427.000000, 10.000000);
  505.     TextDrawSetSelectable(registro_draw[25], 0);
  506.  
  507.     registro_draw[26] = TextDrawCreate(514.000000, 316.000000, "~>~");
  508.     TextDrawBackgroundColor(registro_draw[26], 255);
  509.     TextDrawFont(registro_draw[26], 1);
  510.     TextDrawLetterSize(registro_draw[26], 0.500000, 1.000000);
  511.     TextDrawColor(registro_draw[26], -1);
  512.     TextDrawSetOutline(registro_draw[26], 0);
  513.     TextDrawSetProportional(registro_draw[26], 1);
  514.     TextDrawSetShadow(registro_draw[26], 1);
  515.     TextDrawUseBox(registro_draw[26], 1);
  516.     TextDrawBoxColor(registro_draw[26], 0);
  517.     TextDrawTextSize(registro_draw[26], 523.000000, 10.000000);
  518.     TextDrawSetSelectable(registro_draw[26], 0);
  519.  
  520.     registro_draw[27] = TextDrawCreate(504.000000, 316.000000, "~<~");
  521.     TextDrawBackgroundColor(registro_draw[27], 255);
  522.     TextDrawFont(registro_draw[27], 1);
  523.     TextDrawLetterSize(registro_draw[27], 0.500000, 1.000000);
  524.     TextDrawColor(registro_draw[27], -1);
  525.     TextDrawSetOutline(registro_draw[27], 0);
  526.     TextDrawSetProportional(registro_draw[27], 1);
  527.     TextDrawSetShadow(registro_draw[27], 1);
  528.     TextDrawUseBox(registro_draw[27], 1);
  529.     TextDrawBoxColor(registro_draw[27], 0);
  530.     TextDrawTextSize(registro_draw[27], 512.000000, 10.000000);
  531.     TextDrawSetSelectable(registro_draw[27], 0);
  532.     for(new i = 23; i < sizeof(registro_draw); i++) { TextDrawSetSelectable(registro_draw[i], true); }
  533.  
  534.     sexo_draw[0] = TextDrawCreate(434.000000, 80.000000, "_");
  535.     TextDrawBackgroundColor(sexo_draw[0], 255);
  536.     TextDrawFont(sexo_draw[0], 1);
  537.     TextDrawLetterSize(sexo_draw[0], 0.500000, 22.300001);
  538.     TextDrawColor(sexo_draw[0], -1);
  539.     TextDrawSetOutline(sexo_draw[0], 0);
  540.     TextDrawSetProportional(sexo_draw[0], 1);
  541.     TextDrawSetShadow(sexo_draw[0], 1);
  542.     TextDrawUseBox(sexo_draw[0], 1);
  543.     TextDrawBoxColor(sexo_draw[0], 875836671);
  544.     TextDrawTextSize(sexo_draw[0], 195.000000, 0.000000);
  545.     TextDrawSetSelectable(sexo_draw[0], 0);
  546.  
  547.     sexo_draw[1] = TextDrawCreate(434.000000, 100.000000, "_");
  548.     TextDrawBackgroundColor(sexo_draw[1], 255);
  549.     TextDrawFont(sexo_draw[1], 1);
  550.     TextDrawLetterSize(sexo_draw[1], 0.490000, 1.699999);
  551.     TextDrawColor(sexo_draw[1], -1);
  552.     TextDrawSetOutline(sexo_draw[1], 0);
  553.     TextDrawSetProportional(sexo_draw[1], 1);
  554.     TextDrawSetShadow(sexo_draw[1], 1);
  555.     TextDrawUseBox(sexo_draw[1], 1);
  556.     TextDrawBoxColor(sexo_draw[1], 512819199);
  557.     TextDrawTextSize(sexo_draw[1], 195.000000, 0.000000);
  558.     TextDrawSetSelectable(sexo_draw[1], 0);
  559.  
  560.     sexo_draw[2] = TextDrawCreate(203.000000, 130.000000, "New Textdraw");
  561.     TextDrawBackgroundColor(sexo_draw[2], 0);
  562.     TextDrawFont(sexo_draw[2], 5);
  563.     TextDrawLetterSize(sexo_draw[2], 0.500000, 1.000000);
  564.     TextDrawColor(sexo_draw[2], -1);
  565.     TextDrawSetOutline(sexo_draw[2], 0);
  566.     TextDrawSetProportional(sexo_draw[2], 1);
  567.     TextDrawSetShadow(sexo_draw[2], 1);
  568.     TextDrawUseBox(sexo_draw[2], 1);
  569.     TextDrawBoxColor(sexo_draw[2], 255);
  570.     TextDrawTextSize(sexo_draw[2], 115.000000, 103.000000);
  571.     TextDrawSetPreviewModel(sexo_draw[2], 240);
  572.     TextDrawSetPreviewRot(sexo_draw[2], -10.000000, 0.000000, 0.000000, 1.000000);
  573.     TextDrawSetSelectable(sexo_draw[2], 0);
  574.  
  575.     sexo_draw[3] = TextDrawCreate(310.000000, 130.000000, "New Textdraw");
  576.     TextDrawBackgroundColor(sexo_draw[3], 0);
  577.     TextDrawFont(sexo_draw[3], 5);
  578.     TextDrawLetterSize(sexo_draw[3], 0.500000, 1.000000);
  579.     TextDrawColor(sexo_draw[3], -1);
  580.     TextDrawSetOutline(sexo_draw[3], 0);
  581.     TextDrawSetProportional(sexo_draw[3], 1);
  582.     TextDrawSetShadow(sexo_draw[3], 1);
  583.     TextDrawUseBox(sexo_draw[3], 1);
  584.     TextDrawBoxColor(sexo_draw[3], 255);
  585.     TextDrawTextSize(sexo_draw[3], 115.000000, 103.000000);
  586.     TextDrawSetPreviewModel(sexo_draw[3], 216);
  587.     TextDrawSetPreviewRot(sexo_draw[3], -20.000000, 0.000000, 10.000000, 1.000000);
  588.     TextDrawSetSelectable(sexo_draw[3], 0);
  589.  
  590.     sexo_draw[4] = TextDrawCreate(294.000000, 84.000000, "sexo");
  591.     TextDrawBackgroundColor(sexo_draw[4], 255);
  592.     TextDrawFont(sexo_draw[4], 2);
  593.     TextDrawLetterSize(sexo_draw[4], 0.340000, 1.100000);
  594.     TextDrawColor(sexo_draw[4], -1);
  595.     TextDrawSetOutline(sexo_draw[4], 0);
  596.     TextDrawSetProportional(sexo_draw[4], 1);
  597.     TextDrawSetShadow(sexo_draw[4], 0);
  598.     TextDrawSetSelectable(sexo_draw[4], 0);
  599.  
  600.     sexo_draw[5] = TextDrawCreate(230.000000, 102.000000, "escolha o seu sexo abaixo");
  601.     TextDrawBackgroundColor(sexo_draw[5], 255);
  602.     TextDrawFont(sexo_draw[5], 2);
  603.     TextDrawLetterSize(sexo_draw[5], 0.290000, 1.000000);
  604.     TextDrawColor(sexo_draw[5], -1);
  605.     TextDrawSetOutline(sexo_draw[5], 0);
  606.     TextDrawSetProportional(sexo_draw[5], 1);
  607.     TextDrawSetShadow(sexo_draw[5], 0);
  608.     TextDrawSetSelectable(sexo_draw[5], 0);
  609.  
  610.     sexo_draw[6] = TextDrawCreate(434.000000, 230.000000, "_");
  611.     TextDrawBackgroundColor(sexo_draw[6], 255);
  612.     TextDrawFont(sexo_draw[6], 1);
  613.     TextDrawLetterSize(sexo_draw[6], 0.490000, 1.699999);
  614.     TextDrawColor(sexo_draw[6], -1);
  615.     TextDrawSetOutline(sexo_draw[6], 0);
  616.     TextDrawSetProportional(sexo_draw[6], 1);
  617.     TextDrawSetShadow(sexo_draw[6], 1);
  618.     TextDrawUseBox(sexo_draw[6], 1);
  619.     TextDrawBoxColor(sexo_draw[6], 512819199);
  620.     TextDrawTextSize(sexo_draw[6], 195.000000, 0.000000);
  621.     TextDrawSetSelectable(sexo_draw[6], 0);
  622.  
  623.     sexo_draw[7] = TextDrawCreate(314.000000, 120.000000, "_");
  624.     TextDrawBackgroundColor(sexo_draw[7], 255);
  625.     TextDrawFont(sexo_draw[7], 1);
  626.     TextDrawLetterSize(sexo_draw[7], 0.539999, 11.600002);
  627.     TextDrawColor(sexo_draw[7], -1);
  628.     TextDrawSetOutline(sexo_draw[7], 0);
  629.     TextDrawSetProportional(sexo_draw[7], 1);
  630.     TextDrawSetShadow(sexo_draw[7], 1);
  631.     TextDrawUseBox(sexo_draw[7], 1);
  632.     TextDrawBoxColor(sexo_draw[7], 512819199);
  633.     TextDrawTextSize(sexo_draw[7], 311.000000, 0.000000);
  634.     TextDrawSetSelectable(sexo_draw[7], 0);
  635.  
  636.     sexo_draw[8] = TextDrawCreate(303.000000, 257.000000, "_");
  637.     TextDrawBackgroundColor(sexo_draw[8], 255);
  638.     TextDrawFont(sexo_draw[8], 1);
  639.     TextDrawLetterSize(sexo_draw[8], 0.490000, 1.699999);
  640.     TextDrawColor(sexo_draw[8], -1);
  641.     TextDrawSetOutline(sexo_draw[8], 0);
  642.     TextDrawSetProportional(sexo_draw[8], 1);
  643.     TextDrawSetShadow(sexo_draw[8], 1);
  644.     TextDrawUseBox(sexo_draw[8], 1);
  645.     TextDrawBoxColor(sexo_draw[8], 1768516095);
  646.     TextDrawTextSize(sexo_draw[8], 208.000000, 2.000000);
  647.     TextDrawSetSelectable(sexo_draw[8], 0);
  648.  
  649.     sexo_draw[9] = TextDrawCreate(421.000000, 257.000000, "_");
  650.     TextDrawBackgroundColor(sexo_draw[9], 255);
  651.     TextDrawFont(sexo_draw[9], 1);
  652.     TextDrawLetterSize(sexo_draw[9], 0.490000, 1.699999);
  653.     TextDrawColor(sexo_draw[9], -1);
  654.     TextDrawSetOutline(sexo_draw[9], 0);
  655.     TextDrawSetProportional(sexo_draw[9], 1);
  656.     TextDrawSetShadow(sexo_draw[9], 1);
  657.     TextDrawUseBox(sexo_draw[9], 1);
  658.     TextDrawBoxColor(sexo_draw[9], 1768516095);
  659.     TextDrawTextSize(sexo_draw[9], 325.000000, 2.000000);
  660.     TextDrawSetSelectable(sexo_draw[9], 0);
  661.  
  662.     sexo_draw[10] = TextDrawCreate(300.000000, 260.000000, "_");
  663.     TextDrawBackgroundColor(sexo_draw[10], 255);
  664.     TextDrawFont(sexo_draw[10], 1);
  665.     TextDrawLetterSize(sexo_draw[10], 0.490000, 0.999999);
  666.     TextDrawColor(sexo_draw[10], -1);
  667.     TextDrawSetOutline(sexo_draw[10], 0);
  668.     TextDrawSetProportional(sexo_draw[10], 1);
  669.     TextDrawSetShadow(sexo_draw[10], 1);
  670.     TextDrawUseBox(sexo_draw[10], 1);
  671.     TextDrawBoxColor(sexo_draw[10], 512819199);
  672.     TextDrawTextSize(sexo_draw[10], 211.000000, 0.000000);
  673.     TextDrawSetSelectable(sexo_draw[10], 0);
  674.  
  675.     sexo_draw[11] = TextDrawCreate(417.000000, 260.000000, "_");
  676.     TextDrawBackgroundColor(sexo_draw[11], 255);
  677.     TextDrawFont(sexo_draw[11], 1);
  678.     TextDrawLetterSize(sexo_draw[11], 0.490000, 0.999999);
  679.     TextDrawColor(sexo_draw[11], -1);
  680.     TextDrawSetOutline(sexo_draw[11], 0);
  681.     TextDrawSetProportional(sexo_draw[11], 1);
  682.     TextDrawSetShadow(sexo_draw[11], 1);
  683.     TextDrawUseBox(sexo_draw[11], 1);
  684.     TextDrawBoxColor(sexo_draw[11], 512819199);
  685.     TextDrawTextSize(sexo_draw[11], 330.000000, 0.000000);
  686.     TextDrawSetSelectable(sexo_draw[11], 0);
  687.  
  688.     sexo_draw[12] = TextDrawCreate(241.000000, 232.000000, "masculino ou feminino ?");
  689.     TextDrawBackgroundColor(sexo_draw[12], 255);
  690.     TextDrawFont(sexo_draw[12], 2);
  691.     TextDrawLetterSize(sexo_draw[12], 0.290000, 1.000000);
  692.     TextDrawColor(sexo_draw[12], -1);
  693.     TextDrawSetOutline(sexo_draw[12], 0);
  694.     TextDrawSetProportional(sexo_draw[12], 1);
  695.     TextDrawSetShadow(sexo_draw[12], 0);
  696.     TextDrawSetSelectable(sexo_draw[12], 0);
  697.  
  698.     sexo_draw[13] = TextDrawCreate(220.000000, 260.000000, "masculino");
  699.     TextDrawBackgroundColor(sexo_draw[13], 255);
  700.     TextDrawFont(sexo_draw[13], 2);
  701.     TextDrawLetterSize(sexo_draw[13], 0.310000, 1.000000);
  702.     TextDrawColor(sexo_draw[13], -1);
  703.     TextDrawSetOutline(sexo_draw[13], 0);
  704.     TextDrawSetProportional(sexo_draw[13], 1);
  705.     TextDrawSetShadow(sexo_draw[13], 0);
  706.     TextDrawUseBox(sexo_draw[13], 1);
  707.     TextDrawBoxColor(sexo_draw[13], 0);
  708.     TextDrawTextSize(sexo_draw[13], 290.000000, 10.000000);
  709.     TextDrawSetSelectable(sexo_draw[13], 0);
  710.  
  711.     sexo_draw[14] = TextDrawCreate(345.000000, 260.000000, "feminino");
  712.     TextDrawBackgroundColor(sexo_draw[14], 255);
  713.     TextDrawFont(sexo_draw[14], 2);
  714.     TextDrawLetterSize(sexo_draw[14], 0.310000, 1.000000);
  715.     TextDrawColor(sexo_draw[14], -1);
  716.     TextDrawSetOutline(sexo_draw[14], 0);
  717.     TextDrawSetProportional(sexo_draw[14], 1);
  718.     TextDrawSetShadow(sexo_draw[14], 0);
  719.     TextDrawUseBox(sexo_draw[14], 1);
  720.     TextDrawBoxColor(sexo_draw[14], 0);
  721.     TextDrawTextSize(sexo_draw[14], 404.000000, 10.000000);
  722.     TextDrawSetSelectable(sexo_draw[14], 0);
  723.     for(new i = 13; i < sizeof(sexo_draw); i++) { TextDrawSetSelectable(sexo_draw[i], true); }
  724.  
  725.  
  726.     wTuning[0] = TextDrawCreate(560.000000, 102.000000, "_");
  727.     TextDrawBackgroundColor(wTuning[0], 255);
  728.     TextDrawFont(wTuning[0], 1);
  729.     TextDrawLetterSize(wTuning[0], 0.709999, 1.599998);
  730.     TextDrawColor(wTuning[0], 852308735);
  731.     TextDrawSetOutline(wTuning[0], 0);
  732.     TextDrawSetProportional(wTuning[0], 1);
  733.     TextDrawSetShadow(wTuning[0], 1);
  734.     TextDrawUseBox(wTuning[0], 1);
  735.     TextDrawBoxColor(wTuning[0], 793726975);
  736.     TextDrawTextSize(wTuning[0], 72.000000, 20.000000);
  737.     TextDrawSetSelectable(wTuning[0], 0);
  738.  
  739.     wTuning[1] = TextDrawCreate(560.000000, 120.000000, "_");
  740.     TextDrawBackgroundColor(wTuning[1], 255);
  741.     TextDrawFont(wTuning[1], 1);
  742.     TextDrawLetterSize(wTuning[1], 0.709999, 1.699998);
  743.     TextDrawColor(wTuning[1], -1);
  744.     TextDrawSetOutline(wTuning[1], 0);
  745.     TextDrawSetProportional(wTuning[1], 1);
  746.     TextDrawSetShadow(wTuning[1], 1);
  747.     TextDrawUseBox(wTuning[1], 1);
  748.     TextDrawBoxColor(wTuning[1], 150);
  749.     TextDrawTextSize(wTuning[1], 72.000000, 20.000000);
  750.     TextDrawSetSelectable(wTuning[1], 0);
  751.  
  752.     wTuning[2] = TextDrawCreate(243.000000, 144.000000, "_");
  753.     TextDrawBackgroundColor(wTuning[2], 255);
  754.     TextDrawFont(wTuning[2], 1);
  755.     TextDrawLetterSize(wTuning[2], 0.709999, 21.299999);
  756.     TextDrawColor(wTuning[2], -1);
  757.     TextDrawSetOutline(wTuning[2], 0);
  758.     TextDrawSetProportional(wTuning[2], 1);
  759.     TextDrawSetShadow(wTuning[2], 1);
  760.     TextDrawUseBox(wTuning[2], 1);
  761.     TextDrawBoxColor(wTuning[2], 150);
  762.     TextDrawTextSize(wTuning[2], 72.000000, 19.000000);
  763.     TextDrawSetSelectable(wTuning[2], 0);
  764.  
  765.     wTuning[3] = TextDrawCreate(560.000000, 144.000000, "_");
  766.     TextDrawBackgroundColor(wTuning[3], 255);
  767.     TextDrawFont(wTuning[3], 1);
  768.     TextDrawLetterSize(wTuning[3], 0.709999, 2.900000);
  769.     TextDrawColor(wTuning[3], -1);
  770.     TextDrawSetOutline(wTuning[3], 0);
  771.     TextDrawSetProportional(wTuning[3], 1);
  772.     TextDrawSetShadow(wTuning[3], 1);
  773.     TextDrawUseBox(wTuning[3], 1);
  774.     TextDrawBoxColor(wTuning[3], 793726975);
  775.     TextDrawTextSize(wTuning[3], 247.000000, 19.000000);
  776.     TextDrawSetSelectable(wTuning[3], 0);
  777.  
  778.  
  779.     wTuning[4] = TextDrawCreate(262.000000, 104.000000, "wTuning System");
  780.     TextDrawBackgroundColor(wTuning[4], 255);
  781.     TextDrawFont(wTuning[4], 2);
  782.     TextDrawLetterSize(wTuning[4], 0.300000, 1.000000);
  783.     TextDrawColor(wTuning[4], -1);
  784.     TextDrawSetOutline(wTuning[4], 0);
  785.     TextDrawSetProportional(wTuning[4], 1);
  786.     TextDrawSetShadow(wTuning[4], 0);
  787.     TextDrawSetSelectable(wTuning[4], 0);
  788.  
  789.  
  790.     wTuning[5] = TextDrawCreate(376.000000, 152.000000, "wTuningCar");
  791.     TextDrawBackgroundColor(wTuning[5], 255);
  792.     TextDrawFont(wTuning[5], 2);
  793.     TextDrawLetterSize(wTuning[5], 0.220000, 1.100000);
  794.     TextDrawColor(wTuning[5], -1);
  795.     TextDrawSetOutline(wTuning[5], 0);
  796.     TextDrawSetProportional(wTuning[5], 1);
  797.     TextDrawSetShadow(wTuning[5], 0);
  798.     TextDrawSetSelectable(wTuning[5], 0);
  799.  
  800.  
  801.     wTuning[6] = TextDrawCreate(538.000000, 105.000000, "X");
  802.     TextDrawBackgroundColor(wTuning[6], 255);
  803.     TextDrawFont(wTuning[6], 1);
  804.     TextDrawLetterSize(wTuning[6], 0.500000, 1.000000);
  805.     TextDrawColor(wTuning[6], 255);
  806.     TextDrawSetOutline(wTuning[6], 0);
  807.     TextDrawSetProportional(wTuning[6], 1);
  808.     TextDrawSetShadow(wTuning[6], 0);
  809.     TextDrawUseBox(wTuning[6], 1);
  810.     TextDrawBoxColor(wTuning[6], 0);
  811.     TextDrawTextSize(wTuning[6], 550.000000, 10.000000);
  812.     TextDrawSetSelectable(wTuning[6], 1);
  813.  
  814.     wTuning[7] = TextDrawCreate(88.000000, 123.000000, "Wheels");
  815.     TextDrawBackgroundColor(wTuning[7], 255);
  816.     TextDrawFont(wTuning[7], 2);
  817.     TextDrawLetterSize(wTuning[7], 0.300000, 1.000000);
  818.     TextDrawColor(wTuning[7], -1);
  819.     TextDrawSetOutline(wTuning[7], 0);
  820.     TextDrawSetProportional(wTuning[7], 1);
  821.     TextDrawSetShadow(wTuning[7], 0);
  822.     TextDrawUseBox(wTuning[7], 1);
  823.     TextDrawBoxColor(wTuning[7], 0);
  824.     TextDrawTextSize(wTuning[7], 137.000000, 10.000000);
  825.     TextDrawSetSelectable(wTuning[7], 0);
  826.  
  827.     wTuning[8] = TextDrawCreate(150.000000, 123.000000, "Color");
  828.     TextDrawBackgroundColor(wTuning[8], 255);
  829.     TextDrawFont(wTuning[8], 2);
  830.     TextDrawLetterSize(wTuning[8], 0.300000, 1.000000);
  831.     TextDrawColor(wTuning[8], -1);
  832.     TextDrawSetOutline(wTuning[8], 0);
  833.     TextDrawSetProportional(wTuning[8], 1);
  834.     TextDrawSetShadow(wTuning[8], 0);
  835.     TextDrawUseBox(wTuning[8], 1);
  836.     TextDrawBoxColor(wTuning[8], 0);
  837.     TextDrawTextSize(wTuning[8], 190.000000, 10.000000);
  838.     TextDrawSetSelectable(wTuning[8], 0);
  839.  
  840.     wTuning[9] = TextDrawCreate(204.000000, 123.000000, "paintjobs");
  841.     TextDrawBackgroundColor(wTuning[9], 255);
  842.     TextDrawFont(wTuning[9], 2);
  843.     TextDrawLetterSize(wTuning[9], 0.300000, 1.000000);
  844.     TextDrawColor(wTuning[9], -1);
  845.     TextDrawSetOutline(wTuning[9], 0);
  846.     TextDrawSetProportional(wTuning[9], 1);
  847.     TextDrawSetShadow(wTuning[9], 0);
  848.     TextDrawUseBox(wTuning[9], 1);
  849.     TextDrawBoxColor(wTuning[9], 0);
  850.     TextDrawTextSize(wTuning[9], 274.000000, 10.000000);
  851.     TextDrawSetSelectable(wTuning[9], 0);
  852.  
  853.     wTuning[10] = TextDrawCreate(284.000000, 123.000000, "nitro");
  854.     TextDrawBackgroundColor(wTuning[10], 255);
  855.     TextDrawFont(wTuning[10], 2);
  856.     TextDrawLetterSize(wTuning[10], 0.300000, 1.000000);
  857.     TextDrawColor(wTuning[10], -1);
  858.     TextDrawSetOutline(wTuning[10], 0);
  859.     TextDrawSetProportional(wTuning[10], 1);
  860.     TextDrawSetShadow(wTuning[10], 0);
  861.     TextDrawUseBox(wTuning[10], 1);
  862.     TextDrawBoxColor(wTuning[10], 0);
  863.     TextDrawTextSize(wTuning[10], 320.000000, 10.000000);
  864.     TextDrawSetSelectable(wTuning[10], 0);
  865.  
  866.     wTuning[11] = TextDrawCreate(334.000000, 123.000000, "hydraulics");
  867.     TextDrawBackgroundColor(wTuning[11], 255);
  868.     TextDrawFont(wTuning[11], 2);
  869.     TextDrawLetterSize(wTuning[11], 0.300000, 1.000000);
  870.     TextDrawColor(wTuning[11], -1);
  871.     TextDrawSetOutline(wTuning[11], 0);
  872.     TextDrawSetProportional(wTuning[11], 1);
  873.     TextDrawSetShadow(wTuning[11], 0);
  874.     TextDrawUseBox(wTuning[11], 1);
  875.     TextDrawBoxColor(wTuning[11], 0);
  876.     TextDrawTextSize(wTuning[11], 411.000000, 10.000000);
  877.     TextDrawSetSelectable(wTuning[11], 0);
  878.  
  879.     wTuning[12] = TextDrawCreate(424.000000, 123.000000, "neon");
  880.     TextDrawBackgroundColor(wTuning[12], 255);
  881.     TextDrawFont(wTuning[12], 2);
  882.     TextDrawLetterSize(wTuning[12], 0.300000, 1.000000);
  883.     TextDrawColor(wTuning[12], -1);
  884.     TextDrawSetOutline(wTuning[12], 0);
  885.     TextDrawSetProportional(wTuning[12], 1);
  886.     TextDrawSetShadow(wTuning[12], 0);
  887.     TextDrawUseBox(wTuning[12], 1);
  888.     TextDrawBoxColor(wTuning[12], 0);
  889.     TextDrawTextSize(wTuning[12], 457.000000, 10.000000);
  890.     TextDrawSetSelectable(wTuning[12], 0);
  891.  
  892.     wTuning[13] = TextDrawCreate(466.000000, 123.000000, "autotuning");
  893.     TextDrawBackgroundColor(wTuning[13], 255);
  894.     TextDrawFont(wTuning[13], 2);
  895.     TextDrawLetterSize(wTuning[13], 0.300000, 1.000000);
  896.     TextDrawColor(wTuning[13], -1);
  897.     TextDrawSetOutline(wTuning[13], 0);
  898.     TextDrawSetProportional(wTuning[13], 1);
  899.     TextDrawSetShadow(wTuning[13], 0);
  900.     TextDrawUseBox(wTuning[13], 1);
  901.     TextDrawBoxColor(wTuning[13], 0);
  902.     TextDrawTextSize(wTuning[13], 542.000000, 10.000000);
  903.     TextDrawSetSelectable(wTuning[13], 0);
  904.  
  905.     /*------------------------------------------------------------------------------
  906.  
  907.     • Wheels • Wheels • Wheels • Wheels • Wheels • Wheels • Wheels • Wheels • Wheels
  908.  
  909.     ------------------------------------------------------------------------------*/
  910.     wWheels[0] = TextDrawCreate(88.000000, 149.000000, "shadow_________________");
  911.     TextDrawBackgroundColor(wWheels[0], 255);
  912.     TextDrawFont(wWheels[0], 2);
  913.     TextDrawLetterSize(wWheels[0], 0.300000, 1.000000);
  914.     TextDrawColor(wWheels[0], -1);
  915.     TextDrawSetOutline(wWheels[0], 0);
  916.     TextDrawSetProportional(wWheels[0], 1);
  917.     TextDrawSetShadow(wWheels[0], 0);
  918.     TextDrawUseBox(wWheels[0], 1);
  919.     TextDrawBoxColor(wWheels[0], 0);
  920.     TextDrawTextSize(wWheels[0], 190.000000, 10.000000);
  921.     TextDrawSetSelectable(wWheels[0], 0);
  922.  
  923.     wWheels[1] = TextDrawCreate(88.000000, 168.000000, "mega______________________");
  924.     TextDrawBackgroundColor(wWheels[1], 255);
  925.     TextDrawFont(wWheels[1], 2);
  926.     TextDrawLetterSize(wWheels[1], 0.300000, 1.000000);
  927.     TextDrawColor(wWheels[1], -1);
  928.     TextDrawSetOutline(wWheels[1], 0);
  929.     TextDrawSetProportional(wWheels[1], 1);
  930.     TextDrawSetShadow(wWheels[1], 0);
  931.     TextDrawUseBox(wWheels[1], 1);
  932.     TextDrawBoxColor(wWheels[1], 0);
  933.     TextDrawTextSize(wWheels[1], 170.000000, 10.000000);
  934.     TextDrawSetSelectable(wWheels[1], 0);
  935.  
  936.     wWheels[2] = TextDrawCreate(88.000000, 190.000000, "rimshine_____________");
  937.     TextDrawBackgroundColor(wWheels[2], 255);
  938.     TextDrawFont(wWheels[2], 2);
  939.     TextDrawLetterSize(wWheels[2], 0.300000, 1.000000);
  940.     TextDrawColor(wWheels[2], -1);
  941.     TextDrawSetOutline(wWheels[2], 0);
  942.     TextDrawSetProportional(wWheels[2], 1);
  943.     TextDrawSetShadow(wWheels[2], 0);
  944.     TextDrawUseBox(wWheels[2], 1);
  945.     TextDrawBoxColor(wWheels[2], 0);
  946.     TextDrawTextSize(wWheels[2], 171.000000, 10.000000);
  947.     TextDrawSetSelectable(wWheels[2], 0);
  948.  
  949.     wWheels[3] = TextDrawCreate(88.000000, 213.000000, "Wires___________________");
  950.     TextDrawBackgroundColor(wWheels[3], 255);
  951.     TextDrawFont(wWheels[3], 2);
  952.     TextDrawLetterSize(wWheels[3], 0.300000, 1.000000);
  953.     TextDrawColor(wWheels[3], -1);
  954.     TextDrawSetOutline(wWheels[3], 0);
  955.     TextDrawSetProportional(wWheels[3], 1);
  956.     TextDrawSetShadow(wWheels[3], 0);
  957.     TextDrawUseBox(wWheels[3], 1);
  958.     TextDrawBoxColor(wWheels[3], 0);
  959.     TextDrawTextSize(wWheels[3], 171.000000, 10.000000);
  960.     TextDrawSetSelectable(wWheels[3], 0);
  961.  
  962.     wWheels[4] = TextDrawCreate(88.000000, 233.000000, "classic_________________");
  963.     TextDrawBackgroundColor(wWheels[4], 255);
  964.     TextDrawFont(wWheels[4], 2);
  965.     TextDrawLetterSize(wWheels[4], 0.300000, 1.000000);
  966.     TextDrawColor(wWheels[4], -1);
  967.     TextDrawSetOutline(wWheels[4], 0);
  968.     TextDrawSetProportional(wWheels[4], 1);
  969.     TextDrawSetShadow(wWheels[4], 0);
  970.     TextDrawUseBox(wWheels[4], 1);
  971.     TextDrawBoxColor(wWheels[4], 0);
  972.     TextDrawTextSize(wWheels[4], 170.000000, 10.000000);
  973.     TextDrawSetSelectable(wWheels[4], 0);
  974.  
  975.     wWheels[5] = TextDrawCreate(87.000000, 254.000000, "twist_____________________");
  976.     TextDrawBackgroundColor(wWheels[5], 255);
  977.     TextDrawFont(wWheels[5], 2);
  978.     TextDrawLetterSize(wWheels[5], 0.300000, 1.000000);
  979.     TextDrawColor(wWheels[5], -1);
  980.     TextDrawSetOutline(wWheels[5], 0);
  981.     TextDrawSetProportional(wWheels[5], 1);
  982.     TextDrawSetShadow(wWheels[5], 0);
  983.     TextDrawUseBox(wWheels[5], 1);
  984.     TextDrawBoxColor(wWheels[5], 0);
  985.     TextDrawTextSize(wWheels[5], 180.000000, 10.000000);
  986.     TextDrawSetSelectable(wWheels[5], 0);
  987.  
  988.     wWheels[6] = TextDrawCreate(87.000000, 275.000000, "cutter__________________");
  989.     TextDrawBackgroundColor(wWheels[6], 255);
  990.     TextDrawFont(wWheels[6], 2);
  991.     TextDrawLetterSize(wWheels[6], 0.300000, 1.000000);
  992.     TextDrawColor(wWheels[6], -1);
  993.     TextDrawSetOutline(wWheels[6], 0);
  994.     TextDrawSetProportional(wWheels[6], 1);
  995.     TextDrawSetShadow(wWheels[6], 0);
  996.     TextDrawUseBox(wWheels[6], 1);
  997.     TextDrawBoxColor(wWheels[6], 0);
  998.     TextDrawTextSize(wWheels[6], 180.000000, 10.000000);
  999.     TextDrawSetSelectable(wWheels[6], 0);
  1000.  
  1001.     wWheels[7] = TextDrawCreate(87.000000, 293.000000, "Dollar__________________");
  1002.     TextDrawBackgroundColor(wWheels[7], 255);
  1003.     TextDrawFont(wWheels[7], 2);
  1004.     TextDrawLetterSize(wWheels[7], 0.300000, 1.000000);
  1005.     TextDrawColor(wWheels[7], -1);
  1006.     TextDrawSetOutline(wWheels[7], 0);
  1007.     TextDrawSetProportional(wWheels[7], 1);
  1008.     TextDrawSetShadow(wWheels[7], 0);
  1009.     TextDrawUseBox(wWheels[7], 1);
  1010.     TextDrawBoxColor(wWheels[7], 0);
  1011.     TextDrawTextSize(wWheels[7], 170.000000, 10.000000);
  1012.     TextDrawSetSelectable(wWheels[7], 0);
  1013.  
  1014.     wWheels[8] = TextDrawCreate(87.000000, 312.000000, "Atomic___________________");
  1015.     TextDrawBackgroundColor(wWheels[8], 255);
  1016.     TextDrawFont(wWheels[8], 2);
  1017.     TextDrawLetterSize(wWheels[8], 0.300000, 1.000000);
  1018.     TextDrawColor(wWheels[8], -1);
  1019.     TextDrawSetOutline(wWheels[8], 0);
  1020.     TextDrawSetProportional(wWheels[8], 1);
  1021.     TextDrawSetShadow(wWheels[8], 0);
  1022.     TextDrawUseBox(wWheels[8], 1);
  1023.     TextDrawBoxColor(wWheels[8], 0);
  1024.     TextDrawTextSize(wWheels[8], 170.000000, 10.000000);
  1025.     TextDrawSetSelectable(wWheels[8], 0);
  1026.     /*------------------------------------------------------------------------------
  1027.  
  1028.     • Color • Color • Color • Color • Color • Color • Color • Color • Color • Color
  1029.  
  1030.     ------------------------------------------------------------------------------*/
  1031.     wColor[0] = TextDrawCreate(88.000000, 149.000000, "Black___________________");
  1032.     TextDrawBackgroundColor(wColor[0], 255);
  1033.     TextDrawFont(wColor[0], 2);
  1034.     TextDrawLetterSize(wColor[0], 0.300000, 1.000000);
  1035.     TextDrawColor(wColor[0], -1);
  1036.     TextDrawSetOutline(wColor[0], 0);
  1037.     TextDrawSetProportional(wColor[0], 1);
  1038.     TextDrawSetShadow(wColor[0], 0);
  1039.     TextDrawUseBox(wColor[0], 1);
  1040.     TextDrawBoxColor(wColor[0], 0);
  1041.     TextDrawTextSize(wColor[0], 190.000000, 10.000000);
  1042.     TextDrawSetSelectable(wColor[0], 0);
  1043.  
  1044.     wColor[1] = TextDrawCreate(88.000000, 168.000000, "White____________________");
  1045.     TextDrawBackgroundColor(wColor[1], 255);
  1046.     TextDrawFont(wColor[1], 2);
  1047.     TextDrawLetterSize(wColor[1], 0.300000, 1.000000);
  1048.     TextDrawColor(wColor[1], -1);
  1049.     TextDrawSetOutline(wColor[1], 0);
  1050.     TextDrawSetProportional(wColor[1], 1);
  1051.     TextDrawSetShadow(wColor[1], 0);
  1052.     TextDrawUseBox(wColor[1], 1);
  1053.     TextDrawBoxColor(wColor[1], 0);
  1054.     TextDrawTextSize(wColor[1], 170.000000, 10.000000);
  1055.     TextDrawSetSelectable(wColor[1], 0);
  1056.  
  1057.     wColor[2] = TextDrawCreate(88.000000, 190.000000, "Green___________________");
  1058.     TextDrawBackgroundColor(wColor[2], 255);
  1059.     TextDrawFont(wColor[2], 2);
  1060.     TextDrawLetterSize(wColor[2], 0.300000, 1.000000);
  1061.     TextDrawColor(wColor[2], -1);
  1062.     TextDrawSetOutline(wColor[2], 0);
  1063.     TextDrawSetProportional(wColor[2], 1);
  1064.     TextDrawSetShadow(wColor[2], 0);
  1065.     TextDrawUseBox(wColor[2], 1);
  1066.     TextDrawBoxColor(wColor[2], 0);
  1067.     TextDrawTextSize(wColor[2], 171.000000, 10.000000);
  1068.     TextDrawSetSelectable(wColor[2], 0);
  1069.  
  1070.     wColor[3] = TextDrawCreate(88.000000, 213.000000, "Cyan_____________________");
  1071.     TextDrawBackgroundColor(wColor[3], 255);
  1072.     TextDrawFont(wColor[3], 2);
  1073.     TextDrawLetterSize(wColor[3], 0.300000, 1.000000);
  1074.     TextDrawColor(wColor[3], -1);
  1075.     TextDrawSetOutline(wColor[3], 0);
  1076.     TextDrawSetProportional(wColor[3], 1);
  1077.     TextDrawSetShadow(wColor[3], 0);
  1078.     TextDrawUseBox(wColor[3], 1);
  1079.     TextDrawBoxColor(wColor[3], 0);
  1080.     TextDrawTextSize(wColor[3], 171.000000, 10.000000);
  1081.     TextDrawSetSelectable(wColor[3], 0);
  1082.  
  1083.     wColor[4] = TextDrawCreate(88.000000, 233.000000, "Blue_____________________");
  1084.     TextDrawBackgroundColor(wColor[4], 255);
  1085.     TextDrawFont(wColor[4], 2);
  1086.     TextDrawLetterSize(wColor[4], 0.300000, 1.000000);
  1087.     TextDrawColor(wColor[4], -1);
  1088.     TextDrawSetOutline(wColor[4], 0);
  1089.     TextDrawSetProportional(wColor[4], 1);
  1090.     TextDrawSetShadow(wColor[4], 0);
  1091.     TextDrawUseBox(wColor[4], 1);
  1092.     TextDrawBoxColor(wColor[4], 0);
  1093.     TextDrawTextSize(wColor[4], 170.000000, 10.000000);
  1094.     TextDrawSetSelectable(wColor[4], 0);
  1095.  
  1096.     wColor[5] = TextDrawCreate(87.000000, 254.000000, "Yellow________________");
  1097.     TextDrawBackgroundColor(wColor[5], 255);
  1098.     TextDrawFont(wColor[5], 2);
  1099.     TextDrawLetterSize(wColor[5], 0.300000, 1.000000);
  1100.     TextDrawColor(wColor[5], -1);
  1101.     TextDrawSetOutline(wColor[5], 0);
  1102.     TextDrawSetProportional(wColor[5], 1);
  1103.     TextDrawSetShadow(wColor[5], 0);
  1104.     TextDrawUseBox(wColor[5], 1);
  1105.     TextDrawBoxColor(wColor[5], 0);
  1106.     TextDrawTextSize(wColor[5], 180.000000, 10.000000);
  1107.     TextDrawSetSelectable(wColor[5], 0);
  1108.  
  1109.     wColor[6] = TextDrawCreate(87.000000, 275.000000, "gray_____________________");
  1110.     TextDrawBackgroundColor(wColor[6], 255);
  1111.     TextDrawFont(wColor[6], 2);
  1112.     TextDrawLetterSize(wColor[6], 0.300000, 1.000000);
  1113.     TextDrawColor(wColor[6], -1);
  1114.     TextDrawSetOutline(wColor[6], 0);
  1115.     TextDrawSetProportional(wColor[6], 1);
  1116.     TextDrawSetShadow(wColor[6], 0);
  1117.     TextDrawUseBox(wColor[6], 1);
  1118.     TextDrawBoxColor(wColor[6], 0);
  1119.     TextDrawTextSize(wColor[6], 229.000000, 10.000000);
  1120.     TextDrawSetSelectable(wColor[6], 0);
  1121.  
  1122.     wColor[7] = TextDrawCreate(87.000000, 293.000000, "Pink______________________");
  1123.     TextDrawBackgroundColor(wColor[7], 255);
  1124.     TextDrawFont(wColor[7], 2);
  1125.     TextDrawLetterSize(wColor[7], 0.300000, 1.000000);
  1126.     TextDrawColor(wColor[7], -1);
  1127.     TextDrawSetOutline(wColor[7], 0);
  1128.     TextDrawSetProportional(wColor[7], 1);
  1129.     TextDrawSetShadow(wColor[7], 0);
  1130.     TextDrawUseBox(wColor[7], 1);
  1131.     TextDrawBoxColor(wColor[7], 0);
  1132.     TextDrawTextSize(wColor[7], 170.000000, 10.000000);
  1133.     TextDrawSetSelectable(wColor[7], 0);
  1134.  
  1135.     wColor[8] = TextDrawCreate(87.000000, 312.000000, "Orange________________");
  1136.     TextDrawBackgroundColor(wColor[8], 255);
  1137.     TextDrawFont(wColor[8], 2);
  1138.     TextDrawLetterSize(wColor[8], 0.300000, 1.000000);
  1139.     TextDrawColor(wColor[8], -1);
  1140.     TextDrawSetOutline(wColor[8], 0);
  1141.     TextDrawSetProportional(wColor[8], 1);
  1142.     TextDrawSetShadow(wColor[8], 0);
  1143.     TextDrawUseBox(wColor[8], 1);
  1144.     TextDrawBoxColor(wColor[8], 0);
  1145.     TextDrawTextSize(wColor[8], 170.000000, 10.000000);
  1146.     TextDrawSetSelectable(wColor[8], 0);
  1147.     /*------------------------------------------------------------------------------
  1148.  
  1149.     • PaintJob • PaintJob • PaintJob • PaintJob • PaintJob • PaintJob • PaintJob
  1150.  
  1151.     ------------------------------------------------------------------------------*/
  1152.     wPaintJob[0] = TextDrawCreate(88.000000, 149.000000, "PAINTJOB_1");
  1153.     TextDrawBackgroundColor(wPaintJob[0], 255);
  1154.     TextDrawFont(wPaintJob[0], 2);
  1155.     TextDrawLetterSize(wPaintJob[0], 0.300000, 1.000000);
  1156.     TextDrawColor(wPaintJob[0], -1);
  1157.     TextDrawSetOutline(wPaintJob[0], 0);
  1158.     TextDrawSetProportional(wPaintJob[0], 1);
  1159.     TextDrawSetShadow(wPaintJob[0], 0);
  1160.     TextDrawUseBox(wPaintJob[0], 1);
  1161.     TextDrawBoxColor(wPaintJob[0], 0);
  1162.     TextDrawTextSize(wPaintJob[0], 190.000000, 10.000000);
  1163.     TextDrawSetSelectable(wPaintJob[0], 0);
  1164.  
  1165.     wPaintJob[1] = TextDrawCreate(88.000000, 168.000000, "PaintJob_2");
  1166.     TextDrawBackgroundColor(wPaintJob[1], 255);
  1167.     TextDrawFont(wPaintJob[1], 2);
  1168.     TextDrawLetterSize(wPaintJob[1], 0.300000, 1.000000);
  1169.     TextDrawColor(wPaintJob[1], -1);
  1170.     TextDrawSetOutline(wPaintJob[1], 0);
  1171.     TextDrawSetProportional(wPaintJob[1], 1);
  1172.     TextDrawSetShadow(wPaintJob[1], 0);
  1173.     TextDrawUseBox(wPaintJob[1], 1);
  1174.     TextDrawBoxColor(wPaintJob[1], 0);
  1175.     TextDrawTextSize(wPaintJob[1], 170.000000, 10.000000);
  1176.     TextDrawSetSelectable(wPaintJob[1], 0);
  1177.  
  1178.     wPaintJob[2] = TextDrawCreate(88.000000, 190.000000, "PaintJob_3");
  1179.     TextDrawBackgroundColor(wPaintJob[2], 255);
  1180.     TextDrawFont(wPaintJob[2], 2);
  1181.     TextDrawLetterSize(wPaintJob[2], 0.300000, 1.000000);
  1182.     TextDrawColor(wPaintJob[2], -1);
  1183.     TextDrawSetOutline(wPaintJob[2], 0);
  1184.     TextDrawSetProportional(wPaintJob[2], 1);
  1185.     TextDrawSetShadow(wPaintJob[2], 0);
  1186.     TextDrawUseBox(wPaintJob[2], 1);
  1187.     TextDrawBoxColor(wPaintJob[2], 0);
  1188.     TextDrawTextSize(wPaintJob[2], 171.000000, 10.000000);
  1189.     TextDrawSetSelectable(wPaintJob[2], 0);
  1190.  
  1191.  
  1192.     /*------------------------------------------------------------------------------
  1193.  
  1194.     • NITRO • NITRO • NITRO • NITRO • NITRO • NITRO • NITRO • NITRO • NITRO • NITRO
  1195.  
  1196.     ------------------------------------------------------------------------------*/
  1197.     wNitro[0] = TextDrawCreate(88.000000, 149.000000, "Nitro 2X");
  1198.     TextDrawBackgroundColor(wNitro[0], 255);
  1199.     TextDrawFont(wNitro[0], 2);
  1200.     TextDrawLetterSize(wNitro[0], 0.300000, 1.000000);
  1201.     TextDrawColor(wNitro[0], -1);
  1202.     TextDrawSetOutline(wNitro[0], 0);
  1203.     TextDrawSetProportional(wNitro[0], 1);
  1204.     TextDrawSetShadow(wNitro[0], 0);
  1205.     TextDrawUseBox(wNitro[0], 1);
  1206.     TextDrawBoxColor(wNitro[0], 0);
  1207.     TextDrawTextSize(wNitro[0], 190.000000, 10.000000);
  1208.     TextDrawSetSelectable(wNitro[0], 0);
  1209.  
  1210.     wNitro[1] = TextDrawCreate(88.000000, 169.000000, "NITRo 5x");
  1211.     TextDrawBackgroundColor(wNitro[1], 255);
  1212.     TextDrawFont(wNitro[1], 2);
  1213.     TextDrawLetterSize(wNitro[1], 0.300000, 1.000000);
  1214.     TextDrawColor(wNitro[1], -1);
  1215.     TextDrawSetOutline(wNitro[1], 0);
  1216.     TextDrawSetProportional(wNitro[1], 1);
  1217.     TextDrawSetShadow(wNitro[1], 0);
  1218.     TextDrawUseBox(wNitro[1], 1);
  1219.     TextDrawBoxColor(wNitro[1], 0);
  1220.     TextDrawTextSize(wNitro[1], 170.000000, 10.000000);
  1221.     TextDrawSetSelectable(wNitro[1], 0);
  1222.  
  1223.     wNitro[2] = TextDrawCreate(88.000000, 190.000000, "nitro 10x");
  1224.     TextDrawBackgroundColor(wNitro[2], 255);
  1225.     TextDrawFont(wNitro[2], 2);
  1226.     TextDrawLetterSize(wNitro[2], 0.300000, 1.000000);
  1227.     TextDrawColor(wNitro[2], -1);
  1228.     TextDrawSetOutline(wNitro[2], 0);
  1229.     TextDrawSetProportional(wNitro[2], 1);
  1230.     TextDrawSetShadow(wNitro[2], 0);
  1231.     TextDrawUseBox(wNitro[2], 1);
  1232.     TextDrawBoxColor(wNitro[2], 0);
  1233.     TextDrawTextSize(wNitro[2], 171.000000, 10.000000);
  1234.  
  1235.     /*------------------------------------------------------------------------------
  1236.  
  1237.     • NEON • NEON • NEON • NEON • NEON • NEON • NEON • NEON • NEON • NEON • NEON •
  1238.  
  1239.     ------------------------------------------------------------------------------*/
  1240.     wNeon[0] = TextDrawCreate(88.000000, 149.000000, "Blue");
  1241.     TextDrawBackgroundColor(wNeon[0], 255);
  1242.     TextDrawFont(wNeon[0], 2);
  1243.     TextDrawLetterSize(wNeon[0], 0.300000, 1.000000);
  1244.     TextDrawColor(wNeon[0], -1);
  1245.     TextDrawSetOutline(wNeon[0], 0);
  1246.     TextDrawSetProportional(wNeon[0], 1);
  1247.     TextDrawSetShadow(wNeon[0], 0);
  1248.     TextDrawUseBox(wNeon[0], 1);
  1249.     TextDrawBoxColor(wNeon[0], 0);
  1250.     TextDrawTextSize(wNeon[0], 190.000000, 10.000000);
  1251.     TextDrawSetSelectable(wNeon[0], 0);
  1252.  
  1253.     wNeon[1] = TextDrawCreate(88.000000, 168.000000, "Yellow");
  1254.     TextDrawBackgroundColor(wNeon[1], 255);
  1255.     TextDrawFont(wNeon[1], 2);
  1256.     TextDrawLetterSize(wNeon[1], 0.300000, 1.000000);
  1257.     TextDrawColor(wNeon[1], -1);
  1258.     TextDrawSetOutline(wNeon[1], 0);
  1259.     TextDrawSetProportional(wNeon[1], 1);
  1260.     TextDrawSetShadow(wNeon[1], 0);
  1261.     TextDrawUseBox(wNeon[1], 1);
  1262.     TextDrawBoxColor(wNeon[1], 0);
  1263.     TextDrawTextSize(wNeon[1], 170.000000, 10.000000);
  1264.     TextDrawSetSelectable(wNeon[1], 0);
  1265.  
  1266.     wNeon[2] = TextDrawCreate(88.000000, 190.000000, "White");
  1267.     TextDrawBackgroundColor(wNeon[2], 255);
  1268.     TextDrawFont(wNeon[2], 2);
  1269.     TextDrawLetterSize(wNeon[2], 0.300000, 1.000000);
  1270.     TextDrawColor(wNeon[2], -1);
  1271.     TextDrawSetOutline(wNeon[2], 0);
  1272.     TextDrawSetProportional(wNeon[2], 1);
  1273.     TextDrawSetShadow(wNeon[2], 0);
  1274.     TextDrawUseBox(wNeon[2], 1);
  1275.     TextDrawBoxColor(wNeon[2], 0);
  1276.     TextDrawTextSize(wNeon[2], 171.000000, 10.000000);
  1277.     TextDrawSetSelectable(wNeon[2], 0);
  1278.  
  1279.     wNeon[3] = TextDrawCreate(88.000000, 213.000000, "Pink");
  1280.     TextDrawBackgroundColor(wNeon[3], 255);
  1281.     TextDrawFont(wNeon[3], 2);
  1282.     TextDrawLetterSize(wNeon[3], 0.300000, 1.000000);
  1283.     TextDrawColor(wNeon[3], -1);
  1284.     TextDrawSetOutline(wNeon[3], 0);
  1285.     TextDrawSetProportional(wNeon[3], 1);
  1286.     TextDrawSetShadow(wNeon[3], 0);
  1287.     TextDrawUseBox(wNeon[3], 1);
  1288.     TextDrawBoxColor(wNeon[3], 0);
  1289.     TextDrawTextSize(wNeon[3], 171.000000, 10.000000);
  1290.     TextDrawSetSelectable(wNeon[3], 0);
  1291.  
  1292.     wNeon[4] = TextDrawCreate(88.000000, 233.000000, "green");
  1293.     TextDrawBackgroundColor(wNeon[4], 255);
  1294.     TextDrawFont(wNeon[4], 2);
  1295.     TextDrawLetterSize(wNeon[4], 0.300000, 1.000000);
  1296.     TextDrawColor(wNeon[4], -1);
  1297.     TextDrawSetOutline(wNeon[4], 0);
  1298.     TextDrawSetProportional(wNeon[4], 1);
  1299.     TextDrawSetShadow(wNeon[4], 0);
  1300.     TextDrawUseBox(wNeon[4], 1);
  1301.     TextDrawBoxColor(wNeon[4], 0);
  1302.     TextDrawTextSize(wNeon[4], 170.000000, 10.000000);
  1303.     TextDrawSetSelectable(wNeon[4], 0);
  1304.  
  1305.     wNeon[5] = TextDrawCreate(88.000000, 252.000000, "remove_neon");
  1306.     TextDrawBackgroundColor(wNeon[5], 255);
  1307.     TextDrawFont(wNeon[5], 2);
  1308.     TextDrawLetterSize(wNeon[5], 0.300000, 1.000000);
  1309.     TextDrawColor(wNeon[5], -1);
  1310.     TextDrawSetOutline(wNeon[5], 0);
  1311.     TextDrawSetProportional(wNeon[5], 1);
  1312.     TextDrawSetShadow(wNeon[5], 0);
  1313.     TextDrawUseBox(wNeon[5], 1);
  1314.     TextDrawBoxColor(wNeon[5], 0);
  1315.     TextDrawTextSize(wNeon[5], 170.000000, 10.000000);
  1316.     TextDrawSetSelectable(wNeon[5], 0);
  1317.  
  1318.  
  1319.     for(new i = 7; i < sizeof(wTuning); i++) { TextDrawSetSelectable(Text:wTuning[i], true); }
  1320.     for(new i = 0; i < sizeof(wWheels); i++) { TextDrawSetSelectable(Text:wWheels[i], true); }
  1321.     for(new i = 0; i < sizeof(wColor); i++) { TextDrawSetSelectable(Text:wColor[i], true); }
  1322.     for(new i = 0; i < sizeof(wPaintJob); i++) { TextDrawSetSelectable(Text:wPaintJob[i], true); }
  1323.     for(new i = 0; i < sizeof(wNitro); i++) { TextDrawSetSelectable(Text:wNitro[i], true); }
  1324.     for(new i = 0; i < sizeof(wNeon); i++) { TextDrawSetSelectable(Text:wNeon[i], true); }
  1325.  
  1326.     return 1;
  1327. }
  1328.  
  1329. public OnGameModeExit()
  1330. {
  1331.     return 1;
  1332. }
  1333.  
  1334. public OnPlayerRequestClass(playerid, classid)
  1335. {
  1336.  
  1337.     TogglePlayerSpectating(playerid, true);
  1338.     InterpolateCameraPos(playerid, 355.597930, -1715.070434, 105.277404, 483.929016, -1476.202514, 97.490631, 30000);
  1339.     InterpolateCameraLookAt(playerid, 355.481750, -1710.357788, 103.610702, 479.389251, -1477.755615, 96.084091, 30000);
  1340.     GetPlayerName(playerid, DATA_INFO[playerid][nome], MAX_PLAYER_NAME);
  1341.    
  1342.     new ORM:orm_id = DATA_INFO[playerid][ORMID] = orm_create("contasp", mysql_c);
  1343.     orm_addvar_int(orm_id, DATA_INFO[playerid][id], "id");
  1344.     orm_addvar_string(orm_id, DATA_INFO[playerid][nome], MAX_PLAYER_NAME, "nome");
  1345.     orm_addvar_string(orm_id, DATA_INFO[playerid][senha], MAX_PLAYER_PASSWORD, "senha");
  1346.     orm_addvar_int(orm_id, DATA_INFO[playerid][skin], "skin");
  1347.     orm_addvar_int(orm_id, DATA_INFO[playerid][dinheiro], "dinheiro");
  1348.     orm_addvar_int(orm_id, DATA_INFO[playerid][level], "level");
  1349.     orm_addvar_int(orm_id, DATA_INFO[playerid][sexo], "sexo");
  1350.     orm_addvar_int(orm_id, DATA_INFO[playerid][admin], "admin");
  1351.     orm_addvar_int(orm_id, DATA_INFO[playerid][emprego], "emprego");
  1352.  
  1353.  
  1354.     orm_setkey(orm_id, "nome");
  1355.     orm_select(DATA_INFO[playerid][ORMID], "OnPlayerDataLoaded", "d", playerid);
  1356.     return 1;
  1357. }
  1358.  
  1359. forward OnPlayerDataLoaded(playerid);
  1360. public OnPlayerDataLoaded(playerid)
  1361. {
  1362.     orm_setkey(DATA_INFO[playerid][ORMID], "id");
  1363.  
  1364.     switch(orm_errno(DATA_INFO[playerid][ORMID]))
  1365.     {
  1366.  
  1367.         case ERROR_OK:
  1368.         {
  1369.             ContaExiste[playerid] = true;
  1370.         }
  1371.         case ERROR_NO_DATA:
  1372.         {
  1373.  
  1374.             ContaExiste[playerid] = false;
  1375.         }
  1376.     }
  1377.  
  1378.  
  1379.  
  1380.     SelectTextDraw(playerid,0x6666FFFF);
  1381.     PlayAudioStreamForPlayer(playerid, "http://api.ning.com/files/0GPHyB0EhQnN3LED0k6AWqXoM6HriIP7PX5lQyKmn*ajZBYxZk7VQS1jDM5pc7MzN1nQNuQXhlizz5Ah8cXZlxbeJOjITShT/lXpobJylpHyWe5R5mWlkeZlnqKO");
  1382.  
  1383.     for(new i = 0; i < 25; i++){ mensagem(playerid, -1, " "); }
  1384.     for(new i = 0; i < sizeof(registro_draw); i++) { TextDrawShowForPlayer(playerid, registro_draw[i]); }
  1385.     return 1;
  1386. }
  1387.  
  1388.  
  1389.  
  1390. public OnPlayerConnect(playerid)
  1391. {
  1392.     RemoveBuildingForPlayer(playerid, 1297, 813.3359, -1331.8828, 15.6406, 0.25);
  1393.     return 1;
  1394. }
  1395.  
  1396. public OnPlayerDisconnect(playerid, reason)
  1397. {
  1398.     SalvarPlayerEx(playerid);
  1399.     return 1;
  1400. }
  1401.  
  1402. public OnPlayerSpawn(playerid)
  1403. {
  1404.     TextDrawShowForPlayer(playerid, Relogio[0]), TextDrawShowForPlayer(playerid, Relogio[1]);
  1405.     SetPlayerSkin(playerid, DATA_INFO[playerid][skin]);
  1406.     return 1;
  1407. }
  1408.  
  1409. public OnPlayerDeath(playerid, killerid, reason)
  1410. {
  1411.     return 1;
  1412. }
  1413.  
  1414. public OnVehicleSpawn(vehicleid)
  1415. {
  1416.     return 1;
  1417. }
  1418.  
  1419. public OnVehicleDeath(vehicleid, killerid)
  1420. {
  1421.     return 1;
  1422. }
  1423.  
  1424. public OnPlayerText(playerid, text[])
  1425. {
  1426.     return 1;
  1427. }
  1428.  
  1429. public OnPlayerCommandText(playerid, cmdtext[])
  1430. {
  1431.     return 1;
  1432. }
  1433.  
  1434. public OnPlayerCommandPerformed(playerid, cmdtext[], success)
  1435. {
  1436.     if(!success)
  1437.     {
  1438.         new Comand[128];
  1439.         format(Comand, sizeof(Comand), ""c_azul_hex"INFO"c_branco_hex" - O Comando "c_azul_hex"\"%s\""c_branco_hex", não existe.", cmdtext);
  1440.         mensagem(playerid, -1, Comand);
  1441.     }
  1442.     return 1;
  1443. }
  1444.  
  1445. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  1446. {
  1447.     SetTimerEx("CarGod", 1000, true, "i", playerid);
  1448.     return 1;
  1449. }
  1450.  
  1451. public OnPlayerExitVehicle(playerid, vehicleid)
  1452. {
  1453.     return 1;
  1454. }
  1455.  
  1456. public OnPlayerStateChange(playerid, newstate, oldstate)
  1457. {
  1458.     return 1;
  1459. }
  1460.  
  1461. public OnPlayerEnterCheckpoint(playerid)
  1462. {
  1463.     return 1;
  1464. }
  1465.  
  1466. public OnPlayerLeaveCheckpoint(playerid)
  1467. {
  1468.     return 1;
  1469. }
  1470.  
  1471. public OnPlayerEnterRaceCheckpoint(playerid)
  1472. {
  1473.     return 1;
  1474. }
  1475.  
  1476. public OnPlayerLeaveRaceCheckpoint(playerid)
  1477. {
  1478.     return 1;
  1479. }
  1480.  
  1481. public OnRconCommand(cmd[])
  1482. {
  1483.     return 1;
  1484. }
  1485.  
  1486. CMD:salvarcontas(playerid, params[])
  1487. {
  1488.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=2)
  1489.     {
  1490.         new cmd_s[128], ContaSalva;
  1491.  
  1492.         for(new i = 0; i < MAX_PLAYERS; i++)
  1493.         {
  1494.             if(IsPlayerConnected(i))
  1495.             {
  1496.                 SalvarPlayerEx(i);
  1497.                 ContaSalva++;
  1498.             }
  1499.         }
  1500.         format(cmd_s, sizeof(cmd_s), ""c_cinza_hex"O "c_azul_hex"%s "c_azul_hex"%s"c_cinza_hex" Salvou todos os dados das contas online no total de %d. ", GetPlayerCargo(playerid), GetPlayerNameEx(playerid), ContaSalva);
  1501.         SendClientMessageToAll(-1, cmd_s);
  1502.  
  1503.     }
  1504.     return 1;
  1505. }
  1506.  
  1507. CMD:admins(playerid, params[])
  1508. {
  1509.     new admin_s[256], admin_d[256], admin_c;
  1510.     for(new i = 0; i < MAX_PLAYERS; i++)
  1511.     {
  1512.  
  1513.         if(DATA_INFO[i][admin] > 0)
  1514.         {
  1515.  
  1516.             format(admin_s, sizeof(admin_s), ""c_branco_hex"Nome: %s - Cargo: %s\n", GetPlayerNameEx(i), GetPlayerCargo(i));
  1517.             strcat(admin_d, admin_s);
  1518.             admin_c++;
  1519.         }
  1520.     }
  1521.     format(admin_s, sizeof(admin_s), "%s", admin_c > 0 ? (""c_branco_hex"Existem administradores online.") : (""c_branco_hex"Não existe nenhum adminstrador online no momento."));
  1522.     strcat(admin_d, admin_s);
  1523.  
  1524.     ShowPlayerDialog(playerid, d_admins_on, DIALOG_STYLE_MSGBOX, ""c_branco_hex"-  Administração Online ", admin_d, "Concluir", "");
  1525.     return 1;
  1526. }
  1527.  
  1528. CMD:apdp(playerid, params[])
  1529. {
  1530.     if(DATA_INFO[playerid][emprego] == 1 || DATA_INFO[playerid][admin] >= 1 )
  1531.     {
  1532.  
  1533.         if(IsPlayerInRangeOfPoint(playerid, 10.0, 1548.65955, -1627.60107, 15.04578))
  1534.         {
  1535.  
  1536.             MoveObject(dp_portao, 1549.30554, -1638.05176, 15.04578, 3.0);
  1537.             mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Portão Departamento de Policia aberto.");
  1538.             SetTimerEx("fecha_gate", 10000, false, "i", dp_portao);
  1539.  
  1540.         }
  1541.     }
  1542.     return 1;
  1543. }
  1544.  
  1545.  
  1546. forward fecha_gate(gateid, playerid);
  1547. public fecha_gate(gateid, playerid)
  1548. {
  1549.     if(gateid == dp_portao)
  1550.     {
  1551.  
  1552.         MoveObject(dp_portao , 1548.65955, -1627.60107, 15.04578, 3.0);
  1553.         mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Portão Departamento de Policia fechado.");
  1554.  
  1555.     }
  1556.     return 1;
  1557. }
  1558.  
  1559. CMD:settimer(playerid , params[])
  1560. {
  1561.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >= 2)
  1562.     {
  1563.  
  1564.         new set_timer;
  1565.  
  1566.         if(sscanf(params, "d", set_timer))
  1567.         return mensagem(playerid, -1, ""c_azul_hex"INFO"c_branco_hex" - Utilize: /settimer [hora].");
  1568.  
  1569.         SetWorldTime(set_timer);
  1570.     }
  1571.     return 1;
  1572. }
  1573.  
  1574. CMD:setadmin(playerid, params[])
  1575. {
  1576.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] == 3)
  1577.     {
  1578.  
  1579.         new a_recebe, a_cargo;
  1580.         if(sscanf(params,"dd", a_recebe, a_cargo))
  1581.         return mensagem(playerid, -1, ""c_azul_hex"INFO"c_branco_hex" - Utilize: /setadmin [playerid] [cargo].");
  1582.  
  1583.         if( a_cargo > 3 )
  1584.         return mensagem(playerid, -1, ""c_azul_hex"INFO"c_branco_hex" - Cargos de 1 a 3.");
  1585.  
  1586.         if(!IsPlayerConnected(a_recebe))
  1587.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- player-id não conectado.");
  1588.  
  1589.         DATA_INFO[a_recebe][admin] = a_cargo;
  1590.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"O Desenvolvedor "c_azul_hex"%s"c_cinza_hex" setou o player "c_azul_hex"%s"c_cinza_hex" como "c_azul_hex"%s.",GetPlayerNameEx(playerid),GetPlayerNameEx(a_recebe), GetPlayerCargo(a_recebe));
  1591.         mensagem_all(-1 , a_cmd);
  1592.     }
  1593.     return 1;
  1594. }
  1595.  
  1596. CMD:cv(playerid, params[])
  1597. {
  1598.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=2)
  1599.     {
  1600.  
  1601.         new veiculo, modelo, c1, c2, Float:pcar[3], Float:A;
  1602.  
  1603.  
  1604.         if(sscanf(params, "ddd", modelo, c1, c2))
  1605.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /cv [modelo] [cor1] [cor2].");
  1606.  
  1607.  
  1608.         if( modelo < 400 || modelo > 611 )
  1609.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Modelos de veiculos de 400 a 611.");
  1610.  
  1611.  
  1612.         GetPlayerPos(playerid, pcar[0], pcar[1], pcar[2]);
  1613.         GetPlayerFacingAngle(playerid, A);
  1614.  
  1615.  
  1616.         veiculo = CreateVehicle(modelo, pcar[0], pcar[1], pcar[2], A, c1, c2, 0);
  1617.         PutPlayerInVehicle(playerid, veiculo, 0);
  1618.  
  1619.  
  1620.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"Você criou o veiculo %d com sucesso.", modelo);
  1621.         mensagem_all(-1 , a_cmd);
  1622.     }
  1623.     return 1;
  1624. }
  1625.  
  1626. CMD:turbo(playerid)
  1627. {
  1628.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1)
  1629.     {
  1630.         if(Turbo[playerid] == true) Turbo[playerid] = false, mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Turbo desativado.");
  1631.         else Turbo[playerid] = true, mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Turbo ativado.");
  1632.     }
  1633.     return 1;
  1634. }
  1635.  
  1636. CMD:tapa(playerid, params[])
  1637. {
  1638.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1)
  1639.     {
  1640.  
  1641.         new a_recebe, distancia,  Float:ptapa[3];
  1642.  
  1643.         if(sscanf(params,"dd", a_recebe, distancia))
  1644.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /tapa [player-id] [distancia].");
  1645.  
  1646.         if(!IsPlayerConnected(a_recebe))
  1647.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- player-id não conectado.");
  1648.  
  1649.         GetPlayerPos(a_recebe, ptapa[0], ptapa[1], ptapa[2]);
  1650.         SetPlayerPos(a_recebe, ptapa[0], ptapa[1], ptapa[2]+distancia);
  1651.  
  1652.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"O "c_azul_hex"%s "c_azul_hex"%s"c_cinza_hex" deu tapa em você. ",  GetPlayerCargo(playerid), GetPlayerNameEx(playerid));
  1653.         mensagem(a_recebe ,-1, a_cmd);
  1654.  
  1655.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"Você deu tapa no jogador "c_azul_hex"%s  ", GetPlayerNameEx(a_recebe));
  1656.         mensagem(playerid ,-1, a_cmd);
  1657.     }
  1658.     return 1;
  1659. }
  1660.  
  1661. CMD:lc(playerid, params[])
  1662. {
  1663.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1 )
  1664.     for(new i = 0; i < 30; i++) mensagem_all(-1, "       ");
  1665.     mensagem_all(-1, ""c_vermelho_hex"Chat Limpo!  ");
  1666.     return 1;
  1667. }
  1668.  
  1669. CMD:matar(playerid, params[])
  1670. {
  1671.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1 )
  1672.     {
  1673.  
  1674.  
  1675.         new a_recebe;
  1676.         if(sscanf(params,"d", a_recebe))
  1677.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /matar [player-id].");
  1678.  
  1679.         if(!IsPlayerConnected(a_recebe))
  1680.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- player-id não conectado.");
  1681.  
  1682.         SetPlayerHealth(a_recebe, 0);
  1683.  
  1684.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"O "c_azul_hex"%s "c_azul_hex"%s"c_cinza_hex" matou você. ",  GetPlayerCargo(playerid), GetPlayerNameEx(playerid));
  1685.         mensagem(a_recebe ,-1, a_cmd);
  1686.  
  1687.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"Você matou o jogador "c_azul_hex"%s  ",  GetPlayerNameEx(a_recebe));
  1688.         mensagem(playerid ,-1, a_cmd);
  1689.     }
  1690.     return 1;
  1691. }
  1692.  
  1693. CMD:dardinheiro(playerid, params[])
  1694. {
  1695.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1 )
  1696.     {
  1697.  
  1698.  
  1699.         new a_recebe, a_dinheiro;
  1700.         if(sscanf(params,"dd", a_recebe, a_dinheiro))
  1701.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /dardinheiro [player-id] [dinheiro].");
  1702.  
  1703.         if(!IsPlayerConnected(a_recebe))
  1704.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- player-id não conectado.");
  1705.  
  1706.         GivePlayerMoney(a_recebe, a_dinheiro);
  1707.  
  1708.         DATA_INFO[a_recebe][dinheiro] =a_dinheiro;
  1709.  
  1710.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"O "c_azul_hex"%s "c_azul_hex"%s"c_cinza_hex" deu %dR$ para você. ", GetPlayerCargo(playerid), GetPlayerNameEx(playerid), a_dinheiro);
  1711.         mensagem(a_recebe ,-1, a_cmd);
  1712.  
  1713.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"Você deu %dR$ para o  jogador "c_azul_hex"%s  ", dinheiro,  GetPlayerNameEx(a_recebe));
  1714.         mensagem(playerid ,-1, a_cmd);
  1715.     }
  1716.     return 1;
  1717. }
  1718.  
  1719. CMD:dararma(playerid, params[])
  1720. {
  1721.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=2)
  1722.     {
  1723.         new a_recebe, arma, bala;
  1724.  
  1725.         if(sscanf(params, "ddd", a_recebe, arma, bala))
  1726.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /dararma [player-id] [arma-id] [munição].");
  1727.  
  1728.         if( arma < 1 || arma > 46)
  1729.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- arma de 1 a 46.");
  1730.  
  1731.         GivePlayerWeapon(a_recebe, arma, bala);
  1732.  
  1733.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"O "c_azul_hex"%s "c_azul_hex"%s"c_cinza_hex" deu a arma %s com %d munição para você. ", GetPlayerCargo(playerid), GetPlayerNameEx(playerid), get_name_arma(arma), bala);
  1734.         mensagem(a_recebe ,-1, a_cmd);
  1735.  
  1736.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"Você deu a arma %s com %d munição para o jogador "c_azul_hex"%s  ", get_name_arma(arma), bala, GetPlayerNameEx(a_recebe));
  1737.         mensagem(playerid ,-1, a_cmd);
  1738.  
  1739.     }
  1740.     return 1;
  1741. }
  1742.  
  1743.  
  1744. CMD:kitarma(playerid, params[])
  1745. {
  1746.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=2)
  1747.     {
  1748.         new arma ;
  1749.  
  1750.         if(sscanf(params, "d", arma))
  1751.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /kitarma [1 - 3].");
  1752.  
  1753.         switch(arma)
  1754.         {
  1755.             case 1:
  1756.             {
  1757.                 mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Kit Arma 1 setado.");
  1758.                 GivePlayerWeapon (playerid,  42, 9999), GivePlayerWeapon (playerid,  16, 9999),
  1759.                 GivePlayerWeapon (playerid,  37, 9999), GivePlayerWeapon (playerid,  34, 9999),
  1760.                 GivePlayerWeapon (playerid,  31, 9999), GivePlayerWeapon (playerid,  32, 9999),
  1761.                 GivePlayerWeapon (playerid,  26, 9999), GivePlayerWeapon (playerid,  24, 9999),
  1762.                 GivePlayerWeapon (playerid,  4,  9999);
  1763.             }
  1764.             case 2:
  1765.             {
  1766.                 mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Kit Arma 2 setado.");
  1767.                 GivePlayerWeapon (playerid,   9, 9999), GivePlayerWeapon (playerid,  23, 9999),
  1768.                 GivePlayerWeapon (playerid,  27, 9999), GivePlayerWeapon (playerid,  29, 9999),
  1769.                 GivePlayerWeapon (playerid,  31, 9999), GivePlayerWeapon (playerid,  32, 9999),
  1770.                 GivePlayerWeapon (playerid,  36, 9999), GivePlayerWeapon (playerid,  39, 9999),
  1771.                 GivePlayerWeapon (playerid,  44, 9999);
  1772.             }
  1773.             case 3:
  1774.             {
  1775.  
  1776.                 mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Kit Arma 3 setado.");
  1777.                 GivePlayerWeapon (playerid,   1, 9999), GivePlayerWeapon (playerid, 5,  999),
  1778.                 GivePlayerWeapon (playerid,  22, 9999), GivePlayerWeapon (playerid, 25, 999),
  1779.                 GivePlayerWeapon (playerid,  28, 9999), GivePlayerWeapon (playerid, 30, 999),
  1780.                 GivePlayerWeapon (playerid,  33, 9999), GivePlayerWeapon (playerid, 35, 999),
  1781.                 GivePlayerWeapon (playerid,  41, 9999), GivePlayerWeapon (playerid, 45, 999),
  1782.                 GivePlayerWeapon (playerid,  46, 9999);
  1783.             }
  1784.         }
  1785.     }
  1786.     return 1;
  1787. }
  1788.  
  1789. CMD:kick(playerid, params[])
  1790. {
  1791.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1)
  1792.     {
  1793.         new a_recebe, motivo[128];
  1794.  
  1795.         if(sscanf(params, "ds[128]", a_recebe, motivo))
  1796.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /kick [player-id] [motivo]");
  1797.  
  1798.         if(!IsPlayerConnected(a_recebe))
  1799.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- playerid não conectado");
  1800.  
  1801.         Kick(a_recebe);
  1802.  
  1803.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"O "c_azul_hex"%s "c_azul_hex"%s"c_cinza_hex" kickou o jogador %s pelo motivo:%s. ", GetPlayerCargo(playerid), GetPlayerNameEx(playerid), GetPlayerNameEx(a_recebe), motivo);
  1804.         mensagem_all(-1, a_cmd);
  1805.  
  1806.     }
  1807.     return 1;
  1808. }
  1809.  
  1810. CMD:ban(playerid, params[])
  1811. {
  1812.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1)
  1813.     {
  1814.         new a_recebe, motivo[128];
  1815.  
  1816.         if(sscanf(params, "ds[128]", a_recebe, motivo))
  1817.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Utilize: /ban [player-id] [motivo]");
  1818.  
  1819.         if(!IsPlayerConnected(a_recebe))
  1820.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- playerid não conectado");
  1821.  
  1822.         Ban(a_recebe);
  1823.  
  1824.         format(a_cmd, sizeof(a_cmd), ""c_cinza_hex"O "c_azul_hex"%s "c_azul_hex"%s"c_cinza_hex" baniu o jogador %s pelo motivo:%s. ", GetPlayerCargo(playerid), GetPlayerNameEx(playerid), GetPlayerNameEx(a_recebe), motivo);
  1825.         mensagem_all(-1, a_cmd);
  1826.  
  1827.     }
  1828.     return 1;
  1829. }
  1830.  
  1831. CMD:wtunar(playerid, params[])
  1832. {
  1833.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1)
  1834.     {
  1835.  
  1836.         new ModelVehicle = GetVehicleModel(GetPlayerVehicleID(playerid));
  1837.  
  1838.         if(!IsPlayerInAnyVehicle(playerid))
  1839.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Você não esta em um veiculo.");
  1840.  
  1841.         if(GetModel(ModelVehicle))
  1842.         return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Veiculo não pode ser tunado.");
  1843.  
  1844.         wTuningDraw[playerid] = true;
  1845.  
  1846.         for(new i = 0; i < sizeof(wTuning); i++)    {TextDrawShowForPlayer(playerid, wTuning[i]);}
  1847.         for(new i = 0; i < sizeof(wWheels); i++)    { TextDrawShowForPlayer(playerid, wWheels[i]); }
  1848.  
  1849.         SelectTextDraw(playerid,0x708090FF);
  1850.         mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- wTuning Aberto.");
  1851.  
  1852.     }
  1853.     return 1;
  1854. }
  1855.  
  1856.  
  1857.  
  1858. CMD:cg(playerid, params[])
  1859. {
  1860.     if(IsPlayerAdmin(playerid) || DATA_INFO[playerid][admin] >=1)
  1861.     {
  1862.  
  1863.         if(AtivarCarGod[playerid] == true)
  1864.         {
  1865.             AtivarCarGod[playerid] = false,
  1866.             mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- God Car desativado.");
  1867.         }
  1868.         else return mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- God Car Ativado.") ,
  1869.  
  1870.         AtivarCarGod[playerid] = true,
  1871.         SetPlayerHealth(playerid, 999);
  1872.     }
  1873.     return 1;
  1874. }
  1875.  
  1876.  
  1877. forward CarGod(playerid);
  1878. public CarGod(playerid)
  1879. {
  1880.     if(AtivarCarGod[playerid] == true)
  1881.     {
  1882.         SetVehicleHealth(GetPlayerVehicleID(playerid),999999);
  1883.         RepairVehicle(GetPlayerVehicleID(playerid));
  1884.     }
  1885.     return 1;
  1886. }
  1887.  
  1888. public OnPlayerRequestSpawn(playerid)
  1889. {
  1890.     return 1;
  1891. }
  1892.  
  1893. public OnObjectMoved(objectid)
  1894. {
  1895.     return 1;
  1896. }
  1897.  
  1898. public OnPlayerObjectMoved(playerid, objectid)
  1899. {
  1900.     return 1;
  1901. }
  1902.  
  1903. public OnPlayerPickUpPickup(playerid, pickupid)
  1904. {
  1905.     return 1;
  1906. }
  1907.  
  1908. public OnVehicleMod(playerid, vehicleid, componentid)
  1909. {
  1910.     return 1;
  1911. }
  1912.  
  1913. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  1914. {
  1915.     return 1;
  1916. }
  1917.  
  1918. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  1919. {
  1920.     return 1;
  1921. }
  1922.  
  1923.  
  1924. public OnPlayerSelectedMenuRow(playerid, row)
  1925. {
  1926.     return 1;
  1927. }
  1928.  
  1929. public OnPlayerExitedMenu(playerid)
  1930. {
  1931.     return 1;
  1932. }
  1933.  
  1934. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  1935. {
  1936.     return 1;
  1937. }
  1938.  
  1939. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1940. {
  1941.     if(newkeys == KEY_FIRE)
  1942.     {
  1943.  
  1944.         if(Turbo[playerid] == true)
  1945.         {
  1946.             if(IsPlayerInAnyVehicle(playerid))
  1947.             {
  1948.  
  1949.                 new Vehicle = GetPlayerVehicleID(playerid);
  1950.                 new Float:Velocity[3];
  1951.                 GetVehicleVelocity(Vehicle, Velocity[0], Velocity[1], Velocity[2]);
  1952.                 SetVehicleVelocity(Vehicle, Velocity[0]*2, Velocity[1]*2, Velocity[2]);
  1953.             }
  1954.         }
  1955.     }
  1956.     return 1;
  1957. }
  1958.  
  1959. public OnRconLoginAttempt(ip[], password[], success)
  1960. {
  1961.     return 1;
  1962. }
  1963.  
  1964. public OnPlayerUpdate(playerid)
  1965. {
  1966.     return 1;
  1967. }
  1968.  
  1969. public OnPlayerStreamIn(playerid, forplayerid)
  1970. {
  1971.     return 1;
  1972. }
  1973.  
  1974. public OnPlayerStreamOut(playerid, forplayerid)
  1975. {
  1976.     return 1;
  1977. }
  1978.  
  1979. public OnVehicleStreamIn(vehicleid, forplayerid)
  1980. {
  1981.     return 1;
  1982. }
  1983.  
  1984. public OnVehicleStreamOut(vehicleid, forplayerid)
  1985. {
  1986.     return 1;
  1987. }
  1988.  
  1989. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  1990. {
  1991.     switch (dialogid)
  1992.     {
  1993.  
  1994.         case d_login:
  1995.         {
  1996.             if (response)
  1997.             {
  1998.  
  1999.                 if (strlen(inputtext) < 5 || strlen(inputtext) > 16 && !strlen(inputtext))
  2000.                 {
  2001.  
  2002.                     mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Senha incorreta digite sua senha novamente.");
  2003.                     format(s_dialog, sizeof(s_dialog), ""c_branco_hex"Bem Vindo ao AHS - Server "c_azul_hex"%s\n\n"c_branco_hex"Você ja tem uma conta registrada no servidor\ndigite sua senha para logar\nseu IP:"c_azul_hex"%s\n\n"c_branco_hex"Bom Game.", GetPlayerNameEx(playerid),p_player_ip(playerid));
  2004.                     ShowPlayerDialog(playerid, d_login, DIALOG_STYLE_PASSWORD, ""c_branco_hex"•  Bem vindo ao AHS - Server  • ", s_dialog, "Logar", "Cancelar");
  2005.                     return 1;
  2006.                 }
  2007.                 if(strcmp(inputtext, DATA_INFO[playerid][senha]) == 0)
  2008.                 {
  2009.                     orm_load(DATA_INFO[playerid][ORMID], "OnPlayerLoad", "d", playerid);
  2010.                 }
  2011.                 else
  2012.                 {
  2013.  
  2014.                     mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- Senha incorreta digite sua senha novamente.");
  2015.                     format(s_dialog, sizeof(s_dialog), ""c_branco_hex"Bem Vindo ao AHS - Server "c_azul_hex"%s\n\n"c_branco_hex"Você ja tem uma conta registrada no servidor\ndigite sua senha para logar\nseu IP:"c_azul_hex"%s\n\n"c_branco_hex"Bom Game.", GetPlayerNameEx(playerid),p_player_ip(playerid));
  2016.                     ShowPlayerDialog(playerid, d_login, DIALOG_STYLE_PASSWORD, ""c_branco_hex"•  Bem vindo ao AHS - Server  • ", s_dialog, "Logar", "Cancelar");
  2017.  
  2018.                     erro_senha[playerid]++;
  2019.                     if (erro_senha[playerid] == 3)
  2020.                     {
  2021.  
  2022.  
  2023.                         format(s_dialog, sizeof(s_dialog), ""c_cinza_hex"O Jogador(a) %s foi Kickado do Servidor | Motivo: Limite de Erro |", GetPlayerNameEx(playerid));
  2024.                         mensagem_all(-1, s_dialog);
  2025.                         Kick(playerid);
  2026.                         return 1;
  2027.                     }
  2028.                 }
  2029.             }
  2030.         }
  2031.         case d_registro:
  2032.         {
  2033.  
  2034.             if (response)
  2035.             {
  2036.  
  2037.                 if (strlen(inputtext) < 5 || strlen(inputtext) > 16 && !strlen(inputtext))
  2038.                 {
  2039.  
  2040.                     mensagem(playerid, -1, ""c_azul_hex"INFO "c_branco_hex"- digite uma senha com no minimo 5 caracteres e no maximo 16 caracteres.");
  2041.                     format(s_dialog, sizeof(s_dialog), ""c_branco_hex"Bem vindo ao AHS-Server "c_azul_hex"%s "c_branco_hex"Você não tem uma conta no servidor\n\ndigite uma senha para de registrar, sua senha sera usada para logar na proxima vez.\n\nSeu IP:"c_azul_hex" %s"c_branco_hex"Bom Game.", GetPlayerNameEx(playerid),p_player_ip(playerid));
  2042.                     ShowPlayerDialog(playerid, d_registro, DIALOG_STYLE_PASSWORD, ""c_branco_hex"»    Bem vindo ao AHS-Server   « ", s_dialog, "Registrar", "Cancelar");
  2043.                     return 1;
  2044.                 }
  2045.                 format(DATA_INFO[playerid][senha], MAX_PLAYER_PASSWORD, inputtext);
  2046.  
  2047.                 for(new i = 4; i < sizeof(registro_draw); i++) TextDrawHideForPlayer(playerid, registro_draw[i]);
  2048.                 for(new i = 0; i < sizeof(sexo_draw); i++) TextDrawShowForPlayer(playerid, sexo_draw[i]);
  2049.  
  2050.                 return 1;
  2051.             }
  2052.             else
  2053.             {
  2054.  
  2055.                 format(s_dialog, sizeof(s_dialog), ""c_cinza_hex" O Jogador(a) %s foi Kickado do Servidor | Motivo: N/A Registrou |", GetPlayerNameEx(playerid));
  2056.                 mensagem_all(-1, s_dialog);
  2057.                 Kick(playerid);
  2058.             }
  2059.  
  2060.         }
  2061.     }
  2062.     return 1;
  2063. }
  2064.  
  2065. forward OnPlayerLoad(playerid);
  2066. public OnPlayerLoad(playerid)
  2067. {
  2068.     p_Logado[playerid] = true;
  2069.     CancelSelectTextDraw(playerid);
  2070.     for(new i = 0; i < sizeof(registro_draw); i++) TextDrawHideForPlayer(playerid, registro_draw[i]);
  2071.     for(new i = 0; i < sizeof(sexo_draw); i++) TextDrawHideForPlayer(playerid, sexo_draw[i]);
  2072.  
  2073.     SpawnPlayer(playerid);
  2074.     TogglePlayerSpectating(playerid, 0);
  2075.  
  2076.     SetPlayerSkin(playerid, DATA_INFO[playerid][skin]);
  2077.     SetPlayerScore(playerid, DATA_INFO[playerid][level]);
  2078.     GivePlayerMoney(playerid, DATA_INFO[playerid][dinheiro]);
  2079.     return 1;
  2080. }
  2081.  
  2082. forward OnPlayerRegister(playerid);
  2083. public OnPlayerRegister(playerid)
  2084. {
  2085.     p_Logado[playerid] = true;
  2086.     CancelSelectTextDraw(playerid);
  2087.     for(new i = 0; i < sizeof(registro_draw); i++) TextDrawHideForPlayer(playerid, registro_draw[i]);
  2088.     for(new i = 0; i < sizeof(sexo_draw); i++) TextDrawHideForPlayer(playerid, sexo_draw[i]);
  2089.     TogglePlayerSpectating(playerid, 0);
  2090.  
  2091.     SpawnPlayer(playerid);
  2092.     SetPlayerSkin(playerid, DATA_INFO[playerid][skin]);
  2093.     SetPlayerScore(playerid, DATA_INFO[playerid][level]);
  2094.     GivePlayerMoney(playerid, DATA_INFO[playerid][dinheiro]);
  2095.     return 1;
  2096. }
  2097.  
  2098. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  2099. {
  2100.     return 1;
  2101. }
  2102.  
  2103. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  2104. {
  2105.     if(clickedid == registro_draw[23])
  2106.     {
  2107.  
  2108.         if(ContaExiste[playerid]==true)
  2109.         {
  2110.  
  2111.             format(s_dialog, sizeof(s_dialog), ""c_branco_hex"Bem Vindo ao AHS - Server "c_azul_hex"%s\n\n"c_branco_hex"Você ja tem uma conta registrada no servidor\ndigite sua senha para logar\nseu IP:"c_azul_hex"%s\n\n"c_branco_hex"Bom Game.", GetPlayerNameEx(playerid),p_player_ip(playerid));
  2112.             ShowPlayerDialog(playerid, d_login, DIALOG_STYLE_PASSWORD, ""c_branco_hex"•  Bem vindo ao AHS - Server  • ", s_dialog, "Logar", "Cancelar");
  2113.         }
  2114.         else
  2115.         {
  2116.             format(s_dialog, sizeof(s_dialog), ""c_branco_hex"Bem vindo ao AHS - Server "c_azul_hex"%s\n"c_branco_hex"Você ainda não tem uma conta registrada no servidor\nclique em registrar para criar uma conta no servidor.\nseu IP:"c_azul_hex"%s\n\n"c_branco_hex"Bom Game.", GetPlayerNameEx(playerid),p_player_ip(playerid));
  2117.             ShowPlayerDialog(playerid, d_registro_aviso, DIALOG_STYLE_MSGBOX, ""c_branco_hex""c_branco_hex"Você ainda não tem um conta no servidor", s_dialog, "Continuar","");
  2118.         }
  2119.     }
  2120.     if(clickedid == registro_draw[24])
  2121.     {
  2122.         if(ContaExiste[playerid] == true)
  2123.         {
  2124.  
  2125.             format(s_dialog, sizeof(s_dialog), ""c_branco_hex"Bem Vindo ao AHS - Server "c_azul_hex"%s\n\n"c_branco_hex"Você ja tem uma conta registrada no servidor "c_azul_hex"%s\n"c_branco_hex"clique em logar para logar em sua conta\nseu IP:"c_azul_hex"%s\n\n"c_branco_hex"Bom Game.", GetPlayerNameEx(playerid),p_player_ip(playerid));
  2126.             ShowPlayerDialog(playerid, d_registro_aviso, DIALOG_STYLE_MSGBOX, ""c_branco_hex"Você ja tem um conta registra", s_dialog, "Continuar","");
  2127.         }
  2128.         else
  2129.         {
  2130.  
  2131.             format(s_dialog, sizeof(s_dialog), ""c_branco_hex"Bem vindo ao AHS - Server "c_azul_hex"%s "c_branco_hex"Você não ainda não tem um conta registrada no servidor %s\n\ndigite uma senha para se registrar, sua senha sera usada para logar na proxima vez. \n\nSeu IP:"c_azul_hex"%s"c_branco_hex"Bom Game.", GetPlayerNameEx(playerid),p_player_ip(playerid));
  2132.             ShowPlayerDialog(playerid, d_registro, DIALOG_STYLE_PASSWORD, ""c_branco_hex"•  Bem vindo ao AHS - Server  • ", s_dialog, "Registrar", "Cancelar");
  2133.         }
  2134.     }
  2135.     if(clickedid == registro_draw[25])
  2136.     {
  2137.  
  2138.         format(s_dialog, sizeof(s_dialog), ""c_cinza_hex"O Jogador %s Resolveu sair do Servidor", GetPlayerNameEx(playerid));
  2139.         mensagem_all(-1, s_dialog);
  2140.         GameTextForPlayer(playerid, "~", 1000, 6);
  2141.     }
  2142.     if(clickedid == sexo_draw[13])
  2143.     {
  2144.         SendClientMessage(playerid, -1, ""c_cinza_hex"INFO"c_branco_hex" - Seu sexo é Masculino.");
  2145.         DATA_INFO[playerid][sexo] = p_masculino;
  2146.         DATA_INFO[playerid][skin] = s_masculino;
  2147.         orm_insert(DATA_INFO[playerid][ORMID], "OnPlayerRegister", "d", playerid);
  2148.     }
  2149.     if(clickedid == sexo_draw[14])
  2150.     {
  2151.         SendClientMessage(playerid, -1, ""c_cinza_hex"INFO"c_branco_hex" - Seu sexo é Feminino.");
  2152.         DATA_INFO[playerid][sexo] = p_feminino;
  2153.         DATA_INFO[playerid][skin] = s_feminino;
  2154.         orm_insert(DATA_INFO[playerid][ORMID], "OnPlayerRegister", "d", playerid);
  2155.  
  2156.     }
  2157.  
  2158.     new wVeiculo = GetPlayerVehicleID(playerid);
  2159.     if(clickedid == wTuning[6]) // X CLOSE
  2160.     {
  2161.  
  2162.         for(new i = 0; i < sizeof(wTuning); i++)        { TextDrawHideForPlayer(playerid, wTuning[i]); }
  2163.         for(new i = 0; i < sizeof(wWheels); i++)        { TextDrawHideForPlayer(playerid, wWheels[i]); }
  2164.         for(new i = 0; i < sizeof(wColor); i++)         { TextDrawHideForPlayer(playerid, wColor[i]); }
  2165.         for(new i = 0; i < sizeof(wPaintJob); i++)      { TextDrawHideForPlayer(playerid, wPaintJob[i]);}
  2166.         for(new i = 0; i < sizeof(wNitro); i++)         { TextDrawHideForPlayer(playerid, wNitro[i]); }
  2167.         for(new i = 0; i < sizeof(wNeon); i++)          { TextDrawHideForPlayer(playerid, wNeon[i]); }
  2168.  
  2169.         wTuningDraw[playerid] = false;
  2170.         CancelSelectTextDraw(playerid);
  2171.     }
  2172.  
  2173.     if(clickedid == wTuning[7]) //WHEELS
  2174.     {
  2175.  
  2176.         for(new i = 0; i < sizeof(wColor); i++)         { TextDrawHideForPlayer(playerid, wColor[i]); }
  2177.         for(new i = 0; i < sizeof(wPaintJob); i++)      { TextDrawHideForPlayer(playerid, wPaintJob[i]);}
  2178.         for(new i = 0; i < sizeof(wNitro); i++)         { TextDrawHideForPlayer(playerid, wNitro[i]); }
  2179.         for(new i = 0; i < sizeof(wNeon); i++)          { TextDrawHideForPlayer(playerid, wNeon[i]); }
  2180.         for(new i = 0; i < sizeof(wWheels); i++)        { TextDrawShowForPlayer(playerid, wWheels[i]); }
  2181.     }
  2182.     if(clickedid == wTuning[8]) // COLOR
  2183.     {
  2184.  
  2185.         for(new i = 0; i < sizeof(wWheels); i++)        { TextDrawHideForPlayer(playerid, wWheels[i]); }
  2186.         for(new i = 0; i < sizeof(wPaintJob); i++)      { TextDrawHideForPlayer(playerid, wPaintJob[i]); }
  2187.         for(new i = 0; i < sizeof(wNitro); i++)         { TextDrawHideForPlayer(playerid, wNitro[i]); }
  2188.         for(new i = 0; i < sizeof(wNeon); i++)          { TextDrawHideForPlayer(playerid, wNeon[i]); }
  2189.         for(new i = 0; i < sizeof(wColor); i++)         { TextDrawShowForPlayer(playerid, wColor[i]); }
  2190.  
  2191.     }
  2192.     if(clickedid == wTuning[9]) // PAINTJOBS
  2193.     {
  2194.  
  2195.         for(new i = 0; i < sizeof(wWheels); i++)        { TextDrawHideForPlayer(playerid, wWheels[i]); }
  2196.         for(new i = 0; i < sizeof(wColor); i++)         { TextDrawHideForPlayer(playerid, wColor[i]); }
  2197.         for(new i = 0; i < sizeof(wNitro); i++)         { TextDrawHideForPlayer(playerid, wNitro[i]); }
  2198.         for(new i = 0; i < sizeof(wNeon); i++)          { TextDrawHideForPlayer(playerid, wNeon[i]); }
  2199.         for(new i = 0; i < sizeof(wPaintJob); i++)      { TextDrawShowForPlayer(playerid, wPaintJob[i]); }
  2200.     }
  2201.     if(clickedid == wTuning[10]) // NITRO
  2202.     {
  2203.  
  2204.         for(new i = 0; i < sizeof(wWheels); i++)        { TextDrawHideForPlayer(playerid, wWheels[i]); }
  2205.         for(new i = 0; i < sizeof(wColor); i++)         { TextDrawHideForPlayer(playerid, wColor[i]); }
  2206.         for(new i = 0; i < sizeof(wPaintJob); i++)      { TextDrawHideForPlayer(playerid, wPaintJob[i]); }
  2207.         for(new i = 0; i < sizeof(wNeon); i++)          { TextDrawHideForPlayer(playerid, wNeon[i]); }
  2208.         for(new i = 0; i < sizeof(wNitro); i++)         { TextDrawShowForPlayer(playerid, wNitro[i]); }
  2209.     }
  2210.     if(clickedid == wTuning[11]) // HYDRAULICS
  2211.     {
  2212.         AddVehicleComponent(wVeiculo,1087);
  2213.     }
  2214.     if(clickedid == wTuning[12]) //NEON
  2215.     {
  2216.  
  2217.         for(new i = 0; i < sizeof(wWheels); i++)        { TextDrawHideForPlayer(playerid, wWheels[i]); }
  2218.         for(new i = 0; i < sizeof(wColor); i++)         { TextDrawHideForPlayer(playerid, wColor[i]); }
  2219.         for(new i = 0; i < sizeof(wPaintJob); i++)      { TextDrawHideForPlayer(playerid, wPaintJob[i]); }
  2220.         for(new i = 0; i < sizeof(wNitro); i++)         { TextDrawHideForPlayer(playerid, wNitro[i]); }
  2221.         for(new i = 0; i < sizeof(wNeon); i++)          { TextDrawShowForPlayer(playerid, wNeon[i]); }
  2222.     }
  2223.     if(clickedid == wTuning[13]) //AUTO TUNING
  2224.     {
  2225.  
  2226.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 483)
  2227.         {
  2228.  
  2229.             AddVehicleComponent(wVeiculo,1027);
  2230.             ChangeVehiclePaintjob(wVeiculo, 0);
  2231.             AddVehicleComponent(wVeiculo,1010);
  2232.             AddVehicleComponent(wVeiculo,1079);
  2233.             AddVehicleComponent(wVeiculo,1087);
  2234.         }
  2235.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
  2236.         {
  2237.  
  2238.             AddVehicleComponent(wVeiculo,1046);
  2239.             AddVehicleComponent(wVeiculo,1171);
  2240.             AddVehicleComponent(wVeiculo,1149);
  2241.             AddVehicleComponent(wVeiculo,1035);
  2242.             AddVehicleComponent(wVeiculo,1147);
  2243.             AddVehicleComponent(wVeiculo,1036);
  2244.             AddVehicleComponent(wVeiculo,1040);
  2245.             ChangeVehiclePaintjob(wVeiculo, 2);
  2246.             ChangeVehicleColor(wVeiculo, 6, 6);
  2247.             AddVehicleComponent(wVeiculo,1010);
  2248.             AddVehicleComponent(wVeiculo,1079);
  2249.             AddVehicleComponent(wVeiculo,1087);
  2250.         }
  2251.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
  2252.         {
  2253.  
  2254.             AddVehicleComponent(wVeiculo,1028);
  2255.             AddVehicleComponent(wVeiculo,1169);
  2256.             AddVehicleComponent(wVeiculo,1141);
  2257.             AddVehicleComponent(wVeiculo,1032);
  2258.             AddVehicleComponent(wVeiculo,1138);
  2259.             AddVehicleComponent(wVeiculo,1026);
  2260.             AddVehicleComponent(wVeiculo,1027);
  2261.             ChangeVehiclePaintjob(wVeiculo, 2);
  2262.             AddVehicleComponent(wVeiculo,1010);
  2263.             AddVehicleComponent(wVeiculo,1079);
  2264.             AddVehicleComponent(wVeiculo,1087);
  2265.         }
  2266.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
  2267.         {
  2268.  
  2269.  
  2270.             AddVehicleComponent(wVeiculo,1046);
  2271.             AddVehicleComponent(wVeiculo,1153);
  2272.             AddVehicleComponent(wVeiculo,1150);
  2273.             AddVehicleComponent(wVeiculo,1054);
  2274.             AddVehicleComponent(wVeiculo,1049);
  2275.             AddVehicleComponent(wVeiculo,1047);
  2276.             AddVehicleComponent(wVeiculo,1051);
  2277.             AddVehicleComponent(wVeiculo,1010);
  2278.             AddVehicleComponent(wVeiculo,1079);
  2279.             AddVehicleComponent(wVeiculo,1087);
  2280.             ChangeVehiclePaintjob(wVeiculo, 2);
  2281.         }
  2282.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
  2283.         {
  2284.  
  2285.             AddVehicleComponent(wVeiculo,1065);
  2286.             AddVehicleComponent(wVeiculo,1160);
  2287.             AddVehicleComponent(wVeiculo,1159);
  2288.             AddVehicleComponent(wVeiculo,1067);
  2289.             AddVehicleComponent(wVeiculo,1162);
  2290.             AddVehicleComponent(wVeiculo,1069);
  2291.             AddVehicleComponent(wVeiculo,1071);
  2292.             AddVehicleComponent(wVeiculo,1010);
  2293.             AddVehicleComponent(wVeiculo,1079);
  2294.             AddVehicleComponent(wVeiculo,1087);
  2295.             ChangeVehiclePaintjob(wVeiculo, 1);
  2296.         }
  2297.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
  2298.         {
  2299.  
  2300.             AddVehicleComponent(wVeiculo,1064);
  2301.             AddVehicleComponent(wVeiculo,1155);
  2302.             AddVehicleComponent(wVeiculo,1154);
  2303.             AddVehicleComponent(wVeiculo,1055);
  2304.             AddVehicleComponent(wVeiculo,1158);
  2305.             AddVehicleComponent(wVeiculo,1056);
  2306.             AddVehicleComponent(wVeiculo,1062);
  2307.             AddVehicleComponent(wVeiculo,1010);
  2308.             AddVehicleComponent(wVeiculo,1079);
  2309.             AddVehicleComponent(wVeiculo,1087);
  2310.             ChangeVehiclePaintjob(wVeiculo, 2);
  2311.         }
  2312.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
  2313.         {
  2314.  
  2315.             AddVehicleComponent(wVeiculo,1089);
  2316.             AddVehicleComponent(wVeiculo,1166);
  2317.             AddVehicleComponent(wVeiculo,1168);
  2318.             AddVehicleComponent(wVeiculo,1088);
  2319.             AddVehicleComponent(wVeiculo,1164);
  2320.             AddVehicleComponent(wVeiculo,1090);
  2321.             AddVehicleComponent(wVeiculo,1094);
  2322.             AddVehicleComponent(wVeiculo,1010);
  2323.             AddVehicleComponent(wVeiculo,1079);
  2324.             AddVehicleComponent(wVeiculo,1087);
  2325.             ChangeVehiclePaintjob(wVeiculo, 2);
  2326.         }
  2327.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
  2328.         {
  2329.  
  2330.             AddVehicleComponent(wVeiculo,1044);
  2331.             AddVehicleComponent(wVeiculo,1174);
  2332.             AddVehicleComponent(wVeiculo,1176);
  2333.             AddVehicleComponent(wVeiculo,1042);
  2334.             AddVehicleComponent(wVeiculo,1099);
  2335.             AddVehicleComponent(wVeiculo,1010);
  2336.             AddVehicleComponent(wVeiculo,1079);
  2337.             AddVehicleComponent(wVeiculo,1087);
  2338.             ChangeVehiclePaintjob(wVeiculo, 0);
  2339.         }
  2340.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
  2341.         {
  2342.  
  2343.             AddVehicleComponent(wVeiculo,1126);
  2344.             AddVehicleComponent(wVeiculo,1179);
  2345.             AddVehicleComponent(wVeiculo,1180);
  2346.             AddVehicleComponent(wVeiculo,1122);
  2347.             AddVehicleComponent(wVeiculo,1101);
  2348.             AddVehicleComponent(wVeiculo,1125);
  2349.             AddVehicleComponent(wVeiculo,1123);
  2350.             AddVehicleComponent(wVeiculo,1100);
  2351.             AddVehicleComponent(wVeiculo,1010);
  2352.             AddVehicleComponent(wVeiculo,1079);
  2353.             AddVehicleComponent(wVeiculo,1087);
  2354.             ChangeVehiclePaintjob(wVeiculo, 2);
  2355.         }
  2356.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536)
  2357.         {
  2358.  
  2359.             AddVehicleComponent(wVeiculo,1104);
  2360.             AddVehicleComponent(wVeiculo,1182);
  2361.             AddVehicleComponent(wVeiculo,1184);
  2362.             AddVehicleComponent(wVeiculo,1108);
  2363.             AddVehicleComponent(wVeiculo,1107);
  2364.             AddVehicleComponent(wVeiculo,1010);
  2365.             AddVehicleComponent(wVeiculo,1079);
  2366.             AddVehicleComponent(wVeiculo,1087);
  2367.             ChangeVehiclePaintjob(wVeiculo, 1);
  2368.         }
  2369.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567)
  2370.         {
  2371.  
  2372.             AddVehicleComponent(wVeiculo,1129);
  2373.             AddVehicleComponent(wVeiculo,1189);
  2374.             AddVehicleComponent(wVeiculo,1187);
  2375.             AddVehicleComponent(wVeiculo,1102);
  2376.             AddVehicleComponent(wVeiculo,1133);
  2377.             AddVehicleComponent(wVeiculo,1010);
  2378.             AddVehicleComponent(wVeiculo,1079);
  2379.             AddVehicleComponent(wVeiculo,1087);
  2380.             ChangeVehiclePaintjob(wVeiculo, 2);
  2381.         }
  2382.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
  2383.         {
  2384.  
  2385.             AddVehicleComponent(wVeiculo,1010);
  2386.             AddVehicleComponent(wVeiculo,1087);
  2387.             AddVehicleComponent(wVeiculo,1079);
  2388.             AddVehicleComponent(wVeiculo,1139);
  2389.         }
  2390.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400)
  2391.         {
  2392.  
  2393.             AddVehicleComponent(wVeiculo,1010);
  2394.             AddVehicleComponent(wVeiculo,1087);
  2395.             AddVehicleComponent(wVeiculo,1018);
  2396.             AddVehicleComponent(wVeiculo,1013);
  2397.             AddVehicleComponent(wVeiculo,1079);
  2398.             AddVehicleComponent(wVeiculo,1086);
  2399.         }
  2400.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401)
  2401.         {
  2402.  
  2403.             AddVehicleComponent(wVeiculo,1086);
  2404.             AddVehicleComponent(wVeiculo,1139);
  2405.             AddVehicleComponent(wVeiculo,1079);
  2406.             AddVehicleComponent(wVeiculo,1010);
  2407.             AddVehicleComponent(wVeiculo,1087);
  2408.             AddVehicleComponent(wVeiculo,1012);
  2409.             AddVehicleComponent(wVeiculo,1013);
  2410.             AddVehicleComponent(wVeiculo,1042);
  2411.             AddVehicleComponent(wVeiculo,1043);
  2412.             AddVehicleComponent(wVeiculo,1018);
  2413.             AddVehicleComponent(wVeiculo,1006);
  2414.             AddVehicleComponent(wVeiculo,1007);
  2415.             AddVehicleComponent(wVeiculo,1017);
  2416.         }
  2417.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576)
  2418.         {
  2419.             ChangeVehiclePaintjob(wVeiculo,2);
  2420.             AddVehicleComponent(wVeiculo,1191);
  2421.             AddVehicleComponent(wVeiculo,1193);
  2422.             AddVehicleComponent(wVeiculo,1010);
  2423.             AddVehicleComponent(wVeiculo,1018);
  2424.             AddVehicleComponent(wVeiculo,1079);
  2425.             AddVehicleComponent(wVeiculo,1087);
  2426.             AddVehicleComponent(wVeiculo,1134);
  2427.             AddVehicleComponent(wVeiculo,1137);
  2428.         }
  2429.  
  2430.         else
  2431.         {
  2432.  
  2433.             AddVehicleComponent(wVeiculo,1010);
  2434.             AddVehicleComponent(wVeiculo,1079);
  2435.             AddVehicleComponent(wVeiculo,1087);
  2436.         }
  2437.         return 1;
  2438.     }
  2439.  
  2440.     /*------------------------------------------------------------------------------
  2441.  
  2442.     • Wheels
  2443.  
  2444.     ------------------------------------------------------------------------------*/
  2445.     if(clickedid == wWheels[0])     AddVehicleComponent(wVeiculo,1073);         // SHADOW
  2446.     if(clickedid == wWheels[1])     AddVehicleComponent(wVeiculo, 1074);        // MEGA
  2447.     if(clickedid == wWheels[2])     AddVehicleComponent(wVeiculo,1075);         // RINSHIME
  2448.     if(clickedid == wWheels[3])     AddVehicleComponent(wVeiculo,1076);         // WIRES
  2449.     if(clickedid == wWheels[4])     AddVehicleComponent(wVeiculo,1077);         // CLASSIC
  2450.     if(clickedid == wWheels[5])     AddVehicleComponent(wVeiculo,1078);         // TWIST
  2451.     if(clickedid == wWheels[6])     AddVehicleComponent(wVeiculo,1079);         // CUTTER
  2452.     if(clickedid == wWheels[7])     AddVehicleComponent(wVeiculo,1083);         // DOLLAR
  2453.     if(clickedid == wWheels[8])     AddVehicleComponent(wVeiculo,1085);         // ATOMIC
  2454.     /*------------------------------------------------------------------------------
  2455.  
  2456.     • Colors
  2457.  
  2458.     ------------------------------------------------------------------------------*/
  2459.     if(clickedid == wColor[0])      ChangeVehicleColor(wVeiculo, 0, 0);         // BLACK
  2460.     if(clickedid == wColor[1])      ChangeVehicleColor(wVeiculo, 1, 1);         // WHITE
  2461.     if(clickedid == wColor[2])      ChangeVehicleColor(wVeiculo, 128, 128);     // GREEN
  2462.     if(clickedid == wColor[3])      ChangeVehicleColor(wVeiculo, 135, 135);     // CYAN
  2463.     if(clickedid == wColor[4])      ChangeVehicleColor(wVeiculo, 152, 152);     // BLUE
  2464.     if(clickedid == wColor[5])      ChangeVehicleColor(wVeiculo, 6, 6);         // YELLOW
  2465.     if(clickedid == wColor[6])      ChangeVehicleColor(wVeiculo, 252, 252);     // GRAY
  2466.     if(clickedid == wColor[7])      ChangeVehicleColor(wVeiculo, 146, 146);     // PINK
  2467.     if(clickedid == wColor[8])      ChangeVehicleColor(wVeiculo, 219, 219);     // ORANGE
  2468.     /*------------------------------------------------------------------------------
  2469.  
  2470.     • PaintJobs
  2471.  
  2472.     ------------------------------------------------------------------------------*/
  2473.     if(clickedid == wPaintJob[0])   ChangeVehiclePaintjob(wVeiculo, 0);         // PAINTJOBS 1
  2474.     if(clickedid == wPaintJob[1])   ChangeVehiclePaintjob(wVeiculo, 2);         // PAINTJOBS 2
  2475.     if(clickedid == wPaintJob[2])   ChangeVehiclePaintjob(wVeiculo, 3);         // PAINTJOBS 2
  2476.     /*------------------------------------------------------------------------------
  2477.  
  2478.     • Nitro
  2479.  
  2480.     ------------------------------------------------------------------------------*/
  2481.     if(clickedid == wNitro[0])      AddVehicleComponent(wVeiculo,1009);         // NITRO 1
  2482.     if(clickedid == wNitro[1])      AddVehicleComponent(wVeiculo,1008);         // NITRO 2
  2483.     if(clickedid == wNitro[2])      AddVehicleComponent(wVeiculo,1010);         // NITRO 3
  2484.  
  2485.     if(clickedid == wNeon[0])
  2486.     DestroyObject(NEON_P[wVeiculo]), DestroyObject(NEON_S[wVeiculo]),
  2487.     NEON_P[wVeiculo] = CreateObject(18648,0,0,0,0,0,0), NEON_S[wVeiculo] = CreateObject(18648,0,0,0,0,0,0),
  2488.     AttachObjectToVehicle(NEON_P[wVeiculo], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0),
  2489.     AttachObjectToVehicle(NEON_S[wVeiculo], GetPlayerVehicleID(playerid),  0.8, 0.0, -0.70, 0.0, 0.0, 0.0)
  2490.     ;
  2491.     if(clickedid == wNeon[1])
  2492.     DestroyObject(NEON_P[wVeiculo]), DestroyObject(NEON_S[wVeiculo]),
  2493.     NEON_P[wVeiculo] = CreateObject(18650,0,0,0,0,0,0), NEON_S[wVeiculo] = CreateObject(18650,0,0,0,0,0,0),
  2494.     AttachObjectToVehicle(NEON_P[wVeiculo], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0),
  2495.     AttachObjectToVehicle(NEON_S[wVeiculo], GetPlayerVehicleID(playerid),  0.8, 0.0, -0.70, 0.0, 0.0, 0.0)
  2496.     ;
  2497.     if(clickedid == wNeon[2])
  2498.     DestroyObject(NEON_P[wVeiculo]), DestroyObject(NEON_S[wVeiculo]),
  2499.     NEON_P[wVeiculo] = CreateObject(18652,0,0,0,0,0,0), NEON_S[wVeiculo] = CreateObject(18652,0,0,0,0,0,0),
  2500.     AttachObjectToVehicle(NEON_P[wVeiculo], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0),
  2501.     AttachObjectToVehicle(NEON_S[wVeiculo], GetPlayerVehicleID(playerid),  0.8, 0.0, -0.70, 0.0, 0.0, 0.0)
  2502.     ;
  2503.     if(clickedid == wNeon[3])
  2504.     DestroyObject(NEON_P[wVeiculo]), DestroyObject(NEON_S[wVeiculo]),
  2505.     NEON_P[wVeiculo] = CreateObject(18651,0,0,0,0,0,0), NEON_S[wVeiculo] = CreateObject(18651,0,0,0,0,0,0),
  2506.     AttachObjectToVehicle(NEON_P[wVeiculo], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0),
  2507.     AttachObjectToVehicle(NEON_S[wVeiculo], GetPlayerVehicleID(playerid),  0.8, 0.0, -0.70, 0.0, 0.0, 0.0)
  2508.     ;
  2509.     if(clickedid == wNeon[4])
  2510.     DestroyObject(NEON_P[wVeiculo]), DestroyObject(NEON_S[wVeiculo]),
  2511.     NEON_P[wVeiculo] = CreateObject(18649,0,0,0,0,0,0), NEON_S[wVeiculo] = CreateObject(18649,0,0,0,0,0,0),
  2512.     AttachObjectToVehicle(NEON_P[wVeiculo], GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0),
  2513.     AttachObjectToVehicle(NEON_S[wVeiculo], GetPlayerVehicleID(playerid),  0.8, 0.0, -0.70, 0.0, 0.0, 0.0)
  2514.     ;
  2515.  
  2516.     if(clickedid == wNeon[5]){
  2517.         DestroyObject(NEON_P[wVeiculo]), DestroyObject(NEON_S[wVeiculo]);
  2518.         return 1;
  2519.     }
  2520.  
  2521.     if(clickedid == Text:INVALID_TEXT_DRAW)
  2522.     {
  2523.         if(wTuningDraw[playerid] == true)
  2524.         {
  2525.  
  2526.             wTuningDraw[playerid] = false;
  2527.             for(new i = 0; i < sizeof(wTuning); i++)        { TextDrawHideForPlayer(playerid, wTuning[i]); }
  2528.             for(new i = 0; i < sizeof(wWheels); i++)        { TextDrawHideForPlayer(playerid, wWheels[i]); }
  2529.             for(new i = 0; i < sizeof(wColor); i++)         { TextDrawHideForPlayer(playerid, wColor[i]); }
  2530.             for(new i = 0; i < sizeof(wPaintJob); i++)      { TextDrawHideForPlayer(playerid, wPaintJob[i]);}
  2531.             for(new i = 0; i < sizeof(wNitro); i++)         { TextDrawHideForPlayer(playerid, wNitro[i]); }
  2532.             for(new i = 0; i < sizeof(wNeon); i++)          { TextDrawHideForPlayer(playerid, wNeon[i]); }
  2533.         }
  2534.         if(p_Logado[playerid] == false) return SelectTextDraw(playerid, 0x6666FFFF);
  2535.     }
  2536.  
  2537.     return 1;
  2538. }
  2539.  
  2540. forward GetModel(Model);
  2541. public GetModel(Model)
  2542. {
  2543.     switch(Model){
  2544.         case 417, 425, 430, 432, 446, 447, 448, 452, 453, 454, 460, 461, 462, 463, 464, 465, 468, 469, 471, 472, 473, 476, 481, 484, 487, 488, 493, 497, 501, 509, 510, 511, 512, 513, 521, 522, 523, 548:
  2545.         return true;
  2546.     }
  2547.     return false;
  2548. }
  2549.  
  2550.  
  2551. stock GetPlayerCargo(playerid)
  2552. {
  2553.     new a_cargo_name[14];
  2554.     switch(DATA_INFO[playerid][admin])
  2555.     {
  2556.  
  2557.         case 1: a_cargo_name = "Moderador";
  2558.         case 2: a_cargo_name = "Administrador";
  2559.         case 3: a_cargo_name = "Desenvolvedor";
  2560.     }
  2561.     return a_cargo_name;
  2562. }
  2563.  
  2564. stock get_name_arma(arma)
  2565. {
  2566.     new arma_name[30];
  2567.  
  2568.     switch(arma)
  2569.     {
  2570.         case 1: arma_name = "Soco inglês";
  2571.         case 2: arma_name = "Taco de golf";
  2572.         case 3: arma_name = "Cacetete";
  2573.         case 4: arma_name = "Faca";
  2574.         case 5: arma_name = "Taco de Baseball";
  2575.         case 6: arma_name = "Pa";
  2576.         case 7: arma_name = "Taco sinuca";
  2577.         case 8: arma_name = "Katana";
  2578.         case 9: arma_name = "Serra";
  2579.         case 10..13: arma_name =    "Dildo";
  2580.         case 14: arma_name =    "Flor";
  2581.         case 15: arma_name =    "Bengala";
  2582.         case 16: arma_name =    "Granada";
  2583.         case 17: arma_name =    "Granada Fumaça";
  2584.         case 18: arma_name =    "Granada Fogo";
  2585.         case 22: arma_name =    "9mm";
  2586.         case 23: arma_name =    "Pistola com silenciador";
  2587.         case 24: arma_name =    "Desert Eagle";
  2588.         case 25: arma_name =    "12 Shotgun";
  2589.         case 26: arma_name =    "12 Cano serrado";
  2590.         case 27: arma_name =    "12 Automatica";
  2591.         case 28: arma_name =    "Mac 10";
  2592.         case 29: arma_name =    "Mp5";
  2593.         case 30: arma_name =    "Ak47";
  2594.         case 31: arma_name =    "M4A1";
  2595.         case 32: arma_name =    "Tec 9";
  2596.         case 33: arma_name =    "Espingarda";
  2597.         case 34: arma_name =    "Sniper Rifle";
  2598.         case 35: arma_name =    "Rpg Bazuca";
  2599.         case 36: arma_name =    "Bazuca";
  2600.         case 37: arma_name =    "Taca Fogo";
  2601.         case 38: arma_name =    "Mini Gun";
  2602.         case 39: arma_name =    "Detonador";
  2603.         case 41: arma_name =    "Spray";
  2604.         case 42: arma_name =    "Extintor";
  2605.         case 43: arma_name =    "Camera";
  2606.         case 44: arma_name =    "NightVision1";
  2607.         case 45: arma_name =    "NightVision2";
  2608.         case 46: arma_name =    "Paraquedas";
  2609.     }
  2610.     return arma_name;
  2611. }
  2612.  
  2613.  
  2614. forward tempo_real();
  2615. public tempo_real()
  2616. {
  2617.     new t_hora, t_minuto, t_segundos ;
  2618.  
  2619.     gettime(t_hora, t_minuto, t_segundos);
  2620.     switch(t_hora)
  2621.     {
  2622.  
  2623.         case 0,1: SetWorldTime(1);
  2624.         case 2: SetWorldTime(2);
  2625.         case 3: SetWorldTime(3);
  2626.         case 4: SetWorldTime(4);
  2627.         case 5: SetWorldTime(5);
  2628.         case 6: SetWorldTime(6);
  2629.         case 7: SetWorldTime(7);
  2630.         case 8: SetWorldTime(8);
  2631.         case 9: SetWorldTime(9);
  2632.         case 10: SetWorldTime(10);
  2633.         case 11: SetWorldTime(11);
  2634.         case 12: SetWorldTime(12);
  2635.         case 13: SetWorldTime(13);
  2636.         case 14: SetWorldTime(14);
  2637.         case 15: SetWorldTime(15);
  2638.         case 16: SetWorldTime(16);
  2639.         case 17: SetWorldTime(17);
  2640.         case 18: SetWorldTime(20);
  2641.         case 19: SetWorldTime(21);
  2642.         case 20..23: SetWorldTime(0);
  2643.     }
  2644.     return 1;
  2645. }
  2646.  
  2647. forward p_relogio(playerid);
  2648. public p_relogio(playerid)
  2649. {
  2650.     new
  2651.     p_hora, p_minuto, p_segundos, p_ano, p_mes, p_dia ;
  2652.     new
  2653.     s_relogio[128], s_data[128], s_mes[12]  ;
  2654.  
  2655.     gettime(p_hora, p_minuto, p_segundos);
  2656.     getdate(p_ano, p_mes, p_dia);
  2657.     switch(p_mes)
  2658.     {
  2659.  
  2660.         case 1: s_mes = "Janeiro";
  2661.         case 2: s_mes = "Fevereiro";
  2662.         case 3: s_mes = "Marco";
  2663.         case 4: s_mes = "Abril";
  2664.         case 5: s_mes = "Maio";
  2665.         case 6: s_mes = "Junho";
  2666.         case 7: s_mes = "Julho";
  2667.         case 8: s_mes = "Agosto";
  2668.         case 9: s_mes = "Setembro";
  2669.         case 10: s_mes = "Outubro";
  2670.         case 11: s_mes = "Novembro";
  2671.         case 12: s_mes = "Dezembro";
  2672.  
  2673.     }
  2674.  
  2675.     format(s_data, sizeof(s_data),"%02d de %s de %d", p_dia, s_mes, p_ano);
  2676.     format(s_relogio, sizeof(s_relogio),"%02d:%02d:%02d", p_hora, p_minuto, p_segundos);
  2677.  
  2678.     TextDrawSetString(Relogio[0], s_data);
  2679.     TextDrawSetString(Relogio[1], s_relogio);
  2680.     return 1;
  2681. }
  2682.  
  2683.  
  2684.  
  2685.  
  2686. stock GetPlayerNameEx(playerid)
  2687. {
  2688.     new name_player[MAX_PLAYER_NAME];
  2689.     GetPlayerName(playerid, name_player, MAX_PLAYER_NAME);
  2690.     return name_player;
  2691. }
  2692.  
  2693.  
  2694. stock p_player_ip(playerid)
  2695. {
  2696.     new ip_player[18];
  2697.     GetPlayerIp(playerid, ip_player, 18);
  2698.     return ip_player;
  2699. }
  2700.  
  2701.  
  2702. stock SalvarPlayerEx(playerid)
  2703. {
  2704.     DATA_INFO[playerid][dinheiro] = GetPlayerMoney(playerid);
  2705.     DATA_INFO[playerid][level] = GetPlayerScore(playerid);
  2706.  
  2707.     orm_update(DATA_INFO[playerid][ORMID]);
  2708.     return 1;
  2709. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement