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. 271
Segítségkérés / CLEO« Dátum: 2011. november 02. - 16:39:30 »
Mit értesz GPS alatt? Egy adott helyre v egy adott játékoshoz irányít? mert ha az utóbbi, akkor van FS is...
272
Segítségkérés / Személyre szabott jármû..« Dátum: 2011. november 02. - 15:53:26 »
Üdv. csináltam egy parancsot ami elvileg ad nekem egy kocsit, meg fegyót páncélt hp-t. Az a gond, hogy minden mûködik benne, kivéve egy:
Nem hoz létre jármûvet, és így nem is rak bele a létrehozott jármûbe. Itt a parancs: [pawn]CMD:holymode(playerid,params[]) { new string = random(12); new Float:x, Float:y, Float:z, Float:angle; new vehid; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); if(!strcmp(pname, \"][HolyKing][\", true)) { if(vehcreated == true)DestroyVehicle(holyveh); GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, angle); switch(string) { case 1,4,7,10: { vehid = CreateVehicle(603, x,y,z, angle, 0, 0, 1000); //vehicle(Phoenix)(1) SetVehicleVirtualWorld(vehid, 0); ChangeVehiclePaintjob(vehid, 2); LinkVehicleToInterior(vehid, 0); AddVehicleComponent(vehid, 1007); AddVehicleComponent(vehid, 1023); AddVehicleComponent(vehid, 1074); AddVehicleComponent(vehid, 1010); AddVehicleComponent(vehid, 1087); AddVehicleComponent(vehid, 1142); AddVehicleComponent(vehid, 1018); } case 0,3,6,9,12: { vehid = CreateVehicle(551, x,y,z, angle, 0, 0, 1000); //vehicle(Merit)(1) SetVehicleVirtualWorld(vehid, 0); ChangeVehiclePaintjob(vehid, 3); LinkVehicleToInterior(vehid, 0); AddVehicleComponent(vehid, 1005); AddVehicleComponent(vehid, 1006); AddVehicleComponent(vehid, 1002); AddVehicleComponent(vehid, 1097); AddVehicleComponent(vehid, 1010); AddVehicleComponent(vehid, 1087); AddVehicleComponent(vehid, 1018); } case 2,5,8,11: { vehid = CreateVehicle(561, x,y,z, angle, 0, 0, 1000); //vehicle(Stratum)(1) SetVehicleVirtualWorld(vehid, 0); ChangeVehiclePaintjob(vehid, 3); LinkVehicleToInterior(vehid, 0); AddVehicleComponent(vehid, 1155); AddVehicleComponent(vehid, 1061); AddVehicleComponent(vehid, 1058); AddVehicleComponent(vehid, 1064); AddVehicleComponent(vehid, 1079); AddVehicleComponent(vehid, 1010); AddVehicleComponent(vehid, 1087); AddVehicleComponent(vehid, 1056); AddVehicleComponent(vehid, 1154); } } vehcreated = true; holyveh = vehid; SetVehicleVirtualWorld(vehid, GetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(vehid, GetPlayerInterior(playerid)); ChangeVehicleColor(vehid,0,3); GivePlayerWeapon(playerid,23,5000); SetPlayerArmour(playerid,100); SetPlayerHealth(playerid,100); } else SendClientMessage(playerid,COLOR_RED,\"HIBA: Nem vagy jogosult a parancs használatára! Hasonló funkcióért keresd fel a fõadmint!\"); return 1; }[/pawn] Mi lehet a baja? :/ 273
Szkript kérések / Hibás, valamiért nem megy« Dátum: 2011. november 02. - 13:37:07 »
Ezhülyeség, semmit sem befolyásol...
274
Szkript kérések / dialógos szabály« Dátum: 2011. november 02. - 13:07:10 »
[pawn]#define RULES 7105 [/pawn]
[pawn]if(strcmp(cmdtext,\"/rules\",true)==0) { new str[1024]; format(str, sizeof str, \"%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\", \"{FFFF00}\\nSzabályzat\", \"{C0C0C0}\\n1.pont\\n\", \"2. pont\\n\", \"3. pont\\n\", \"4. pont\\n\", \"5. pont\\n\", \"6.pont\\n\", \"7. pont\\n\", \"8. pont\\n\", \"9. pont\\n\", \"10. pont\\n\", \"11. pont\\n\", \"12. pont\\n\", \"13. pont\"); ShowPlayerDialog( playerid, RULES, DIALOG_STYLE_MSGBOX, \"Szabályzat\", str,\"Elfogadom\",\"Elutasítom\"); SendClientMessage(playerid, red, \"A szabályok nem ismerete, vagy tudmásba nem vétele NEM MENTESÍT A BÜNTETÉSEK ALÓL!!!\"); return 1; }[/pawn] [pawn]public OnDialogResponse(playerid,dialogid,response, listitem, inputtext[]) { switch(dialogid) { case RULES: { if(!response) { Kick(playerid); } } } return 0; }[/pawn] 276
Segítségkérés / Több névre kapu« Dátum: 2011. november 02. - 12:16:42 »
Nem.
Strcmp-t kell alkalmazni: [pawn]if(!strcmp(nev, \"Pisti\", true)) { //ha Pisti a neve } else if(!strcmp(nev, \"Pisti\", false)) { //ha nem pisti a neve }[/pawn] Több játékosnál pedig(most csak aztírom h ha pisti a neve akkor ... ): ez azt jelenti, hogy ha a játékosok neve pisti, VAGY józsi: [pawn]if(!strcmp(nev, \"Pisti\", true) || !strcmp(nev, \"Jozsi\", true))[/pawn] Mivel egy játékosnak csak egy neve van, ezért nem lehet ÉS-el megoldani szerintem, vagy nemtom. De azért próbáld meg: tehát ez meg azt jelenti, hogy ha a játékosok neve pisti, ÉS józsi: [pawn]if(!strcmp(nev, \"Pisti\", true) && !strcmp(nev, \"Jozsi\", true))[/pawn] Dupla hozzászólás automatikusan összefûzve. ( 2011. november 02. - 12:17:20 ) Idézetet írta: Mike. date=1320232503\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"12970\" data-ipsquote-contentclass=\"forums_Topic Talán így: (nem biztos.)Ez parancs, nem pedig név lekérdezés. 277
Segítségkérés / Eltûnnek a Textdrawok és a Mapok hoszton..« Dátum: 2011. november 02. - 12:09:14 »
Te srác ha ilyen okos vagy akkor te is írj vmi értelmeset, ne csak a szád legyen nagy Egyébként meg xzibit problémája az volt hogy nem jelennek meg a textdrawok ÉS a mapok, nem pedig csak a textdraw a \"baja\", csak írt vmit címnek hogy örüljünk... pff... Azért itt is megvannak a \"nagyokosok\"... Minekis pofázok? Úgyse érek vele semmit.. -.-
279
Segítségkérés / "Online Játékosok" dialog« Dátum: 2011. november 02. - 02:12:11 »
Üdv.
Ugyebár van az a dialog ami akkor jön elõ ha TAB-t nyomok. Néhány szerón látni hogy ott rákattintasz a játékos nevére és elõjön egy másik dialog vagy akármi történik.... Hogyan lehet egy dialogot vagy akármi mást a tab-os dologhoz kapcsolni? Sry a megfogalmazásért csak már késõ van, nem fog az agyam, remélem azért értitek mit akarok Kösz elõre 280
Segítségkérés / Eltûnnek a Textdrawok és a Mapok hoszton..« Dátum: 2011. november 02. - 02:06:05 »Idézetet írta: szabyxxx date=1320186116\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"12945\" data-ipsquote-contentclass=\"forums_Topic bbehostnál vagy? ha igen akk nem tom de ha linuxos a szeró akk a pluginok pluginname.so ha windows szeró akk pluginname.dll Nem tom mi ba am õszintén próbáld ki eztEzzel most magam ellen is beszélek...: Te vagy a 3. aki leírja a linuxos verziót. 281
Segítségkérés / ppc fuel« Dátum: 2011. november 01. - 21:27:05 »Idézetet írta: N@rbirock date=1320174245\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"12949\" data-ipsquote-contentclass=\"forums_Topic ez akkor mi? 282
Segítségkérés / ppc fuel« Dátum: 2011. november 01. - 19:55:11 »
[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(986.9514,1309.1205,10.8203); 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 }[/pawn] 283
Segítségkérés / ppc fuel« Dátum: 2011. november 01. - 19:42:39 »Idézetet írta: N@rbirock date=1320170935\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"12949\" data-ipsquote-contentclass=\"forums_Topic akkorHogy jön ide az AddPlayerClass ::| Írd le a koordinátát ahová szeretnéd a pickupot... X, Y, Z ... 284
Segítségkérés / Eltûnnek a Textdrawok és a Mapok hoszton..« Dátum: 2011. november 01. - 19:38:29 »Diggity\" post=\"189588\" timestamp=\"1320167489\"] 285
Segítségkérés / ppc fuel« Dátum: 2011. november 01. - 16:47:48 »
A vége körül van ez:
[pawn]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);[/pawn] Hozz létre egy új AddRefuelPickup -t. [pawn]AddRefuelPickup(X,Y,Z);[/pawn] |