🚁 Zeppelin
Documentation relating to the spooni_zeppelin.
1. Installation
spooni_zeppelin works only with VORP, RSG, RPX & RedEM.
To install spooni_zeppelin:
- Download the resource
- Drag and drop the resource into your resources folder
spooni_zeppelin
- Add this ensure in your server.cfg
ensure spooni_zeppelin
- Now you can configure and translate the script as you like
config.lua
- At the end, restart the server
If you have any problems, you can always open a ticket in the Spooni Discord.
2. Usage
With the Ferris Wheel, up to 4 players per gondola can ride a Ferris wheel and enjoy the view.
3. For developers
Config.lua
lua
Config = {}
Config.Framework = 'Vorp' -- Vorp, RSG, RPX, RedEM
Config.Keys = {
Seat = { Text = 'Seat', TextPrice = 'Seat:~COLOR_GREEN~ %d$', NameHash = 'INPUT_INTERACT_OPTION1' },
GetOut = { Text = 'Leave seat', NameHash = 'INPUT_INTERACT_OPTION1' },
}
Config.Timer = {
Position = vector2(0.5, 0.9), -- min 0.0, max 1.0
Scale = 0.55,
Color = { r = 255, g = 255, b = 255, alpha = 255 },
}
Config.Locations = {
{ -- Saint Denis
Price = 1, -- number (Amount of money to sit) or false
DistanceSpawn = 490,
PassengerWaitingTime = 60, -- number (seconds)
Destination1 = { Coords = vector3(-828.30, -1291.95, 52.58), Rotation = vector3(0.0, 0.0, 180.0) },
Destination2 = { Coords = vector3(2620.38, -1340.42, 79.17), Rotation = vector3(0.0, 0.0, 130.0) },
},
-- { -- Example
-- DistanceSpawn = 490,
-- Coords = vector3(0.0, 0.0, 0.0),
-- Rotation = vector3(0.0, 0.0, 0.0),
-- },
}
Config.SeatFunctions = {
Start = function()
ExecuteCommand('hidehud')
end,
Stop = function()
ExecuteCommand('hidehud')
end,
}