London Studios Documentation
Our StoreSupport PanelYouTube Channel
  • General
    • Documentation
    • Resource Support
    • Downloading Resources
    • Installing Resources
    • Resource Transfers
    • Common Errors
    • Translating Resources
    • Inventory Icons
    • Resource Ideas
    • Integration Requests
  • Vehicles
    • American Rearmount Ladder
      • Setting up
      • Anticheat Issues
    • Advanced Recovery Truck
      • Setting up
      • Anticheat Issues
    • SWAT Vehicle
      • Setting up
      • Anticheat Issues
    • Police Water Cannon
      • Setting up
      • Anticheat Issues
    • British Ladder Truck
      • Setting up
      • Anticheat Issues
    • Tiller Ladder Truck
      • Setting up
      • Anticheat Issues
    • Scissor Lift
      • Setting up
      • Anticheat Issues
    • Car Transporter
      • Setting up
      • Anticheat Issues
    • Water Carrier & Command Unit
      • Setting up
      • Anticheat Issues
    • Water Spray Unit
      • Setting up
      • Anticheat Issues
    • Snow Loader Pack
      • Setting up
      • Anticheat Issues
  • Resources
    • Smart Tyre
      • Using the resource
      • Configuring the resource
      • Permissions, Notifications & Items
      • Item Support
    • Bike Hire
      • Using the resource
      • Configuring the resource
      • Configuring locations
    • Bomb Disposal Robot (EOD) v2
      • Using the resource
      • Configuring the resource
      • Permissions, Notifications & Items
      • Item Support
    • Car Sale Sign
      • Installation Video
      • Using the resource
      • Configuring the resource
      • Configuring permissions
      • Item Support
    • Congestion Charge
      • Configuring the resource
      • Modifying Zones & Adding Cameras
    • Custom Vinewood Sign
      • Installation Video
      • Sign Setup
    • Decontamination Tent
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Directional Spikes
      • Using the resource
      • Configuring the resource
    • Emergency Call Points
      • Using the resource
      • Configuring the resource
    • Fire Supply Line [v2]
      • Using the resource
      • Configuring Fire Supply Line
    • Fire Tools [v2]
      • Using the resource
      • Configuration
      • Permissions, Notifications and Items
      • Item Support
    • Helicopter Rescue
      • Using the resource
      • Configuring the resource
      • Configuring the permissions
      • Configuring locations
    • Mobile Spike
      • Setting up vehicles
      • Misc Configuration Values
      • Permission Checks
      • OX_Inventory Integration
      • Other Integrations
    • Police Grappler
      • Setting up vehicles
      • Misc Configuration Values
      • Permissions, Notifications & Items
      • Item Support
    • Police Shields
      • Using the resource
      • Permissions, Notifications & Items
      • Item Support
    • Rope Rescue Tripod & Basket
      • Using the resource
      • Configuring the resource
      • OX_Inventory Integration
      • Other Integrations
    • Rescue Cushion
      • Using the resource
      • Permissions, Notifications & Items
      • Other Integrations
    • Smart Speed Signs
      • Configuring the resource
      • Adding new locations
    • Smart Airbags
      • Using this resource
      • Permissions & Notifications
    • Smart Bollards
      • Installation Video
      • Configuring the resource
      • Setting up a new set
    • Smart Clamp
      • Permissions, Notifications and Items
      • Item Support
      • Exports and Events
    • Smart Defib
      • Using the resource
      • Defib locations
      • Framework support
      • Setting up blips
      • Chance of success
      • Sound settings
      • Keybind configuration
      • Automatic reset
      • Custom Death Scripts
      • OX_Inventory Integration
      • Other Integrations
    • Smart Drone
      • Using the resource
      • Permission Checks, Notifications & Items
      • Keybinds
      • Item Support
      • Other Integrations
    • Smart Fires
      • Installation Video
      • Putting out fires
      • Fire Alerts
      • Remove Fires Automatically
      • Custom Notifications
      • Automatic Fires
        • Enabling automatic fires
        • Job / Permission Check
        • Adding locations
        • Automatic Fire Chances
        • Other automatic fire settings
      • Commands
      • Command permission checks
      • Editing fire types
      • Editing smoke types
      • Misc configuration values
      • Setting up weapons
      • Area of patrol settings
      • Clock on system
      • Lighter Item & Command
      • Server exports and events
      • Discord logging
      • Society Payments
    • Smart Hose [v2]
      • Using the resource
      • Configuring Smart Hose
    • Smart Matrix
      • Install & Configuration Video
      • OX_Inventory Integration
      • Other Integrations
    • Smart Motorways
      • Using the resource
      • Configuring the resource
    • Smart Signs
      • Configuring the resource
      • Configuring the permissions
    • Smart Speed Cameras
      • Configuring the resource
      • Adding new cameras
    • Smart Taser
      • Using the resource
      • Configuration
      • OX_Inventory Integration
      • Other Integrations
    • Smart Vehicle
      • Compatible Vehicles
      • Free Developer Copy
      • Permission Checks
      • Using a Smart Vehicle
      • Informations for Developers
      • Vehicle Control Menus
    • Police Tracker
      • Setting up vehicles
      • Resource Configuration & Usage
      • Item Support
    • Throw Bag
      • Resource Usage
      • OX_Inventory Integration
      • Other Integrations
    • Vehicle Rescue
      • Using the Resource
      • Permissions, Notifications & Items
      • Copy of Item Support
    • Water Monitor
      • Using the resource
      • Copy of Permissions, Notifications & Items
      • Copy of Item Support
    • Weapon Lanyard
      • Setting up weapons
      • Using the resource
      • Setting up clothing / EUP
Powered by GitBook
On this page
  • Resource Settings
  • Resource Sound Settings
  • Changing the winch Sound
  • Rope Length Meter
  • Keybindings

Was this helpful?

  1. Resources
  2. Helicopter Rescue

Configuring the resource

Resource Settings

ObjectModel = "rescuebasket",       -- Rescue Basket vehicle model by Ace - Prime Modifications © 2022
HelicopterRopeOffsetZ = 0.0,        -- You can define a Z offset here for the rope to attach to this position. (x, y are not adjustable in regards to physic limitations.) 
MaxRopeLength = 75.0,               -- Format: Number.Decimal. More than 100 is actually really long lol, 400/500+ bugs the script.
RopeType = 2,                       -- 2 and 3 are nice ones. 1 to 4 are thick ropes. 5 and up are thin ropes.
RopeReelInSpeed = 2.5,              -- lower = slower, higher = faster.

HelicopterRopeOffsetZ is your Z offset. The x and y offsets are not configurable.

MaxRopeLenth is defaulted to 75.0, placing this to 100 is highly long. Please note that 400+ will bug this script out.

RopeType has multiple styles. 2 and 3 are the best ropes. While 1 to 4 are the thicker ropes 5 and up are thinner.

RopeReelInSpeed is the setting to change the speed of the reel of the rope. The lower the setting the slower the rope is while the higher the setting the faster the rope is.

Resource Sound Settings

EnableSound = true,
SoundVolume = 0.3,  

You can enable and disable the sound by changing the true/false value.

SoundVolume = 0.3 is where you can change how loud the audio is, you can go from 0.1 to 1.0, we do not recommend any higher than 0.5.

Changing the winch Sound

The audio of the winch is a great sound already however, if you want to have this changed you can go into the Sounds folder where you will find winch.ogg.

Rope Length Meter

 -- Rope Lenght Meter
    DrawRopeLenghtAndAltitudeUI = true,                                  -- Draws a UI with your rope's length and/or the altitude.
    DrawRopeLenght = true,                                               -- Or disable one of the two, set TextData for this UI.
    DrawAltitude = true,                                                 -- Or disable one of the two, set TextData2 for this UI.
    TextColours = {255, 255, 255, 225},                                  -- RGBA (c_functions.lua to edit it even more.)
    BackGroundLayer1 = {0.8950, 0.8875, 0.124, 0.064, 0, 0, 0, 75, 0},   -- x, y, width, height, r, g, b, a, ya
    BackGroundLayer2 = {0.8950, 0.8875, 0.120, 0.06, 0, 0, 0, 150, 0},   -- x, y, width, height, r, g, b, a, ya
    TextData = {0.8390, 0.8590, 0.4, 0.4},                               -- x, y, scale, size for Rope Lenght. -- Use this alone? Use: {0.8390, 0.8690, 0.4, 0.4},
    TextData2 = {0.8390, 0.8845, 0.4, 0.4},                              -- x, y, scale, size for Altitude. -- Use this alone? Use:  {0.8390, 0.8690, 0.4, 0.4},
    MeterColour = "~c~",                                                 -- use ~s~ to disable colours.

DrawRopeLenghtAndAltitudeUI = true, this option allows you to enable or disable the UI.

DrawRopeLenght = true, this will give the rope length in the UI if disabled it will not show up on the UI

DrawAltitude = true, this will give the altitude of your helicopter into the UI.

TextColours = {255, 255, 255, 225}, this allows you to change the colours of the text which is currently white. To edit this even more you can go to cl_utils.lua

BackGroundLayer1 allows you to change the size and colour of the meter UI.

BackGroundLayer2 allows you to change the size and colour of the meter UI.

TextData and TextData2 allow you to change the scale and size of the text. TextData is for the rope length while TextData2 is for the altitude.

MeterColour = "~c~", allows you to enable the colour, if you do not want any colour change this to ~s~

Keybindings

HotKeys = { -- MATCH THESE TO THE BUTTONS (https://docs.fivem.net/docs/game-references/controls/)
    SpawnRescueBasket = 51,                 -- E (if you change these 2 variables, change: RescueBasket3DText(2) as well.)
    SitOnRescueBasket = 51,                 -- E

    StartConnectingRescueBasket = 73,       -- X
    AttachRescueBasketToHeli = 73,          -- X
    Detach = 73,                            -- X (hold down)

    Down = 187,                             -- Arrow down
    LockRope = 190,                         -- Arrow Right
    Up = 188,                               -- Arrow up
},

Please note if you change the SpawnRescueBasket or SitOnRescueBasket please make sure to change the message variables to the key you've changed it to.

RescueBasket3DText = "Press E to get off rescue basket",
RescueBasket3DText2 = "Press E to lay down onto the rescue basket",

PreviousUsing the resourceNextConfiguring the permissions

Last updated 1 year ago

Was this helpful?

You can change the keybindings to this resource, using the link we've provided by clicking you can get the IDs of each key.

here