Help me plz!!!
#1

I have a problem someone can help me please?

So I moved from SF HQ Corleone in LS HQ instead of LCN and LCN Lam made the HQ moved to a min, and the cars left the Corleone HQ, I wrote instead of LCN Sultan, and the color I changed it to black all .... but when they get to say that not Barzini member and you get into heli say that I rank or license to drive helicopter ..... same problem and I spawn some cars leam LCN saved, and you get to say landstalker to write / slave if I wanted to give Rob, if I not view a hitman Sultan says he is not, you climb on the bike says it's the cop car! you can help me please nice

Quote:

AddStaticVehicleEx(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 60000);
gCarLock[h+1] = 1;
}
AddStaticVehicleEx(596,-1381.9910,457.0832,6.9837,0.1452, 44, 86, 60000);/*Patriot cruiser*/
AddStaticVehicleEx(596,1558.392000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,1569.639000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,-2139.1995,-2393.7671,30.3452,140.7012, 0, 0, 60000);/*CopCruiser*/
AddStaticVehicleEx(425,-1279.8262,493.3734,18.0309,219.1345, -1, -1, 60000);/*Hunter*/
AddStaticVehicleEx(425,-1291.0063,492.3819,18.0305,223.8306, -1, -1, 60000);/*Hunter*/
AddStaticVehicleEx(596,1601.308000,-1621.916000,13.056540,90.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,1535.8275,-1678.0283,13.1680,359.9876, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,1561.860000,-1694.905000,6.139762,222.0,-1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(470,-1375.1555,457.5534,6.9837,359.8331,-1, -1, 60000);/*Patriot*/
AddStaticVehicleEx(580,1067.1295,-295.5681,73.7826,179.6040, 0, 0, 60000);/*Hitman Stafford*/
AddStaticVehicleEx(580,1077.3829,-295.1148,73.7812,180.2754, 0, 0, 60000);/*Hitman Stafford*/
AddStaticVehicleEx(596,614.8,-588.5,17.4,240.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,635.1,-561.5,16.5,180.0, -1, -1, 60000);/*CopCruiser*/
AddStaticVehicle(487,-2464.5503,168.9579,35.2894,357.8806,5,5); //Patterno Helicopter
AddStaticVehicle(579,-2465.5598,153.9273,35.1156,271.6009,5,5); //Patterno Landstlker
AddStaticVehicle(409,-2450.0813,155.0279,34.9288,359.6790,5,5); //Patterno Limuzin
AddStaticVehicle(461,-2447.7761,128.6396,34.7400,272.2370,5,5); //Patterno PCJ-600
AddStaticVehicle(560,-2466.0588,146.0158,34.8846,270.3678,5,5); //Patterno Sultan
AddStaticVehicle(560,-2466.1099,149.9070,34.9026,272.1082,5,5); //Patterno Sultan
AddStaticVehicleEx(596,-2177.5759,-2362.5042,30.4296,141.0939, 0, 0, 60000);/*CopCruiser*/
AddStaticVehicleEx(490,-1573.1228,726.6323,-5.1142,90.5329, -1, -1, 60000);/*FBI Rancher*/
AddStaticVehicleEx(490,-1596.0165,676.0269,-5.1148,0.6897, -1, -1, 60000);/*FBI Rancher*/
AddStaticVehicleEx(470,-1363.1493,457.1042,6.9836,359.6740, -1, -1, 60000);/*Patriot*/
AddStaticVehicleEx(470,-1355.5931,456.7297,6.9836,0.0286, -1, -1, 60000);/*Patriot*/
AddStaticVehicleEx(596,1535.8459,-1668.7560,13.2653,359.7447,-1, -1, 60000);/*CopCruiser*/
AddStaticVehicleEx(407,-2550.1443,610.7148,14.3281,90.6597, -1, -1, 60000);/*FireTruck*/
AddStaticVehicleEx(596,-2181.2766,-2375.6953,30.3405,231.7148, 0, 0, 60000);/*CopCruiser*/
AddStaticVehicleEx(596,1545.7845,-1684.4004,5.6342,271.1593, 89, 1, 60000);/*General Car*/
AddStaticVehicleEx(596,1530.1611,-1676.0326,5.4563,231.7766, 89, 1, 60000);/*General Car*/
AddStaticVehicleEx(407,-2551.8792,587.1581,14.3281,90.4374,-1, -1, 60000);/*FireTruck*/
AddStaticVehicleEx(497,1550.9431,-1643.3467,28.5814,87.3780, 0, 1, 60000);/*Police*Maveric*/
AddStaticVehicleEx(416,-2637.0630,617.3499,14.3281,90.1464, -1, -1, 60000);/*Ambulance*/
AddStaticVehicleEx(416,-2661.4282,617.3460,14.3288,89.2072, -1, -1, 60000);/*Ambulance*/
AddStaticVehicleEx(416,-2662.4568,595.3354,14.3281,273.2716, -1, -1, 60000);/*Ambulance*/
AddStaticVehicleEx(437,1172.5,-1795.5,13.1,0.0, -1, -1, 60000);//64/*Bus*/
AddStaticVehicleEx(437,1182.1,-1795.9,13.1,0.0, -1, -1, 60000);//65/*Bus*/
AddStaticVehicleEx(430,-1443.4342,427.0862,-0.6994,268.8489,-1, -1, 60000);/*NG BOAT*/
AddStaticVehicleEx(430,-1442.0721,390.6206,-0.4339,270.1023,-1, -1, 60000);/*NG BOAT*/
AddStaticVehicleEx(411,1071.9189,-294.9166,73.7250,178.9444,0, 0, 60000);//68/*Hitman Infernus*/
AddStaticVehicleEx(405,-2064.2900,-83.8759,35.0391,179.9102,17, 17, 60000);//69 Driving School /*Sentinel*/
AddStaticVehicleEx(405,-2068.6758,-83.9586,35.0391,180.0028,17, 17, 60000);//Driving School/*Sentinel*/
AddStaticVehicleEx(405,-2073.0413,-84.0993,35.0391,180.4447,17, 17, 60000);//Driving School/*Sentinel*/
AddStaticVehicleEx(434,551.7929,-1285.5260,16.9303,0.4147,-1, -1, 60000);//Rent car/*Hotknife*/
AddStaticVehicleEx(480,536.9888,-1286.5275,16.9993,359.1704,-1, -1, 60000); //Rent car/*Comet*/
AddStaticVehicleEx(506,544.1793,-1286.1422,16.9492,7.3116,-1, -1, 60000);//Rent car/*Supergt*/
AddStaticVehicleEx(434,-1949.9493,258.1949,35.1922,70.7581,-1, -1, 60000); //Rent car/*Hotknife*/
AddStaticVehicleEx(477,-1948.1650,264.8094,35.1930,72.6982,-1, -1, 60000); //Rent car/*ZR-350*/
AddStaticVehicleEx(429,-1947.0601,270.3815,35.1954,66.0783,-1, -1, 60000); //Rent car/*Banshee*/
AddStaticVehicleEx(456,2795.2,-2417.8,13.4,90.8,-1,-1,60000);//Component Truck/*Yankee*/
AddStaticVehicleEx(456,2783.9,-2417.9,13.4,90.8,-1,-1,60000);//Component Truck/*Yankee*/
AddStaticVehicleEx(440,2794.1,-2455.9,13.4,90.8,-1,-1,60000);//Component Truck/*Rumpo*/
AddStaticVehicleEx(440,2782.9,-2455.6,13.4,90.8,-1,-1,60000);//Component Truck/*Rumpo*/
AddStaticVehicleEx(420,-1986.4958,115.9394,27.3324,0.1277,-1, -1, 60000);//Taxi/*Taxi*/
AddStaticVehicleEx(487,-2703.3201,624.0250,14.1766,180.2649, 1, 3, 60000);//Medic Chopper/*Maverick*/
AddStaticVehicleEx(420,-1986.5049,129.1749,27.3299,359.6938,-1, -1, 60000);//Taxi/*Taxi*/
AddStaticVehicleEx(420,-1986.4310,150.1195,27.3299,0.0329,-1, -1, 60000);//Taxi //CAR ID 85/*Taxi*/
AddStaticVehicleEx(452,720.1,-1694.0,-0.4,179.4,-1,-1,60000);//Fishboat/*Speeder*/
AddStaticVehicleEx(452,721.2,-1629.4,-0.4,180.9,-1,-1,60000);//Fishboat/*Speeder*/
AddStaticVehicleEx(452,739.5,-1670.5,-0.6,177.5,-1,-1,60000);//Fishboat/*Speeder*/
AddStaticVehicleEx(452,-1474.4949,693.0169,0.1996,0.0751,-1,-1,60000);//Fishboat SF/*Speeder*/
AddStaticVehicleEx(452,-1720.0717,1439.6177,-0.4913,357.6789,-1,-1,60000);//Fishboat SF/*Speeder*/
AddStaticVehicleEx(520,-1430.4078,508.1596,18.9400,269.6329,44,86,60000);//NG Plane id 91
AddStaticVehicleEx(520,-1419.9038,493.5340,18.9350,269.6848,44,86,60000);//NG Plane id 92
AddStaticVehicleEx(520,-1398.6207,507.7513,18.9328,269.8143,44,86,60000); //NG Plane id 93
AddStaticVehicleEx(420,-1986.6089,163.8508,27.4837,359.5881,-1,-1,60000);//Taxi
AddStaticVehicleEx(487,1088.1736,-294.8004,73.7886,134.9237, 0, 1, 60000); //Hitman Chopper
AddStaticVehicleEx(488,-2044.1797,479.9963,35.1399,180.0648,-1,-1,60000); // newschopper
AddStaticVehicleEx(582,-2022.6146,458.6767,35.1414,0.7133,-1,-1,60000); // newsvan
AddStaticVehicleEx(582,-2031.3779,459.0133,35.1362,359.7429,-1,-1,60000); // newsvan
AddStaticVehicleEx(593,382.5172,2536.9561,16.5338, 179.7261,-1,-1,60000);//Flyschool
AddStaticVehicleEx(513,348.3660,2536.9792,16.7418, 178.8195,-1,-1,60000);//Flyschool
AddStaticVehicleEx(487,365.4068,2537.0327,16.6645, 181.9959,-1,-1,60000);//Flyschool
AddStaticVehicleEx(593,-1429.2843,-505.8203,13.7824,205.7709,-1,-1,60000);//Airport SF
AddStaticVehicleEx(593,-1462.4779,-524.2803,13.7832,204.8137,-1,-1,60000);//Airport SF
AddStaticVehicleEx(593,1907.7614,-2624.4097,13.5416,53.1810,-1,-1,60000);//Airport LS
AddStaticVehicleEx(593,1887.0736,-2627.6543,13.5394,52.6116,-1,-1,60000);//Airport LS
AddStaticVehicleEx(513,-1354.3270,-466.5467,13.7827,162.0134,-1,-1,60000);//Airport SF
AddStaticVehicleEx(513,-1390.3510,-482.7985,13.7883,250.3124,-1,-1,60000);//Airport SF
AddStaticVehicleEx(513,1835.3215,-2624.1938,13.5405,56.0569,-1,-1,60000);//Airport LS
AddStaticVehicleEx(513,1813.2893,-2625.6296,13.5394,53.2858,-1,-1,60000);//Airport LS
AddStaticVehicleEx(571,2286.2141,-2354.5000,12.8306,225.8705,-1,-1,60000); // kart
AddStaticVehicleEx(571,2279.9412,-2348.4141,12.8312,225.8585,-1,-1,60000); // kart
AddStaticVehicleEx(571,2291.7932,-2345.5356,12.8305,227.3060,-1,-1,60000); // kart
AddStaticVehicleEx(571,2287.5615,-2341.6433,12.8306,226.5350,-1,-1,60000); // kart
AddStaticVehicleEx(571,2299.6785,-2338.3186,12.8307,224.3563,-1,-1,60000); // kart
AddStaticVehicleEx(571,2295.3887,-2334.9448,12.8307,227.9102,-1,-1,60000); // kart
AddStaticVehicleEx(522,-1647.7799,1204.8453,20.7221,259.9747,3, 8, 60000); //
AddStaticVehicleEx(541,-1677.3873,1208.4794,20.7813,265.9026,14, 0, 60000); //
AddStaticVehicleEx(451,-1664.5193,1223.2737,20.8635,174.6485,3, 3, 60000); //
AddStaticVehicleEx(545,-1656.9406,1217.1831,13.4830,329.0760,6, 6, 60000); //
AddStaticVehicleEx(411,-1665.2328,1222.7775,13.4052,273.4725,7, 7, 60000); //
AddStaticVehicleEx(477,-1647.5825,1205.2173,13.4277,248.5914,3, 3, 60000); //
AddStaticVehicleEx(576,-1679.0320,1209.6576,13.2830,253.5751,19, 19, 60000); //
AddStaticVehicleEx(536,-1656.2942,1211.2318,13.4142,267.9824,7, 7, 60000); //
AddStaticVehicleEx(587,-1668.7227,1205.7914,6.9816,338.2450,0, 0, 60000); //
AddStaticVehicleEx(558,-1666.2737,1215.7034,6.8811,260.0844,7, 7, 60000); //
AddStaticVehicleEx(415,-1658.0160,1211.1829,7.0222,269.2776,3, 3, 60000); //
AddStaticVehicleEx(480,-1665.3408,1203.7239,20.9288,268.9997,19, 19, 60000); //
AddStaticVehicleEx(506,-1656.0009,1216.8121,20.8606,44.7017,6, 6, 60000); //
AddStaticVehicleEx(463,-1671.0583,1221.7740,20.6928,281.1627,19, 19, 60000); //
AddStaticVehicleEx(555,-1655.7615,1204.5907,20.8365,57.5014,3, 3, 60000); //
AddStaticVehicleEx(603,-1673.2996,1203.9005,13.5103,267.8442,3, 1, 60000); //
AddStaticVehicleEx(559,-1650.3636,1211.6312,6.9063,44.7407,3, 3, 60000); //
AddStaticVehicleEx(589,-1660.0051,1220.0835,13.3300,159.9868,1, 1, 60000); //
AddStaticVehicleEx(562,-1651.7152,1211.4753,20.8138,79.7671,3, 3, 60000); //
AddStaticVehicleEx(560,-1671.3304,1204.4285,20.8606,244.7012,7, 7, 60000); //
AddStaticVehicleEx(601,-1623.4895,653.7021,-5.4832,88.9461,11, 1, 60000); /*FBI Special Unity*/
AddStaticVehicleEx(523,1552.5188,-1616.5109,12.9608,178.9507,1, 0, 60000); //
AddStaticVehicleEx(523,1556.7039,-1616.5323,12.9729,182.8595,1, 0, 60000); //
AddStaticVehicleEx(523,1561.1750,-1616.4918,12.9600,179.2230,1, 0, 60000); //
AddStaticVehicleEx(523,1566.2689,-1616.5775,12.9624,184.2917,1, 0, 60000); //
AddStaticVehicleEx(468,-2339.1177,-1663.1937,483.3656,292.9210,6, 6, 60000); //
AddStaticVehicleEx(468,-2341.1868,-1660.8591,483.3722,304.4885,3, 3, 60000); //
AddStaticVehicleEx(568,-2316.2756,-1684.7086,481.9279,288.3940,1, 1, 60000); //
AddStaticVehicleEx(568,-2282.1516,-1634.9983,483.5320,133.7292,1, 1, 60000); //
AddStaticVehicleEx(500,-2299.5552,-1613.7817,483.9902,123.2860,6, 6, 60000); //
AddStaticVehicleEx(500,-2302.4519,-1609.7458,484.0267,126.0079,43, 43, 60000); //
AddStaticVehicleEx(599,-1640.8273,669.9487,-5.0510,269.6945,0, 54, 60000); //FBI Special Unity
AddStaticVehicleEx(599,-1573.2131,710.2562,-5.0499,89.4887,0, 54, 60000); //FBI Special Unity
AddStaticVehicleEx(433,-1346.8636,455.3816,7.6242,268.8687,19, 19, 60000); //
AddStaticVehicleEx(462,-1984.8167,85.6847,27.2728,90.0107,2, 12, 60000); /*Faggio*/
AddStaticVehicleEx(462,-1984.7418,88.2753,27.2789,88.4977,2, 12, 60000); /*Faggio*/
AddStaticVehicleEx(462,-1984.7273,90.8263,27.2805,92.2319,2, 12, 60000); /*Faggio*/
AddStaticVehicleEx(462,-1984.8380,83.5034,27.2797,91.8959,2, 12, 60000); /*Faggio*/
AddStaticVehicleEx(487,-1187.9490,27.3258,14.3142,224.4832,1, 1, 60000); //Flyschool/*Maverick*/
AddStaticVehicleEx(487,-1223.9659,-9.6718,14.3139,226.7682,1, 1, 60000); //Flyschool/*Maverick*/
AddStaticVehicleEx(495,-2354.3398,-1637.8379,484.0530,273.7074,21, 21, 60000); /*SandKing*/
AddStaticVehicleEx(573,-2351.6821,-1622.9917,484.3147,246.9900,1, 1, 60000); /*Duneride*/
AddStaticVehicleEx(573,-2353.3442,-1628.1624,484.3217,252.2864,1, 1, 60000); /*Duneride*/
AddStaticVehicleEx(444,-2349.7175,-1610.7178,483.9724,252.5232,1, 3, 60000); /*Monster*/
AddStaticVehicleEx(444,-2348.2527,-1605.7322,483.9962,253.4453,1, 3, 60000); /*Monster*/
AddStaticVehicleEx(471,-2262.5544,-1687.8561,480.4894,130.6514,1, 2, 60000); /*Quad*/
AddStaticVehicleEx(471,-2260.2659,-1690.4514,480.3886,132.0740,1, 2, 60000); /*Quad*/
AddStaticVehicleEx(471,-2257.6108,-1693.1069,480.3542,138.1610,1, 2, 60000); /*Quad*/
AddStaticVehicleEx(481,-2387.9521,-2195.9185,32.8000,181.9070,41, 1, 60000); /*BMX*/
AddStaticVehicleEx(481,-2381.8821,-2195.9875,32.8052,180.1283,4, 3, 60000); /*BMX*/
AddStaticVehicleEx(481,-2383.5371,-2195.9766,32.8052,178.3212,1, 1, 60000); /*BMX*/
AddStaticVehicleEx(481,-2379.8396,-2196.0095,32.8050,178.7672,3, 1, 60000); /*BMX*/
AddStaticVehicleEx(481,-2392.8594,-2196.0923,32.8045,167.1790,5, 1, 60000); /*BMX*/
AddStaticVehicleEx(481,-2394.1614,-2195.6885,32.8067,169.3819,4, 4, 60000); /*BMX*/
AddStaticVehicleEx(481,-2395.2734,-2196.2764,32.8036,179.2851,4, 4, 60000); /*BMX*/
AddStaticVehicleEx(481,-2386.8000,-2196.1482,32.8038,179.3613,2, 1, 60000); /*BMX*/
AddStaticVehicleEx(481,-2391.4604,-2196.4150,32.8039,179.3075,3, 1, 60000); /*BMX*/
AddStaticVehicleEx(481,-2385.1475,-2196.2466,32.8041,178.7193,4, 3, 60000); /*BMX*/
AddStaticVehicleEx(481,-2389.8188,-2196.2302,32.8047,172.4859,4, 4, 60000); /*BMX*/
AddStaticVehicleEx(424,446.6472,-1810.4928,5.3282,177.7157,1, 1, 60000); /*BF-Injection*/
AddStaticVehicleEx(424,442.8779,-1810.2509,5.3301,178.4494,5, 3, 60000); /*BF-Injection*/
AddStaticVehicleEx(522,-1993.2922,241.7313,34.7299,85.2598,12, 20, 60000); /*NRG-500*/
AddStaticVehicleEx(522,-1992.7249,248.7722,34.7362,87.0172,53, 21, 60000); /*NRG-500*/
AddStaticVehicleEx(522,-1992.3876,255.4100,34.7357,82.9573,6, 6, 60000); /*NRG-500*/
AddStaticVehicleEx(522,-1992.0330,263.0848,34.7472,85.3567,8, 9, 60000); /*NRG-500*/
AddStaticVehicleEx(522,-1991.8231,269.8860,34.7356,86.1255,3, 8, 60000); /*NRG-500*/
AddStaticVehicleEx(525,-1913.0531,306.0030,40.9204,179.9489,0, 1, 60000); /*Towtruck*/
AddStaticVehicleEx(525,-1918.0264,305.9830,40.9143,179.8594,0, 1, 60000); /*Towtruck*/
AddStaticVehicleEx(525,-1922.7177,305.9226,40.9328,180.7913,0, 1, 60000); /*Towtruck*/
AddStaticVehicleEx(519,-1371.9012,-476.5840,15.0986,206.4768,1, 1, 60000); /*Shamal*/
AddStaticVehicleEx(519,-1445.7952,-515.4748,15.0956,206.2433,1, 1, 60000); /*Shamal*/
AddStaticVehicleEx(420,1778.5592,-1860.0425,13.2677,268.5207,6, 6, 60000); /*Taxi*/
AddStaticVehicleEx(420,1771.4758,-1860.0458,13.2145,270.3221,6, 6, 60000); /*Taxi*/
AddStaticVehicleEx(420,1764.9417,-1860.1315,13.2138,271.3643,6, 6, 60000); /*Taxi*/
AddStaticVehicleEx(502,1172.9688,1341.0995,10.7047 ,89.0652,1, 1, 60000); //StuntParcCar
AddStaticVehicleEx(494,1172.6250,1335.6748,10.7076 ,89.3590,10, 10, 60000); //StuntParcCar
AddStaticVehicleEx(503,1172.8997,1330.1460,10.7069 ,91.2761,3, 0, 60000); //StuntParcCar
AddStaticVehicleEx(557,1167.5123,1231.6171,11.1897 ,0.7882,3, 7, 60000); //StuntParcCar
AddStaticVehicleEx(481,1123.9019,1205.9933,10.3364 ,359.6595,0, 0, 60000); //StuntParcCar
AddStaticVehicleEx(481,1122.0741,1206.1945,10.3353 ,0.4956,1, 1, 60000); //StuntParcCar
AddStaticVehicleEx(481,1120.2252,1206.2504,10.3354 ,358.9550,2, 2, 60000); //StuntParcCar
AddStaticVehicleEx(481,1118.4347,1206.4392,10.3354 ,0.3139,3, 3, 60000); //StuntParcCar
AddStaticVehicleEx(481,1126.0597,1206.1506,10.3355 ,359.0464,4, 4, 60000); //StuntParcCar
AddStaticVehicleEx(468,1174.1136,1321.1719,10.4895 ,91.9084,0, 0, 60000); //StuntParcCar
AddStaticVehicleEx(468,1173.9524,1318.6749,10.4888 ,88.1139,1, 1, 60000); //StuntParcCar
AddStaticVehicleEx(468,1173.9149,1316.0837,10.4894 ,87.8126,2, 2, 60000); //StuntParcCar
AddStaticVehicleEx(468,1173.9779,1313.2068,10.4894 ,94.9939,3, 3, 60000); //StuntParcCar
AddStaticVehicleEx(468,1174.0233,1310.4669,10.4893 ,92.4098,4, 4, 60000); //StuntParcCar
AddStaticVehicleEx(522,1174.0460,1288.4221,10.3918 ,92.3921,3, 3, 60000); //StuntParcCar
AddStaticVehicleEx(522,1173.9952,1290.7426,10.3911 ,90.0761,4, 4, 60000); //StuntParcCar
AddStaticVehicleEx(522,1173.9961,1293.0088,10.3886 ,89.1853,5, 5, 60000); //StuntParcCar
AddStaticVehicleEx(522,1173.8610,1295.4719,10.3906 ,86.3282,6, 6, 60000); //StuntParcCar
AddStaticVehicleEx(522,1173.8239,1297.9414,10.3890 ,84.1198,7, 7, 60000); //StuntParcCar
AddStaticVehicleEx(522,1160.2999,1422.1487,5.3910, 358.5359,0, 6, 60000); //StuntParcCar
AddStaticVehicleEx(468,1157.9821,1422.0635,5.4893, 4.4863,3, 0, 60000); //StuntParcCar
CreateVehicle(494,-1401.0436,-210.0052,1042.9913,1.6623,1,0,60000); //hotring 116
CreateVehicle(494,-1400.4019,-219.9365,1043.0348,5.3554,1,3,60000); //hotring
CreateVehicle(494,-1394.4932,-207.7917,1042.9963,3.6872,0,6,60000); //hotring
CreateVehicle(494,-1393.7854,-217.9354,1043.0325,2.9556,1,2,60000); //hotring
CreateVehicle(468,-1445.6392,-592.3033,1055.7831,90.2133,-1,-1,60000); //bike 120
CreateVehicle(468,-1433.1708,-592.4930,1055.6533,92.4067,-1,-1,60000); //bike
CreateVehicle(468,-1448.5325,-584.4943,1055.4949,95.5400,-1,-1,60000); //bike
CreateVehicle(468,-1434.8973,-585.1266,1055.2488,91.1533,-1,-1,60000); //bike
CreateVehicle(468,-1449.2814,1610.7823,1052.5313,272.9406,-1,-1,60000); // bike 124
CreateVehicle(468,-1453.8767,1611.2418,1052.5313,89.0355,-1,-1,60000); // bike
CreateVehicle(468,-1454.4746,1614.3342,1052.5313,86.8422,-1,-1,60000); // bike
CreateVehicle(468,-1449.5795,1614.0684,1052.5313,269.2039,-1,-1,60000); // bike
CreateVehicle(403,-77.5039,-1108.1729,1.6683,161.8915,-1,-1,60000); // truck
CreateVehicle(403,-72.3507,-1109.7822,1.6670,161.7769,-1,-1,60000); // truck
CreateVehicle(403,-67.0126,-1111.7156,1.6688,160.4800,-1,-1,60000); // truck
CreateVehicle(435,-51.0638,-1135.2831,1.0781,68.3320,-1,-1,60000); // trailer
CreateVehicle(435,-53.6230,-1139.7546,1.0781,67.5604,-1,-1,60000); // trailer
CreateVehicle(435,-55.0517,-1144.3676,0.8018,68.1347,-1,-1,60000); // trailer
for(new h = 0; h < sizeof(HouseInfo); h++)
{

Reply
#2

Quote:

if(HouseInfo[h][hOwned] == 0)
{
AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
if(HouseInfo[h][hOwned] == 1)
{
AddStaticPickup(1239, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
pickups++;
}
}
for(new h = 0; h < sizeof(BizzInfo); h++)
{
if(BizzInfo[h][bOwned] == 0)
{
AddStaticPickup(1272, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
if(BizzInfo[h][bOwned] == 1)
{
AddStaticPickup(1239, 2, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]);
pickups++;
}
}
for(new h = 0; h < sizeof(SBizzInfo); h++)
{
if(SBizzInfo[h][sbOwned] == 0)
{
AddStaticPickup(1272, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
if(SBizzInfo[h][sbOwned] == 1)
{
AddStaticPickup(1239, 2, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]);
pickups++;
}
}
AddStaticPickup(1239, 23, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Ammu
AddStaticPickup(1239, 23, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
AddStaticPickup(1239, 23, 253.9280,69.6094,1003.6406); //Clear icon in Police Station
AddStaticPickup(1239, 23, 1480.63,-1767.43,18.79); //City Hall
AddStaticPickup(1239, 2, -2461.5146,133.1001,35.1719); //
AddStaticPickup(1239, 23, 362.4931,173.6018,1008.382; //Take Job
AddStaticPickup(1239, 23, 387.7978,173.8582,1008.382; //City Hall //int
AddStaticPickup(1239, 23, 359.5408,206.7693,1008.382; //Detective Registration
AddStaticPickup(1239, 23, 347.7374,193.7241,1014.1875); //Lawyer Registration
AddStaticPickup(1239, 23, 1215.1304,-11.8431,1000.9219); //Whore Registration
AddStaticPickup(1239, 23, 2166.3772,-1675.3829,15.0859); //DrugDealer Registration
AddStaticPickup(1239, 23, 1109.3318,-1796.3042,16.593; //CarJacker Registration
AddStaticPickup(1239, 23, -2050.8962,460.0262,35.1719); //NewsReporter Registration & /paper
AddStaticPickup(1239, 23, -2040.9436,456.2395,35.1719); //PaperBoy Registration
AddStaticPickup(1239, 23, -1932.3859,276.2117,41.0391); //CarMechanic Registration
AddStaticPickup(1239, 23, 2226.1716,-1718.1792,13.5165); //BodyGuard Registration
AddStaticPickup(1239, 23, 1366.4325,-1275.2096,13.5469); //ArmsDealer Registration
AddStaticPickup(1239, 23, 531.7930,-1292.4044,17.2422); //CarDealer Registration
AddStaticPickup(1239, 23, 766.0804,14.5133,1000.7004); //Boxer Registration
AddStaticPickup(1239, 23, 1154.2208,-1770.8203,16.5992); //BusDriver Registration
AddStaticPickup(1239, 23, -77.7288,-1136.3896,1.0781); //Trucker Registration
AddStaticPickup(1239, 23, 323.0342,1118.5804,1083.882; //Getting Drugs for DrugDealers
AddStaticPickup(1239, 23, 1381.0413,-1088.8511,27.3906); //Bill Board (old Job Department)
AddStaticPickup(1239, 23, 597.1277,-1248.6479,18.2734); //Materials Package building
AddStaticPickup(1239, 23, -2119.5469,-178.5679,35.3203); //Factory
AddStaticPickup(1239, 23, 1073.0619,-344.5148,73.9922); //Hitman Agency entrance
AddStaticPickup(371, 23, 1544.2,-1353.4,329.4); //LS towertop
AddStaticPickup(371, 23, 1536.0, -1360.0, 1150.0); //LS towertop
AddStaticPickup(1242, 23, 1527.5,-12.1,1002.0); //binco armor
AddStaticPickup(1240, 23, 279.3000,1853.5619,8.7649); //area51 health
pickups=pickups+29;
printf("Pickups Max = 100, Current Pickups = %d",pickups);
//------------------------------------------------------------------//
passport = CreatePickup(1239, 23, 358.5356,161.4151,1008.382; //passport
hotdog = CreatePickup(1239, 23, 1542.7256,-1696.8639,13.5469); //hotdog
hotdog2 = CreatePickup(1239, 23, -1977.9028,198.2281,27.6875); //hotdog
hotdog3 = CreatePickup(1239, 23, 1803.6781,-1861.8549,13.5770); //hotdog
infocenterls = CreatePickup(1239, 23, 1750.1860,-1862.1902,13.5766); //infocenter LS
infocentersf = CreatePickup(1239, 23, -1981.8077,133.8678,27.6875); //infocenter SF
stunt = CreatePickup(1239, 23, 1165.5663,1347.2285,10.9219); //stunt
exam = CreatePickup(1239, 23, 1412.8313,-1700.3066,13.5395); //exam_DMV
barzinihq = CreatePickup(1239, 23, -2200.8364,647.0396,49.4375); //Barzini HQ
tthq = CreatePickup(1239, 23, 725.9833,-1439.4790,13.5391); //Tattaglia HQ
corleonehq = CreatePickup(1239, 23, 1123.5005,-2036.9918,69.8869); //Corleone HQ
// patternohq = CreatePickup(1239, 2, -2461.5146,133.1001,35.1719); //
atm = CreatePickup(1239, 23, 1153.35, -1455.98, 15.79); //atm
atm2 = CreatePickup(1239, 23, 1137.12, -1630.50, 13.8; //atm2
atm3 = CreatePickup(1239, 23, 603.15, -1247.18, 18.40); //atm3
atm4 = CreatePickup(1239, 23, -1981.71, 120.82, 27.67); //atm4
pdup = CreatePickup(1239, 23, 1524.72, -1677.77, 5.89); //pd up
pddown = CreatePickup(1239, 23, 1564.82, -1666.58, 28.39); //pd down
fbi = CreatePickup(1239,23, -1593.1227,716.3095,-5.2422); //fbi
new randa = random(sizeof(RandCars));
randa = random(sizeof(RandCars));carselect[0] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[1] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[2] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[3] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[4] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[5] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[6] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[7] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[8] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[9] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[10] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[11] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[12] = RandCars[randa][0];
randa = random(sizeof(RandCars));carselect[13] = RandCars[randa][0];
randa = random(sizeof(RandLCars));carselect[14] = RandLCars[randa][0];
AddStaticVehicleEx(carselect[14], 1279.4,-1337.0,13.5,1.0,-1, -1, -1);//long
br1 = AddStaticVehicleEx(409,-2274.3672,646.6611,49.1778,179.9364,4,4,60000); //Barzini Stretch
br2 = AddStaticVehicleEx(419,-2176.6760,636.7382,49.2387,37.7510,4,4,60000); //Barzini Esperanto
br3 = AddStaticVehicleEx(419,-2247.8093,649.9500,49.1645,0.0748,4,4,60000); //Barzini Esperanto
br4 = AddStaticVehicleEx(419,-2247.4382,667.7339,49.1645,359.8687,4,4,60000); //Barzini Esperanto
AddStaticVehicleEx(487,-2181.2800,702.4366,54.0599,181.6241,4,4,60000); //Barzini Maverick
AddStaticVehicleEx(409,1481.7454,-1744.1311,13.3469,269.9320,1,1,60000); // Stretch Mayor
AddStaticVehicleEx(490,-1640.4991,686.3217,-5.1147,269.9907,0,0,60000); //FBI Rancher
AddStaticVehicleEx(597,-1608.5629,693.1385,-5.5220,179.7354,0,54,60000); //FBI PD Car
AddStaticVehicleEx(597,-1612.5192,693.2314,-5.5209,180.2136,0,54,60000); //FBI PD Car
AddStaticVehicle(487,702.1451,-1460.4086,17.8661,181.1830,6,6); //Tattaglia Helicopter
AddStaticVehicle(521,744.9807,-1442.5148,13.0989,180.9859,6,6); //Tattaglia Motorbike
AddStaticVehicle(579,731.2250,-1431.7402,13.4633,89.6859,6,6); //Tattaglia Huntley
AddStaticVehicle(560,740.2593,-1431.7490,13.2412,90.7358,6,6); //Tattaglia Sultan
AddStaticVehicle(560,764.2830,-1436.5645,13.2248,359.0602,6,6); //Tattaglia Sultan
AddStaticVehicle(560,768.5086,-1436.7621,13.2429,359.4204,6,6); //Tattaglia Sultan
AddStaticVehicle(487,1193.1295,-2037.4503,69.1825,90.0447,0,0); //Corleone Helicopter
AddStaticVehicle(461,1241.0021,-2044.9231,59.5575,358.5655,0,0); //Corleone PJC-600
AddStaticVehicle(579,1275.6801,-2040.1208,58.9737,93.2670,0,0); //Corleone Huntley
AddStaticVehicle(560,1276.3917,-2044.7180,58.7552,91.0166,0,0); //Corleone Sultan
AddStaticVehicle(560,1249.8181,-2045.6614,59.4944,268.4663,0,0); //Corleone Sultan
AddStaticVehicle(560,1242.5691,-2027.2358,59.6695,180.0836,0,0); //Corleone Sultan
AddStaticVehicleEx(497,-1680.3802,705.6774,30.7882,88.6547,0,1,60000); //FBI Maverick
AddStaticVehicleEx(482,1883.0640,-1996.7705,13.6613,179.9492,0,0,60000); //Burrito -/rob *254*-
AddStaticVehicleEx(528,-1623.6060,649.4413,-5.1978,89.7167,0,0,60000); //FBI Truck
AddStaticVehicleEx(521,1099.0298,-349.6792,73.5628,0.2953,0,0,60000); //Motors Hitman
AddStaticVehicleEx(521,1100.9955,-349.8777,73.5597,357.2988,0,0,60000); //Motors Hitman
AddStaticVehicleEx(521,-2213.9119,636.9319,49.0169,89.3548,4,4,60000); //Barzini Bike
AddStaticVehicleEx(427,1526.3925,-1644.8746,6.0224,179.9892,0,1,60000); //Enforcer LSPD
AddStaticVehicleEx(599,-2618.2747,607.9839,14.6446,180.1603,3,1,60000); //Special Ambulance
AddStaticVehicleEx(428,1545.1647,-1655.0862,6.0151,90.1185,1,0,60000); //Police Security
AddStaticVehicleEx(525,863.6578,-1255.5695,14.7096,269.6641,0,12,60000); //TowTruck Co.
AddStaticVehicleEx(525,919.7996,-1262.2020,14.5170,90.9449,0,12,60000); //TowTruck Co.
AddStaticVehicleEx(525,863.6606,-1245.4446,14.7075,270.1635,0,12,60000); //TowTruck Co.
AddStaticVehicleEx(525,916.1484,-1252.0095,15.5482,180.2175,0,12,60000); //TowTruck Co.
AddStaticVehicleEx(552,900.5229,-1272.1866,14.3090,90.4549,1,12,60000); //Utility Co.
examc = AddStaticVehicleEx(426,1413.2147,-1717.5602,13.2899,359.6807,12,12,10); //Exam Car
AddStaticVehicleEx(481,1733.6813,-1865.3025,13.0888,359.6837,22,32,10000); //BMX_C
AddStaticVehicleEx(481,1732.0488,-1865.2411,13.0876,1.6017,54,65,10000); //BMX_C
AddStaticVehicleEx(481,1730.3425,-1865.2474,13.0875,1.1914,87,47,10000); //BMX_C
AddStaticVehicleEx(481,1727.8280,-1870.9344,13.0782,359.9988,43,32,10000); //BMX_C
AddStaticVehicleEx(481,1948.7130,-1363.0145,18.0937,88.6995,53,12,10000); //BMX_STUNT
AddStaticVehicleEx(481,1863.6104,-1396.7089,12.9959,180.2054,32,53,10000); //BMX_STUNT *283

Quote:

}
if(newcar == 41 || newcar == 42)
{
if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(PlayerInfo[playerid][pRank] < 3)
{
SendClientMessage(playerid,COLOR_GREY," You need Rank 3 to Fly this baby !");
RemovePlayerFromVehicle(playerid);
}
}
else
{
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 41 || newcar == 42)
{
if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(PlayerInfo[playerid][pRank] < 3)
{
SendClientMessage(playerid,COLOR_GREY," You need Rank 3 to Fly this baby !");
RemovePlayerFromVehicle(playerid);
}
}
else
{
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 57 || newcar == 61)
{
if(PlayerInfo[playerid][pMember] != 4 || PlayerInfo[playerid][pLeader] != 4)
{
SendClientMessage(playerid,COLOR_GREY," You are not a Fireman !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 66 || newcar == 67)
{
if(PlayerInfo[playerid][pJob] != 14)
{
SendClientMessage(playerid,COLOR_GREY," You are not a Bus Driver !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 71 || newcar == 72 || newcar == 73 || newcar == 101 || newcar == 102 || newcar == 103)
{
if(TakingLesson[playerid] == 1) { }
else if(!IsAnInstructor(playerid))
{
SendClientMessage(playerid,COLOR_GREY," You are not a School Instructor !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 84 || newcar == 86 || newcar == 87 || newcar == 96 || newcar == 190 || newcar == 191 || newcar == 192)
{
if(PlayerInfo[playerid][pMember] == 10||PlayerInfo[playerid][pLeader] == 10) { }
else
{
SendClientMessage(playerid,COLOR_GREY," You are not a Taxi Driver !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 97 || newcar == 47 || newcar == 48 || newcar == 70 || newcar == 256 || newcar == 257)
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] ==
{
if(PlayerInfo[playerid][pRank] < 1)
{
SendClientMessage(playerid, COLOR_GREY, " Your Rank is to Low !");
RemovePlayerFromVehicle(playerid);
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not a Hitman !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 98 || newcar == 99 || newcar == 100)
{
if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9){ }
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not a News Reporter !");
RemovePlayerFromVehicle(playerid);
}
if(PlayerInfo[playerid][pNewsSkill] < 200 && newcar == 9
{
SendClientMessage(playerid, COLOR_GREY, " Your News Reporter Skill is to low, cant fly the Chopper yet !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar==112||newcar==113||newcar==114||newcar== 115||newcar==116||newcar==117)
{
if(PlayerKarting[playerid] != 1)
{
RemovePlayerFromVehicle(playerid);
}
}
if(newcar >= 74 && newcar <= 76)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~You can Rent this car~n~Cost:~g~$%d~n~~w~To rent type ~g~/rentcar~w~~n~to get out type ~r~/exit",SBizzInfo[0][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}

Reply
#3

Quote:

if(newcar >= 77 && newcar <= 79)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~You can Rent this car~n~Cost:~g~$%d~n~~w~To rent type ~g~/rentcar~w~~n~to get out type ~r~/exit",SBizzInfo[1][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
if(newcar >= 152 && newcar <= 155)
{
if (HireCar[playerid] != newcar)
{
format(string, sizeof(string), "~w~You can Rent this scooter~n~Cost:~g~$%d~n~~w~To rent type ~g~/rentscooter~w~~n~to get out type ~r~/exit",SBizzInfo[12][sbEntranceCost]);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, string, 5000, 3);
}
}
if(newcar == 185 || newcar == 186 || newcar == 187)
{
if(PlayerInfo[playerid][pJob] != 7)
{
SendClientMessage(playerid, COLOR_GREY, " Your are not a Mechanic !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 188 || newcar == 189 || newcar == 156 || newcar == 157 || newcar == 237 || newcar == 242 || newcar == 248 || newcar == 253 || newcar == 262)
{
if(PlayerInfo[playerid][pFlyLic] < 1)
{
if(TakingLesson[playerid] == 1) { }
else {
SendClientMessage(playerid, COLOR_GREY, " You don't know how to Fly yet, so you left the Plane !");
RemovePlayerFromVehicle(playerid); }
}
}
if(newcar == 238 || newcar == 239 || newcar == 240 || newcar == 241 || newcar == 242 || newcar == 266)
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6){ }
else
{
SendClientMessage(playerid, COLOR_GREEN, " Your are not a Barzini member !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 233 || newcar == 234 || newcar == 235 || newcar == 236 || newcar == 237 || newcar == 267)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5){ }
else
{
SendClientMessage(playerid, COLOR_ORANGE, " Your are not a Tattaglia member !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 244 || newcar == 245 || newcar == 246 || newcar == 247 || newcar == 248 || newcar == 249 || newcar == 265)
{
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12){ }
else
{
SendClientMessage(playerid, COLOR_BLACK2, " Your are not a Corleone member !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 258 || newcar == 259 || newcar == 260 || newcar == 261 || newcar == 262 || newcar == 263 || newcar == 264 || newcar == 26
{
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13){ }
else
{
SendClientMessage(playerid, TEAM_BALLAS_COLOR, " Your are not a Patterno member !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 272 || newcar == 273 || newcar == 274 || newcar == 275 || newcar == 276)
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14){ }
else
{
SendClientMessage(playerid, COLOR_GREY, " Your are not in Tow Car Company !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 277)
{
if(TakingLesson[playerid] == 1){}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not allowed to drive this car !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 237 || newcar == 242 || newcar == 24
{
if(PlayerInfo[playerid][pRank] < 2)
{
SendClientMessage(playerid,COLOR_GREY," You need Rank 2 to Fly this baby !");
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 138 || newcar == 255)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(PlayerInfo[playerid][pRank] >= 4){}
else
{
SendClientMessage(playerid,COLOR_GREY," Your Rank is too Low !");
RemovePlayerFromVehicle(playerid);
}
}
else
{
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 149 || newcar == 150)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
{
if(PlayerInfo[playerid][pRank] >= 2){}
else
{
SendClientMessage(playerid,COLOR_GREY," Your need Rank 2 to drive this car !");
RemovePlayerFromVehicle(playerid);
}
}
else
{
RemovePlayerFromVehicle(playerid);
}
}
if(newcar == 254)
{
if(PlayerInfo[playerid][pLevel] >= 5)
{
SendClientMessage(playerid, COLOR_YELLOW, "Type /rob to rob the Bank.");
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Your need Level 7 to drive this van !");
RemovePlayerFromVehicle(playerid);
}
if(IsACop(playerid))
{
SendClientMessage(playerid, COLOR_GREY, " Cops can't drive this Van !");
RemovePlayerFromVehicle(playerid);
}
}
if(oldcar != 300)
{
if((housecar != oldcar && oldcar != 0) && (HireCar[playerid] != oldcar && newcar != housecar))
{
if(gLastDriver[oldcar] == playerid && oldcar != newcar)
{
gLastDriver[oldcar] = 300;
gCarLock[oldcar] = 0;
UnLockCar(oldcar);
}
}
}
gLastCar[playerid] = newcar;
gLastDriver[newcar] = playerid;
}
if(newstate == PLAYER_STATE_SPAWNED)
{
new Float: lwx, Float:lwy, Float:lwz;
GetPlayerPos(playerid, lwx, lwy, lwz);
if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8
{
SetPlayerSpawn(playerid);
}
if(WantedPoints[playerid] > 0)
{
new dstring[128];
new wanted = WantedPoints[playerid];
new diecash = 0;
while(WantedPoints[playerid] > 0)
{
diecash += 500;
WantedPoints[playerid] --;
}
format(dstring, sizeof(dstring), "You lost $%d for dieing with %d Wanted Points.", diecash, wanted);
SendClientMessage(playerid, COLOR_YELLOW, dstring);
GivePlayerMoney(playerid, - diecash);
PlayerInfo[playerid][pWantedDeaths] += 1;
}
if(PlayerOnMission[playerid] > 0)
{
GameTextForPlayer(playerid, "~r~Mission failed", 5000, 3);
PlayerOnMission[playerid] = 0;
PlayerInfo[playerid][pMissionNr] = 0;
}
WantedPoints[playerid] = 0;
WantedLevel[playerid] = 0;
if(PlayerInfo[playerid][pLevel] > 0) { SetPlayerHealth(playerid, 100.0); }
else { SetPlayerHealth(playerid, 50.0+PlayerInfo[playerid][pSHealth]); }
MedicBill[playerid] = 1;
TelePos[playerid][0] = 0.0;
TelePos[playerid][1] = 0.0;
gPlayerSpawned[playerid] = 1;
SafeTime[playerid] = 60;
}
return 1;
}

P.S: Sorry for 3 replys but 20000 characters is max
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)