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:
Config.EnableAimAssist = false -- Set to true to enable aim assist.
Config.MaxShootDistance = 20.0 -- Adjust the distance (in meters) players can shoot the BolaWrap.
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
}
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)
}
Config.BolawrapWeaponName = "BolaWrap" -- Name displayed in the weapon wheel
Config.Keys.LaserKey = 86 -- Key to toggle the laser
Config.Keys.LaserKeyString = '~INPUT_VEH_HORN~' -- Display name for the laser key
Config.Keys.ReleaseKey = 311 -- Key to release the ropes
Config.Keys.ReleaseKeyString = '~INPUT_REPLAY_SHOWHOTKEY~' -- Display name for the release key
Config.Keys.RefillKey = 311 -- Key to refill the BolaWrap
Config.Keys.RefillKeyString = '~INPUT_REPLAY_SHOWHOTKEY~' -- Display name for the refill key