20.06.2011, 16:33
How can I add new Trucking depo ? in /rescue ?
new ASpawnLocationsTrucker[][TSpawnLocation] = { {-525.0, -502.0, 26.0, 0.0}, // Fallen Tree Depot {-74.7, -1137.5, 4.5, 0.0}, // Flint Trucking Depot {1457.0, 975.5, 11.0, 0.0}, // LVA Freight Depot {-2136.0, -247.5, 36.5, 270.0}, // Doherty Depot {1766.5, -2040.7, 14.0, 270.0}, // El Corona Depot {-546.0, 2594.0, 54.0, 270.0}, // Las Payasdas Depot {332.0, 900.0, 25.0, 205.0}, // Quarry Top {-1575.0, -2724.0, 49.0, 146.0}, // Shady Creek Depot {2359.98, 549.67, 4.86, 0.0} //Your Depot Location };
case ClassTruckDriver: // Ask where the trucker player wants to respawn ShowPlayerDialog(playerid, DialogRescue, DIALOG_STYLE_LIST, "{000800}Choose trucker spawn point:", "Fallen Tree Depot\r\nFlint Trucking Depot\r\nLVA Freight Depot\r\nDoherty Depot\r\nEl Corona Depot\r\nLas Payasdas Depot\r\nQuarry Top\r\nShady Creek Depot", "Spawn", "Cancel");
Shady Creek Depot\r\nYourDepotName",
Dialog_Rescue(playerid, response, listitem) { // Just close the dialog if the player clicked "Cancel" if(!response) return 1; // Check the class of the player switch (APlayerData[playerid][PlayerClass]) { case ClassTruckDriver: { // Set the coordinates based on the selection in the list switch (listitem) { case 0: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -525.0, -502.0, 26.0, 0.0, 0, 0, 0, 0, 0, 0); case 1: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -74.7, -1137.5, 4.5, 0.0, 0, 0, 0, 0, 0, 0); case 2: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1457.0, 975.5, 11.0, 0.0, 0, 0, 0, 0, 0, 0); case 3: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2136.0, -247.5, 36.5, 270.0, 0, 0, 0, 0, 0, 0); case 4: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1766.5, -2040.7, 14.0, 270.0, 0, 0, 0, 0, 0, 0); case 5: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -546.0, 2594.0, 54.0, 270.0, 0, 0, 0, 0, 0, 0); case 6: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 332.0, 900.0, 25.0, 205.0, 0, 0, 0, 0, 0, 0); case 7: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1575.0, -2724.0, 49.0, 146.0, 0, 0, 0, 0, 0, 0); }
case 8: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), XXXX.XX, YYYY.YY, ZZZZ.ZZ, 0.0, 0, 0, 0, 0, 0, 0); }
Dialog_Rescue(playerid, response, listitem) { // Just close the dialog if the player clicked "Cancel" if(!response) return 1; // Check the class of the player switch (APlayerData[playerid][PlayerClass]) { case ClassTruckDriver: { // Set the coordinates based on the selection in the list switch (listitem) { case 0: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -525.0, -502.0, 26.0, 0.0, 0, 0, 0, 0, 0, 0); case 1: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -74.7, -1137.5, 4.5, 0.0, 0, 0, 0, 0, 0, 0); case 2: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1457.0, 975.5, 11.0, 0.0, 0, 0, 0, 0, 0, 0); case 3: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -2136.0, -247.5, 36.5, 270.0, 0, 0, 0, 0, 0, 0); case 4: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 1766.5, -2040.7, 14.0, 270.0, 0, 0, 0, 0, 0, 0); case 5: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -546.0, 2594.0, 54.0, 270.0, 0, 0, 0, 0, 0, 0); case 6: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 332.0, 900.0, 25.0, 205.0, 0, 0, 0, 0, 0, 0); case 7: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -1575.0, -2724.0, 49.0, 146.0, 0, 0, 0, 0, 0, 0); case 8: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), 2359.98, 549.67, 4.86, 0.0, 0, 0, 0, 0, 0, 0); } }
Originally Posted by LuxurioN™
LuxAdmin Installation
Download the file! Unzip the Files! (Recommended use Winrar) Put 1LuxAdmin.amx' in your 'filterscripts' folder Put plugin 1Whirlpool' in your 'plugins' folder Put 'lfuncs', 'ldudb' and 'ladmin' in your 'pawno/include' folder After, put the folder 'LuxAdmin' in your 'scriptfiles' folder Open 'Server.cfg' Go to in line 'filterscripts; Add 'LuxAdmin' (filterscripts LuxAdmin) Then add 'Whirlpool' in plugins line (plugins Whirlpool) Save the file! Done! Other Method: Copy all folders 'filterscripts,pawno,scriptfiles,plugins 9; Replace the folders of your server for them. Open 'Server.cfg' Go to in line 'filterscripts' Add 'LuxAdmin' (filterscripts LuxAdmin) Then add 'Whirlpool' in plugins line (plugins Whirlpool) Save the file! Done! |
Umm how would I go on doing this,
How would I be able to spawn at my house? Or if its not implented yet, how would I add this? Thank you |
Hey, I would just like to know how I can edit the max houses and businesses available.
Oh and also, How can I get weapons on the script? |