[Ajuda] Restriзгo nos Carros
#1

A restriзгo para usar os carros nгo estб funcionando.
Em alguns carros ela funciona em outros nгo.

Код:
VCivil[0] = CreateVehicle(411, 1192.4395, -1362.5409, 13.3698, 358.1200,0,0,0);
    VCivil[1] = CreateVehicle(510, 825.6260,-1345.5303,13.1127,91.5118,3,3,0);
    VCivil[2] = CreateVehicle(510, 825.6689,-1346.9778,13.1107,91.6227,0,0,0);
    VCivil[3] = CreateVehicle(510, 825.8813,-1348.9985,13.1062,87.9903,1,1,0);
    VCivil[4] = CreateVehicle(510, 821.9480,-1354.4177,13.1157,357.9441,6,6,0);
    VCivil[5] = CreateVehicle(510, 819.7994,-1354.3340,13.1232,0.6016,5,5,0);
    VCivil[6] = CreateVehicle(510, 816.6732,-1354.7830,13.1195,0.3978,186,186,0);
    VCivil[7] = CreateVehicle(510, 811.6733,-1355.1067,13.1209,359.2079,0,0,0);
    //
    VBallas[0] = CreateVehicle(475, 2085.0647, -1140.9321, 24.8164, 92.4240,186,186,0);
    VBallas[1] = CreateVehicle(426, 2075.6738, -1173.0566, 23.6602, 0.9531,186,186,0);
    VBallas[2] = CreateVehicle(426, 2075.4817, -1161.4729, 23.6846, 0.9531,186,186,0);
    VBallas[3] = CreateVehicle(461, 2088.5393, -1176.7621, 25.5938, 89.9172,186,186,0);
    VBallas[4] = AddStaticVehicleEx(461, 2088.4548, -1175.0114, 25.5938, 97.1239,186,186, 600); //20
    //
    VLosVagos[0] = CreateVehicle(475, 2358.7590,-1160.1444,27.2982,89.8952,6,6,0);
    VLosVagos[1] = CreateVehicle(426, 2340.4788,-1160.0663,26.7847,90.3090,6,6,0);
    VLosVagos[2] = CreateVehicle(426, 2350.3396,-1148.1509,27.0947,91.1994,6,6,0);
    VLosVagos[3] = CreateVehicle(461, 2348.2144,-1167.9675,27.8357,0.6237,6,6,0);
    VLosVagos[4] = AddStaticVehicleEx(461, 2354.3110,-1168.4076,27.9317,357.8036,6,6, 600); //20CreateVehicle(461, 2354.3110,-1168.4076,27.9317,357.8036,6,6,0);
    //
    VGroove[0] = CreateVehicle(475, 2505.8088,-1694.2065,13.2838,359.1037,44,44,0);
    VGroove[1] = CreateVehicle(426, 2493.1826,-1655.4423,13.1052,92.2288,44,44,0);
    VGroove[2] = CreateVehicle(426, 2488.7668,-1682.6442,13.0626,91.0890,44,44,0);
    VGroove[3] = CreateVehicle(461, 2515.4875,-1670.1827,13.6759,76.5238,44,44,0);
    VGroove[4] = CreateVehicle(461, 2515.1560,-1672.2906,13.6900,76.5238,44,44,0);
    //
    VAztecas[0] = CreateVehicle(475, 1879.2896,-2020.3679,13.1177,178.8516,2,2,0);
    VAztecas[1] = CreateVehicle(426, 1886.7719,-2022.5409,13.1177,179.2495,2,2,0);
    VAztecas[2] = CreateVehicle(426, 1886.6082,-2035.0072,13.1177,179.2495,2,2,0);
    VAztecas[3] = CreateVehicle(461, 1878.3470,-2040.2371,13.3906,269.3221,2,2,0);
    VAztecas[4] = CreateVehicle(461, 1878.3635,-2038.4288,13.3906,269.0088,2,2,0);
    //
    VSiciliana[0] = CreateVehicle(545, 681.4657,-1264.7179,13.3047,92.3916,0,0,0);
    VSiciliana[1] = CreateVehicle(419, 679.0371,-1256.0031,13.3237,90.9771,0,0,0);
    VSiciliana[2] = CreateVehicle(419, 677.9217,-1283.6140,13.3389,92.2239,0,0,0);
    VSiciliana[3] = CreateVehicle(461, 678.4068,-1286.9702,13.6116,95.6453,0,0,0);
    VSiciliana[4] = CreateVehicle(461, 678.0568,-1289.0565,13.6146,85.6185,0,0,0);
    VSiciliana[5] = CreateVehicle(487, 755.8611,-1259.5348,13.2868,181.0729,0,0,0);
    //
    VAlbanesa[0] = CreateVehicle(545, 1254.9836,-803.5582,84.1406,177.2505,65,65,0);
    VAlbanesa[1] = CreateVehicle(419, 1249.1982,-803.9407,84.1406,178.8171,65,65,0);
    VAlbanesa[2] = CreateVehicle(419, 1242.9257,-804.2573,84.1406,178.5038,65,65,0);
    VAlbanesa[3] = CreateVehicle(461, 1283.5752,-830.7108,83.1406,0.2388,65,65,0);
    VAlbanesa[4] = CreateVehicle(461, 1278.9146,-830.9896,83.1406,356.1654,65,65,0);
    VAlbanesa[5] = CreateVehicle(487, 1291.3152,-788.7628,96.4609,7.7588,65,65,0);
    //
    VHispanicos[0] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VHispanicos[1] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VHispanicos[2] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    //
    VBloods[0] = CreateVehicle(475, 2805.6665,-1187.7521,24.9922,268.2731,3,3,0);
    VBloods[1] = CreateVehicle(426, 2815.7200,-1187.9865,24.8148,271.3605,3,3,0);
    VBloods[2] = CreateVehicle(426, 2814.2009,-1178.9930,24.8393,270.9705,3,3,0);
    VBloods[3] = CreateVehicle(461, 2821.8347,-1179.3278,24.8045,211.5607,3,3,0);
    VBloods[4] = CreateVehicle(461, 2823.6765,-1178.5201,24.7891,223.3043,3,3,0);
    //
    VGoverno[0] = CreateVehicle(421, 1248.3761,-2010.6094,59.4795,181.2603,1,1,0);
    VGoverno[1] = CreateVehicle(409, 1260.5074,-2011.5157,59.2059,181.1883,1,1,0);
    VGoverno[2] = CreateVehicle(421, 1273.7700,-2009.6768,58.7538,180.7162,1,1,0);
    VGoverno[3] = CreateVehicle(522, 1278.5436,-2016.9370,58.4820,90.7035,1,1,0);
    VGoverno[4] = CreateVehicle(522, 1278.5850,-2018.9713,58.4894,91.8330,1,1,0);
    VGoverno[5] = CreateVehicle(522, 1244.2867,-2023.1694,59.4331,271.1635,1,1,0);
    VGoverno[6] = CreateVehicle(522, 1244.3835,-2025.4011,59.4442,271.2058,1,1,0);
    VGoverno[7] = CreateVehicle(487, 1116.7839,-2018.9445,74.4297,179.3719,1,1,0);
    VGoverno[8] = CreateVehicle(487, 1116.0350,-2054.5774,74.4297,359.5402,1,1,0);
    //
    VPM[0] = CreateVehicle(523, 1530.3271,-1644.8872,5.8906,175.0070,0,0,0);
    VPM[1] = CreateVehicle(523, 1538.5054,-1645.0464,5.8906,178.4537,0,0,0);
    VPM[2] = CreateVehicle(601, 1546.7411,-1655.2137,5.8906,90.4063,0,0,0);
    VPM[3] = CreateVehicle(528, 1545.9836,-1668.0953,5.8906,88.5262,0,0,0);
    VPM[4] = CreateVehicle(528, 1545.7852,-1676.4706,5.8906,89.7795,0,0,0);
    VPM[5] = CreateVehicle(596, 1558.7749,-1711.1797,5.8906,0.1887,79,1,0);
    VPM[6] = CreateVehicle(596, 1574.3291,-1711.5854,5.8906,355.8019,79,1,0);
    VPM[7] = CreateVehicle(596, 1602.9457,-1704.4597,5.8906,87.6094,79,1,0);
    VPM[8] = CreateVehicle(596, 1602.5323,-1692.1206,5.8906,89.8028,79,1,0);
    VPM[9] = CreateVehicle(523, 1584.5739,-1673.0568,5.8929,272.7911,0,0,0);
    VPM[10] = CreateVehicle(523, 1584.6653,-1670.3597,5.8928,266.8378,0,0,0);
    VPM[11] = CreateVehicle(599, 1602.5831,-1684.2190,5.8906,89.1032,79,1,0);
    VPM[12] = CreateVehicle(599, 1591.3594,-1711.5006,5.8906,358.5490,79,1,0);
    //
    VPF[0] = CreateVehicle(490, 298.5962,-1536.3264,24.3208,56.0015,0,0,0);
    VPF[1] = CreateVehicle(490, 291.4753,-1544.3466,24.3208,52.7690,0,0,0);
    VPF[2] = CreateVehicle(490, 282.2631,-1532.0160,24.3208,234.5261,0,0,0);
    VPF[3] = CreateVehicle(522, 303.4983,-1486.3961,24.3208,234.5707,0,0,0);
    VPF[4] = CreateVehicle(522, 300.7197,-1490.8658,24.3208,233.1520,0,0,0);
    VPF[5] = CreateVehicle(522, 306.8679,-1481.5900,24.3208,235.2963,0,0,0);
    VPF[6] = CreateVehicle(490, 297.8640,-1509.3615,24.3226,232.6664,0,0,0);
    VPF[7] = CreateVehicle(415, 291.5463,-1517.9531,24.3652,234.8921,0,0,0);
    VPF[8] = CreateVehicle(415, 288.5035,-1522.9465,24.3653,235.2260,0,0,0);
    VPF[9] = CreateVehicle(487, 360.2429,-1463.4974,36.0325,214.5463,0,0,0);
    //
    VExercito[0] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VExercito[1] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VExercito[2] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
	//
	VAssasinos[0] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VAssasinos[1] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VAssasinos[2] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    //
    VTaliban[0] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VTaliban[1] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    VTaliban[2] = CreateVehicle(400, 1958.3783, 1343.1572, 15.3746, 0.0,0,0,0);
    //
    VMendigos[0] = CreateVehicle(475, 2788.3616,-1604.0072,10.5301,187.6963,24,24,0);
    VMendigos[1] = CreateVehicle(475, 2784.4971,-1604.0546,10.9219,173.6184,24,24,0);
    VMendigos[2] = CreateVehicle(461, 2777.8735,-1603.8878,10.9219,177.0651,24,24,0);
    VMendigos[3] = CreateVehicle(461, 2774.6401,-1603.8610,10.9219,183.5002,24,24,0);
    VMendigos[4] = CreateVehicle(475, 2795.2419,-1589.1379,10.9270,271.3794,24,24,0);
    VMendigos[5] = CreateVehicle(475, 2795.2351,-1580.4633,10.9270,271.3794,24,24,0);
    VMendigos[6] = CreateVehicle(461, 2795.8594,-1584.8313,10.9276,266.9926,24,24,0);
    VMendigos[7] = CreateVehicle(510, 2769.1846,-1614.3906,10.9219,274.5127,24,24,0);
    VMendigos[8] = CreateVehicle(510, 2769.1050,-1616.7592,10.9219,264.7759,24,24,0);
Esses sгo os carros do GM , sу que quando o servidor abre ele mostra isto:
Код:
 [03:38:17] Number of vehicle models: 19
Eu acho que o problema tem a ver com isso mas nгo tenho certeza e nгo sei como resolve.
Alguem pode ajudar?
Reply
#2

Vocк criou a restriзгo do resto dos veiculos EX:

pawn Код:
if(vId==VGroove[0]||vId==VGroove[1]||vId==VGroove[2]||vId==VGroove[3]||vId==VGroove[4])
        {
            if(Player[playerid][pMember] == 6||Player[playerid][pLeader] == 6) { }
            else
            {
                SendClientMessage(playerid,COLOR_RED,"[Erro] Vocк nгo й da Grove Street Families.");
                RemovePlayerFromVehicle(playerid);
                Descongelar(playerid);
            }
        }
??

Se sim, maniin nгo sei resolver o seu problema :/
Reply
#3

Ele indica Number of vehicle models: 19 pq sao 19 modelos de carros diferentes!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)