04.07.2013, 07:29
Hey sry to bother you but my CIAVehicles auto respawns in a sec after exit from it, Here's the code please help me please.
Код:
CIAVehicles[0] = AddStaticVehicleEx(497,611.36193848,-609.06054688,22.79080963,270.00000000,40,61,VEHICLE_RESPAWN); //Maverick CIAVehicles[1] = AddStaticVehicleEx(497,611.34381104,-598.16259766,22.79080963,270.00000000,40,61,VEHICLE_RESPAWN); //Maverick CIAVehicles[3] = AddStaticVehicleEx(598,621.29205322,-606.18133545,16.97801399,270.00000000,40,61,VEHICLE_RESPAWN); //Cruiser CIAVehicles[5] = AddStaticVehicleEx(598,607.65106201,-621.64862061,-4.37786770,0.00000000,40,61,VEHICLE_RESPAWN); //Cruiser CIAVehicles[6] = AddStaticVehicleEx(598,603.39123535,-621.67175293,-4.37786770,0.00000000,40,61,VEHICLE_RESPAWN); //Cruiser CIAVehicles[7] = AddStaticVehicleEx(598,598.84893799,-621.78997803,-4.37786770,0.00000000,40,61,VEHICLE_RESPAWN); //Cruiser CIAVehicles[8] = AddStaticVehicleEx(598,594.49975586,-621.89538574,-4.37786770,0.00000000,40,61,VEHICLE_RESPAWN); //Cruiser CIAVehicles[9] = AddStaticVehicleEx(598,590.03906250,-622.00018311,-4.37786770,0.00000000,40,61,VEHICLE_RESPAWN); //Cruiser CIAVehicles[10] = AddStaticVehicleEx(598,585.63806152,-622.16503906,-4.37786770,0.00000000,40,61,VEHICLE_RESPAWN); //Cruiser CIAVehicles[11] = AddStaticVehicleEx(598,570.8208,-615.9090,-4.4849,271.3589,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[12] = AddStaticVehicleEx(598,570.6429,-610.8624,-4.4805,269.6046,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[13] = AddStaticVehicleEx(598,570.9519,-606.2772,-4.4884,268.7772,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[14] = AddStaticVehicleEx(598,570.4614,-601.3604,-4.4744,268.4184,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[15] = AddStaticVehicleEx(598,570.4717,-596.6418,-4.4837,269.9539,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[16] = AddStaticVehicleEx(598,570.5047,-591.8030,-4.4982,269.9520,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[17] = AddStaticVehicleEx(598,570.4698,-587.1248,-4.5010,268.5816,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[18] = AddStaticVehicleEx(598,570.4684,-582.2526,-4.5012,269.1087,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[19] = AddStaticVehicleEx(598,570.5847,-577.4361,-4.4995,268.3661,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[20] = AddStaticVehicleEx(598,603.3622,-578.7584,-4.4993,0.7004,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[21] = AddStaticVehicleEx(598,607.4849,-578.8584,-4.4969,0.1808,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[22] = AddStaticVehicleEx(598,612.2034,-578.8112,-4.5000,359.5025,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[23] = AddStaticVehicleEx(598,616.4020,-578.8979,-4.5095,359.3862,40,61,VEHICLE_RESPAWN); // Cruiser CIAVehicles[24] = AddStaticVehicleEx(598,642.4858,-622.7469,-4.4521,359.9904,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[25] = AddStaticVehicleEx(598,638.2458,-622.9233,-4.4572,359.3081,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[26] = AddStaticVehicleEx(598,633.8702,-622.8805,-4.4525,0.6562,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[27] = AddStaticVehicleEx(598,629.6479,-622.9907,-4.4528,0.5640,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[28] = AddStaticVehicleEx(598,576.9570,-622.2042,-4.4480,359.8215,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[29] = AddStaticVehicleEx(598,581.5085,-622.2891,-4.4540,1.7729,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[30] = AddStaticVehicleEx(598,625.1539,-622.4353,-4.4525,0.6003,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[31] = AddStaticVehicleEx(598,620.7833,-622.6923,-4.4557,358.8923,40,61,VEHICLE_RESPAWN); // 598 CIAVehicles[32] = AddStaticVehicleEx(598,-2172.4407,-2362.7976,30.4300,50.3349,40,61, VEHICLE_RESPAWN); // 598 CIAVehicles[33] = AddStaticVehicleEx(598,-2176.2178,-2367.2422,30.4160,50.1393,40,61, VEHICLE_RESPAWN); // 598 CIAVehicles[34] = AddStaticVehicleEx(598,-2178.4067,-2370.1833,30.4247,52.7375,40,61, VEHICLE_RESPAWN); // 598 CIAVehicles[35] = AddStaticVehicleEx(598,-2163.1470,-2390.3901,30.3387,50.7832,40,61, VEHICLE_RESPAWN); // 598 CIAVehicles[36] = AddStaticVehicleEx(598,-2156.3086,-2395.8684,30.3389,51.9254,40,61, VEHICLE_RESPAWN); // 598 CIAVehicles[37] = AddStaticVehicleEx(427,646.3663,-587.8796,-4.2832,89.3576,40,61,VEHICLE_RESPAWN); // Enforcer CIAVehicles[38] = AddStaticVehicleEx(482,646.2558,-592.9161,-4.1271,90.0014,0,0,VEHICLE_RESPAWN); // Black Burrito CIAVehicles[39] = AddStaticVehicleEx(598,2251.6536,2477.5503,10.6267,179.6716,40,61, VEHICLE_RESPAWN); CIAVehicles[40] = AddStaticVehicleEx(598,2256.1104,2477.5986,10.6267,180.6239,40,61, VEHICLE_RESPAWN); CIAVehicles[41] = AddStaticVehicleEx(598,2260.4409,2477.6069,10.6213,180.2751,40,61, VEHICLE_RESPAWN); CIAVehicles[42] = AddStaticVehicleEx(598,2269.5615,2477.7312,10.6267,177.9357,40,61, VEHICLE_RESPAWN); CIAVehicles[43] = AddStaticVehicleEx(598,2274.0510,2477.6597,10.6267,177.3930,40,61, VEHICLE_RESPAWN); CIAVehicles[44] = AddStaticVehicleEx(598,2277.9529,2477.4663,10.6267,179.6357,40,61, VEHICLE_RESPAWN); CIAVehicles[45] = AddStaticVehicleEx(598,2282.1875,2477.7393,10.6164,180.9525,40,61, VEHICLE_RESPAWN); CIAVehicles[46] = AddStaticVehicleEx(598,2291.0935,2477.6335,10.6267,179.2617,40,61, VEHICLE_RESPAWN); CIAVehicles[47] = AddStaticVehicleEx(598,2295.2839,2477.4026,10.6239,180.1562,40,61, VEHICLE_RESPAWN); CIAVehicles[48] = AddStaticVehicleEx(598,2295.0986,2442.3662,10.6108,357.3789,40,61, VEHICLE_RESPAWN); CIAVehicles[49] = AddStaticVehicleEx(599,2281.9404,2443.0522,11.0448,0.3987,40,61, VEHICLE_RESPAWN); CIAVehicles[50] = AddStaticVehicleEx(599,2277.8401,2443.1563,11.0087,0.0003,40,61, VEHICLE_RESPAWN); CIAVehicles[51] = AddStaticVehicleEx(599,2273.5571,2442.8430,11.0087,2.2397,40,61, VEHICLE_RESPAWN); CIAVehicles[52] = AddStaticVehicleEx(599,2269.1572,2442.7646,11.0123,1.4531,40,61, VEHICLE_RESPAWN); CIAVehicles[53] = AddStaticVehicleEx(599,2260.5767,2442.5737,11.0098,359.6924,40,61, VEHICLE_RESPAWN); CIAVehicles[54] = AddStaticVehicleEx(427,2316.4985,2430.9382,3.4214,1.1631,40,61, VEHICLE_RESPAWN); CIAVehicles[55] = AddStaticVehicleEx(427,2312.2803,2430.9089,3.4181,359.7905,40,61, VEHICLE_RESPAWN); CIAVehicles[56] = AddStaticVehicleEx(601,2307.6643,2430.6611,3.0574,0.3633,40,61, VEHICLE_RESPAWN); CIAVehicles[57] = AddStaticVehicleEx(601,2303.4485,2430.7180,3.0526,0.00000000,-1,-1,VEHICLE_RESPAWN); //S.W.A.T. Van ART CIAVehicles[58] = AddStaticVehicleEx(528,2294.5820,2430.5676,3.3104,0.00000000,40,1,VEHICLE_RESPAWN); //swat Truck ART CIAVehicles[59] = AddStaticVehicleEx(528,2298.9382,2430.5833,3.3114,0.00000000,-1,-1,VEHICLE_RESPAWN); //swat Truck ART CIAVehicles[60] = AddStaticVehicleEx(415,2246.5471,2430.3486,3.0417,2.1125,40,61, VEHICLE_RESPAWN); CIAVehicles[61] = AddStaticVehicleEx(415,2250.7632,2430.3616,3.0455,0.2225,40,61, VEHICLE_RESPAWN); CIAVehicles[62] = AddStaticVehicleEx(415,2255.0654,2430.3293,3.0427,358.6086,40,61, VEHICLE_RESPAWN); CIAVehicles[63] = AddStaticVehicleEx(415,2259.5225,2430.2961,3.0454,1.8322,40,61, VEHICLE_RESPAWN); CIAVehicles[64] = AddStaticVehicleEx(579,2263.9746,2430.4009,3.2332,0.4929,40,61, VEHICLE_RESPAWN); CIAVehicles[65] = AddStaticVehicleEx(579,2268.5149,2431.7014,3.2054,0.4331,40,61, VEHICLE_RESPAWN); CIAVehicles[66] = AddStaticVehicleEx(426,2272.7158,2430.7000,3.0184,359.9302,40,61, VEHICLE_RESPAWN); CIAVehicles[67] = AddStaticVehicleEx(426,2277.0276,2430.6030,3.0175,0.6866,40,61, VEHICLE_RESPAWN); CIAVehicles[68] = AddStaticVehicleEx(428,2290.1851,2430.6118,3.4301,1.3131,40,61, VEHICLE_RESPAWN); CIAVehicles[69] = AddStaticVehicleEx(428,2286.0820,2430.6189,3.4043,359.5884,40,61, VEHICLE_RESPAWN); CIAVehicles[70] = AddStaticVehicleEx(490,2315.2612,2455.3823,3.4019,89.8749,40,61, VEHICLE_RESPAWN); CIAVehicles[71] = AddStaticVehicleEx(490,2315.2009,2460.3145,3.4015,92.3084,40,61, VEHICLE_RESPAWN); CIAVehicles[72] = AddStaticVehicleEx(431,2242.5796,2486.9697,-7.3519,269.8144,40,61, VEHICLE_RESPAWN); CIAVehicles[73] = AddStaticVehicleEx(490,616.42309570,-622.23590088,-4.10274172,0.00000000,40,61,VEHICLE_RESPAWN); //FBI Rancher HC CIAVehicles[74] = AddStaticVehicleEx(598,-226.9502,999.5261,19.3469,270.8874,40,61, VEHICLE_RESPAWN); // 1 CIAVehicles[75] = AddStaticVehicleEx(598,-226.8435,995.5453,19.3287,271.6816,40,61, VEHICLE_RESPAWN); CIAVehicles[76] = AddStaticVehicleEx(523,-216.0698,984.0493,18.9395,269.4467,40,61, VEHICLE_RESPAWN); CIAVehicles[77] = AddStaticVehicleEx(523,-216.3993,986.5312,18.9910,277.3910,40,61, VEHICLE_RESPAWN); CIAVehicles[78] = AddStaticVehicleEx(523,-216.2608,974.1776,18.9040,271.9595,40,61, VEHICLE_RESPAWN); CIAVehicles[79] = AddStaticVehicleEx(523,-216.2283,971.4818,18.8842,269.3368,40,61, VEHICLE_RESPAWN); CIAVehicles[80] = AddStaticVehicleEx(525,-206.631,967.125,18.221,0.0,40,61,VEHICLE_RESPAWN); CIAVehicles[81] = AddStaticVehicleEx(525,-210.603,966.953,18.425,0.0,40,61, VEHICLE_RESPAWN); CIAVehicles[82] = AddStaticVehicleEx(599,-221.1878,967.9601,19.0040,179.7927,40,61, VEHICLE_RESPAWN); CIAVehicles[83] = AddStaticVehicleEx(599,-224.3856,967.9231,18.9913,180.6031,40,61, VEHICLE_RESPAWN); CIAVehicles[84] = AddStaticVehicleEx(599,-227.3233,967.8442,18.9789,180.2160,40,61, VEHICLE_RESPAWN); CIAVehicles[85] = AddStaticVehicleEx(599,-230.3018,967.8507,18.9940,179.1658,40,61, VEHICLE_RESPAWN); CIAVehicles[86] = AddStaticVehicleEx(598,-210.9373,1000.6509,19.4262,89.5809,40,61, VEHICLE_RESPAWN); // BHCRuiser CIAVehicles[87] = AddStaticVehicleEx(598,-210.9673,997.8102,19.3712,90.4310,40,61, VEHICLE_RESPAWN); // BHCruiser CIAVehicles[88] = AddStaticVehicleEx(598,-210.9769,994.7774,19.3126,90.0707,40,61, VEHICLE_RESPAWN); // BHRancher CIAVehicles[89] = AddStaticVehicleEx(598,-210.9742,991.7806,19.3151,90.2221,40,61, VEHICLE_RESPAWN); // BHCruiser 16 nooseVehicles[0] = AddStaticVehicleEx(601,-699.75585938,2435.35839844,10023.44628906,354.99572754,-1,-1,VEHICLE_RESPAWN); //S.W.A.T. Van //New HQ Vehicles Of CIA CIAVehicles[90] = AddStaticVehicleEx(487,1383.5999800,-1568.4000200,13.8000000,170.0000000,151,149,15, VEHICLE_RESPAWN); //Maverick CIAVehicles[91] = AddStaticVehicleEx(511,2302.1999500,-2193.5000000,7.6000000,224.0000000,99,92,15, VEHICLE_RESPAWN); //Beagle CIAVehicles[92] = AddStaticVehicleEx(593,2309.0000000,-2210.1999500,6.6000000,224.0000000,109,24,15, VEHICLE_RESPAWN); //Dodo CIAVehicles[93] = AddStaticVehicleEx(476,2316.8000500,-2200.5000000,7.2000000,224.0000000,215,142,15, VEHICLE_RESPAWN); //Rustler CIAVehicles[94] = AddStaticVehicleEx(457,1369.5000000,-1556.4000200,8.3000000,258.0000000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[95] = AddStaticVehicleEx(457,1370.3000500,-1553.1999500,8.4000000,257.9970000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[96] = AddStaticVehicleEx(457,1370.6999500,-1551.3000500,8.4000000,257.9970000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[97] = AddStaticVehicleEx(528,1337.1999500,-1547.8000500,13.6000000,348.2500000,-1,-1,15, VEHICLE_RESPAWN); //FBI Truck CIAVehicles[98] = AddStaticVehicleEx(528,1363.0000000,-1553.4000200,13.7000000,348.2450000,-1,-1,15, VEHICLE_RESPAWN); //FBI Truck CIAVehicles[99] = AddStaticVehicleEx(490,1342.0000000,-1548.6999500,14.0000000,347.9970000,-1,-1,15, VEHICLE_RESPAWN); //FBI Rancher CIAVehicles[100] = AddStaticVehicleEx(490,1357.9000200,-1552.4000200,13.9000000,347.9970000,-1,-1,15, VEHICLE_RESPAWN); //FBI Rancher CIAVehicles[101] = AddStaticVehicleEx(601,1353.1999500,-1550.9000200,13.6000000,348.2500000,245,245,15, VEHICLE_RESPAWN); //S.W.A.T. Van CIAVehicles[102] = AddStaticVehicleEx(601,1347.1999500,-1549.5999800,13.6000000,348.2450000,245,245,15, VEHICLE_RESPAWN); //S.W.A.T. Van CIAVehicles[103] = AddStaticVehicleEx(560,1359.9000200,-1531.4000200,13.4000000,256.0000000,115,14,15, VEHICLE_RESPAWN); //Sultan CIAVehicles[104] = AddStaticVehicleEx(560,1360.5999800,-1528.6999500,13.4000000,256.0000000,115,14,15, VEHICLE_RESPAWN); //Sultan CIAVehicles[105] = AddStaticVehicleEx(492,1361.8000500,-1525.8000500,13.4000000,256.0000000,111,130,15, VEHICLE_RESPAWN); //Greenwood CIAVehicles[106] = AddStaticVehicleEx(492,1362.4000200,-1522.6999500,13.4000000,255.9970000,111,130,15, VEHICLE_RESPAWN); //Greenwood CIAVehicles[107] = AddStaticVehicleEx(457,2266.6001000,-2172.8999000,6.8000000,315.4970000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[108] = AddStaticVehicleEx(457,2264.8999000,-2171.1001000,6.8000000,315.4940000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[109] = AddStaticVehicleEx(457,2263.3999000,-2169.6001000,6.8000000,315.4940000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[110] = AddStaticVehicleEx(457,2261.3000500,-2167.5000000,6.8000000,315.4940000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[111] = AddStaticVehicleEx(457,2260.0000000,-2166.1999500,6.8000000,315.4940000,132,148,15, VEHICLE_RESPAWN); //Caddy CIAVehicles[112] = AddStaticVehicleEx(457,2257.8000500,-2164.1001000,6.8000000,315.4940000,132,148,15, VEHICLE_RESPAWN); //Caddy for(new x;x<sizeof(CIAVehicles);x++) { format(string, sizeof(string), "CIA %d", CIAVehicles[x]); SetVehicleNumberPlate(CIAVehicles[x], string); SetVehicleToRespawn(CIAVehicles[x]); }