24.03.2011, 10:45
So look peoples what happend i was having bug with cars (cars id) was going wrong like when i enter in Ballas
faction car it was for PD car.. But i fix that i remove all cars everything other and i make it without (ids)
Like this:
And with stock i fixed to be only that car for that faction/org:
Here is from cars.cfg
And others.. And i add forward & new everything what need But now i got only one problem this cars i fixed (Yes)
i can enter in this cars they working but the cars which i have added in cars.cfg they not working they not load or is not for buying what happend? I see this
When cars was with (ids) they was 180 .. but now i change to 0 because i dont have anycar with (id)
And i change the carownable because when you add car with id i know you must change this, I change to 0 because there no cars with id
And last thing which is for cars.cfg Carinfo..
Before
Now:
Why i change to 19 so i have 19 cars in cars.cfg?
But they are not loading or not working but i back to 250 cars was loaded but /veh god buged and cars which is for buying the price was 0 btw that not good.. Please help me really i need this its important for me
faction car it was for PD car.. But i fix that i remove all cars everything other and i make it without (ids)
Like this:
pawn Код:
//PD VOZILA-----------------------------------------------------------------------------------------------------
PD = AddStaticVehicleEx(525, 1544.2725830078, -1684.3175048828, 5.8806247711182, 90, -1, -1,3600); //Tow Truck 0
PD1 = AddStaticVehicleEx(525, 1544.2365722656, -1676.2415771484, 5.8806247711182, 90, -1, -1,3600); //Tow Truck 1
PD2 = AddStaticVehicleEx(525, 1544.1998291016, -1667.8420410156, 5.8806247711182, 90, -1, -1,3600); //Tow Truck 2
PD3 = AddStaticVehicleEx(525, 1544.0983886719, -1659.0190429688, 5.8806247711182, 90, -1, -1,3600); //Tow Truck 3
PD4 = AddStaticVehicleEx(525, 1543.8366699219, -1651.0957031250, 5.8806247711182, 90, -1, -1,3600); //Tow Truck 4
PD5 = AddStaticVehicleEx(523, 1559.5144042969, -1695.6700439453, 5.5573687553406, 180, -1, -1,3600); //Pd Moto 5
PD6 = AddStaticVehicleEx(523, 1562.0136718750, -1695.6467285156, 5.5573687553406, 180, -1, -1,3600); //Pd Moto 6
PD7 = AddStaticVehicleEx(523, 1564.7636718750, -1695.6209716797, 5.5573687553406, 180, -1, -1,3600); //Pd Moto 7
PD8 = AddStaticVehicleEx(523, 1567.5639648438, -1695.5939941406, 5.5573687553406, 180, -1, -1,3600); //Pd Moto 8
PD9 = AddStaticVehicleEx(523, 1570.4886474609, -1695.5665283203, 5.5573687553406, 180, -1, -1,3600); //Pd Moto 9
PD10 = AddStaticVehicleEx(596, 1558.6083984375, -1710.7120361328, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 10
PD11 = AddStaticVehicleEx(596, 1595.4770507813, -1710.4575195313, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 11
PD12 = AddStaticVehicleEx(596, 1591.5263671875, -1710.4882812500, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 12
PD13 = AddStaticVehicleEx(596, 1587.5010986328, -1710.5202636719, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 13
PD14 = AddStaticVehicleEx(596, 1583.4754638672, -1710.5520019531, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 14
PD15 = AddStaticVehicleEx(596, 1578.7753906250, -1710.5869140625, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 15
PD16 = AddStaticVehicleEx(596, 1574.4498291016, -1710.6218261719, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 16
PD17 = AddStaticVehicleEx(596, 1570.5490722656, -1710.6518554688, 5.7106246948242, 0.0, -1, -1,3600); //Pd Car 17
PD18 = AddStaticVehicleEx(598, 1535.9858,-1678.4391, 13.1296,0.1384, 1, 0,3600); // pd car 18
PD19 = AddStaticVehicleEx(598, 1535.9451,-1666.9614, 13.1286,179.3908, 1, 0,3600); // pd car 19
PD20 = AddStaticVehicleEx(497, 1564.0825195310, -1699.7293701172, 28.6605873107910, 90, -1, -1,3600);//Pd Mawerick 20
PD21 = AddStaticVehicleEx(497, 1566.6628000000, -1653.8688000000, 28.5752000000000, 90, -1, -1,3600);//Pd maverick 21
//FBI VOZILA-----------------------------------------------------------------------------------------------------
FBI1 = AddStaticVehicleEx(497, 1519.5565185547, -1465.1683349609, 64.124374389648, 0.000000, -1, -1,3600); //Fbi Maverick 22
FBI2 = AddStaticVehicleEx(497, 1504.4071044922, -1465.2076416016, 64.124374389648, 0.000000, -1, -1,3600); //Fbi Maverick 23
FBI3 = AddStaticVehicleEx(497, 1535.9180908203, -1465.1513671875, 64.124374389648, 0.000000, -1, -1,3600); //Fbi Maverick 24
FBI4 = AddStaticVehicleEx(490, 1512.0925292969, -1460.2915039063, 9.8201265335083, 180, 0, 0,3600); //Fbi Rancher 25
FBI5 = AddStaticVehicleEx(490, 1516.2178955078, -1460.2708740234, 9.8201265335083, 180, 0, 0,3600); //Fbi Rancher 26
FBI6 = AddStaticVehicleEx(490, 1520.2926025391, -1460.2508544922, 9.8201265335083, 180, 0, 0,3600); //Fbi Rancher 27
FBI7 = AddStaticVehicleEx(490, 1524.8173828125, -1460.2282714844, 9.8201265335083, 180, 0, 0,3600); //Fbi Rancher 28
FBI8 = AddStaticVehicleEx(490, 1537.7481689453, -1476.3674316406, 9.8201265335083, 0.000000, 0, 0,3600); //Fbi Rancher 29
FBI9 = AddStaticVehicleEx(411, 1526.5194091797, -1478.9038085938, 9.3000001907349, 0.000000, 0, 0,3600); //Infernus 31
FBI10 = AddStaticVehicleEx(411, 1523.1186523438, -1478.8981933594, 9.3000001907349, 0.000000, 0, 0,3600); //Infernus 32
FBI11 = AddStaticVehicleEx(411, 1519.6927490234, -1478.8930664063, 9.3000001907349, 0.000000, 0, 0,3600); //Infernus 33
FBI12 = AddStaticVehicleEx(411, 1515.7674560547, -1478.88671875, 9.3000001907349, 0.000000, 0, 0,3600); //Infernus 34
FBI13 = AddStaticVehicleEx(411, 1512.1920166016, -1478.880859375, 9.3000001907349, 0.000000, 0, 0,3600); //Infernus 35
//SWAT VOZILA----------------------------------------------------------------------------------------------------
SWAT1 = AddStaticVehicleEx(497, 2777.3483886719, -2356.7963867188, 13.897812843323, 90, 0, 0,3600); // PD Maverick 36
SWAT2 = AddStaticVehicleEx(548, 2777.6325683594, -2339.48046875, 13.897812843323, 90, -1, -1,3600); // Cargo Bob 37
SWAT3 = AddStaticVehicleEx(601, 2791.3093261719, -2494.2158203125, 13.566553115845, 90, -1, -1,3600); //Swat Tank 38
SWAT4 = AddStaticVehicleEx(601, 2780.7778320313, -2494.1850585938, 13.566553115845, 90, -1, -1,3600); //Swat Tank 39
SWAT5 = AddStaticVehicleEx(427, 2781.4436035156, -2456.0822753906, 13.883212089539, 90, -1, -1,3600); //Enforcer 40
SWAT6 = AddStaticVehicleEx(427, 2780.2810058594, -2417.9731445313, 13.883212089539, 90, -1, -1,3600); //Enforcer 41
SWAT7 = AddStaticVehicleEx(430, 2715.9875488281, -2312.2687988281, 0.000000, 270, -1, -1,3600); //Pd Boat 42
SWAT8 = AddStaticVehicleEx(430, 2696.9802246094, -2312.244140625, 0.000000, 270, -1, -1,3600); //Pd Boat 43
SWAT9 = AddStaticVehicleEx(560, 2781.7600097656, -2433.4951171875, 13.440326690674, 90, 0, 0,3600); //Sultan 44
SWAT10 = AddStaticVehicleEx(560, 2781.8176269531, -2439.4184570313, 13.440326690674, 90, 0, 0,3600); //Sultan 45
SWAT11 = AddStaticVehicleEx(560, 2782.1274414063, -2471.8662109375, 13.440326690674, 90, 0, 0,3600); //Sultan 46
SWAT12 = AddStaticVehicleEx(560, 2782.185546875, -2477.8662109375, 13.440326690674, 90, 0, 0,3600); //Sultan 47
//HITNA POMOC----------------------------------------------------------------------------------------------------
HITNA1 = AddStaticVehicleEx(416,1177.35,-1339.24,13.66,269.58, -1, -1,3600); //Ambulance 48
HITNA2 = AddStaticVehicleEx(416,1176.98,-1308.65,13.62,269.33, -1, -1,3600); //Ambulance 49
HITNA3 = AddStaticVehicleEx(416,1189.87,-1357.14,13.21,180.78, -1, -1,3600); //Ambulance 50
HITNA4 = AddStaticVehicleEx(487,1181.8972167969,-1375.1437988281,24.267404556274,0.0, 1, 3,3600); //Medic chopper 51
//YAKUZA VOZILA--------------------------------------------------------------------------------------------------
YKZ1 = AddStaticVehicleEx(487, 1291.4155273438, -787.71575927734, 96.72044372558, 0.0, 3, 0,3600); //maverick 52
YKZ2 = AddStaticVehicleEx(560, 1248.7507, -825.0980, 83.8456, 155.9611, 3, 3, 3600); // 53
YKZ3 = AddStaticVehicleEx(560, 1238.2820, -835.4555, 83.8513, 109.4702, 3, 3, 3600); // 54
YKZ4 = AddStaticVehicleEx(409, 1226.2473, -811.4822, 87.4009, 273.5847, 3, 3, 3600); // 55
YKZ5 = AddStaticVehicleEx(559, 1242.2083740234, -804.46038818359, 84.13062286377, 180, 3, 3,3600); //Admiral 56
YKZ6 = AddStaticVehicleEx(559, 1246.1833496094, -804.51757812500, 84.13062286377, 180, 3, 3,3600); //Admiral 57
YKZ7 = AddStaticVehicleEx(559, 1250.3586425781, -804.57867431641, 84.13062286377, 180, 3, 3,3600); //Admiral 58
YKZ8 = AddStaticVehicleEx(559, 1254.6573486328, -804.63610839844, 84.13062286377, 180, 3, 3,3600); //Admiral 59
YKZ9 = AddStaticVehicleEx(482, 1249.5751953125, -780.84448242188, 91.12312316894, 0.0, 3, 3,3600); //Pony 60
YKZ10 = AddStaticVehicleEx(482, 1249.6396484375, -788.00555419922, 90.47013854980, 0.0, 3, 3,3600); //Pony 61
//LCN VOZILA LCN VOZILA------------------------------------------------------------------------------------------
LCN1 = AddStaticVehicleEx(469, 1118.1791992188, -2036.6264648438, 78.855361938477, 270, 0, 0,3600); //Sparrow 62
LCN2 = AddStaticVehicleEx(487, 1116.1334228516, -2069.6857910156, 82.465232849121, 270, 0, 3,3600); //Maverick 63
LCN3 = AddStaticVehicleEx(487, 1115.9702148438, -2003.8236083984, 82.410362243652, 270, 0, 3,3600); //Maverick 64
LCN4 = AddStaticVehicleEx(405, 1246.0939941406, -2043.6700439453, 59.823310852051, 270, 0, 0,3600); //Sentinel 65
LCN5 = AddStaticVehicleEx(405, 1246.1934814453, -2038.9199218750, 59.823310852051, 270, 0, 0,3600); //Sentinel 66
LCN6 = AddStaticVehicleEx(405, 1246.2874755859, -2034.4196777344, 59.823310852051, 270, 0, 0,3600); //Sentinel 67
LCN7 = AddStaticVehicleEx(405, 1246.3815917969, -2029.9189453125, 59.823310852051, 270, 0, 0,3600); //Sentinel 68
LCN8 = AddStaticVehicleEx(413, 1246.3092041016, -2024.8459472656, 59.980506896973, 270, 0, 0,3600); //Pony 69
LCN9 = AddStaticVehicleEx(413, 1246.4079589844, -2020.0954589844, 59.980506896973, 270, 0, 0,3600); //Pony 70
LCN10 = AddStaticVehicleEx(409, 1247.8339843750, -2058.13623046880, 59.69478607177, 270, 0, 0,3600); //Strech 71
//GRADONACELNIK--------------------------------------------------------------------------------------------------
GRD1 = AddStaticVehicleEx(405,1406.93,-1790.2,13.3,90, 0, 0,3600); //Mayor security 72
GRD2 = AddStaticVehicleEx(405,1406.9,-1793.8,13.3,90, 0, 0,3600); //Mayor security 73
GRD3 = AddStaticVehicleEx(405,1406.7,-1782.16,13.3,90, 0, 0,3600); //Mayor security 74
GRD4 = AddStaticVehicleEx(409,1405.87,-1785.96,13.3,90,1,1,3600); //Mayor stretch 75
GRD5 = AddStaticVehicleEx(487,1902.4270,-2628.4958,13.7092,62.7501,0,0,3600); //Government Helicopter 76
//HITMAN VOZILA--------------------------------------------------------------------------------------------------
HIT1 = AddStaticVehicleEx(487, 1104.2122802734, -344.50708007813, 74.257186889648, 222.40515136719, 0, 0,3600) //Maverick 77
HIT2 = AddStaticVehicleEx(469, 1082.1066894531, -327.21340942383, 74.092185974121, 85.669860839844, 0, 0,3600) //Sparrow 78
HIT3 = AddStaticVehicleEx(469, 1082.1186523438, -313.56591796875, 74.092185974121, 85.665893554688, 0, 0,3600) //Sparrow 79
HIT4 = AddStaticVehicleEx(550, 1077.1665039063, -296.00167846680, 73.688842773438, 180, 0, 0,3600); //Sunrise 80
HIT5 = AddStaticVehicleEx(550, 1072.5190429688, -296.07641601563, 73.688842773438, 180, 0, 0,3600); //Sunrise 81
HIT6 = AddStaticVehicleEx(550, 1067.8056640625, -295.81140136719, 73.688842773438, 180, 0, 0,3600); //Sunrise 82
//TAXI VOZILA-----------------------------------------------------------------------------------------------------
TAX1 = AddStaticVehicleEx(420,1804.72753906,-1923.96582031,13.24062920,30.00000000,6,1,3600); //Taxi
TAX2 = AddStaticVehicleEx(420,1804.69726562,-1930.36328125,13.23750496,29.99816895,6,1,3600); //Taxi
TAX3 = AddStaticVehicleEx(420,1804.80175781,-1918.06054688,13.24351406,29.99816895,6,1,3600); //Taxi
TAX4 = AddStaticVehicleEx(420,1804.78405762,-1911.30114746,13.24681473,29.99816895,6,1,3600); //Taxi
TAX5 = AddStaticVehicleEx(420,1804.57739258,-1905.30395508,13.24974346,29.99816895,6,1,3600); //Taxi
TAX6 = AddStaticVehicleEx(409,1795.39086914,-1934.33959961,13.27046394,88.00000000,6,1,3600); //Stretch
TAX7 = AddStaticVehicleEx(409,1784.65600586,-1934.21960449,13.27052307,87.99499512,6,1,3600); //Stretch
TAX8 = AddStaticVehicleEx(586,1775.54772949,-1908.45312500,12.98305511,320.00000000,6,1,3600); //Wayfarer
TAX9 = AddStaticVehicleEx(586,1775.98144531,-1930.71484375,12.98337269,319.99877930,6,1,3600); //Wayfarer
TAX10 = AddStaticVehicleEx(586,1775.92871094,-1926.76953125,12.98333454,319.99877930,6,1,3600); //Wayfarer
TAX11 = AddStaticVehicleEx(586,1776.01379395,-1933.72314453,12.98286533,319.99877930,6,1,3600); //Wayfarer
TAX12 = AddStaticVehicleEx(586,1776.14599609,-1915.87097168,12.98349285,319.99877930,6,1,3600); //Wayfarer
TAX13 = AddStaticVehicleEx(586,1776.00207520,-1912.19506836,12.98338795,319.99877930,6,1,3600); //Wayfarer
//47th Street Familija-----------------------------------------------------------------------------------------------------------
THST1 = AddStaticVehicleEx(491, 2486.1990, -1553.3025, 23.7979, 90.1310, 6, 6,3600); // 97
THST2 = AddStaticVehicleEx(491, 2486.1353, -1547.1747, 23.7800, 89.6557, 6, 6,3600); // 98
THST3 = AddStaticVehicleEx(491, 2478.3079, -1547.0465, 23.7613, 89.1915, 6, 6,3600); // 99
THST4 = AddStaticVehicleEx(491, 2478.2595, -1553.3301, 23.7706, 90.2199, 6, 6,3600); // 100
THST5 = AddStaticVehicleEx(491, 2470.5747, -1553.3547, 23.7603, 90.5835, 6, 6,3600); // 101
THST6 = AddStaticVehicleEx(491, 2470.4983, -1546.9691, 23.7557, 90.0259, 6, 6,3600); // 102
THST7 = AddStaticVehicleEx(482, 2452.6270, -1545.6226, 24.1139, 89.9204, 6, 6,3600); // 103
//Bikeri-----------------------------------------------------------------------------------------------------------
BIK1 = AddStaticVehicleEx(463,2779.57153320,-1625.37036133,10.53887463,0.00000000,0,0,3600); //Freeway
BIK2 = AddStaticVehicleEx(475,2772.59960938,-1606.30163574,10.82187462,270.00000000,0,0,3600); //Sabre
BIK3 = AddStaticVehicleEx(463,2782.22900391,-1625.67932129,10.53887463,0.00000000,0,0,3600); //Freeway
BIK4 = AddStaticVehicleEx(463,2777.15112305,-1625.52429199,10.53887463,0.00000000,0,0,3600); //Freeway
BIK5 = AddStaticVehicleEx(463,2784.72802734,-1625.68615723,10.53887463,0.00000000,0,0,3600); //Freeway
BIK6 = AddStaticVehicleEx(475,2772.94702148,-1611.34375000,10.82187462,270.00000000,0,0,3600); //Sabre
BIK7 = AddStaticVehicleEx(413,2772.54150391,-1616.46337891,11.07187462,272.00000000,0,0,3600); //Pony
BIK8 = AddStaticVehicleEx(487,2785.79467773,-1634.22314453,22.84933281,0.00000000,0,0,3600); //Maverick
BIK9 = AddStaticVehicleEx(487,2774.62011719,-1631.80322266,22.84736633,0.00000000,0,0,3600); //Maverick
//RUSKA MAFIJA VOZILA----------------------------------------------------------------------------------------------
TEC1 = AddStaticVehicleEx(560, 1992.0204, -2067.3340, 13.0762, 0.2845, 0, 0, 3600); // 111
TEC2 = AddStaticVehicleEx(560, 1988.2295, -2067.3076, 13.0819, 359.6887, 0, 0, 3600); // 112
TEC3 = AddStaticVehicleEx(560, 1984.5149, -2067.2524, 13.0861, 359.1322, 0, 0, 3600); // 113
TEC4 = AddStaticVehicleEx(560, 1991.7716, -2058.2122, 13.0741, 90.2014, 0, 0, 3600); // 114
TEC5 = AddStaticVehicleEx(560, 1985.6261, -2058.2202, 13.0772, 89.8961, 0, 0, 3600); // 115
TEC6 = AddStaticVehicleEx(560, 1980.0090, -2058.2271, 13.0798, 90.5165, 0, 0, 3600); // 116
TEC7 = AddStaticVehicleEx(487, 1984.0768, -2083.2605, 24.7955, 356.8348, 0, 0, 3600); // 117
//VOZAC AUTOBUSA-----------------------------------------------------------------------------------------
BUS1 = AddStaticVehicleEx(431,1172.5,-1795.5,13.1,0.0, -1, -1, 30000); // Bus 178
BUS2 = AddStaticVehicleEx(431,1182.1,-1795.9,13.1,0.0, -1, -1, 30000); // Bus 179
//VOZILA ZA AUTOMEHANICARA-------------------------------------------------------------------------------
MEH1 = AddStaticVehicleEx(525, 2388.1155, -2015.6649, 13.4235, 269.2973, 0, 0, 30000); //
MEH2 = AddStaticVehicleEx(525, 2388.1570, -2009.5116, 13.4276, 270.4249, 0, 0, 30000); //
MEH3 = AddStaticVehicleEx(525, 2398.4026, -2015.7637, 13.4307, 269.1850, 0, 0, 30000); //
MEH4 = AddStaticVehicleEx(525, 2398.4153, -2009.4777, 13.4308, 269.7651, 0, 0, 30000); //
//MOTORI ZA PICU-----------------------------------------------------------------------------------------
PICA1 = AddStaticVehicleEx(448,2122,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 184
PICA2 = AddStaticVehicleEx(448,2120,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 185
PICA3 = AddStaticVehicleEx(448,2118,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 186
PICA4 = AddStaticVehicleEx(448,2116,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 187
PICA5 = AddStaticVehicleEx(448,2114,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 188
PICA6 = AddStaticVehicleEx(448,2112,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 189
//VOZILA ZA KAMIONDZIJU----------------------------------------------------------------------------------
KAM1 = AddStaticVehicleEx(414, 1009.9301, -1366.2219, 13.4400, 91.0023, 0, 0, 30000); // 190
KAM2 = AddStaticVehicleEx(414, 1009.9213, -1356.5437, 13.4399, 89.7046, 0, 0, 30000); // 191
KAM3 = AddStaticVehicleEx(414, 1009.9823, -1346.9004, 13.4467, 91.0959, 0, 0, 30000); // 192
KAM4 = AddStaticVehicleEx(414, 1009.8804, -1337.1930, 13.4695, 90.1175, 0, 0, 30000); // 193
//FAMRER-------------------------------------------------------------------------------------------------
FARM1 = AddStaticVehicleEx(572, 2220.5559, -1443.3118, 23.5799, 270.2500, 1, 2, 30000); // 194
FARM2 = AddStaticVehicleEx(572, 2220.5320, -1441.4929, 23.5799, 270.6692, 2, 3, 30000); // 195
FARM3 = AddStaticVehicleEx(572, 2220.5029, -1439.7507, 23.5799, 271.3094, 3, 4, 30000); // 196
FARM4 = AddStaticVehicleEx(572, 2220.4717, -1437.9420, 23.5799, 272.0505, 4, 5, 30000); // 197
//ILEGAL FARMER------------------------------------------------------------------------------------------
ILE1 = AddStaticVehicleEx(531, -80.6276, 78.2910, 3.0787, 159.0948, -1, -1, 30000); // 198
ILE2 = AddStaticVehicleEx(531, -76.8340, 76.6602, 3.0825, 157.6031, -1, -1, 30000); // 199
ILE3 = AddStaticVehicleEx(531, -72.4831, 75.4000, 3.0803, 159.6851, -1, -1, 30000); // 200
ILE4 = AddStaticVehicleEx(531, -67.4586, 73.5287, 3.0800, 157.6921, -1, -1, 30000); // 201
//SVERCER DROGE------------------------------------------------------------------------------------------
DROG1 = AddStaticVehicleEx(442,1097.7876,-1327.8087,13.1820,2.3556,3,13,30000); // Drugs smuggler car 202
DROG2 = AddStaticVehicleEx(442,1110.4362,-1327.9688,13.1654,1.1852,3,13,30000); // Drugs smuggler car 203
DROG3 = AddStaticVehicleEx(442,1123.7722,-1327.3230,13.2222,359.7142,3,13,30000); // Drugs smuggler car 204
//CISTAC ULICE-------------------------------------------------------------------------------------------
CUL1 = AddStaticVehicleEx(574,1668.6692,-1896.1118,13.2720,268.0269,26,26,30000); // Street sweeper 205
CUL2 = AddStaticVehicleEx(574,1668.7383,-1891.4990,13.2720,270.7320,26,26,30000); // Street sweeper 206
CUL3 = AddStaticVehicleEx(574,1668.7280,-1886.8180,13.2720,268.9658,26,26,30000); // Street sweeper 207
//KOMUNALCI----------------------------------------------------------------------------------------------
KOM1 = AddStaticVehicleEx(408, 1037.6038818359, -1083.5510253906, 24.578125, 90.000000, -1, -1,3600);//208
KOM2 = AddStaticVehicleEx(408, 1037.5736083984, -1088.5838623047, 24.578125, 90.000000, -1, -1,3600);//209
KOM3 = AddStaticVehicleEx(408, 1037.5109863281, -1093.7761230469, 24.578125, 90.000000, -1, -1,3600);//210
KOM4 = AddStaticVehicleEx(408, 1037.4468994141, -1098.9459228516, 24.578125, 90.000000, -1, -1,3600);//211
//KRAJ POSLOVA-------------------------------------------------------------------------------------------
//autoskola
AUTO1 = AddStaticVehicleEx(496, -2062.4296875, -109.12824249268, 35.113834381104, 180, -1, -1,3600); //227
AUTO1 = AddStaticVehicleEx(496, -2072.0285644531, -109.44527435303, 35.110252380371, 180, -1, -1,3600); //228
AUTO1 = AddStaticVehicleEx(496, -2081.6096191406, -109.26698303223, 35.108039855957, 180, -1, -1,3600); //229
//KGB
KGB1 = AddStaticVehicleEx(470,-928.83110000,-546.09480000,25.95040000,3.33760000,-1,-1,30000); //230
KGB2 = AddStaticVehicleEx(470,-932.58120000,-546.00650000,25.99430000,6.28800000,-1,-1,30000); //231
KGB3 = AddStaticVehicleEx(470,-947.61160000,-546.29790000,25.95160000,355.88090000,-1,-1,30000); //232
KGB4 = AddStaticVehicleEx(470,-950.65860000,-546.07070000,25.95510000,352.76000000,-1,-1,30000); //233
KGB5 = AddStaticVehicleEx(560,-953.98210000,-491.29550000,25.66540000,267.36790000,0,0,30000); //234
KGB6 = AddStaticVehicleEx(560,-923.06830000,-492.55900000,25.66640000,253.30330000,0,0,30000); //235
//GSF
GSF1 = AddStaticVehicleEx(413,2476.70390000,-1786.34030000,13.64220000,266.05990000,86,86,30000); //236
GSF2 = AddStaticVehicleEx(530,2472.64310000,-1782.12070000,13.31740000,267.61060000,86,86,30000); //237
GSF3 = AddStaticVehicleEx(522,2513.79150000,-1789.87440000,13.11060000,9.36320000,86,86,30000); //238
GSF4 = AddStaticVehicleEx(522,2511.00320000,-1774.95900000,13.10890000,133.79720000,86,86,30000); //239
GSF5 = AddStaticVehicleEx(567,2506.19210000,-1774.35770000,13.47040000,269.87200000,86,86,30000); //240
GSF6 = AddStaticVehicleEx(567,2496.34890000,-1774.43370000,13.42600000,273.93790000,86,86,30000); //241
GSF7 = AddStaticVehicleEx(492,2498.73000000,-1790.62180000,13.36400000,270.07180000,86,86,30000); //242
GSF8 = AddStaticVehicleEx(492,2507.11060000,-1790.59960000,13.33430000,269.82440000,86,86,30000); //243
//CIA
CIA1 = AddStaticVehicleEx(497,743.33282471,-1273.24353027,13.81968784,179.99963379,0,0,30000); //Police Maverick
CIA2 = AddStaticVehicleEx(497,743.40502930,-1284.71826172,13.81968784,0.00000000,0,0,30000); //Police Maverick
CIA3 = AddStaticVehicleEx(411,679.45336914,-1267.14624023,13.26093769,90.00000000,0,0,30000); //Infernus
CIA4 = AddStaticVehicleEx(411,679.41864014,-1260.46569824,13.26093769,90.00000000,0,0,30000); //Infernus
CIA5 = AddStaticVehicleEx(451,659.46441650,-1254.81579590,13.38937187,0.00000000,0,0,30000); //Turismo
CIA6 = AddStaticVehicleEx(451,660.53222656,-1282.70263672,13.38937187,0.00000000,0,0,30000); //Turismo
CIA7 = AddStaticVehicleEx(507,680.41937256,-1298.73205566,13.41093731,90.00000000,0,0,30000); //Elegant
CIA8 = AddStaticVehicleEx(507,680.49987793,-1304.51672363,13.41093731,90.00000000,0,0,30000); //Elegant
CIA9 = AddStaticVehicleEx(482,719.48565674,-1192.93823242,19.50854492,334.00000000,0,0,30000); //Burrito
CIA10 = AddStaticVehicleEx(482,726.70751953,-1203.18627930,19.50854492,333.99536133,0,0,30000); //Burrito
//Ballas
BALA1 = AddStaticVehicleEx(609,2170.89013672,-1478.93603516,24.19437408,179.24737549,-2,-0,30000); //Boxville
BALA2 = AddStaticVehicleEx(609,2171.06250000,-1489.26403809,24.19437408,179.24188232,-2,-0,30000); //Boxville
BALA3 = AddStaticVehicleEx(412,2169.86352539,-1504.62353516,23.89215279,356.99401855,-2,-0,30000); //Voodoo
BALA4 = AddStaticVehicleEx(412,2190.69775391,-1503.38037109,23.90870857,316.99401855,-2,-0,30000); //Voodoo
BALA5 = AddStaticVehicleEx(405,2148.28344727,-1497.77185059,23.97339058,88.00000000,-2,-0,30000); //Sentinel
BALA6 = AddStaticVehicleEx(405,2156.73828125,-1497.70410156,23.97339058,89.99450684,-2,-0,30000); //Sentinel
BALA7 = AddStaticVehicleEx(522,2198.20727539,-1505.38647461,23.61894417,0.00000000,-2,-0,30000); //NRG-500
BALA8 = AddStaticVehicleEx(522,2197.04272461,-1505.36035156,23.60895348,0.00000000,-2,-0,30000); //NRG-500
BALA9 = AddStaticVehicleEx(522,2195.77246094,-1505.43847656,23.60717201,0.00000000,-2,-0,30000); //NRG-500
BALA10 = AddStaticVehicleEx(412,2183.16503906,-1502.16308594,23.90870857,316.99401855,-2,-0,30000); //Voodoo
BALA11 = AddStaticVehicleEx(405,2165.53027344,-1504.30004883,23.93734932,357.99450684,-2,-0,30000); //Sentinel
pawn Код:
stock IsACopCar(carid)
{
if(carid == PD || carid == PD1 || carid == PD2 || carid == PD3 || carid == PD4 || carid == PD5 || carid == PD6)
{
return 1;
}
else if(carid == PD7 || carid == PD8 || carid == PD9 || carid == PD10 || carid == PD11 || carid == PD12 || carid == PD13 || carid == PD14)
{
return 1;
}
else if(carid == PD15 || carid == PD16 || carid == PD17 || carid == PD18 || carid == PD19 || carid == PD20 || carid == PD21)
{
return 1;
}
return 0;
}
pawn Код:
500,2161.355712,-1197.125610,23.994199,89.922599,0,0,Dealership,Mesa,60000,,0,1
507,2161.204589,-1192.379150,23.648799,90.564201,0,0,Dealership,Elegant,40000,,0,1
517,2161.538574,-1187.494628,23.673999,89.513000,0,0,Dealership,Majestic,35000,,0,1
516,2161.592773,-1182.541625,23.651699,90.056701,0,0,Dealership,Nebula,20000,,0,1
518,2148.037841,-1198.934692,23.600383,270.236846,0,0,Dealership,Buccaneer,25000,,0,1
526,2148.337158,-1194.416748,23.598899,269.578094,0,0,Dealership,Fortune,35000,,0,0
527,2147.914306,-1189.570800,23.535600,269.278106,0,0,Dealership,Cordona,40000,,0,1
529,2147.939208,-1184.932983,23.453399,269.020904,0,0,Dealership,Willard,35000,,0,1
462,2158.432373,-1206.797607,23.562000,357.985900,0,0,Dealership,Faggio,10000,,0,1
462,2156.055175,-1206.693237,23.506799,357.257995,0,0,Dealership,Faggio,10000,,0,1
462,2153.683349,-1206.740112,23.538099,0.774100,0,0,Dealership,Faggio,10000,,0,1
462,2151.317138,-1206.805419,23.549299,1.453400,0,0,Dealeraship,Faggio,10000,,0,1
461,2148.937988,-1206.888061,23.537700,359.493591,0,0,Dealership,PCJ-600,30000,,0,1
461,2146.960205,-1206.817749,23.527599,359.511688,0,0,Dealership,PCJ-600,30000,,0,1
461,2160.456298,-1206.915893,23.557800,359.703002,0,0,Dealership,PCJ-600,30000,,0,1
461,2162.832031,-1206.914306,23.556699,358.140014,0,0,Dealership,PCJ-600,30000,,0,1
400,2147.863281,-1180.304809,23.912677,270.016937,0,0,Dealership,Landstarker,60000,,0,1
401,2161.750976,-1177.828491,23.597799,89.370597,0,0,Dealership,Bravura,50000,,0,1
402,2148.197509,-1175.600219,23.650381,270.367462,0,0,Dealership,Buffalo,45000,,0,1
And others.. And i add forward & new everything what need But now i got only one problem this cars i fixed (Yes)
i can enter in this cars they working but the cars which i have added in cars.cfg they not working they not load or is not for buying what happend? I see this
pawn Код:
for(new h = 180; h < sizeof(CarInfo); h++)
{
AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
}
And i change the carownable because when you add car with id i know you must change this, I change to 0 because there no cars with id
pawn Код:
public IsAnOwnableCar(vehicleid)
{
if(vehicleid >= 0 && vehicleid <= 0) { return 1; }
return 0;
}
And last thing which is for cars.cfg Carinfo..
Before
pawn Код:
new CarInfo[250][cInfo]
pawn Код:
new CarInfo[19][cInfo]
But they are not loading or not working but i back to 250 cars was loaded but /veh god buged and cars which is for buying the price was 0 btw that not good.. Please help me really i need this its important for me