[HELP]isAnOwnablecar
#1

Ok when i add like 6 gangcars i edit the isAnOwnableCar
Код:
public IsAnOwnableCar(vehicleid)
{
	if(vehicleid >= 184 && vehicleid <= 275)//dis use to be 268 but i add 6 gang cars so i changed it// { return 1; }
	return 0;
}
ok den i edit carinfo to 275 sense i added 6gangcars but when i go ingame the buyable cars are all missed up please help me thanks
Reply
#2

You increases 268 to 275 but did you also increase 189 ?
Reply
#3

yesbut i change it back to 184 and still the buyable cars are missed up
Reply
#4

Did you make a new callback like
pawn Код:
public IsAGangCar
Or something like that ?
Reply
#5

Yes i did
Reply
#6

Quote:
Originally Posted by Lilcuete
Yes i did
Then maybe show me your script
Reply
#7

Ok.
Reply
#8

Код:
	 AddStaticVehicleEx(425,2799.6445,-2534.6331,14.1994,41.6875,43,0, 30000); // Army hunter 1
	AddStaticVehicleEx(425,2787.2583,-2551.4202,14.2066,307.1059,43,0,30000); // Army hunter 2
	AddStaticVehicleEx(520,2778.0610,-2343.6614,14.5644,356.7715,0,0,30000); // Army hydra 3
	AddStaticVehicleEx(520,2792.2273,-2347.1699,14.5657,349.1612,0,0,30000); // Army hydra 4
	AddStaticVehicleEx(432,2791.3584,-2494.2971,13.6588,89.3376,43,0,30000); // Army tank 5
	AddStaticVehicleEx(470,2792.0173,-2455.8245,14.0688,90,43,0,30000); // Army patriot 6
	AddStaticVehicleEx(470,2793.1680,-2418.1855,13.6259,88.3914,-1, -1, 30000); // Patriot 7
	AddStaticVehicleEx(470,2785.0979,-2417.6987,13.6273,87.4559, -1, -1, 30000); //Patriot 8
	AddStaticVehicleEx(433,2781.4146,-2455.5208,14.0714,90,43,0,30000); // Army truck 9
	AddStaticVehicleEx(430,2698.8132,-2311.0671,-0.2161,87.3657,-1, -1, 30000); // Army boat 10
	AddStaticVehicleEx(430,2722.9766,-2311.2756,-0.3360,89.2799,-1, -1, 30000); // Army boat 11
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(505,1406.93,-1790.2,13.3,90, 1, 1, 30000); // Mayor security 12
	AddStaticVehicleEx(505,1406.9,-1793.8,13.3,90, 1, 1, 30000); // Mayor security 13
	AddStaticVehicleEx(579,1406.7,-1782.16,13.3,90, 1, 1, 30000); // Mayor security 14
	AddStaticVehicleEx(409,1405.87,-1785.96,13.3,90,1,1,30000); // Mayor stretch 15
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(596,1564.3284,-1711.8280,6.0801,358.7193, -1, -1, 30000); // Cop cruiser 16
	AddStaticVehicleEx(525,1530.3849,-1645.1930,5.7777,179.3521,0,0,30000); // Cop TowTruck 17
	AddStaticVehicleEx(596,1570.1555,-1710.3179,5.6136,358.7748, -1, -1, 30000); // Cop cruiser 18
	AddStaticVehicleEx(596,1574.4703,-1710.9795,5.6115,0.4220, -1, -1, 30000); // Cop cruiser 19
	AddStaticVehicleEx(596,1587.4816,-1710.3594,5.6104,358.9421,-1, -1, 30000); // Cop cruiser 20
	AddStaticVehicleEx(596,1595.6578,-1710.9442,5.6119,359.6335,0,1,30000); // Cop cruiser 21
  AddStaticVehicleEx(596,1545.7845,-1684.4004,5.6342,271.1593,0,1,30000); // Cop cruiser 22
  AddStaticVehicleEx(596,1558.7819,-1710.9503,5.6119,1.1862,0,1,30000); // Cop cruiser 23
  AddStaticVehicleEx(596,1601.8564,-1704.1805,5.6110,88.9959,-1,-1,30000); // Cop cruiser 24
	AddStaticVehicleEx(596,1600.9231,-1691.9321,5.6113,91.6221,-1,-1,30000); // Cop cruiser 25
	AddStaticVehicleEx(596,1600.4153,-1687.9385,5.6118,90.7431,-1,-1,30000); // Cop cruiser 26
	AddStaticVehicleEx(596,1529.6339,-1683.7720,5.6124,270.5692, 29, 29, 30000); // Cop general car 27
	AddStaticVehicleEx(596,1529.5374,-1688.0181,5.6114,270.0886, 29, 29, 30000); // Cop general car 28
	AddStaticVehicleEx(523,1557.9637,-1694.5964,5.4673,226.4766,-1,-1,30000); // Police moto 29
  AddStaticVehicleEx(523,1557.9060,-1697.4153,5.4689,220.9842,-1,-1,30000); // Police moto 30
  AddStaticVehicleEx(523,1558.1632,-1691.8335,5.4596,224.7542,-1,-1,30000); // Police moto 31
	AddStaticVehicleEx(596,1584.6510,-1671.4448,6.0541,271.5708,0,1,30000); // Police ranger 32
  AddStaticVehicleEx(599,1584.7875,-1667.6138,6.0592,272.0818,0,1,30000); // Police ranger 33
	AddStaticVehicleEx(490,1523.2247,-1460.6205,9.2204,180.0376,0,0,30000); // fbi rancher 34
	AddStaticVehicleEx(490,1520.1016,-1460.7461,9.2222,180.0081,0,0,30000); // fbi rancher 35
	AddStaticVehicleEx(427,1544.2870,-1659.3522,5.6119,88.5025,-1,-1,30000);// Police SWAT enforcer 36
	AddStaticVehicleEx(601,1544.6962,-1663.2948,6.0225,88.9357,-1,-1,30000); // Police SWAT APC 37
	AddStaticVehicleEx(497,1566.6628,-1653.8688,28.5752,91.9445,0,1,30000);// Police maverick 38
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(490,1514.1959,-1478.1108,9.6270,270.0,0,0,30000); // FBI rancher 39
	AddStaticVehicleEx(490,1514.1621,-1474.2642,9.6278,270.0,0,0,30000); // FBI rancher 40
	AddStaticVehicleEx(402,1526.5072,-1460.2498,9.0046,180.2407,0,0,30000); // FBI 41
	AddStaticVehicleEx(411,1514.4041,-1466.9143,9.1251,269.3857,0,0,30000); // FBI 42
	AddStaticVehicleEx(560,1514.6023,-1470.3928,9.3007,267.4404,0,0,30000); // FBI 43
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(560,1668.7389,-1716.6075,15.3365,273.2713,0,0,30000); // HSPD car 44
	AddStaticVehicleEx(562,1668.4413,-1712.9550,15.3365,274.3207,0,0,30000); // HSPD car 45
	AddStaticVehicleEx(402,1668.0099,-1708.8489,15.3365,274.5680,0,0,30000); // HSPD car 46
	AddStaticVehicleEx(603,1667.8484,-1704.6753,15.3365,275.1544,0,0,30000); // HSPD car 47
	AddStaticVehicleEx(535,1667.4629,-1700.8257,15.3804,271.9598,0,0,30000); // HSPD car 48
	AddStaticVehicleEx(415,1667.2771,-1697.0977,15.3806,270.0334,0,0,30000); // HSPD car 49
	AddStaticVehicleEx(411,1648.0099,-1707.1831,15.3800,87.2489,0,0,30000); // HSPD car 50
	AddStaticVehicleEx(451,1647.7319,-1703.4153,15.3153,91.4943,0,0,30000); // HSPD car 51
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(416,1177.35,-1339.24,13.66,269.58, -1, -1, 30000); // Ambulance 52
	AddStaticVehicleEx(416,1176.98,-1308.65,13.62,269.33, -1, -1, 30000); // Ambulance 53
	AddStaticVehicleEx(416,1189.87,-1357.14,13.21,180.78, -1, -1, 30000); // Ambulance 54
	AddStaticVehicleEx(487,1181.4092,-1375.2384,24.1769,1.0139,1,3, 30000); // Medic chopper 55
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(579,1067.1295,-295.5681,73.7826,179.6040, 90, -1, 30000); // Hitman Huntly 56
	AddStaticVehicleEx(579,1077.3829,-295.1148,73.7812,180.2754, 90, -1, 30000); // Hitman Huntly 57
	AddStaticVehicleEx(560,1071.9189,-294.9166,73.7250,178.9444,90, -1, 30000); // Hitman Sultan 58
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(431,1172.5,-1795.5,13.1,0.0, -1, -1, 30000); // Bus 59
	AddStaticVehicleEx(431,1182.1,-1795.9,13.1,0.0, -1, -1, 30000); // Bus 60
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(409,1789.4137,-1932.6389,13.1079,357.7568,0,0,30000); // YCAT Co. Limo 61
	AddStaticVehicleEx(420,1803.6373,-1916.4673,13.1141,89.0899,0,0,30000); // YCAT Co. Taxi 62
	AddStaticVehicleEx(420,1803.6617,-1925.0874,13.1319,266.7457,0,0,30000); // YCAT Co. Taxi 63
	AddStaticVehicleEx(420,1800.6991,-1886.0063,13.1462,268.8892,-1,-1,30000); // YCAT Co.Taxi 64
	AddStaticVehicleEx(420,1777.9976,-1886.0128,13.1922,267.6736,-1,-1,30000); // YCAT Co. Taxi 65
	AddStaticVehicleEx(420,1803.7118,-1906.2510,13.2024,85.1059,-1,-1,30000); // YCAT Co. Taxi 66
	AddStaticVehicleEx(420,1777.3717,-1896.7965,13.1916,270.3214,-1,-1,30000); // YCAT Co. Taxi 67
	AddStaticVehicleEx(420,1796.4906,-1932.9441,13.1914,357.7162,-1,-1,30000); // YCAT Co. Taxi 68
	AddStaticVehicleEx(420,1780.8253,-1931.8109,13.1295,358.2670,-1,-1,30000); // YCAT Co. Taxi 69
	AddStaticVehicleEx(420,1777.6808,-1913.4772,13.1285,267.0958,-1,-1,30000); // YCAT Co. Taxi 70
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(582,1795.24,-1284.89,13.44,125.29,125,125,30000); // News van 71
	AddStaticVehicleEx(582,1797.18,-1291.08,13.27,108.95,125,125,30000); // News van 72
	AddStaticVehicleEx(488,1545.4849,-1353.9330,329.6510,185.4584,125,125,30000); // News Chopper 73
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(525,2078.74,-2006.38,13.25,271.64,0,0,30000); // Towcar 74
	AddStaticVehicleEx(525,2079.06,-2019.84,13.25,269.24,0,0,30000); // Towcar 75
	AddStaticVehicleEx(525,2097.83,-2006.09,13.25,44.15,0,0,30000); // Towcar 76
	AddStaticVehicleEx(525,2106.72,-2015.25,13.25,44.15,0,0,30000); // Towcar 77
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(571,2286.2141,-2354.5000,12.8306,225.8705,-1,-1,30000); // kart 78
	AddStaticVehicleEx(571,2279.9412,-2348.4141,12.8312,225.8585,-1,-1,30000); // kart 79
	AddStaticVehicleEx(571,2291.7932,-2345.5356,12.8305,227.3060,-1,-1,30000); // kart 80
	AddStaticVehicleEx(571,2287.5615,-2341.6433,12.8306,226.5350,-1,-1,30000); // kart 81
	AddStaticVehicleEx(571,2299.6785,-2338.3186,12.8307,224.3563,-1,-1,30000); // kart 82
	AddStaticVehicleEx(571,2295.3887,-2334.9448,12.8307,227.9102,-1,-1,30000); // kart 83
	CreateVehicle(494,-1401.0436,-210.0052,1042.9913,1.6623,1,0,30000); //hotring 84
	CreateVehicle(494,-1400.4019,-219.9365,1043.0348,5.3554,1,3,30000); //hotring 85
	CreateVehicle(494,-1394.4932,-207.7917,1042.9963,3.6872,0,6,30000); //hotring 86
	CreateVehicle(494,-1393.7854,-217.9354,1043.0325,2.9556,1,2,30000); //hotring 87
	CreateVehicle(468,-1445.6392,-592.3033,1055.7831,90.2133,-1,-1,30000); //bike 88
	CreateVehicle(468,-1433.1708,-592.4930,1055.6533,92.4067,-1,-1,30000); //bike 89
	CreateVehicle(468,-1448.5325,-584.4943,1055.4949,95.5400,-1,-1,30000); //bike 90
	CreateVehicle(468,-1434.8973,-585.1266,1055.2488,91.1533,-1,-1,30000); //bike 91
	CreateVehicle(468,-1449.2814,1610.7823,1052.5313,272.9406,-1,-1,30000); // bike 92
	CreateVehicle(468,-1453.8767,1611.2418,1052.5313,89.0355,-1,-1,30000); // bike 93
	CreateVehicle(468,-1454.4746,1614.3342,1052.5313,86.8422,-1,-1,30000); // bike 94
	CreateVehicle(468,-1449.5795,1614.0684,1052.5313,269.2039,-1,-1,30000); // bike 95
	//-------------------------------------------------------------------------------------------
	CreateVehicle(514,-77.5039,-1108.1729,1.6683,161.8915,-1,-1,30000); // truck 96
	CreateVehicle(514,-72.3507,-1109.7822,1.6670,161.7769,-1,-1,30000); // truck 97
	CreateVehicle(514,-67.0126,-1111.7156,1.6688,160.4800,-1,-1,30000); // truck 98
	CreateVehicle(435,-51.0638,-1135.2831,1.0781,68.3320,-1,-1,30000); // trailer 99
	CreateVehicle(435,-53.6230,-1139.7546,1.0781,67.5604,-1,-1,30000); // trailer 100
	CreateVehicle(435,-55.0517,-1144.3676,0.8018,68.1347,-1,-1,30000); // trailer 101
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(448,2122,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 102
	AddStaticVehicleEx(448,2120,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 103
	AddStaticVehicleEx(448,2118,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 104
	AddStaticVehicleEx(448,2116,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 105
	AddStaticVehicleEx(448,2114,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 106
	AddStaticVehicleEx(448,2112,-1784.1558,12.9844,0.9122,3,6,30000); // PizzaBoy 107
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(456,2508.9116,-2111.7759,13.7206,0,-1,-1, 30000); // Component Truck Yankee 108
	AddStaticVehicleEx(456,2484.5356,-2111.7759,13.7196,0,-1,-1,30000); // Component Truck Yankee 109
	AddStaticVehicleEx(440,2529.0413,-2085.3999,13.6651,90,-1,-1,30000); // Component Truck Rumpo 110
	AddStaticVehicleEx(440,2528.9482,-2092.6104,13.6631,90,-1,-1,30000); // Component Truck Rumpo 111
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(462,1561.2051,-2338.5320,13.1622,107.7252,13,13,30000); // Faggio 112 airport
	AddStaticVehicleEx(462,1561.0762,-2335.0012,13.1621,94.8442,14,14,30000); // Faggio 113 airport
	AddStaticVehicleEx(462,1560.7689,-2331.9119,13.1594,98.2301,1,2,30000); // Faggio 114 airport
	AddStaticVehicleEx(462,1560.7340,-2328.2048,13.1591,92.0939,2,1,30000); // Faggio 115 airport
	AddStaticVehicleEx(462,1802.6805,-1866.3438,13.1744,356.9387,2,1,30000); // Faggio 116
	AddStaticVehicleEx(462,1800.8668,-1866.2518,13.1715,358.9999,1,3,30000); // Faggio 117
	AddStaticVehicleEx(462,2285.1335,-1676.5405,14.1225,0.2100,3,1,30000); // Faggio 118
	AddStaticVehicleEx(462,2287.3684,-1676.4054,14.0732,0.4623,10,10,30000); // Faggio 119
	AddStaticVehicleEx(462,1510.8567,-880.8275,60.9730,51.2996,13,13,30000); // Faggio 120
	AddStaticVehicleEx(462,1429.7889,-1023.7480,23.4279,34.7489,14,14,30000); // Faggio 121
	AddStaticVehicleEx(462,1431.2034,-1023.5224,23.4282,34.3460,1,2,30000); // Faggio 122
	AddStaticVehicleEx(462,1366.3416,-1284.6714,13.1431,178.4214,2,1,30000); // Faggio 123
	AddStaticVehicleEx(462,1210.6223,-1323.5598,12.9982,178.0679,1,3,30000); // Faggio 124
	AddStaticVehicleEx(462,1210.4639,-1320.7733,12.9971,180.3432,3,1,30000); // Faggio 125
	AddStaticVehicleEx(462,1210.5708,-1326.3390,12.9978,179.5038,10,10,30000); // Faggio 126
	AddStaticVehicleEx(462,1547.3179,-1680.6959,13.1580,86.0603,12,12,30000); // Faggio 127
	AddStaticVehicleEx(462,1547.6339,-1682.2031,13.1577,90.0140,13,13,30000); // Faggio 128
	AddStaticVehicleEx(462,2432.8362,-1222.4318,24.7697,3.5147,14,14,30000); // Faggio 129
	AddStaticVehicleEx(462,2434.4971,-1222.4730,24.7065,2.4684,13,13,30000); // Faggio 130
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(471,1806.3488,-2009.0200,13.2220,89.1721,93,93,30000); // Surenos Quad 131
	AddStaticVehicleEx(567,1826.8661,-2031.1033,13.0625,180.4212,93,93,30000); // Surenos Car 2 132
	AddStaticVehicleEx(482,1819.1561,-2020.5332,13.0625,179.1689,93,93,3000); // Van Of Surenos 133
	AddStaticVehicleEx(567,1826.7920,-2021.0032,13.0625,180.4209,93,93,3000); // Surenos Car 134
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(560,1681.5526,-1035.9557,23.6389,180,123,92,30000); // Rent car 135
	AddStaticVehicleEx(560,1685.3273,-1035.4058,23.6409,180,101,101,30000); // Rent car 136
	AddStaticVehicleEx(560,1689.9888,-1035.6348,23.6384,180,83,110,30000); // Rent car 137
	AddStaticVehicleEx(560,1694.3981,-1034.7706,23.6860,180,74,74,30000); // Rent car 138
	AddStaticVehicleEx(562,1703.3409,-1044.8248,23.6857,0,91,91,30000); // Rent car 139
	AddStaticVehicleEx(405,1712.7332,-1034.9132,23.6933,180,41,41,30000); // Rent car 140
	AddStaticVehicleEx(405,1690.2993,-1044.3937,23.5577,0,10,1,30000); // Rent car 141
	AddStaticVehicleEx(562,1681.0250,-1044.6152,23.5528,0,36,1,30000); // Rent car 142
	AddStaticVehicleEx(602,1703.0122,-1035.1486,23.5598,180,45,1,30000); // Rent car 143
	AddStaticVehicleEx(602,1698.9230,-1044.6398,23.9990,0,114,114,30000); // Rent car 144
	AddStaticVehicleEx(602,1707.8655,-1035.1423,24.0034,180,95,95,30000); // Rent car 145
	AddStaticVehicleEx(602,1698.7041,-1034.9835,23.9997,180,61,61,30000); // Rent car 146
	AddStaticVehicleEx(587,1685.3434,-1044.4137,23.9994,0,119,119,30000); // Rent car 147
	AddStaticVehicleEx(587,1694.5468,-1044.4786,23.6760,0,92,1,30000); // Rent car 148
	AddStaticVehicleEx(587,1707.9614,-1044.8055,23.6739,0,109,1,30000); // Rent car 149
  AddStaticVehicleEx(587,1712.5034,-1044.1735,23.6731,0,11,1,30000); // Rent car 150
	AddStaticVehicleEx(558,1709.2091,-1061.1398,23.7847,180,109,1,30000); // Rent car 151
	AddStaticVehicleEx(558,1700.3168,-1060.6760,23.7848,180,4,1,30000); // Rent car 152
	AddStaticVehicleEx(439,1717.9724,-1069.8695,23.7848,0,30,1,30000); // Rent car 153
	AddStaticVehicleEx(439,1691.3545,-1069.6636,23.7849,0,91,1,30000); // Rent car 154
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(532,-387.4058,-1476.6927,26.7035,265.6719,0,0,30000); // Harvest 155
	AddStaticVehicleEx(532,-382.8609,-1465.2964,26.7162,262.4081,0,0,30000); // Harvest 156
	AddStaticVehicleEx(532,-392.8095,-1487.2607,26.3314,268.0157,0,0,30000); // Harvest 157
	AddStaticVehicleEx(532,-399.6307,-1500.4774,25.4502,265.1973,0,0,30000); // Harvest 158
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(532,-54.1143,86.1869,4.0927,246.1964,16,0,30000); // Drug harvest 159
	AddStaticVehicleEx(532,-39.0122,-19.7210,4.0923,66.2487,16,0,30000); // Drug harvest 160
	AddStaticVehicleEx(532,-34.2867,-9.5510,4.0883,62.7305,16,0,30000); // Drug harvest 161
	AddStaticVehicleEx(532,-83.7403,-17.7843,4.0917,340.3535,16,0,30000); // Drug harvest 162
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(483,2001.9617,-1091.0481,24.7052,93.9237,1,31,30000); // Drugs smuggler car 163
	AddStaticVehicleEx(483,2010.1135,-1092.5885,24.6424,69.2586,1,20,30000); // Drugs smuggler car 164
	AddStaticVehicleEx(413,2018.0365,-1095.5376,24.6378,69.7592,1,5,30000); // Drugs smuggler car 165
	//-------------------------------------------------------------------------------------------
  AddStaticVehicleEx(407,1005.7731,-1459.2805,13.6780,359.2671,-1,-1,30000); // Fire Truck Type [1] 166
	AddStaticVehicleEx(407,1013.3235,-1459.5682,13.6819,1.0221,-1,-1,30000); // Fire Truck Type [1] 167
	AddStaticVehicleEx(544,988.6091,-1453.2679,13.7752,267.6749,-1,-1,30000); // Fire Truck Type [2] 168
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(536,2438.0518,-1771.0381,13.2675,90.1604,3,3,30000); // Top Shottas car 168
	AddStaticVehicleEx(482,2451.7236,-1782.2594,13.2673,359.1914,3,3,30000); // Top Shottas Van 169
	AddStaticVehicleEx(468,2448.7751,-1761.4840,13.3079,177.9812,3,3,30000); // Top Shottas Bike 170
	AddStaticVehicleEx(536,2430.4297,-1771.0594,13.2639,90.1605,3,3,30000); // Top Shottas Car 2 171
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(487,1402.9954,-1800.7922,13.7192,85.1313,0,0,30000); // Government Helicopter 172
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(574,1668.6692,-1896.1118,13.2720,268.0269,26,26,30000); // Street sweeper 173
	AddStaticVehicleEx(574,1668.7383,-1891.4990,13.2720,270.7320,26,26,30000); // Street sweeper 174
	AddStaticVehicleEx(574,1668.7280,-1886.8180,13.2720,268.9658,26,26,30000); // Street sweeper 175
	//-------------------------------------------------------------------------------------------
	AddStaticVehicleEx(482,670.6533,-1299.5035,13.2634,359.6805,0,0,30000); // Yamaguchi Black Van 176
	AddStaticVehicleEx(575,670.7866,-1290.3920,13.2674,358.9000,0,0,30000); // Yamaguchi Black Car 177
	AddStaticVehicleEx(477,659.9525,-1268.9526,13.2656,359.2216,0,0,30000); // Yamaguchi White Car 178
	AddStaticVehicleEx(477,660.0777,-1262.0522,13.2642,358.9796,0,0,30000); // Yamaguchi White Car 179
	AddStaticVehicleEx(521,672.6432,-1270.8033,13.3458,91.5057,0,0,30000); // Yamaguchi/TheCrimisons Bike 180
	AddStaticVehicleEx(521,672.7597,-1267.3331,13.3450,89.7811,0,0,30000); // Yamaguchi Bike 2 181
	AddStaticVehicleEx(522,1240.7253,-2033.0615,59.5460,270.7889,0,0,30000); // Bratva Bike 182
	AddStaticVehicleEx(522,1240.3286,-2031.1663,59.5317,268.5302,0,0,30000); // Bratva Bike 2 183
  AddStaticVehicleEx(411,1276.6550,-2044.6598,58.7636,269.1467,1,1,30000); // Bratva Car 1 184
	AddStaticVehicleEx(477,1276.8871,-2041.3832,58.7481,269.5363,0,0,30000); // Bratva Car 2 185
	AddStaticVehicleEx(477,1276.8864,-2037.7959,58.7351,268.8126,0,0,30000); // Bratva Car 3 186
	AddStaticVehicleEx(491,1252.7358,-804.5006,83.8622,179.7695,0,0,30000); // la Famiglia Sinatra Car 187
	AddStaticVehicleEx(482,1241.3325,-814.7080,83.8642,183.2531,0,0,30000); // la Famiglia Sinatra Van 188
	AddStaticVehicleEx(429,1281.1151,-830.0188,82.8608,90.0674,0,0,30000); // la Famiglia Sinatra Sport Car 189
//-------------------------------------------------------------------------------------------------------------//

	{

Reply
#9

Код:
public IsABoat(carid)
{
	if(carid == 10 || carid == 11)
	{
		return 1;
	}
	return 0;
}

public IsAHarvest(carid)
{
	if(carid == 155 || carid == 156 || carid == 157 || carid == 158)
	{
		return 1;
	}
	return 0;
}

public IsADrugHarvest(carid)
{
	if(carid == 159 || carid == 160 || carid == 161 || carid == 162)
	{
		return 1;
	}
	return 0;
}

public IsASmuggleCar(carid)
{
	if(carid == 163 || carid == 164 || carid == 165)
	{
		return 1;
	}
	return 0;
}

public IsASweeper(carid)
{
	if((carid >= 169) && (carid <= 171))
	{
	  return 1;
	}
	return 0;
}

public IsAPlane(carid)
{
	if(carid == 38 || carid == 55 || carid == 73 || carid == 167 || carid == 168)
	{
		return 1;
	}
	return 0;
}

public IsACopCar(carid)
{
	if((carid >= 16) && (carid <= 38))
	{
		return 1;
	}
	return 0;
}

public IsAnFbiCar(carid)
{
	if((carid >= 39) && (carid <= 43))
	{
	  return 1;
	}
	return 0;
}

public IsNgCar(carid)
{
	if((carid >= 1) && (carid <= 11))
	{
	  return 1;
	}
	return 0;
}

public IsAGovernmentCar(carid)
{
	if((carid >= 12) && (carid <= 15) || carid == 172)
	{
		return 1;
	}
	return 0;
}

public IsAHspdCar(carid)
{
	if((carid >= 44) && (carid <= 51))
	{
	  return 1;
	}
	return 0;
}

public IsATank(carid)
{
	if(carid==5)
	{
		return 1;
	}
	return 0;
}

public IsAnAmbulance(carid)
{
	if((carid >= 52) && (carid <= 55))
	{
		return 1;
	}
	return 0;
}

public IsATruck(carid)
{
	if(carid >= 108 && carid <= 111)
	{
		return 1;
	}
	return 0;
}

public IsAPizzabike(carid)
{
	if(carid >= 102 && carid <= 107)
	{
		return 1;
	}
	return 0;
}

public IsABus(carid)
{
	if(carid == 59 || carid == 60)
	{
		return 1;
	}
	return 0;
}

public IsATowcar(carid)
{
	if(carid >= 74 && carid <= 77)
	{
		return 1;
	}
	return 0;
}
public IsAnFiretruck(carid)
{
	if((carid >= 166) && (carid <= 168))
	{
		return 1;
	}
	return 0;
}

public IsAGangCar(carid)
{
if(carid >= 131 && carid <= 134)
	{
		return 1;
	}
	return 0;
}

public IsAGangCar2(carid)
{
if(carid >= 176&& carid <= 181)
	{
		return 1;
	}
	return 0;
}

public IsAGangCar3(carid)
{
if(carid >= 187 && carid <= 189)
	{
		return 1;
	}
	return 0;
}

public IsAGangCar4(carid)
{
if(carid >= 181 && carid <= 186)
	{
		return 1;
	}
	return 0;
}

public IsAGangCar5(carid)
{
if(carid >= 168 && carid <= 171)
	{
		return 1;
	}
	return 0;
}

public IsABike(carid)
{
if((carid >= 102 && carid <= 107) || (carid >= 112 && carid <= 130) || (carid >= 262 && carid <= 267))
	{
		return 1;
	}
	return 0;
}

public IsAOBike(carid)
{
if((carid >= 237 && carid <= 267))
	{
		return 1;
	}
	return 0;
}
Reply
#10

pawn Код:
public IsAnOwnableCar(vehicleid)
{
    if(vehicleid >= 190 && vehicleid <= 275)/*change it to what it should be*/ { return 1; }
    return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)