[Pedido] Salvar Gang
#1

E aew Galera, blz! Se nгo fosse pedir demais, eu queria salvar essa Gang[CУDIGO ABAIXO(GM)], Como Dof2 ou Dini, qual vocкs achar melhor ^^.... Desde jб agradeзo.

pawn Код:
//Includes
#include <a_samp>
#include <a_vehicles>

//Gang's
#define Aztecas 1
#define Grove 2

//Cores
#define Cor_Aztecas 0x2641FEC8
#define Cor_Grove 0x00D900C8

//New's
new PORTAOAZTECAS = 0, fly;
new pGang[MAX_PLAYERS];
new CarrosAztecas[20];
new CarrosGrove[10];

main()
{
    print("\n----------------------------------");
    print("    GAMEMODE DE TESTES [RHAYZIIN]    ");
    print("----------------------------------\n");
}

public OnGameModeInit()
{
SetGameModeText("Aztecas X Grove");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
//----------------------[CARROS DA AZTECAS]----------------------
CarrosAztecas[0] = AddStaticVehicle(579,2158.30004883,-1804.50000000,13.50000000,0.0,0,0); //Huntley
CarrosAztecas[1] = AddStaticVehicle(579,2162.30004883,-1804.80004883,13.50000000,0.0,0,0); //Huntley
CarrosAztecas[2] = AddStaticVehicle(579,2166.10009766,-1805.00000000,13.50000000,0.0,0,0); //Huntley
CarrosAztecas[3] = AddStaticVehicle(468,2158.10009766,-1793.80004883,13.10000038,180.0,0,0); //Sanchez
CarrosAztecas[4] = AddStaticVehicle(471,2166.60009766,-1793.30004883,12.89999962,180.0,0,0); //Quad
CarrosAztecas[5] = AddStaticVehicle(521,2162.10009766,-1793.90002441,13.00000000,180.0,0,0); //FCR-900
CarrosAztecas[6] = AddStaticVehicle(468,2160.19995117,-1793.80004883,13.10000038,180.0,0,0); //Sanchez
CarrosAztecas[7] = AddStaticVehicle(521,2164.00000000,-1793.90002441,13.00000000,180.0,0,0); //FCR-900
CarrosAztecas[8] = AddStaticVehicle(471,2169.80004883,-1793.30004883,12.89999962,180.0,0,0); //Quad
CarrosAztecas[9] = AddStaticVehicle(560,2170.10009766,-1806.00000000,13.19999981,0.0,0,0); //Sultan
CarrosAztecas[10] = AddStaticVehicle(560,2173.69995117,-1806.00000000,13.19999981,0.0,0,0); //Sultan
CarrosAztecas[11] = AddStaticVehicle(560,2177.00000000,-1806.19995117,13.19999981,0.0,0,0); //Sultan
CarrosAztecas[12] = AddStaticVehicle(482,2181.19995117,-1806.00000000,13.60000038,0.0,0,0); //Burrito
CarrosAztecas[13] = AddStaticVehicle(482,2185.50000000,-1806.00000000,13.60000038,0.0,0,0); //Burrito
CarrosAztecas[14] = AddStaticVehicle(510,2172.50000000,-1793.40002441,13.10000038,180.0,0,0); //Mountain Bike
CarrosAztecas[15] = AddStaticVehicle(510,2174.19995117,-1793.59997559,13.10000038,180.0,0,0); //Mountain Bike
CarrosAztecas[16] = AddStaticVehicle(487,2140.89990234,-1809.90002441,19.10000038,270.0,0,0); //Maverick
CarrosAztecas[17] = AddStaticVehicle(487,2148.39990234,-1824.69995117,19.10000038,4.00000000,0,0); //Maverick
CarrosAztecas[18] = AddStaticVehicle(487,2164.80004883,-1825.40002441,19.10000038,4.00000000,0,0); //Maverick
CarrosAztecas[19] = AddStaticVehicle(487,2189.30004883,-1821.00000000,19.10000038,3.99902344,0,0); //Maverick
//----------------------[CARROS DA GROVE]----------------------
CarrosGrove[0] = AddStaticVehicleEx(550,2485.80004883,-1680.59997559,13.30000019,0.00000000,86,84,15);
CarrosGrove[1] = AddStaticVehicleEx(550,2488.89990234,-1680.69995117,13.30000019,0.00000000,86,84,15);
CarrosGrove[2] = AddStaticVehicleEx(550,2492.60009766,-1680.80004883,13.30000019,0.00000000,86,84,15);
CarrosGrove[3] = AddStaticVehicleEx(550,2496.30004883,-1680.80004883,13.30000019,0.00000000,86,84,15);
CarrosGrove[4] = AddStaticVehicleEx(567,2503.50000000,-1661.59997559,13.39999962,92.00000000,86,1,15);
CarrosGrove[5] = AddStaticVehicleEx(522,2507.89990234,-1666.19995117,15.19999981,100.00000000,86,1,15);
CarrosGrove[6] = AddStaticVehicleEx(522,2508.00000000,-1667.80004883,15.19999981,99.99755859,86,1,15);
CarrosGrove[7] = AddStaticVehicleEx(522,2507.89990234,-1669.59997559,15.19999981,99.99755859,86,1,15);
CarrosGrove[8] = AddStaticVehicleEx(522,2507.89990234,-1671.30004883,15.19999981,99.99755859,86,1,15);
CarrosGrove[9] = AddStaticVehicleEx(560,2487.60009766,-1658.90002441,13.19999981,90.00000000,86,1,15);
//----------------------[OBJETOS DA GANG GROVE]----------------------
CreateObject(3409,2530.80004883,-1666.90002441,14.19999981,0.00000000,0.00000000,0.00000000);
CreateObject(3409,2527.39990234,-1666.69995117,14.19999981,0.00000000,0.00000000,0.00000000);
CreateObject(3409,2524.30004883,-1666.59997559,14.10000038,0.00000000,0.00000000,0.00000000);
CreateObject(12991,2484.80004883,-1658.80004883,15.89999962,0.00000000,0.00000000,0.00000000);
CreateObject(12991,2504.30004883,-1686.90002441,12.50000000,0.00000000,0.00000000,0.00000000);
CreateObject(12991,2502.10009766,-1675.50000000,19.10000038,1.76580811,331.98547363,0.93923950);
CreateObject(18267,2505.30004883,-1673.90002441,14.50000000,0.00000000,0.00000000,0.00000000);
CreateObject(18259,2475.50000000,-1681.90002441,13.10000038,0.00000000,0.00000000,263.99597168);
CreateObject(12991,2502.10009766,-1668.00000000,19.20000076,1.76330566,331.98486328,0.93383789);
CreateObject(3414,2485.30004883,-1659.40002441,14.50000000,0.00000000,0.00000000,0.00000000);
CreateObject(3355,2506.19995117,-1642.09997559,11.30000019,357.99499512,0.00000000,313.99475098);
CreateObject(16678,2468.80004883,-1658.69995117,12.89999962,0.00000000,0.00000000,0.00000000);
CreateObject(2358,2496.60009766,-1647.59997559,12.69999981,0.00000000,0.00000000,43.99475098);
CreateObject(1829,2497.10009766,-1646.90002441,13.00000000,0.00000000,1.99951172,41.99475098);
CreateObject(2231,2499.69995117,-1647.30004883,12.60000038,0.00000000,0.00000000,313.98974609);
CreateObject(2231,2501.10009766,-1648.80004883,12.60000038,0.00000000,0.00000000,305.98974609);
CreateObject(2231,2497.39990234,-1645.19995117,13.60000038,0.00000000,0.00000000,41.99523926);
CreateObject(1775,2498.39990234,-1647.00000000,13.10000038,0.00000000,0.00000000,311.99523926);
CreateObject(3409,2536.39990234,-1634.09997559,12.80000019,0.00000000,0.00000000,0.00000000);
CreateObject(3409,2536.19995117,-1637.50000000,12.89999962,0.00000000,0.00000000,0.00000000);
CreateObject(3409,2536.30004883,-1640.30004883,12.80000019,0.00000000,0.00000000,0.00000000);
CreateObject(3409,2536.39990234,-1644.19995117,13.00000000,0.00000000,0.00000000,0.00000000);
CreateObject(3409,2537.10009766,-1648.19995117,13.39999962,0.00000000,0.00000000,0.00000000);
CreateObject(13590,2453.80004883,-1670.00000000,13.30000019,0.00000000,0.00000000,0.00000000);
CreateObject(2358,2496.60009766,-1647.59997559,12.89999962,0.00000000,0.00000000,43.99475098);
CreateObject(2358,2496.60009766,-1647.59997559,13.10000038,0.00000000,0.00000000,43.99475098);
CreateObject(1809,2499.39990234,-1647.40002441,13.50000000,0.00000000,0.00000000,312.00000000);
//=======================================================================================================================
CreateObject(3850,1526.19995117,-1744.09997559,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(1)
CreateObject(3850,1522.80004883,-1744.09997559,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(2)
CreateObject(3850,1519.40002441,-1744.09997559,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(3)
CreateObject(3850,1529.59997559,-1744.09997559,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(4)
CreateObject(3850,1533.00000000,-1744.09997559,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(5)
CreateObject(3850,1536.40002441,-1744.09997559,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(6)
CreateObject(3850,1539.80004883,-1744.09997559,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(7)
CreateObject(3850,1543.19995117,-1744.09997559,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(8)
CreateObject(3850,1546.59997559,-1744.09997559,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(9)
CreateObject(3850,1550.00000000,-1744.09997559,13.00000000,0.49987793,0.00000000,270.00000000); //object(carshowbann_sfsx)(10)
CreateObject(3850,1553.40002441,-1744.09997559,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(11)
CreateObject(3850,1556.59997559,-1744.09997559,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(12)
CreateObject(3850,1558.29980469,-1745.79980469,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(13)
CreateObject(3850,1558.30004883,-1749.19995117,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(14)
CreateObject(3850,1558.29980469,-1752.59960938,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(15)
CreateObject(3850,1558.30004883,-1756.00000000,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(16)
CreateObject(3850,1558.30004883,-1759.40002441,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(17)
CreateObject(3850,1558.30004883,-1762.80004883,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(18)
CreateObject(3850,1558.29980469,-1766.09960938,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(19)
CreateObject(3850,1558.30004883,-1767.40002441,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(20)
CreateObject(3850,1556.59960938,-1769.09960938,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(22)
CreateObject(3850,1553.19995117,-1769.09997559,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(23)
CreateObject(3850,1550.50000000,-1769.09997559,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(24)
CreateObject(3850,1548.80004883,-1767.30004883,13.10000038,0.49438477,0.00000000,359.94982910); //object(carshowbann_sfsx)(25)
CreateObject(3850,1548.90002441,-1764.00000000,13.10000038,0.49438477,0.00000000,0.00000000); //object(carshowbann_sfsx)(26)
CreateObject(3850,1549.00000000,-1760.50000000,13.10000038,0.49438477,0.00000000,0.00000000); //object(carshowbann_sfsx)(27)
CreateObject(3850,1549.00000000,-1757.09997559,13.10000038,0.49438477,0.00000000,0.00000000); //object(carshowbann_sfsx)(28)
CreateObject(3850,1549.00000000,-1754.29980469,13.00000000,0.00000000,0.00000000,0.00000000); //object(carshowbann_sfsx)(29)
CreateObject(3850,1547.30004883,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(31)
CreateObject(3850,1544.00000000,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(32)
CreateObject(3850,1540.58996582,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(33)
CreateObject(3850,1537.13000488,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(34)
CreateObject(3850,1533.69897461,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(35)
CreateObject(3850,1530.30004883,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(36)
CreateObject(3850,1526.88000488,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(37)
CreateObject(3850,1523.46008301,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(38)
CreateObject(3850,1520.00000000,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(39)
CreateObject(3850,1516.56994629,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(40)
CreateObject(3850,1512.50000000,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(41)
CreateObject(3850,1510.80004883,-1750.80004883,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(42)
CreateObject(3850,1510.80004883,-1747.40002441,13.00000000,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(43)
CreateObject(3850,1510.79980469,-1745.79980469,13.00000000,0.00000000,0.00000000,179.99450684); //object(carshowbann_sfsx)(44)
CreateObject(3850,1515.94921875,-1744.09960938,13.00000000,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(45)
CreateObject(3850,1512.50000000,-1744.09997559,13.00000000,0.49438477,359.47814941,90.00000000); //object(carshowbann_sfsx)(46)
CreateObject(3850,1449.40002441,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09887695); //object(carshowbann_sfsx)(21)
CreateObject(3850,1446.00000000,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(48)
CreateObject(3850,1442.58996582,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(49)
CreateObject(3850,1439.15002441,-1744.09960938,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(50)
CreateObject(3850,1435.69995117,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(51)
CreateObject(3850,1432.30004883,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(52)
CreateObject(3850,1428.90002441,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(53)
CreateObject(3850,1423.63000488,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(54)
CreateObject(3850,1420.19995117,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(55)
CreateObject(3850,1416.74011230,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(56)
CreateObject(3850,1413.31005859,-1744.09997559,13.10000038,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(57)
CreateObject(3850,1409.88000488,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(58)
CreateObject(3850,1406.43298340,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09338379); //object(carshowbann_sfsx)(59)
CreateObject(3850,1403.00000000,-1744.09997559,13.10000038,0.00000000,0.00000000,270.09448242); //object(carshowbann_sfsx)(61)
CreateObject(3850,1401.30004883,-1745.80004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(carshowbann_sfsx)(62)
CreateObject(3850,1401.30004883,-1749.17004395,13.10000038,0.00000000,0.00000000,0.00000000); //object(carshowbann_sfsx)(63)
CreateObject(3850,1401.29980469,-1752.59960938,13.10000038,0.00000000,0.00000000,0.00000000); //object(carshowbann_sfsx)(65)
CreateObject(3850,1401.30004883,-1756.00000000,13.10000038,0.00000000,0.00000000,359.98950195); //object(carshowbann_sfsx)(66)
CreateObject(3850,1401.30004883,-1759.40002441,13.10000038,0.00000000,0.00000000,359.98950195); //object(carshowbann_sfsx)(67)
CreateObject(3850,1401.30004883,-1762.90002441,13.10000038,0.00000000,0.00000000,359.00000000); //object(carshowbann_sfsx)(68)
CreateObject(3850,1401.30004883,-1766.30004883,13.10000038,0.00000000,0.00000000,359.00000000); //object(carshowbann_sfsx)(69)
CreateObject(3850,1401.30004883,-1767.30004883,13.10000038,0.00000000,0.00000000,359.98352051); //object(carshowbann_sfsx)(70)
CreateObject(3850,1403.00000000,-1769.00000000,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(71)
CreateObject(3850,1406.40002441,-1769.00000000,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(72)
CreateObject(3850,1408.09997559,-1769.00000000,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(73)
CreateObject(3850,1409.90002441,-1767.30004883,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(74)
CreateObject(3850,1409.90002441,-1763.90002441,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(75)
CreateObject(3850,1409.90002441,-1760.50000000,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(76)
CreateObject(3850,1409.90002441,-1757.09997559,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(77)
CreateObject(3850,1409.90002441,-1754.19995117,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(78)
CreateObject(3850,1411.50000000,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(79)
CreateObject(3850,1415.00000000,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(80)
CreateObject(3850,1418.50000000,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(81)
CreateObject(3850,1421.90002441,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(82)
CreateObject(3850,1425.30004883,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(83)
CreateObject(3850,1428.69995117,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(84)
CreateObject(3850,1432.09997559,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(85)
CreateObject(3850,1435.50000000,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(86)
CreateObject(3850,1438.90002441,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(87)
CreateObject(3850,1442.30004883,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(88)
CreateObject(3850,1445.80004883,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(89)
CreateObject(3850,1449.30004883,-1752.59997559,13.10000038,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx)(90)
CreateObject(3850,1451.09997559,-1750.90002441,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(91)
CreateObject(3850,1451.09997559,-1747.40002441,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(92)
CreateObject(3850,1451.09997559,-1745.80004883,13.10000038,0.00000000,0.00000000,180.00000000); //object(carshowbann_sfsx)(93)
CreateObject(1649,1486.59997559,-1751.50000000,16.00000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(1)
CreateObject(1649,1486.59960938,-1751.50000000,19.29999924,0.00000000,0.00000000,179.99450684); //object(wglasssmash)(2)
CreateObject(1649,1486.59997559,-1751.50000000,25.89999962,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(4)
CreateObject(1649,1492.09997559,-1751.30004883,25.89999962,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(5)
CreateObject(1649,1492.09997559,-1751.30004883,22.70000076,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(6)
CreateObject(1649,1492.09997559,-1751.30004883,19.39999962,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(7)
CreateObject(1649,1492.09997559,-1751.30004883,16.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(8)
CreateObject(1649,1481.19995117,-1751.59997559,22.70000076,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(9)
CreateObject(1649,1481.00000000,-1751.59997559,25.89999962,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(10)
CreateObject(1649,1481.19921875,-1751.59960938,19.39999962,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(11)
CreateObject(1649,1475.69995117,-1751.69995117,19.29999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(12)
CreateObject(1649,1475.69995117,-1751.69995117,16.00000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(13)
CreateObject(1649,1475.69995117,-1751.69995117,22.60000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(14)
CreateObject(1649,1475.69995117,-1751.69995117,25.89999962,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(15)
CreateObject(1649,1470.30004883,-1751.80004883,25.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(17)
CreateObject(1649,1470.19995117,-1751.80004883,22.60000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(18)
CreateObject(1649,1470.19995117,-1751.80004883,19.29999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(19)
CreateObject(1649,1470.19995117,-1751.80004883,16.05999947,0.00000000,0.00000000,180.00000000); //object(wglasssmash)(20)
CreateObject(1649,1486.59997559,-1751.50000000,16.00000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(1)
CreateObject(1649,1486.59997559,-1751.50000000,25.89999962,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(4)
CreateObject(1649,1492.09997559,-1751.30004883,25.89999962,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(5)
CreateObject(1649,1492.09997559,-1751.30004883,22.70000076,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(6)
CreateObject(1649,1492.09997559,-1751.30004883,19.39999962,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(7)
CreateObject(1649,1492.09997559,-1751.30004883,16.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(8)
CreateObject(1649,1481.19995117,-1751.59997559,22.70000076,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(9)
CreateObject(1649,1481.00000000,-1751.59997559,25.89999962,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(10)
CreateObject(1649,1481.19921875,-1751.59960938,19.39999962,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(11)
CreateObject(1649,1475.69995117,-1751.69995117,19.29999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(12)
CreateObject(1649,1475.69995117,-1751.69995117,16.00000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(13)
CreateObject(1649,1475.69995117,-1751.69995117,22.60000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(14)
CreateObject(1649,1475.69995117,-1751.69995117,25.89999962,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(15)
CreateObject(1649,1470.30004883,-1751.80004883,25.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(17)
CreateObject(1649,1470.19995117,-1751.80004883,22.60000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(18)
CreateObject(1649,1470.19995117,-1751.80004883,19.29999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(19)
CreateObject(1649,1470.19995117,-1751.80004883,16.05999947,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(20)
CreateObject(1649,1493.09997559,-1762.90002441,32.40000153,270.00000000,180.00000000,269.90000000); //object(wglasssmash)(1)
CreateObject(1649,1493.09997559,-1771.70007324,32.40000153,270.00000000,180.00012207,269.99420166); //object(wglasssmash)(2)
CreateObject(1649,1493.09960938,-1767.29980469,32.40000153,270.00000000,180.99853516,269.99850464); //object(wglasssmash)(5)
CreateObject(1649,1489.80004883,-1762.90002441,32.40000153,270.00000000,180.99957275,269.00000000); //object(wglasssmash)(6)
CreateObject(1649,1489.80004883,-1767.30004883,32.40000153,270.00000000,180.99957275,269.00000000); //object(wglasssmash)(7)
CreateObject(1649,1489.80004883,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(8)
CreateObject(1649,1486.50000000,-1762.90002441,32.40000153,270.00000000,180.00000000,270.00000000); //object(wglasssmash)(9)
CreateObject(1649,1486.50000000,-1767.30004883,32.40000153,270.00000000,180.00000000,270.00000000); //object(wglasssmash)(10)
CreateObject(1649,1486.50000000,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(11)
CreateObject(1649,1483.19995117,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(12)
CreateObject(1649,1483.19995117,-1767.30004883,32.40000153,270.00000000,180.00000000,270.00000000); //object(wglasssmash)(13)
CreateObject(1649,1483.19995117,-1762.90002441,32.40000153,270.00000000,180.99853516,269.99850464); //object(wglasssmash)(14)
CreateObject(1649,1479.90002441,-1762.90002441,32.40000153,270.00000000,180.00000000,270.00000000); //object(wglasssmash)(15)
CreateObject(1649,1479.90002441,-1767.30004883,32.40000153,270.00000000,180.00000000,270.00000000); //object(wglasssmash)(16)
CreateObject(1649,1479.90002441,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(17)
CreateObject(1649,1476.59997559,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(18)
CreateObject(1649,1476.59997559,-1767.30004883,32.40000153,270.00000000,180.99853516,269.99850464); //object(wglasssmash)(19)
CreateObject(1649,1476.59997559,-1762.90002441,32.40000153,270.00000000,180.00000000,270.00000000); //object(wglasssmash)(20)
CreateObject(1649,1473.30004883,-1762.90002441,32.40000153,270.00000000,180.00152588,270.00146484); //object(wglasssmash)(21)
CreateObject(1649,1473.30004883,-1767.30004883,32.40000153,270.00000000,180.99853516,269.99850464); //object(wglasssmash)(22)
CreateObject(1649,1473.30004883,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(23)
CreateObject(1649,1470.00000000,-1762.90002441,32.40000153,270.00000000,180.99853516,269.99850464); //object(wglasssmash)(24)
CreateObject(1649,1470.00000000,-1767.30004883,32.40000153,270.00000000,180.00000000,270.00000000); //object(wglasssmash)(25)
CreateObject(1649,1470.00000000,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(26)
CreateObject(1649,1466.69995117,-1771.69995117,32.40000153,270.00000000,180.00000000,269.00000000); //object(wglasssmash)(27)
CreateObject(1649,1466.69995117,-1767.30004883,32.40000153,270.00000000,180.99450684,269.99450684); //object(wglasssmash)(28)
CreateObject(1649,1466.69995117,-1762.90002441,32.40000153,270.00000000,180.99853516,269.99850464); //object(wglasssmash)(29)
CreateObject(1649,1493.09997559,-1762.90002441,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(1)
CreateObject(1649,1493.09997559,-1771.70007324,32.40000153,-270.00000000,180.00012207,269.99420166); //object(wglasssmash)(2)
CreateObject(1649,1493.09960938,-1767.29980469,32.40000153,-270.00000000,180.99853516,269.99850464); //object(wglasssmash)(5)
CreateObject(1649,1489.80004883,-1762.90002441,32.40000153,-270.00000000,180.99957275,269.00000000); //object(wglasssmash)(6)
CreateObject(1649,1489.80004883,-1767.30004883,32.40000153,-270.00000000,180.99957275,269.00000000); //object(wglasssmash)(7)
CreateObject(1649,1489.80004883,-1771.69995117,32.40000153,-270.00000000,180.00000000,269.00000000); //object(wglasssmash)(8)
CreateObject(1649,1486.50000000,-1762.90002441,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(9)
CreateObject(1649,1486.50000000,-1767.30004883,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(10)
CreateObject(1649,1486.50000000,-1771.69995117,32.40000153,-270.00000000,180.00000000,269.00000000); //object(wglasssmash)(11)
CreateObject(1649,1483.19995117,-1771.69995117,32.40000153,-270.00000000,180.00000000,269.00000000); //object(wglasssmash)(12)
CreateObject(1649,1483.19995117,-1767.30004883,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(13)
CreateObject(1649,1483.19995117,-1762.90002441,32.40000153,-270.00000000,180.99853516,269.00000000); //object(wglasssmash)(14)
CreateObject(1649,1479.90002441,-1762.90002441,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(15)
CreateObject(1649,1479.90002441,-1767.30004883,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(16)
CreateObject(1649,1479.90002441,-1771.69995117,32.40000153,-270.00000000,180.00000000,269.00000000); //object(wglasssmash)(17)
CreateObject(1649,1476.59997559,-1771.69995117,32.40000153,-270.00000000,180.00000000,269.00000000); //object(wglasssmash)(18)
CreateObject(1649,1476.59997559,-1767.30004883,32.40000153,-270.00000000,180.99853516,269.00000000); //object(wglasssmash)(19)
CreateObject(1649,1476.59997559,-1762.90002441,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(20)
CreateObject(1649,1473.30004883,-1762.90002441,32.40000153,-270.00000000,180.00152588,270.00000000); //object(wglasssmash)(21)
CreateObject(1649,1473.29980469,-1767.29980469,32.40000153,89.99450684,180.99426270,270.00000000); //object(wglasssmash)(22)
CreateObject(1649,1473.30004883,-1771.69995117,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(23)
CreateObject(1649,1470.00000000,-1762.90002441,32.40000153,-270.00000000,180.99853516,270.00000000); //object(wglasssmash)(24)
CreateObject(1649,1470.00000000,-1767.30004883,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(25)
CreateObject(1649,1470.00000000,-1771.69995117,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(26)
CreateObject(1649,1466.69995117,-1771.69995117,32.40000153,-270.00000000,180.00000000,270.00000000); //object(wglasssmash)(27)
CreateObject(1649,1466.69995117,-1767.30004883,32.40000153,-270.00000000,180.99450684,270.00000000); //object(wglasssmash)(28)
CreateObject(1649,1466.69995117,-1762.90002441,32.40000153,-270.00000000,180.99853516,270.00000000); //object(wglasssmash)(29)
CreateObject(3850,1425.50000000,-1744.09997559,13.10000038,0.00000000,0.00000000,272.00000000); //object(carshowbann_sfsx)(53)
CreateObject(3850,1513.11999512,-1752.50000000,13.00000000,0.00000000,0.00000000,270.00000000); //object(carshowbann_sfsx)(41)
CreateObject(1649,1486.59997559,-1751.50000000,22.60000038,0.00000000,0.00000000,179.99450684); //object(wglasssmash)(2)
CreateObject(1649,1486.59960938,-1751.50000000,19.29999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(2)
CreateObject(1649,1486.59960938,-1751.50000000,22.60000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash)(2)
CreateObject(1364,1548.30004883,-1671.50000000,13.30000019,0.00000000,0.00000000,1.50000000); //convertffs(102)
CreateObject(1364,1548.59997559,-1679.80004883,13.30000019,0.00000000,0.00000000,182.00000000); //convertffs(103)
CreateObject(1364,1504.40002441,-1747.30004883,13.30000019,0.00000000,0.00000000,270.00000000); //convertffs(103)
CreateObject(1364,1500.69995117,-1743.09997559,13.30000019,0.00000000,0.00000000,0.00000000); //convertffs(103)
CreateObject(1364,1492.80004883,-1743.00000000,13.30000019,0.00000000,0.00000000,0.00000000); //convertffs(103)
CreateObject(1364,1485.00000000,-1742.90002441,13.30000019,0.00000000,0.00000000,0.00000000); //convertffs(103)
CreateObject(1364,1475.90002441,-1742.90002441,13.30000019,0.00000000,0.00000000,0.00000000); //convertffs(103)
CreateObject(1364,1468.69995117,-1742.90002441,13.30000019,0.00000000,0.00000000,0.00000000); //convertffs(103)
CreateObject(1364,1461.30004883,-1743.00000000,13.30000019,0.00000000,0.00000000,0.00000000); //convertffs(103)
CreateObject(1364,1457.19995117,-1746.19995117,13.30000019,0.00000000,0.00000000,90.00000000); //convertffs(103)
CreateObject(1361,1484.80004883,-1772.00000000,18.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2)(1)
CreateObject(1361,1477.40002441,-1771.90002441,18.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2)(2)
CreateObject(1360,1494.19995117,-1768.90002441,18.60000038,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop3)(2)
CreateObject(1360,1494.30004883,-1758.69995117,17.10000038,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop3)(3)
CreateObject(1360,1468.09997559,-1768.90002441,18.60000038,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop3)(4)
CreateObject(1360,1468.09997559,-1759.40002441,17.29999924,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop3)(5)
CreateObject(1491,1479.59997559,-1751.50000000,14.50000000,0.00000000,0.00000000,0.00000000); //object(gen_doorint01)(1)
CreateObject(1491,1482.59997559,-1751.50000000,14.50000000,0.00000000,0.00000000,179.99450684); //object(gen_doorint01)(2)
CreateObject(1616,1494.80004883,-1771.00000000,28.10000038,0.00000000,0.00000000,0.00000000); //object(nt_securecam1_01)(1)
CreateObject(1214,1483.09997559,-1751.50000000,14.39999962,0.00000000,0.00000000,0.00000000); //object(bollard)(6)
CreateObject(1214,1482.80004883,-1751.50000000,14.39999962,0.00000000,0.00000000,0.00000000); //object(bollard)(7)
CreateObject(1214,1482.80004883,-1751.50000000,15.60000038,0.00000000,0.00000000,0.00000000); //object(bollard)(8)
CreateObject(1214,1483.09997559,-1751.50000000,15.60000038,0.00000000,0.00000000,0.00000000); //object(bollard)(9)
CreateObject(1214,1483.09997559,-1751.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(bollard)(10)
CreateObject(1214,1482.80004883,-1751.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(bollard)(11)
CreateObject(1214,1479.09997559,-1751.50000000,14.39999962,0.00000000,0.00000000,0.00000000); //object(bollard)(12)
CreateObject(1214,1479.40002441,-1751.50000000,14.39999962,0.00000000,0.00000000,0.00000000); //object(bollard)(13)
CreateObject(1214,1479.40002441,-1751.50000000,15.50000000,0.00000000,0.00000000,0.00000000); //object(bollard)(14)
CreateObject(1214,1479.19995117,-1751.50000000,15.50000000,0.00000000,0.00000000,0.00000000); //object(bollard)(15)
CreateObject(1214,1479.19995117,-1751.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(bollard)(16)
CreateObject(1214,1479.40002441,-1751.50000000,17.20000076,0.00000000,90.00000000,0.00000000); //object(bollard)(17)
CreateObject(1214,1479.40002441,-1751.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(bollard)(18)
CreateObject(1214,1480.59997559,-1751.50000000,17.20000076,0.00000000,90.00000000,0.00000000); //object(bollard)(19)
CreateObject(1214,1481.40002441,-1751.50000000,17.60000038,0.00000000,90.00000000,0.00000000); //object(bollard)(20)
CreateObject(1214,1481.80004883,-1751.50000000,17.20000076,0.00000000,90.00000000,0.00000000); //object(bollard)(21)
CreateObject(1214,1479.50000000,-1751.50000000,17.60000038,0.00000000,90.00000000,0.00000000); //object(bollard)(22)
CreateObject(1214,1480.30004883,-1751.50000000,17.60000038,0.00000000,90.00000000,0.00000000); //object(bollard)(23)
//HQ AZTECAS
PORTAOAZTECAS = CreateObject(980,2183.19995117,-1762.90002441,15.10000038,0.0,0.0,0.0);
CreateObject(991,2135.39892578,-1829.00000000,16.29999924,0.0,0.0,90.0); //object(bar_barriergate1) (1)
CreateObject(990,2140.19995117,-1833.09997559,16.70000076,0.0,0.0,168.00000000); //object(bar_barrier12) (1)
CreateObject(990,2149.89990234,-1835.19995117,16.70000076,0.0,0.0,167.99743652); //object(bar_barrier12) (2)
CreateObject(990,2159.69995117,-1837.30004883,16.70000076,0.0,0.0,167.99743652); //object(bar_barrier12) (3)
CreateObject(992,2166.19995117,-1838.69995117,16.70000076,0.0,0.0,166.00000000); //object(bar_barrier10b) (2)
CreateObject(990,2172.60009766,-1839.19995117,16.70000076,0.0,0.0,179.75000000); //object(bar_barrier12) (4)
CreateObject(990,2182.60009766,-1839.19995117,16.70000076,0.0,0.0,179.74731445); //object(bar_barrier12) (5)
CreateObject(992,2189.19995117,-1839.19995117,16.70000076,0.0,0.0,180.0); //object(bar_barrier10b) (3)
CreateObject(992,2191.39990234,-1839.19995117,16.70000076,0.0,0.0,179.99450684); //object(bar_barrier10b) (4)
CreateObject(992,2192.80004883,-1837.80004883,17.29999924,0.0,0.0,270.0); //object(bar_barrier10b) (6)
CreateObject(992,2192.80004883,-1834.40002441,17.29999924,0.0,0.0,269.99450684); //object(bar_barrier10b) (7)
CreateObject(992,2192.80004883,-1832.19995117,17.29999924,0.0,0.0,269.99450684); //object(bar_barrier10b) (8)
CreateObject(991,2195.80004883,-1827.19995117,19.10000038,0.0,0.0,270.0); //object(bar_barriergate1) (2)
CreateObject(991,2192.50000000,-1830.50000000,19.10000038,0.0,0.0,179.99450684); //object(bar_barriergate1) (3)
CreateObject(990,2195.00000000,-1810.19995117,16.60000038,0.0,0.0,270.0); //object(bar_barrier12) (8)
CreateObject(990,2195.00000000,-1800.19921875,16.60000038,0.0,0.0,269.99450684); //object(bar_barrier12) (9)
CreateObject(990,2195.00000000,-1790.19921875,16.60000038,0.0,0.0,269.99450684); //object(bar_barrier12) (10)
CreateObject(990,2195.00000000,-1780.19921875,16.60000038,0.0,0.0,269.99450684); //object(bar_barrier12) (11)
CreateObject(3749,2183.30004883,-1764.09997559,18.20000076,0.0,0.0,0.0); //object(clubgate01_lax) (2)
CreateObject(990,2195.00000000,-1770.19921875,16.60000038,0.0,0.0,269.99450684); //object(bar_barrier12) (13)
CreateObject(992,2194.00000000,-1764.09997559,16.60000038,0.0,0.0,308.00000000); //object(bar_barrier10b) (11)
CreateObject(993,2194.39990234,-1762.50000000,9.89999962,0.0,90.0,0.0); //object(bar_barrier10) (2)
CreateObject(3934,2189.00000000,-1821.50000000,17.89999962,0.0,0.0,0.0); //object(helipad01) (1)
CreateObject(3934,2164.50000000,-1824.90002441,17.89999962,0.0,0.0,90.0); //object(helipad01) (2)
CreateObject(3934,2140.69995117,-1810.69995117,17.89999962,0.0,0.0,90.0); //object(helipad01) (3)
CreateObject(3934,2148.00000000,-1824.90002441,17.89999962,0.0,0.0,90.0); //object(helipad01) (4)
CreateObject(8572,2180.30004883,-1831.30004883,16.62800026,0.0,0.0,0.0); //object(vgssstairs02_lvs) (1)
CreateObject(5153,2175.60009766,-1824.09997559,17.79999924,0.0,24.00000000,0.0); //object(stuntramp7_las2) (1)
CreateObject(997,2173.80004883,-1823.09997559,17.89999962,0.0,0.0,0.0); //object(lhouse_barrier3) (1)
CreateObject(997,2173.80004883,-1825.09997559,17.89999962,0.0,0.0,0.0); //object(lhouse_barrier3) (2)
CreateObject(997,2176.39990234,-1828.30004883,17.89999962,0.0,0.0,90.0); //object(lhouse_barrier3) (3)
CreateObject(997,2174.10009766,-1828.30004883,17.89999962,0.0,0.0,91.99951172); //object(lhouse_barrier3) (4)
CreateObject(997,2173.89990234,-1823.09997559,17.89999962,0.0,0.0,89.99951172); //object(lhouse_barrier3) (5)
CreateObject(997,2176.39990234,-1823.09997559,17.89999962,0.0,0.0,89.99450684); //object(lhouse_barrier3) (6)
return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
}

public OnPlayerConnect(playerid)
{
    GivePlayerMoney(playerid, 100000);
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vid = GetPlayerVehicleID(playerid);
//----------------------[CARROS DA AZTECAS]----------------------
if(vid==CarrosAztecas[0]||vid==CarrosAztecas[1]||vid==CarrosAztecas[2]||vid==CarrosAztecas[3]||vid==CarrosAztecas[4]||vid==CarrosAztecas[5]||vid==CarrosAztecas[6]||vid==CarrosAztecas[7]||vid==CarrosAztecas[8]||vid==CarrosAztecas[9]||vid==CarrosAztecas[10]||vid==CarrosAztecas[11]||vid==CarrosAztecas[12]||vid==CarrosAztecas[13]||vid==CarrosAztecas[14]||vid==CarrosAztecas[15]||vid==CarrosAztecas[16]||vid==CarrosAztecas[17]||vid==CarrosAztecas[18]||vid==CarrosAztecas[19])
{
    if(pGang[playerid] == Aztecas)
    {
        //FUNCAO
    }
    else
    {
        SendClientMessage(playerid,Cor_Aztecas,"{FF3D3D}[Erro]{FFFFFF} Vocк nгo й dos Aztecas");
        RemovePlayerFromVehicle(playerid);
        TogglePlayerControllable(playerid, 1);
    }
}

//----------------------[CARROS DA GROVE]----------------------
if(vid==CarrosGrove[0]||vid==CarrosGrove[1]||vid==CarrosGrove[2]||vid==CarrosGrove[3]||vid==CarrosGrove[4]||vid==CarrosGrove[5]||vid==CarrosGrove[6]||vid==CarrosGrove[7]||vid==CarrosGrove[8]||vid==CarrosGrove[9])
{
    if(pGang[playerid] == Grove)
    {
        //FUNCAO
    }
    else
    {
        SendClientMessage(playerid,Cor_Grove,"{FF3D3D}[Erro]{FFFFFF} Vocк nгo й do Grove");
        RemovePlayerFromVehicle(playerid);
        TogglePlayerControllable(playerid, 1);
    }
}

return 0;
}

public OnPlayerSpawn(playerid)
{

if(pGang[playerid] == Aztecas) // Se Ele For Aztecas Ele Setarб Pro Local Abaixo :
{
    SetPlayerColor(playerid, Cor_Aztecas); // Setarб a Cor Dele Para AZUL Que й a Cor definida no Topo !
    SetPlayerPos(playerid, 2153.5129,-1788.3496,13.5167); // Setarб Ele Para Estб Posiзгo
    SetPlayerInterior(playerid, 0); // Setarб o Interior Dele.
}

if(pGang[playerid] == Grove) // Se Ele For Grove Ele Setarб Pro Local Abaixo :
{
    SetPlayerColor(playerid, Cor_Grove); // Setarб a Cor dele Para VERDE Que й a Cor definida no Topo.
    SetPlayerPos(playerid, 2531.0586,-1666.2322,15.1678); //Setarб Ele Para Estб Posiзгo
    SetPlayerInterior(playerid, 0); //Setarб o Interior Dele.
}

return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
    return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
    return 1;
}

public OnPlayerText(playerid, text[])
{
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{

if(strcmp(cmdtext, "/equipar", true) == 0)
{
    if(pGang[playerid] == Aztecas)  // Ou Seja Sу aztecas Poderб Usar o Comando
    {
        GivePlayerWeapon(playerid, 27, 100);
        GivePlayerWeapon(playerid, 29, 200);
        GivePlayerWeapon(playerid, 31, 300);
        GivePlayerWeapon(playerid, 22, 200);
        SendClientMessage(playerid, Cor_Aztecas, "{FF3D3D}[Aztecas]{FFFFFF} Vocк pegou seus equipamentos.");
    }
    if(pGang[playerid] == Grove)  // Ou Seja Sу Grove Poderб Usar o Comando
    {
        GivePlayerWeapon(playerid, 27, 100);
        GivePlayerWeapon(playerid, 29, 200);
        GivePlayerWeapon(playerid, 31, 300);
        GivePlayerWeapon(playerid, 22, 200);
        SendClientMessage(playerid, Cor_Grove, "{FF3D3D}[GROVE]{FFFFFF} Vocк pegou seus equipamentos.");
    }
    return true;
}

if(strcmp(cmdtext, "/hq", true) == 0)
{
    if(pGang[playerid] == Aztecas)  // Ou Seja Sу aztecas Poderб Usar o Comando
    {
        SetPlayerPos(playerid, 2153.5129,-1788.3496,13.5167); // Setarб Ele Para Estб Posiзгo
        SendClientMessage(playerid, Cor_Aztecas, "{FF3D3D}[Aztecas]{FFFFFF} HQ");
    }
    if(pGang[playerid] == Grove)  // Ou Seja Sу Grove Poderб Usar o Comando
    {
        SetPlayerPos(playerid, 2531.0586,-1666.2322,15.1678); //Setarб Ele Para Estб Posiзгo
        SendClientMessage(playerid, Cor_Grove, "{FF3D3D}[GROVE]{FFFFFF} HQ");
    }
    return true;
}

if(strcmp(cmdtext, "/virarAztecas", true) == 0)
{
    pGang[playerid] = Aztecas; // Setarб ele Para GANG Aztecas.
    return 1;
}

if(strcmp(cmdtext, "/virarGrove", true) == 0)
{
    pGang[playerid] = Grove; // Setarб ele Para GANG Aztecas.
    return 1;
}

if(strcmp(cmdtext, "/paztecas", true) == 0)
{
    if(pGang[playerid] == Aztecas)  // Ou Seja Sу aztecas Poderб Usar o Comando
    {
        if(fly == 0)
        {
            MoveObject(PORTAOAZTECAS,2183.19995117,-1762.90002441,20.39999961853,4.0,0.0,0.0,0.0);
            SendClientMessage(playerid,0xFF0000AA,"[INFO]{FFFFFF}O Portгo da HQ Aberto !");
            fly = 1;
        }
        else if(fly == 1)
        {
            MoveObject(PORTAOAZTECAS,2183.19995117,-1762.90002441,15.10000038,4.0,0.0,0.0,0.0);
            SendClientMessage(playerid,0xFF0000AA,"[INFO]{FFFFFF}O Portгo da HQ Fechado !");
            fly = 0;
        }
    }
    else
    {
        SendClientMessage(playerid,0xFF0000AA,"[ERRO]{FFFFFF}Vocк nгo tem permissгo para usar esse comando.");
    }
    return 1;
}

return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 1;
}

public OnRconCommand(cmd[])
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    return 1;
}

public OnObjectMoved(objectid)
{
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
    return 1;
}

public OnPlayerExitedMenu(playerid)
{
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    return 1;
}

public OnPlayerUpdate(playerid)
{
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 0;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    return 1;
}
Reply
#2

DOF2 sem dъvidas amigo



Hospedagem SA-MP!
Atualmente temos a taxa de ping mais instбvel do mercado SA-MP no Brasil.

www.inetjogos.com.br
Reply
#3

Cara, nгo й por projeto que vc deve escolher o sistema de salvamento, mas sim por sua opiniгo, eu gosto mais de DOF2 do que dini, acho mais fбcil atй, entгo te recomendo DOF2.
Reply
#4

dof2 й mais facil
Reply
#5

DOF2 com certeza
Reply
#6

y_INI / SII.

Leia e tente fazer vocк mesmo:

y_INI: https://sampforum.blast.hk/showthread.php?pid=1138420#pid1138420

SII: https://sampforum.blast.hk/showthread.php?tid=267808
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)