rytrak.fr Documentation
  • 🛡️FiveM Assets Escrow
    • You lack the required entitlement
    • Failed to verify protected resource
    • Error parsing script / Failed to load script
  • ❓Store FAQ
    • Do you accept orders to create a custom script
    • Do you give decrypted scripts
    • What payment methods are accepted for the purchase of your scripts?
    • Do you offer discounts or special offers on your scripts?
    • Can I modify or customize your scripts to meet my needs
    • Are your scripts compatible with frameworks
    • Do you provide development assistance?
  • FiveM Scripts
    • 🚒Firefighter SCBA System
      • General Configuration
      • Adapt your EUP
      • General Exports
      • General Events
      • ❓FAQ
        • No such export IsFireNearby in resource SmartFires
      • Test it now
    • 👮‍♂️Advanced Police Grab Ped
      • General Configuration
      • General Exports
      • General Events
      • Compatibility with esx_policejob
      • Test it now
    • 🚿Advanced Pepper Spray
      • General Configuration
      • General Exports
      • Anticheat
      • Test it now
    • 📣Advanced Megaphone System
      • General Configuration
      • General Exports
      • Compatibility with pma-voice
      • Compatibility with mumble-voip
      • Compatibility with saltychat
      • ❓FAQ
        • I can't hear my voice through the megaphone
      • Test it now
    • 🚁Advanced Helicopter Bucket
      • General Configuration
      • Adapt our script with ToxicFire
      • General Exports
      • 🔐Test it now
    • 🔗Advanced Remote Restraint
      • General Configuration
      • General Exports
      • Test it now
    • 🚗Advanced Extrication System
      • General Configuration
      • General Exports
      • Adapt a vehicle to the roof system
      • List of vehicles compatible with the roof system
      • 🔐Test it now
    • 🔗Advanced Handcuffs System
      • General Configuration
      • General Exports
      • Make ESX compatible
      • Make QBCore compatible
      • Make OX-Inventory compatible
      • 🔐Test it now
    • ✈️Advanced Aerial Firefighting
      • General Configuration
      • Adapt our script with ToxicFire
      • General Exports
      • 🔐Test it now
    • 💣Advanced Tactical Gas System
      • General Configuration
      • Test it now
  • RedM Scripts
    • 🤠Advanced Sheriff Grab Ped
      • General Configuration
      • General Exports
  • Framework compatibility
    • Add a custom weapon on ESX
    • Add a custom weapon on QBCore
    • Add a custom weapon on OX Inventory
  • 🚀Test our resources for free with Zap-Hosting
Powered by GitBook
On this page
  • 1. General Configuration
  • 2. Framework Compatibility
  • 3. BolaWrap Settings
  • 4. Recharge System
  • 5. Laser System
  • 6. Weapon Settings
  • 7. Key Bindings
  • 8. Language Library
  1. FiveM Scripts
  2. Advanced Remote Restraint

General Configuration

PreviousAdvanced Remote RestraintNextGeneral Exports

Last updated 21 days ago

This guide will help you configure the script to suit your needs, covering all available options in the config.lua file. Each setting is explained step by step.

1. General Configuration

Language Set the language used by the script.

Config.Language = 'en' -- Available options: 'en' (English), 'fr' (French).

Use Outdated Version Enable this option to suppress alert messages when using an older version of the script.

Config.UseOutdatedVersion = false -- Set to true if using an outdated script version.

2. Framework Compatibility

If you're using a framework like ESX, QB, or OX Inventory, enable this setting.

Config.UseFramework = false
  • When true, the system uses the inventory (e.g., weapon usage) instead of command-based interactions.

  • Setup instructions for each framework are available on:


3. BolaWrap Settings

Enable Aim Assist Enable or disable aim assist when using the BolaWrap.

Config.EnableAimAssist = false -- Set to true to enable aim assist.

Max Shoot Distance Defines the maximum distance allowed to shoot the BolaWrap.

Config.MaxShootDistance = 20.0 -- Adjust the distance (in meters) players can shoot the BolaWrap.

4. Recharge System

Recharge Coordinates Specifies the coordinates for the recharge station and the radius within which the player can recharge.

Config.Recharge = {
    coords = vector3(-1394.4, -2726.98, 13.94), -- Recharge station coordinates
    radius = 3.0, -- Recharge radius
    quantityPerRecharge = 3, -- Number of BolaWraps recharged per interaction
}

5. Laser System

Enable Laser Enable or disable the laser system.

Config.Laser = {
    enable = true, -- Set to true to enable the laser system
    color = {      -- Customize the laser color (RGBA)
        r = 0,
        g = 255,
        b = 0,
        a = 80
    },
    maxDistance = 150.0 -- Maximum laser distance (in meters)
}

6. Weapon Settings

Define Weapon Sets the weapon identifier for the BolaWrap.

Config.Weapon = `WEAPON_BOLAWRAP` -- BolaWrap weapon identifier

Weapon Display Name The name displayed in the weapon wheel when equipping the BolaWrap.

Config.BolawrapWeaponName = "BolaWrap" -- Name displayed in the weapon wheel

7. Key Bindings

Laser Key Set the key used to toggle the laser.

Config.Keys.LaserKey = 86 -- Key to toggle the laser
Config.Keys.LaserKeyString = '~INPUT_VEH_HORN~' -- Display name for the laser key

Release Key Set the key used to release the ropes.

Config.Keys.ReleaseKey = 311 -- Key to release the ropes
Config.Keys.ReleaseKeyString = '~INPUT_REPLAY_SHOWHOTKEY~' -- Display name for the release key

Refill Key Set the key used to refill the BolaWrap.

Config.Keys.RefillKey = 311 -- Key to refill the BolaWrap
Config.Keys.RefillKeyString = '~INPUT_REPLAY_SHOWHOTKEY~' -- Display name for the refill key

8. Language Library

Edit the text displayed for different actions in multiple languages.

🔗
ESX Guide
QBCore Guide
OX Inventory Guide