Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Author: Maverick Applications
- Desc: Altis Life Shipwreck
- */
- //Customize your settings to fit your server setup!
- class Maverick_Shipwrecks {
- //How often (in seconds) should a shipwreck spawn, if no wreck is on the map?
- ShipwreckInterval = 1200; //1800 = 30min
- //Define the possible locations for your shipwrecks.
- //getPosATL format -> Get the position via: diag_log(getPosATL player) -> replace the [] with {}
- Positions[] = {
- {18828,22067,-135.462},
- {14943, 14790, -58.3485},
- {9392, 10091, -29.2749},
- {3478, 16902, -64.3858},
- {22920, 15064, -53.4995},
- {28060, 24289, -36.764},
- {3816, 9880, -12.4705}
- };
- //Define the radius, in which the wreck randomly spawns around the given center position
- Radius = 250;
- //Define the possible sets of virtual items the user can loot from the wreck.
- ShipLoot[] = {
- //{ { "itemname1", amount }, { "itemname2", amount }, { "itemname3", amount } }
- { { "lockpick", 5 }, { { "toolkit", 5 } },
- { { "cocaine_processed", 12 } },
- { { "goldbar", 3 } },
- { { "blastingcharge", 1 } },
- { { "diamond_cut", 50 } }
- };
- //What shall be displayed as text to gather the items from the ship? (The text of the addAction ingame)
- ShipLootText = "Récupérez le butin",
- //The message when the user has got all the loot successfully.
- ShipLootSuccess = "Vous avez réussi à récupérer le butin de l'épave !",
- //The message in case something fails, or the user can not carry all the items.
- ShipLootFail = "Vous ne pouvez pas porter tout le butin. Faites d'abord de la place !",
- //Define the message, that should appear when a shipwreck spawns (broadcasted to all clients).
- SpawnMSG = "EPAVE\n\nUn navire coulé a été localisé ! Il peut contenir des éléments importants et il a été marqué sur votre carte !",
- //Define the message, that should appear when a shipwreck disappears after a user looted it (broadcasted to all clients).
- DeleteMSG = "EPAVE\n\nLe navire a été pillé et a disparu !"
- };
Advertisement
Add Comment
Please, Sign In to add comment