12.01.2010, 14:49
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); } } |