Configuration
Everything you can change is in config.lua.
| Option | Default | What it does |
|---|---|---|
Config.Debug | false | Console messages while setting up. |
Config.Item | 'rc_bandito' | The item that calls the RC in. Use the name you already have, it still spawns an RC Bandito. |
Config.RequireItem | true | Whether the item is needed at all. |
Config.LoseItemOnDestroy | true | Wrecking the RC costs the player the item. |
Config.Range | 200.0 | How far it goes, in meters, before the signal drops. |
Config.Interact | 'gta5' | How a parked RC is picked up. 'gta5': walk up and press E. 'target': qb-target or ox_target, whichever is running. Falls back to the prompt if neither is running. |
Text
Config.Text holds every line the script shows. Change the text, keep the keys.
Config.Text = {
no_item = 'You don\'t have an RC Bandito',
cooldown = 'You can request the RC Bandito again in %d seconds',
signal_lost = 'RC Bandito signal lost',
pickup = 'Pick up RC Bandito',
take_control = 'Take control',
}
Keep the
%dincooldown, it is replaced by the seconds left.