Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van. 1741
A Fórum / Ötletek a fórum fejlesztésére« Dátum: 2011. október 25. - 19:22:53 »
van egy jó csomag hogy boxokat tudsz csinálni
https://rapidshare.com/#!download|171tl3|2370261944|CssUzenetBoxok_1.1_UNI.zip|17|RapidPro expired. (34fa3175) 1743
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 25. - 16:56:36 »
[pawn]// This function is required only once to fix houses that were bought and sold again
// If you would sell a house, then restart the server, that house cannot be bought again (= bugged) // The player doesn\'t own the house anymore, but the house still has the player as owner // This function loops through all houses and checks if the owner (if any) still owns the house // If the owner doesn\'t own the house, the house\'s ownership is cleared and the house-file will be re-saved // After the fixing, you should remove the call to this function in OnGameModeInit, compile and restart the server // as this function is only required once stock FixHouses() { // Setup local variables new file[100], File:PFile, Name[24], LineFromFile[100], ParameterName[50], ParameterValue[50]; new bool:PlayerOwnedTheHouse = true, HousesFixed; // Loop through all houses for (new HouseID = 1; HouseID < MAX_HOUSES; HouseID++) { // Check if the house is owned if (AHouseData[HouseID][Owned] == true) { // Get the name of the owner format(Name, 24, AHouseData[HouseID][Owner]); // Construct the complete filename for this player\'s account format(file, sizeof(file), PlayerFile, Name); // Check if the player\'s datafile exists if (fexist(file)) { PFile = fopen(file, io_read); // Open the playerfile for reading fread(PFile, LineFromFile); // Read the first line of the file // Keep reading until the end of the file is found (no more data) while (strlen(LineFromFile) > 0) { StripNewLine(LineFromFile); // Strip any newline characters from the LineFromFile sscanf(LineFromFile, \"s[50]s[50]\", ParameterName, ParameterValue); // Extract parametername and parametervalue // If the parametername is correct (\"House\") if (strcmp(ParameterName, \"House\", false) == 0) { // Check if the player owns this house if (strval(ParameterValue) == HouseID) PlayerOwnedTheHouse = true; // The player really owns the house } // Read the next line of the file fread(PFile, LineFromFile); } // Close the player-file fclose(PFile); // Check if the player doesn\'t own the house if (PlayerOwnedTheHouse == false) { // Clear the ownership from the house AHouseData[HouseID][Owned] = false; AHouseData[HouseID][Owner] = 0; AHouseData[HouseID][HouseName] = 0; AHouseData[HouseID][HouseLevel] = 1; // Update the house-entrance House_UpdateEntrance(HouseID); // Save the house, hereby fixing the ownership-bug HouseFile_Save(HouseID); // Increase the number of houses that have been fixed HousesFixed++; } // Reset the variable that holds if the player owned the house, so the next house/owner can be processed PlayerOwnedTheHouse = false; } } } // All houses have been processed, now print a line to the server\'s console printf(TXT_HousesFixed, HousesFixed); } // Add all static vehicles and pickups when the server starts that are required GameModeInit_VehiclesPickups() { // Setup local variables new LastVehicleMsg[100], LastObjectMsg[100], LastHouseMsg[100], LastBusinessMsg[100], LastCameraMsg[100]; // Add some trucks to all trucking depots GameModeInit_TruckDepots(); // Add busses to all bus-depots GameModeInit_Busses(); // Add busstops to the map GameModeInit_Busstops(); // Add police vehicles to the Police Impounds GameModeInit_Police(); // Add mafia vehicles to the mafia hideoue GameModeInit_Mafia(); // Add planes and helicopters to the airports GameModeInit_Airports(); // Add towtrucks for assistance class GameModeInit_Assistance(); // Add burrito\'s and Faggio\'s for courier class GameModeInit_Courier(); // Add dozers for roadworker class GameModeInit_RoadWorker(); // Add some special pickups GameModeInit_PickupsIcons(); // Add all objects required for toll-gates GameModeInit_Toll(); // Load all houses and create pickups and 3dTexts for them Housing_LoadAll(); // Load all speedcameras Camera_LoadAll(); // Load all businesses and start the business timer (runs every hour) Business_LoadAll(); SetTimer(\"Business_TransactionTimer\", 1000 * 60 * 60, true); // Load the current intrest time and start the intrest timer (runs every hour) IntrestTime_Load(); SetTimer(\"Bank_IntrestTimer\", 1000 * 60 * 60, true); // Print the LastVehicleID to the server\'s console format(LastVehicleMsg, 100, TXT_LastVehicleID, LastVehicleID); format(LastObjectMsg, 100, TXT_LastObjectID, LastObjectID); format(LastHouseMsg, 100, TXT_TotalHouses, TotalHouses); format(LastBusinessMsg, 100, TXT_TotalBusiness, TotalBusiness); format(LastCameraMsg, 100, TXT_TotalSpeedCameras, TotalCameras); print(TXT_DebugInfo); print(\"-------------------------------------\"); print(LastVehicleMsg); print(LastObjectMsg); print(LastHouseMsg); print(LastBusinessMsg); print(LastCameraMsg); print(\"-------------------------------------\"); } // Add trucks and trailers to the truck-stops GameModeInit_TruckDepots() { // Add trailers, trucks , Flatbeds and \"DFT-30\" to Fallen Tree Depot (Class 0) LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -475.0, -523.0, 26.0, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -475.0, -518.0, 26.0, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -475.0, -513.0, 26.0, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -475.0, -508.0, 26.0, 90.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -475.0, -503.0, 26.0, 90.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -475.0, -498.0, 26.0, 90.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -475.0, -493.0, 26.0, 90.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -475.0, -488.0, 26.0, 90.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -475.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -480.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -485.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -490.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -495.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -500.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -505.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -510.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -515.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -520.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -525.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -530.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -535.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -540.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -545.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -550.0, -475.0, 26.0, 180.0, random(126), random(126), 600); // Flatbed // Add \"Flatbed\" and \"DFT-30\" trucks to Flint Trucking Depot (Class 1) LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -77.0, -1109.0, 1.25, 160.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -72.0, -1112.0, 1.25, 160.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -67.0, -1114.0, 1.25, 160.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -30.0, -1128.0, 1.25, 160.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -41.0, -1152.0, 1.25, 335.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -46.0, -1150.0, 1.25, 335.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -51.0, -1148.0, 1.25, 335.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -56.0, -1146.0, 1.25, 335.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -61.0, -1144.0, 1.25, 335.0, random(126), random(126), 600); // Flatbed // Add trailers, trucks , Flatbeds and \"DFT-30\" to LVA Freight Depot (Class 2) LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 1467.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 1472.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 1445.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 1440.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 1435.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 1430.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 1420.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 1415.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 1410.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 1405.0, 975.0, 11.0, 0.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 1490.0, 1015.0, 11.0, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 1490.0, 1020.0, 11.0, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 1490.0, 1025.0, 11.0, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, 1490.0, 1030.0, 11.0, 90.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, 1490.0, 1035.0, 11.0, 90.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 1490.0, 1040.0, 11.0, 90.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 1490.0, 1045.0, 11.0, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 1490.0, 1050.0, 11.0, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 1490.0, 1055.0, 11.0, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, 1490.0, 1060.0, 11.0, 90.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, 1490.0, 1065.0, 11.0, 90.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 1490.0, 1070.0, 11.0, 90.0, random(126), random(126), 600); // Roadtrain // Add trailers, trucks , Flatbeds and \"DFT-30\" to Doherty Depot (Class 3) LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -2105.0, -200.0, 35.5, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -2105.0, -205.0, 35.5, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -2105.0, -210.0, 35.5, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -2105.0, -215.0, 35.5, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -2105.0, -220.0, 35.5, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -2105.0, -225.0, 35.5, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -2105.0, -230.0, 35.5, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -2105.0, -235.0, 35.5, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -2105.0, -240.0, 35.5, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -2105.0, -245.0, 35.5, 90.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -2105.0, -250.0, 35.5, 90.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -2105.0, -255.0, 35.5, 90.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -2105.0, -260.0, 35.5, 90.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -2105.0, -265.0, 35.5, 90.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -2105.0, -270.0, 35.5, 90.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -2144.0, -186.0, 35.5, 270.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -2144.0, -191.0, 35.5, 270.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -2144.0, -196.0, 35.5, 270.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -2144.0, -201.0, 35.5, 270.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -2144.0, -206.0, 35.5, 270.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -2144.0, -211.0, 35.5, 270.0, random(126), random(126), 600); // Roadtrain // Add trailers, trucks , Flatbeds and \"DFT-30\" to El Corona Depot (Class 4) LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 1805.0, -2025.0, 14.0, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 1805.0, -2030.0, 14.0, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 1805.0, -2035.0, 14.0, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 1805.0, -2040.0, 14.0, 90.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 1805.0, -2045.0, 14.0, 90.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 1805.0, -2050.0, 14.0, 90.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 1745.0, -2070.0, 14.0, 0.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 1750.0, -2070.0, 14.0, 0.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 1755.0, -2070.0, 14.0, 0.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 1760.0, -2070.0, 14.0, 0.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, 1765.0, -2070.0, 14.0, 0.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, 1770.0, -2070.0, 14.0, 0.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 1775.0, -2070.0, 14.0, 0.0, random(126), random(126), 600); // Roadtrain // Add trailers, trucks , Flatbeds and \"DFT-30\" to Las Payasdas Depot (Class 5) LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -535.0, 2635.0, 54.0, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -535.0, 2630.0, 54.0, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -535.0, 2625.0, 54.0, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -535.0, 2620.0, 54.0, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -535.0, 2615.0, 54.0, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -535.0, 2610.0, 54.0, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -535.0, 2605.0, 54.0, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -535.0, 2600.0, 54.0, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -535.0, 2595.0, 54.0, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -535.0, 2590.0, 54.0, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -535.0, 2585.0, 54.0, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -535.0, 2580.0, 54.0, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -535.0, 2575.0, 54.0, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -535.0, 2570.0, 54.0, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -535.0, 2565.0, 54.0, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -535.0, 2560.0, 54.0, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -535.0, 2555.0, 54.0, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -535.0, 2550.0, 54.0, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -512.0, 2635.0, 54.0, 90.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -512.0, 2630.0, 54.0, 90.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -512.0, 2625.0, 54.0, 90.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -512.0, 2620.0, 54.0, 90.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -512.0, 2615.0, 54.0, 90.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -512.0, 2610.0, 54.0, 90.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -512.0, 2605.0, 54.0, 90.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -512.0, 2600.0, 54.0, 90.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleDFT30, -512.0, 2585.0, 54.0, 90.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, -512.0, 2580.0, 54.0, 90.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -512.0, 2575.0, 54.0, 90.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -512.0, 2570.0, 54.0, 90.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -512.0, 2565.0, 54.0, 90.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -512.0, 2560.0, 54.0, 90.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -512.0, 2555.0, 54.0, 90.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -512.0, 2550.0, 54.0, 90.0, random(126), random(126), 600); // Roadtrain // Add cement-trucks at Quarry Top (Class 6) LastVehicleID = Vehicle_AddStatic(VehicleCementTruck, 340.0, 850.0, 21.0, 0, random(126), random(126), 600); // Cement truck LastVehicleID = Vehicle_AddStatic(VehicleCementTruck, 335.0, 860.0, 21.0, 0, random(126), random(126), 600); // Cement truck LastVehicleID = Vehicle_AddStatic(VehicleCementTruck, 330.0, 870.0, 21.0, 0, random(126), random(126), 600); // Cement truck LastVehicleID = Vehicle_AddStatic(VehicleCementTruck, 325.0, 880.0, 21.0, 0, random(126), random(126), 600); // Cement truck LastVehicleID = Vehicle_AddStatic(VehicleCementTruck, 320.0, 890.0, 21.0, 0, random(126), random(126), 600); // Cement truck // Add trailers and trucks to Shady Creek Depot (Class 7) LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -1545.0, -2737.00, 49.0, 145.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -1540.9, -2739.87, 49.0, 145.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -1536.8, -2742.74, 49.0, 145.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, -1532.7, -2745.61, 49.0, 145.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, -1528.6, -2748.48, 49.0, 145.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, -1524.5, -2751.35, 49.0, 145.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -1557.75, -2744.80, 49.0, 145.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -1561.85, -2741.93, 49.0, 145.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -1565.95, -2739.06, 49.0, 145.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleLineRunner, -1570.05, -2736.19, 49.0, 145.0, random(126), random(126), 600); // LineRunner LastVehicleID = Vehicle_AddStatic(VehicleTanker, -1574.15, -2733.32, 49.0, 145.0, random(126), random(126), 600); // Tanker LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, -1578.25, -2730.45, 49.0, 145.0, random(126), random(126), 600); // Roadtrain // Add Trailers K.A.C.C-hez LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 2649.94, 2608.76, 11.97, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 2642.96, 2608.59, 11.97, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 2628.77, 2608.99, 11.97, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 2635.94, 2608.71, 11.97, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 2622.07, 2608.97, 11.97, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 2615.25, 2609.18, 11.97, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 2608.40, 2608.89, 11.97, 180.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2698.53, 2609.59, 11.97, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2692.13, 2609.51, 11.97, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2685.39, 2609.22, 11.97, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2678.55, 2609.29, 11.97, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2671.22, 2608.96, 11.97, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2664.25, 2608.84, 11.97, 180.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2656.71, 2608.54, 11.97, 180.0, random(126), random(126), 600); // Roadtrain // Add kocsik LV sziget LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 4390.43, 633.57, 59.00, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 4390.50, 627.28, 59.00, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 4390.57, 620.70, 59.00, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 4390.27, 614.35, 59.00, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerFluids, 4390.40, 608.15, 59.00, 270.0, random(126), random(126), 600); // Liquids trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 4390.26, 598.85, 59.00, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 4390.32, 591.08, 59.00, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 4389.62, 562.81, 59.00, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 4389.61, 556.71, 59.00, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerOre, 4389.75, 550.84, 59.00, 270.0, random(126), random(126), 600); // Ore trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 4389.76, 542.51, 59.00, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 4389.82, 537.48, 59.00, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 4389.79, 532.25, 59.00, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 4390.02, 527.39, 59.00, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleTrailerCargo, 4390.22, 521.58, 59.00, 270.0, random(126), random(126), 600); // Cargo trailer LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 4442.03, 634.97, 58.00, 88.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 4441.79, 628.79, 58.00, 88.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 4441.54, 623.00, 58.00, 88.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 4442.15, 616.42, 58.00, 88.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 4442.43, 609.58, 58.00, 88.0, random(126), random(126), 600); // Roadtrain LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 4441.61, 588.80, 58.0, 88.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 4441.69, 582.39, 58.0, 88.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 4441.84, 575.42, 58.0, 88.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 4442.61, 568.75, 58.0, 88.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleDFT30, 4443.03, 562.10, 58.0, 88.0, random(126), random(126), 600); // DFT-30 LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 4443.01, 550.25, 58.0, 88.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 4443.02, 544.12, 58.0, 88.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 4442.76, 537.65, 58.0, 88.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 4442.57, 531.50, 58.0, 88.0, random(126), random(126), 600); // Flatbed LastVehicleID = Vehicle_AddStatic(VehicleFlatbed, 4442.85, 524.97, 58.0, 88.0, random(126), random(126), 600); // Flatbed //Dumperes depó (bányába) LastVehicleID = Vehicle_AddStatic(VehicleDumper, 393.59, 905.34, 21.28, 42.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 396.16, 921.01, 23.28, 42.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 402.51, 936.23, 26.00, 42.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 408.34, 949.09, 29.00, 42.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 413.94, 959.14, 30.00, 42.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 410.96, 971.56, 31.00, 42.0, random(126), random(126), 600); // dumper //Benson,Yankee,Dumper,Boxville1,Boxville2,Trashmaster depó LastVehicleID = Vehicle_AddStatic(VehicleDumper, 2976.62, -2430.06, 10.50, 180.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 2966.91, -2430.20, 10.50, 180.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 2956.64, -2430.05, 10.50, 180.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 2944.99, -2430.76, 10.50, 180.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleDumper, 2933.09, -2431.90, 10.50, 180.0, random(126), random(126), 600); // dumper LastVehicleID = Vehicle_AddStatic(VehicleYankee, 2922.39, -2428.23, 9.50, 180.0, random(126), random(126), 600); // Yankee LastVehicleID = Vehicle_AddStatic(VehicleYankee, 2916.11, -2428.78, 9.50, 180.0, random(126), random(126), 600); // Yankee LastVehicleID = Vehicle_AddStatic(VehicleYankee, 2909.48, -2428.67, 9.50, 180.0, random(126), random(126), 600); // Yankee LastVehicleID = Vehicle_AddStatic(VehicleYankee, 2903.02, -2428.94, 9.50, 180.0, random(126), random(126), 600); // Yankee LastVehicleID = Vehicle_AddStatic(VehicleYankee, 2897.48, -2428.97, 9.50, 180.0, random(126), random(126), 600); // Yankee LastVehicleID = Vehicle_AddStatic(VehicleBenson, 2891.50, -2427.06, 9.10, 180.0, random(126), random(126), 600); // Benson LastVehicleID = Vehicle_AddStatic(VehicleBenson, 2886.24, -2427.30, 9.10, 180.0, random(126), random(126), 600); // Benson LastVehicleID = Vehicle_AddStatic(VehicleBenson, 2880.70, -2427.35, 9.10, 180.0, random(126), random(126), 600); // Benson LastVehicleID = Vehicle_AddStatic(VehicleBenson, 2859.80, -2486.42, 9.10, 360.0, random(126), random(126), 600); // Benson LastVehicleID = Vehicle_AddStatic(VehicleBenson, 2864.85, -2486.26, 9.10, 360.0, random(126), random(126), 600); // Benson LastVehicleID = Vehicle_AddStatic(VehicleBoxville, 2870.12, -2486.89, 9.10, 360.0, random(126), random(126), 600); // Boxville LastVehicleID = Vehicle_AddStatic(VehicleBoxville, 2874.97, -2486.89, 9.10, 360.0, random(126), random(126), 600); // Boxville LastVehicleID = Vehicle_AddStatic(VehicleBoxville, 2880.44, -2486.81, 9.10, 360.0, random(126), random(126), 600); // Boxville LastVehicleID = Vehicle_AddStatic(VehicleBoxville, 2885.52, -2486.82, 9.10, 360.0, random(126), random(126), 600); // Boxville LastVehicleID = Vehicle_AddStatic(VehicleBoxville, 2890.79, -2486.94, 9.10, 360.0, random(126), random(126), 600); // Boxville LastVehicleID = Vehicle_AddStatic(VehicleBoxville, 2895.96, -2486.98, 9.10, 360.0, random(126), random(126), 600); // Boxville LastVehicleID = Vehicle_AddStatic(VehicleTrashmaster, 2904.27, -2486.17, 9.60, 360.0, random(126), random(126), 600); // Kukáskocsi LastVehicleID = Vehicle_AddStatic(VehicleTrashmaster, 2911.23, -2486.22, 9.60, 360.0, random(126), random(126), 600); // Kukáskocsi LastVehicleID = Vehicle_AddStatic(VehicleTrashmaster, 2918.38, -2486.43, 9.60, 360.0, random(126), random(126), 600); // Kukáskocsi LastVehicleID = Vehicle_AddStatic(VehicleTrashmaster, 2925.45, -2486.16, 9.60, 360.0, random(126), random(126), 600); // Kukáskocsi LastVehicleID = Vehicle_AddStatic(VehicleTrashmaster, 2932.92, -2486.47, 9.60, 360.0, random(126), random(126), 600); // Kukáskocsi } // Add busses to the bus-depots GameModeInit_Busses() { // Add all required busses to the busdepot in Los Santos LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1782.0, -1888.0, 13.6, 270.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1782.0, -1893.0, 13.6, 270.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1782.0, -1898.0, 13.6, 270.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1782.0, -1903.0, 13.6, 270.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1782.0, -1908.0, 13.6, 270.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1782.0, -1913.0, 13.6, 270.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1782.0, -1918.0, 13.6, 270.0, random(126), random(126), 600); // Coach // Add all required busses to the busdepot in San Fierro LastVehicleID = Vehicle_AddStatic(VehicleCoach, -1974.0, 105.0, 27.9, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, -1974.0, 100.0, 27.9, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, -1974.0, 95.0, 27.9, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, -1974.0, 90.0, 27.9, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, -1974.0, 85.0, 27.9, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, -1974.0, 80.0, 27.9, 90.0, random(126), random(126), 600); // Coach // Add all required busses to the busdepot in Las Venturas LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1230.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1235.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1240.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1245.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1250.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1255.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1260.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1265.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1270.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1275.0, 11.0, 90.0, random(126), random(126), 600); // Coach LastVehicleID = Vehicle_AddStatic(VehicleCoach, 1085.0, 1280.0, 11.0, 90.0, random(126), random(126), 600); // Coach } // Add busstops to the map GameModeInit_Busstops() { LastObjectID = CreateDynamicObject(1257, -2571.25, 2316.0, 5.2, 0.0, 0.0, 180.0); LastObjectID = CreateDynamicObject(1257, -2333.25, 2371.5, 6.0, 0.0, 0.0, 320.0); LastObjectID = CreateDynamicObject(1257, -1467.0, 2679.0, 56.0, 0.0, 0.0, 90.0); LastObjectID = CreateDynamicObject(1257, -1528.5, 2543.0, 56.0, 0.0, 0.0, 270.0); LastObjectID = CreateDynamicObject(1257, -800.5, 1562.0, 27.4, 0.0, 0.0, 0.0); LastObjectID = CreateDynamicObject(1257, -853.5, 1529.5, 22.4, 0.0, 0.0, 180.0); LastObjectID = CreateDynamicObject(1257, -269.0, 2620.5, 63.2, 0.0, 0.0, 270.0); LastObjectID = CreateDynamicObject(1257, -45.5, 1206.5, 19.6, 0.0, 0.0, 90.0); LastObjectID = CreateDynamicObject(1257, -100.5, 1190.75, 20.0, 0.0, 0.0, 270.0); LastObjectID = CreateDynamicObject(1257, -249.5, 1010.75, 20.0, 0.0, 0.0, 270.0); LastObjectID = CreateDynamicObject(1257, -2172.5, -2309.5, 30.9, 0.0, 0.0, 230.0); LastObjectID = CreateDynamicObject(1257, -2094.25, -2503.0, 30.9, 0.0, 0.0, 322.0); LastObjectID = CreateDynamicObject(1257, 2263.75, -35.75, 26.7, 0.0, 0.0, 270.0); LastObjectID = CreateDynamicObject(1257, 2456.25, 1.0, 26.5, 0.0, 0.0, 180.0); LastObjectID = CreateDynamicObject(1257, 1290.25, 333.5, 19.8, 0.0, 0.0, 65.0); LastObjectID = CreateDynamicObject(1257, 1284.75, 319.5, 19.8, 0.0, 0.0, 245.0); LastObjectID = CreateDynamicObject(1257, 736.0, -522.5, 16.6, 0.0, 0.0, 90.0); LastObjectID = CreateDynamicObject(1257, 736.0, -537.75, 16.6, 0.0, 0.0, 270.0); // LastObjectID = CreateObject(1257, 0000, 0000, 000, 0.0, 0.0, 000.0); } // Add police vehicles to the Police Impounds GameModeInit_Police() { // Add vehicles to the Los Santos Police Impound LastVehicleID = Vehicle_AddStatic(VehiclePoliceLSPD, 1555.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police Car LSPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, 1560.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, 1565.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police Ranger LastVehicleID = Vehicle_AddStatic(VehiclePoliceLSPD, 1570.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police Car LSPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, 1575.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, 1580.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police Ranger LastVehicleID = Vehicle_AddStatic(VehiclePoliceLSPD, 1585.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police Car LSPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, 1590.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, 1595.0, -1710.75, 6.0, 0, random(126), random(126), 600); // Police Ranger // Add vehicles to the San Fierro Police Impound LastVehicleID = Vehicle_AddStatic(VehiclePoliceSFPD, -1573.0, 701.0, -5.0, 90, random(126), random(126), 600); // Police Car SFPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, -1573.0, 706.0, -5.0, 90, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, -1573.0, 711.0, -5.0, 90, random(126), random(126), 600); // Police Ranger LastVehicleID = Vehicle_AddStatic(VehiclePoliceSFPD, -1573.0, 716.0, -5.0, 90, random(126), random(126), 600); // Police Car SFPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, -1573.0, 721.0, -5.0, 90, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, -1573.0, 726.0, -5.0, 90, random(126), random(126), 600); // Police Ranger LastVehicleID = Vehicle_AddStatic(VehiclePoliceSFPD, -1573.0, 731.0, -5.0, 90, random(126), random(126), 600); // Police Car SFPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, -1573.0, 736.0, -5.0, 90, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, -1573.0, 741.0, -5.0, 90, random(126), random(126), 600); // Police Ranger // Add vehicles to the Las Venturas Police Impound LastVehicleID = Vehicle_AddStatic(VehiclePoliceLVPD, 2282.0, 2477.0, 11.0, 180, random(126), random(126), 600); // Police Car LVPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, 2277.0, 2477.0, 11.0, 180, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, 2272.0, 2477.0, 11.0, 180, random(126), random(126), 600); // Police Ranger LastVehicleID = Vehicle_AddStatic(VehiclePoliceLVPD, 2262.0, 2477.0, 11.0, 180, random(126), random(126), 600); // Police Car LVPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, 2257.0, 2477.0, 11.0, 180, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, 2252.0, 2477.0, 11.0, 180, random(126), random(126), 600); // Police Ranger LastVehicleID = Vehicle_AddStatic(VehiclePoliceLVPD, 2282.0, 2443.0, 11.0, 0, random(126), random(126), 600); // Police Car LVPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, 2277.0, 2443.0, 11.0, 0, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, 2272.0, 2443.0, 11.0, 0, random(126), random(126), 600); // Police Ranger LastVehicleID = Vehicle_AddStatic(VehiclePoliceLVPD, 2262.0, 2443.0, 11.0, 0, random(126), random(126), 600); // Police Car LVPD LastVehicleID = Vehicle_AddStatic(VehicleHPV1000, 2257.0, 2443.0, 11.0, 0, random(126), random(126), 600); // Police MotorCycle LastVehicleID = Vehicle_AddStatic(VehiclePoliceRanger, 2252.0, 2443.0, 11.0, 0, random(126), random(126), 600); // Police Ranger } // Add mafia-vehicles to the mafia-hideout GameModeInit_Mafia() { LastVehicleID = Vehicle_AddStatic(VehicleSandKing, 2811.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Sandking LastVehicleID = Vehicle_AddStatic(VehicleSandKing, 2806.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Sandking LastVehicleID = Vehicle_AddStatic(VehicleSandKing, 2801.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Sandking LastVehicleID = Vehicle_AddStatic(VehicleSandKing, 2796.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Sandking LastVehicleID = Vehicle_AddStatic(VehicleMoonbeam, 2833.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Moonbeam LastVehicleID = Vehicle_AddStatic(VehicleMoonbeam, 2838.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Moonbeam LastVehicleID = Vehicle_AddStatic(VehicleMoonbeam, 2843.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Moonbeam LastVehicleID = Vehicle_AddStatic(VehicleMoonbeam, 2848.0, 900.0, 10.8, 0.0, 0, 0, 600); // Mafia Moonbeam LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2802, 966.0, 10.8, 180.0, 0, 0, 600); // Mafia RoadTrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2807, 966.0, 10.8, 180.0, 0, 0, 600); // Mafia RoadTrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2812, 966.0, 10.8, 180.0, 0, 0, 600); // Mafia RoadTrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2817, 966.0, 10.8, 180.0, 0, 0, 600); // Mafia RoadTrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2822, 966.0, 10.8, 180.0, 0, 0, 600); // Mafia RoadTrain LastVehicleID = Vehicle_AddStatic(VehicleRoadTrain, 2827, 966.0, 10.8, 180.0, 0, 0, 600); // Mafia RoadTrain //Landstalker depó LastVehicleID = Vehicle_AddStatic(VehicleLandstalker, 2784.09, 925.37, 10.84, 270.0, 0, 0, 600); // Landstalker LastVehicleID = Vehicle_AddStatic(VehicleLandstalker, 2784.13, 931.62, 10.84, 270.0, 0, 0, 600); // Landstalker LastVehicleID = Vehicle_AddStatic(VehicleLandstalker, 2784.29, 936.48, 10.84, 270.0, 0, 0, 600); // Landstalker LastVehicleID = Vehicle_AddStatic(VehicleLandstalker, 2784.12, 941.97, 10.84, 270.0, 0, 0, 600); // Landstalker } // Add planes and helicopters to the airports GameModeInit_Airports() { // Add planes and helicopters to Los Santos airport LastVehicleID = Vehicle_AddStatic(VehicleShamal, 1990.0, -2295.0, 14.5, 90.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, 1990.0, -2320.0, 14.5, 90.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, 1990.0, -2345.0, 14.5, 90.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, 1990.0, -2370.0, 14.5, 90.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleNevada, 1920.0, -2265.0, 14.5, 180.0, random(126), random(126), 300); // Plane: Nevada LastVehicleID = Vehicle_AddStatic(VehicleNevada, 1890.0, -2295.0, 14.5, 270.0, random(126), random(126), 300); // Plane: Nevada LastVehicleID = Vehicle_AddStatic(VehicleMaverick, 1940.0, -2265.0, 13.6, 180.0, random(126), random(126), 300); // Helicopter: Maverick LastVehicleID = Vehicle_AddStatic(VehicleMaverick, 1955.0, -2265.0, 13.6, 180.0, random(126), random(126), 300); // Helicopter: Maverick LastVehicleID = Vehicle_AddStatic(VehicleMaverick, 1970.0, -2265.0, 13.6, 180.0, random(126), random(126), 300); // Helicopter: Maverick LastVehicleID = Vehicle_AddStatic(VehicleMaverick, 1985.0, -2265.0, 13.6, 180.0, random(126), random(126), 300); // Helicopter: Maverick // Add planes and helicopters to San Fierro airport LastVehicleID = Vehicle_AddStatic(VehicleShamal, -1197.0, -153.0, 15.1, 135.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, -1214.0, -137.5, 15.1, 135.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, -1230.0, -120.0, 15.1, 135.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, -1246.0, -103.5, 15.1, 135.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleNevada, -1287.0, -52.0, 15.1, 135.0, random(126), random(126), 300); // Plane: Nevada LastVehicleID = Vehicle_AddStatic(VehicleNevada, -1312.0, -27.0, 15.1, 135.0, random(126), random(126), 300); // Plane: Nevada LastVehicleID = Vehicle_AddStatic(VehicleMaverick, -1262.0, -88.5, 14.2, 135.0, random(126), random(126), 300); // Helicopter: Maverick LastVehicleID = Vehicle_AddStatic(VehicleMaverick, -1277.0, -74.5, 14.2, 90.0, random(126), random(126), 300); // Helicopter: Maverick LastVehicleID = Vehicle_AddStatic(VehicleMaverick, -1264.0, -61.5, 14.2, 45.0, random(126), random(126), 300); // Helicopter: Maverick // Add planes and helicopters to Las Venturas airport LastVehicleID = Vehicle_AddStatic(VehicleShamal, 1615.0, 1630.0, 11.8, 180.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, 1590.0, 1630.0, 11.8, 180.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleShamal, 1565.0, 1630.0, 11.8, 180.0, random(126), random(126), 300); // Plane: Shamal LastVehicleID = Vehicle_AddStatic(VehicleNevada, 1545.0, 1640.0, 11.8, 90.0, random(126), random(126), 300); // Plane: Nevada LastVehicleID = Vehicle_AddStatic(VehicleNevada, 1545.0, 1675.0, 11.8, 90.0, random(126), random(126), 300); // Plane: Nevada LastVehicleID = Vehicle_AddStatic(VehicleNevada, 1545.0, 1710.0, 11.8, 90.0, random(126), random(126), 300); // Plane: Nevada LastVehicleID = Vehicle_AddStatic(VehicleMaverick, 1650.0, 1557, 10.9, 90.0, random(126), random(126), 300); // Helicopter: Maverick LastVehicleID = Vehicle_AddStatic(VehicleMaverick, 1650.0, 1542, 10.9, 90.0, random(126), random(126), 300); // Helicopter: Maverick LastVehicleID = Vehicle_AddStatic(VehicleMaverick, 1635.0, 1534, 10.9, 0.0, random(126), random(126), 300); // Helicopter: Maverick } // This function adds towtrucks used for the assistance class GameModeInit_Assistance() { LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, 34.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, 29.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, 24.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, 19.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, 14.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, 9.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, 4.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, 220.0, -1.0, 2.6, 270.0, random(126), random(126), 300); // Towtruck } // This function adds all vehicles needed for courier class GameModeInit_Courier() { // Los Santos LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 784.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 794.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 804.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 814.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 824.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehiclePizza, 789.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, 799.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, 809.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, 819.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, 829.0, -610.0, 16.4, 0.0, random(126), random(126), 300); // Faggio // San Fierro LastVehicleID = Vehicle_AddStatic(VehicleBurrito, -1851.0, -142.5, 12.0, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, -1856.0, -142.5, 12.0, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, -1861.0, -142.5, 12.0, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, -1866.0, -142.5, 12.0, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, -1871.0, -142.5, 12.0, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehiclePizza, -1851.0, -129.5, 12.0, 180.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, -1856.0, -129.5, 12.0, 180.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, -1861.0, -129.5, 12.0, 180.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, -1866.0, -129.5, 12.0, 180.0, random(126), random(126), 300); // Faggio // Las Venturas LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 1052.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 1062.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 1072.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 1082.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehicleBurrito, 1092.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Burrito LastVehicleID = Vehicle_AddStatic(VehiclePizza, 1057.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, 1067.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, 1077.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Faggio LastVehicleID = Vehicle_AddStatic(VehiclePizza, 1087.5, 1915.25, 10.9, 0.0, random(126), random(126), 300); // Faggio //Rumpo és Pony chilliad LastVehicleID = Vehicle_AddStatic(VehiclePony, -2189.69, -2124.92, 50.68, 200.0, random(126), random(126), 300); // Pony LastVehicleID = Vehicle_AddStatic(VehiclePony, -2193.51, -2128.63, 49.88, 200.0, random(126), random(126), 300); // Pony LastVehicleID = Vehicle_AddStatic(VehiclePony, -2197.92, -2132.37, 48.93, 200.0, random(126), random(126), 300); // Pony LastVehicleID = Vehicle_AddStatic(VehiclePony, -2202.39, -2136.35, 47.97, 200.0, random(126), random(126), 300); // Pony LastVehicleID = Vehicle_AddStatic(VehicleRumpo, -2208.09, -2140.55, 46.84, 200.0, random(126), random(126), 300); // Rumpo LastVehicleID = Vehicle_AddStatic(VehicleRumpo, -2212.21, -2143.99, 45.97, 200.0, random(126), random(126), 300); // Rumpo LastVehicleID = Vehicle_AddStatic(VehicleRumpo, -2216.02, -2147.33, 45.12, 200.0, random(126), random(126), 300); // Rumpo LastVehicleID = Vehicle_AddStatic(VehicleRumpo, -2220.49, -2151.11, 44.09, 200.0, random(126), random(126), 300); // Rumpo } // This function adds all vehicles needed for roadworker class GameModeInit_RoadWorker() { // Quarry top LastVehicleID = Vehicle_AddStatic(VehicleUtilityVan, -1895.0, -1705.0, 21.5, 180.0, random(126), random(126), 300); // Utility Van LastVehicleID = Vehicle_AddStatic(VehicleUtilityVan, -1900.0, -1705.0, 21.5, 180.0, random(126), random(126), 300); // Utility Van LastVehicleID = Vehicle_AddStatic(VehicleUtilityVan, -1905.0, -1705.0, 21.5, 180.0, random(126), random(126), 300); // Utility Van LastVehicleID = Vehicle_AddStatic(VehicleUtilityVan, -1910.0, -1705.0, 21.5, 180.0, random(126), random(126), 300); // Utility Van LastVehicleID = Vehicle_AddStatic(VehicleUtilityVan, -1915.0, -1705.0, 21.5, 180.0, random(126), random(126), 300); // Utility Van LastVehicleID = Vehicle_AddStatic(VehicleUtilityVan, -1920.0, -1705.0, 21.5, 180.0, random(126), random(126), 300); // Utility Van LastVehicleID = Vehicle_AddStatic(VehicleUtilityTrailer, -1895.0, -1700.0, 21.5, 180.0, random(126), random(126), 300); // Utility Trailer LastVehicleID = Vehicle_AddStatic(VehicleUtilityTrailer, -1900.0, -1700.0, 21.5, 180.0, random(126), random(126), 300); // Utility Trailer LastVehicleID = Vehicle_AddStatic(VehicleUtilityTrailer, -1905.0, -1700.0, 21.5, 180.0, random(126), random(126), 300); // Utility Trailer LastVehicleID = Vehicle_AddStatic(VehicleUtilityTrailer, -1910.0, -1700.0, 21.5, 180.0, random(126), random(126), 300); // Utility Trailer LastVehicleID = Vehicle_AddStatic(VehicleUtilityTrailer, -1915.0, -1700.0, 21.5, 180.0, random(126), random(126), 300); // Utility Trailer LastVehicleID = Vehicle_AddStatic(VehicleUtilityTrailer, -1920.0, -1700.0, 21.5, 180.0, random(126), random(126), 300); // Utility Trailer LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, -1866.5, -1731.75, 21.7, 30.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, -1870.5, -1734.25, 21.7, 30.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, -1874.5, -1736.75, 21.7, 30.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, -1878.5, -1739.25, 21.7, 30.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, -1882.5, -1741.75, 21.7, 30.0, random(126), random(126), 300); // Towtruck LastVehicleID = Vehicle_AddStatic(VehicleTowTruck, -1886.5, -1744.25, 21.7, 30.0, random(126), random(126), 300); // Towtruck } // Add some special pickups to the map GameModeInit_PickupsIcons() { // Add a pickup so the player can get a trucker/busdriver license and position a 3DTextLabel above it Pickup_License = CreatePickup(1274, 2, -2033.0, -100.0, 35.2, 0); Create3DTextLabel(TXT_PickupText, 0x008080FF, -2033.0, -100.0, 36.0, 30.0, 0); // Add all refuel-pickups to the world (including their icon) AddRefuelPickup(-1471.5, 1863.75, 32.7), AddRefuelPickup(-1326.5, 2677.5, 50.1), AddRefuelPickup(611.5, 1694.5, 7.0), AddRefuelPickup(-2249.25, -2559.0, 32.0), AddRefuelPickup(-2249.25, -2559.0, 32.0), AddRefuelPickup(-1606.5, -2714.0, 48.6), AddRefuelPickup(-93.5, -1175.0, 2.3), AddRefuelPickup(1377.5, 457.0, 19.9), AddRefuelPickup(651.5, -565.5, 16.4), AddRefuelPickup(-1675.75, 412.75, 7.2), AddRefuelPickup(-2405.50, 976.25, 45.3), AddRefuelPickup(-2023.25, 156.75, 28.9), AddRefuelPickup(-1131.75, -204.25, 14.2), AddRefuelPickup(66.50, 1220.50, 18.9), AddRefuelPickup(350.50, 2537.50, 16., AddRefuelPickup(2147.00, 2747.75, 10.9), AddRefuelPickup(2639.75, 1106.00, 10.9), AddRefuelPickup(2115.00, 920.00, 10.9), AddRefuelPickup(2202.00, 2475.00, 10.9), AddRefuelPickup(1596.50, 2199.75, 10.9), AddRefuelPickup(1584.25, 1448.25, 10.9), AddRefuelPickup(1004.25, -940.50, 42.2), AddRefuelPickup(1935.00, -1772.75, 13.4), AddRefuelPickup(1024.22, -337.90, 73.50), AddRefuelPickup(2901.41, -959.89, 11.50), AddRefuelPickup(278.98, 3291.02, 1.15), AddRefuelPickup(3602.75, -1560.55, 34.00), AddRefuelPickup(3597.71, -1588.08, 34.00), AddRefuelPickup(4024.23, -488.02, 2.20), AddRefuelPickup(3120.35, -2003.70, 8.50), AddRefuelPickup(-1046.95, -1105.98, 129.22), AddRefuelPickup(-677.93, -4144.00, 49.60), AddRefuelPickup(2679.03, -3573.72, 32.83), AddRefuelPickup(2630.23, -3577.46, 32.83), AddRefuelPickup(2748.20, -2821.33, 13.55), AddRefuelPickup(283.53, 455.84, 3.08), AddRefuelPickup(2665.9021, 3630.7747, 35.2576), AddRefuelPickup(848.1012, 597.7538, 11.2217), AddRefuelPickup(74.0395,-2294.5222,4.4899), AddRefuelPickup(1431.73, -3992.23, 82.23); AddRefuelPickup(980.62, 1308.97, 10.81); AddRefuelPickup(992.22, 1309.55, 10.82); AddRefuelPickup(986.58, 1309.75, 10.82); AddRefuelPickup(-3.6527786254883, 1998.8874511719, 17.109668731689), // Add all pickups for the cardealers (including their icon) AddCarDealerPickup(-1972.5, 288.5, 35.2); // Wang cars in Doherty (San Fierro) AddCarDealerPickup(3800.62, -2098.47, 10.00); //LVsziget // Add some icons to the map (modding garages), they will only appear when the player discovers them CreateDynamicMapIcon(1039, -1032, 32, 27, 0, 0, 0, -1, 150.0); // Transfender, Los Santos CreateDynamicMapIcon(-1936, 235, 34, 27, 0, 0, 0, -1, 150.0); // Transfender, San Fierro CreateDynamicMapIcon(2385, 1034, 11, 27, 0, 0, 0, -1, 150.0); // Transfender, Las Venturas CreateDynamicMapIcon(2646, -2025, 14, 27, 0, 0, 0, -1, 150.0); // Loco Low Co, Los Santos CreateDynamicMapIcon(-2712, 218, 4, 27, 0, 0, 0, -1, 150.0); // Wheel Arch Angels, San Fierro } // This function creates all objects required for the toll-gates GameModeInit_Toll() { // Add toll-houses to the world CreateObject(9623, 1787.00, 695.50, 17.40, -3.5, 0.0, 350.25); //object(toll_sfw) (1) // Add a toll-gate to the world AddTollGate(3578, 1801.00, 692.66, 10.00, 1801.00, 692.66, 15.00, 0.0, 0.0, 350.25, 30); AddTollGate(3578, 1791.33, 694.44, 10.00, 1791.33, 694.44, 15.00, 0.0, 0.0, 350.25, 30); AddTollGate(3578, 1781.66, 696.22, 10.00, 1781.66, 696.22, 15.00, 0.0, 0.0, 350.25, 30); AddTollGate(3578, 1772.00, 698.00, 10.00, 1772.00, 698.00, 15.00, 0.0, 0.0, 350.25, 30); AddTollGate(3578, -2668.25, 1274.50, 50.0, -2668.25, 1274.50, 55.0, 0.0, 0.& 1744
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 25. - 15:27:18 »
azt nem értetem valaki segitsen
1747
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 24. - 21:28:29 »
el is mondod?(ha elmondod mekepod amit kértél)
1748
Segítségkérés / ppc fuel« Dátum: 2011. október 24. - 21:14:06 »
AddRefuelPickup(-3.6527786254883, 1998.8874511719, 17.109668731689);
ezt hova kel teni? 1749
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 24. - 20:35:51 »
valaki más nem tud segiteni :question:
1750
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 24. - 20:20:23 »
de nem lehet fs-el megoldani
1751
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 24. - 19:59:13 »
a modba van a benzin csak a ppc kicsit komplikált
1752
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 24. - 19:54:14 »
de nem lekérõ parancs hanem map
[pawn]#include <a_samp> public OnGameModeInit() { CreateVehicle(596,422.24102783,2437.07519531,16.31999969,0.00000000,-1,-1,15); //Police Car (LSPD) CreateVehicle(596,415.24752808,2437.14160156,16.31999969,0.00000000,-1,-1,15); //Police Car (LSPD) CreateVehicle(597,411.78475952,2437.19702148,16.36999893,0.00000000,123,1,15); //Police Car (SFPD) CreateVehicle(597,404.46575928,2437.15747070,16.36999893,0.00000000,123,1,15); //Police Car (SFPD) CreateVehicle(598,418.88055420,2437.12548828,16.36999893,0.00000000,-1,-1,15); //Police Car (LVPD) CreateVehicle(598,407.95416260,2437.08276367,16.36999893,0.00000000,-1,-1,15); //Police Car (LVPD) CreateVehicle(599,400.45178223,2437.32055664,16.88512611,0.00000000,-1,-1,15); //Police Ranger CreateVehicle(599,397.19250488,2437.37597656,16.88512611,0.00000000,-1,-1,15); //Police Ranger CreateVehicle(601,391.95822144,2438.62573242,16.43020821,0.00000000,-1,-1,15); //S.W.A.T. Van CreateVehicle(601,387.63281250,2437.87109375,16.43020821,0.00000000,-1,-1,15); //S.W.A.T. Van CreateVehicle(427,419.77200317,2449.82397461,16.75421333,0.00000000,-1,-1,15); //Enforcer CreateVehicle(427,413.78073120,2450.50585938,16.74799919,0.00000000,-1,-1,15); //Enforcer CreateVehicle(523,411.58566284,2444.80175781,16.16037750,0.00000000,-1,-1,15); //HPV1000 CreateVehicle(523,409.30239868,2444.97631836,16.16037750,0.00000000,-1,-1,15); //HPV1000 CreateVehicle(528,404.22518921,2451.00048828,16.68499947,0.00000000,-1,-1,15); //FBI Truck CreateVehicle(528,408.09048462,2450.74829102,16.68499947,0.00000000,-1,-1,15); //FBI Truck CreateVehicle(432,397.78808594,2451.09985352,16.59933662,0.00000000,-1,-1,15); //Rhino CreateVehicle(411,423.45596313,2472.16284180,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,423.21856689,2466.28955078,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,423.34753418,2460.05712891,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,418.96771240,2472.10864258,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,418.87417603,2466.29150391,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,418.03778076,2460.55615234,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,393.70642090,2466.14404297,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,389.03906250,2472.47851562,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,389.79687500,2466.59277344,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,389.62597656,2460.46679688,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(411,394.19161987,2472.32983398,16.29999924,0.00000000,-1,-1,15); //Infernus CreateVehicle(497,409.41036987,2470.28442383,16.77121353,0.00000000,-1,-1,15); //Police Maverick CreateVehicle(497,413.70019531,2470.56738281,16.76499939,0.00000000,-1,-1,15); //Police Maverick CreateVehicle(497,365.83178711,2535.58422852,16.92745590,181.99951172,-1,-1,15); //Police Maverick CreateVehicle(497,323.39639282,2536.64794922,17.07362938,181.99951172,-1,-1,15); //Police Maverick CreateVehicle(495,333.00411987,2542.46679688,17.36478615,183.99963379,-1,-1,15); //Sandking CreateVehicle(495,329.30093384,2542.78320312,17.36478615,183.99902344,-1,-1,15); //Sandking CreateVehicle(495,332.96917725,2535.73657227,17.36478615,183.99902344,-1,-1,15); //Sandking CreateVehicle(495,329.94049072,2535.45507812,17.36478615,183.99902344,-1,-1,15); //Sandking CreateVehicle(520,360.70263672,2494.08642578,17.40394974,0.00000000,-1,-1,15); //Hydra CreateObject(987,312.82888794,2543.80712891,15.81378937,0.00000000,0.00000000,88.00000000); //object(elecfence_bar) (1) CreateObject(987,312.52508545,2532.04443359,15.81393623,0.00000000,0.00000000,87.99499512); //object(elecfence_bar) (2) CreateObject(987,311.70254517,2520.32836914,15.81393623,0.00000000,0.00000000,87.99499512); //object(elecfence_bar) (3) CreateObject(987,310.88027954,2508.61254883,15.81393623,0.00000000,0.00000000,87.99499512); //object(elecfence_bar) (4) CreateObject(987,310.35525513,2496.84765625,15.81393623,0.00000000,0.00000000,87.99499512); //object(elecfence_bar) (5) CreateObject(987,310.07980347,2485.08789062,15.81393623,0.00000000,0.00000000,87.99499512); //object(elecfence_bar) (6) CreateObject(987,310.14556885,2477.44775391,15.48437500,0.00000000,0.00000000,87.99499512); //object(elecfence_bar) (7) CreateObject(987,321.51971436,2476.72924805,15.49216843,0.00000000,0.00000000,177.99499512); //object(elecfence_bar) ( CreateObject(987,332.58001709,2476.19750977,15.49216843,0.00000000,0.00000000,177.98950195); //object(elecfence_bar) (9) CreateObject(987,344.15817261,2475.96411133,15.49216843,0.00000000,0.00000000,177.98950195); //object(elecfence_bar) (10) CreateObject(987,355.87539673,2475.93847656,15.49216843,0.00000000,0.00000000,177.98950195); //object(elecfence_bar) (11) CreateObject(987,367.36526489,2475.41308594,15.49216843,0.00000000,0.00000000,179.98950195); //object(elecfence_bar) (12) CreateObject(987,378.63995361,2475.40356445,15.49216843,0.00000000,0.00000000,179.98901367); //object(elecfence_bar) (13) CreateObject(987,438.11328125,2488.32812500,15.98072338,0.00000000,0.00000000,261.98547363); //object(elecfence_bar) (14) CreateObject(987,441.23410034,2498.16601562,15.98072338,0.00000000,0.00000000,249.98547363); //object(elecfence_bar) (15) CreateObject(987,443.99169922,2509.09814453,15.98072338,0.00000000,0.00000000,257.98291016); //object(elecfence_bar) (16) CreateObject(987,445.32910156,2519.70214844,15.98072338,0.00000000,0.00000000,261.98095703); //object(elecfence_bar) (17) CreateObject(987,447.13623047,2530.94287109,15.98072338,0.00000000,0.00000000,261.97998047); //object(elecfence_bar) (18) CreateObject(987,447.78430176,2541.92089844,15.98072338,0.00000000,0.00000000,265.97998047); //object(elecfence_bar) (19) CreateObject(987,448.34429932,2551.40234375,15.98072338,0.00000000,0.00000000,265.97900391); //object(elecfence_bar) (20) CreateObject(987,380.61843872,2550.64282227,15.55162048,0.00000000,0.00000000,3.97900391); //object(elecfence_bar) (21) CreateObject(987,438.59375000,2557.08300781,15.45767212,0.00000000,0.00000000,329.97436523); //object(elecfence_bar) (22) CreateObject(987,427.26269531,2557.84179688,15.33236694,0.00000000,0.00000000,359.97802734); //object(elecfence_bar) (23) CreateObject(987,416.66308594,2555.51953125,15.37557220,0.00000000,0.00000000,13.97460938); //object(elecfence_bar) (24) CreateObject(987,408.35937500,2551.21875000,15.38842010,0.00000000,0.00000000,23.97766113); //object(elecfence_bar) (25) CreateObject(987,398.18652344,2550.68847656,15.47388458,0.00000000,0.00000000,3.97705078); //object(elecfence_bar) (26) CreateObject(987,369.36431885,2549.94750977,15.55162048,0.00000000,0.00000000,3.97705078); //object(elecfence_bar) (27) CreateObject(987,358.14236450,2549.00415039,15.55162048,0.00000000,0.00000000,3.97705078); //object(elecfence_bar) (28) CreateObject(987,347.13092041,2548.91259766,15.55162048,0.00000000,0.00000000,3.97705078); //object(elecfence_bar) (29) CreateObject(987,336.86962891,2548.79296875,15.55162048,0.00000000,0.00000000,3.97705078); //object(elecfence_bar) (30) CreateObject(987,324.43542480,2553.50781250,15.80812073,0.00000000,0.00000000,3.97705078); //object(elecfence_bar) (31) CreateObject(987,313.07571411,2554.07690430,15.81180954,0.00000000,0.00000000,3.97705078); //object(elecfence_bar) (32) CreateObject(987,438.18179321,2483.77832031,15.99590015,0.00000000,0.00000000,227.98547363); //object(elecfence_bar) (14) CreateObject(11546,345.40295410,2545.66918945,15.76222992,0.00000000,0.00000000,0.00000000); //object(desn_fuelpay) (1) CreateObject(1676,348.18170166,2538.54345703,17.32952881,0.00000000,0.00000000,0.00000000); //object(washgaspump) (1) CreateObject(1676,348.34045410,2534.51293945,17.32875443,0.00000000,0.00000000,0.00000000); //object(washgaspump) (2) CreateObject(3864,313.79647827,2478.36083984,21.58140182,0.00000000,0.00000000,264.00000000); //object(ws_floodlight) (1) CreateObject(3864,442.71942139,2526.69018555,22.54695129,0.00000000,0.00000000,351.99597168); //object(ws_floodlight) (2) CreateObject(11417,339.65908813,2542.06103516,20.66413116,0.00000000,0.00000000,332.00000000); //object(xenonsign2_sfse) (1) CreateObject(1219,407.63998413,2546.46801758,15.80691528,0.00000000,0.00000000,0.00000000); //object(palette) (1) CreateObject(11453,402.98797607,2561.30688477,18.28291321,0.00000000,0.00000000,0.00000000); //object(des_sherrifsgn1) (1) CreateObject(1452,374.11218262,2477.37255859,16.54339981,0.00000000,0.00000000,178.00000000); //object(dyn_outhouse) (1) CreateObject(1452,376.13085938,2477.21386719,16.54339981,0.00000000,0.00000000,177.99499512); //object(dyn_outhouse) (2) CreateObject(16003,391.47827148,2549.00512695,17.26532936,0.00000000,0.00000000,0.00000000); //object(drvin_ticket) (1) CreateObject(3504,433.55426025,2536.83251953,16.63346291,0.00000000,0.00000000,178.00000000); //object(vgsn_portaloo) (1) CreateObject(3504,431.31979370,2536.83959961,16.63312721,0.00000000,0.00000000,177.99499512); //object(vgsn_portaloo) (2) CreateObject(3504,431.14337158,2532.85205078,16.82124901,0.00000000,0.00000000,177.99499512); //object(vgsn_portaloo) (3) CreateObject(3504,433.06195068,2532.48413086,16.83860207,0.00000000,0.00000000,177.99499512); //object(vgsn_portaloo) (4) CreateObject(3615,324.36828613,2482.78686523,17.67192841,0.00000000,0.00000000,86.00000000); //object(sanmonbhut1_law2) (1) CreateObject(5837,366.69738770,2479.90380859,17.20186996,0.00000000,0.00000000,356.00000000); //object(ci_guardhouse1) (1) CreateObject(8168,354.87310791,2482.52001953,17.43234825,0.00000000,0.00000000,14.00000000); //object(vgs_guardhouse01) (1) CreateObject(9237,318.26675415,2491.41625977,23.46980667,0.00000000,0.00000000,180.00000000); //object(lighhouse_sfn) (1) CreateObject(1617,403.50512695,2476.12500000,24.87005615,0.00000000,0.00000000,268.00000000); //object(nt_aircon1_01) (1) CreateObject(882,382.26165771,2539.55395508,15.53906250,0.00000000,0.00000000,0.00000000); //object(ash_po) (1) CreateObject(882,437.89840698,2514.59350586,15.53906250,0.00000000,0.00000000,0.00000000); //object(ash_po) (2) CreateObject(2921,282.32910156,2508.20898438,28.00413513,0.00000000,0.00000000,0.00000000); //object(kmb_cam) (1) CreateObject(3279,434.78262329,2497.81420898,15.49216938,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (1) CreateObject(3593,407.81573486,2540.61523438,16.25687981,0.00000000,0.00000000,0.00000000); //object(la_fuckcar2) (1) CreateObject(4003,405.30526733,2476.12500000,25.69276428,0.00000000,0.00000000,0.00000000); //object(lacityhalltrans_lan) (1) CreateObject(3170,435.33807373,2523.09375000,15.48437500,0.00000000,0.00000000,178.00000000); //object(trailer_large3_01) (1) CreateObject(3170,434.33789062,2508.49267578,15.48437500,0.00000000,0.00000000,177.99499512); //object(trailer_large3_01) (2) CreateObject(3178,419.83654785,2521.33276367,18.22546768,0.00000000,0.00000000,180.00000000); //object(shack02) (1) CreateObject(3172,407.50616455,2518.87329102,15.48437500,0.00000000,0.00000000,0.00000000); //object(trailer6_01) (1) CreateObject(3172,425.52233887,2504.12280273,15.48437500,0.00000000,0.00000000,0.00000000); //object(trailer6_01) (2) CreateObject(3172,418.30596924,2507.66015625,15.48437500,0.00000000,0.00000000,0.00000000); //object(trailer6_01) (3) CreateObject(3172,411.95507812,2504.93066406,15.48437500,0.00000000,0.00000000,0.00000000); //object(trailer6_01) (4) CreateObject(978,404.07723999,2471.21118164,16.34643364,0.00000000,0.00000000,272.00000000); //object(sub_roadright) (1) CreateObject(978,404.72781372,2482.61694336,16.34643364,0.00000000,0.00000000,271.99951172); //object(sub_roadright) (2) CreateObject(978,404.63116455,2491.70507812,16.34643364,0.00000000,0.00000000,271.99951172); //object(sub_roadright) (3) CreateObject(978,403.69003296,2500.82641602,16.34643364,0.00000000,0.00000000,283.99951172); //object(sub_roadright) (4) CreateObject(3170,339.37500000,2482.27636719,15.48437500,0.00000000,0.00000000,89.99499512); //object(trailer_large3_01) (3) CreateObject(3172,342.78890991,2495.45312500,15.48437500,0.00000000,0.00000000,270.00000000); //object(trailer6_01) (5) CreateObject(3172,332.44238281,2491.75488281,15.48437500,0.00000000,0.00000000,270.00000000); //object(trailer6_01) (6) CreateObject(985,385.66299438,2550.24633789,15.54590988,0.00000000,0.00000000,354.00000000); //object(gate_autor) (1) return 1; } [/pawn] 1753
Segítségkérés / ppc truckingba map gond« Dátum: 2011. október 24. - 19:36:55 »
mikor autokat teszek be nincs bene benzin mit csináljak hogy legyen bene benzin? :question:
1754
Szkript kérések / idõzáros kapu« Dátum: 2011. október 24. - 19:05:49 »
nem jövök rá nem vok ojan jo angolból
1755
Szkript kérések / idõzáros kapu« Dátum: 2011. október 24. - 18:49:49 »
van egy kapum hogy tom megcsinálni hogy csak egy idõt van nyitva?
[pawn]#include <a_samp> new kapu; public OnFilterScriptInit() { kapu = CreateObject(980,395.01840210,2550.44433594,18.27297974,0.00000000,0.00000000,3.99902344); //object(electricgate) (1) return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, \"/nyit\", true) == 0) { MoveObject(kapu, 405.26361084,2551.02441406,18.27297974, 2.5); return 1; } if(strcmp(cmdtext, \"/zar\", true) == 0) { MoveObject(kapu, 395.01840210,2550.44433594,18.27297974, 2.5); return 1; } return 0; }[/pawn] ez a kapu |