NX CreativeNX CreativeDocs
Scriptsox_target

Configuration

Convars for NX Creative's ox_target build.

ox_target has no config.lua. Behavior is controlled by FiveM convars set in server.cfg.

Convars

These are inherited from upstream and unchanged in this build.

ox_target:toggleHotkeynumberdefault: 0

When 1, the activation key toggles targeting on and off. When 0 (default), the key must be held.

ox_target:defaultHotkeystringdefault: 'LMENU'

Default activation key. Players can rebind it through the FiveM keybind menu.

ox_target:leftClicknumberdefault: 1

When 1 (default), left mouse button selects an option. When 0, right mouse button is used.

ox_target:defaultsnumberdefault: 1

When 1 (default), the bundled default interactions for vehicles, peds, and seats are registered. Set to 0 to disable them.

ox_target:debugnumberdefault: 0

When 1, registers the debug zones in client/debug.lua and prints debug data on selection. Use only in development.

ox_target:drawSpritenumberdefault: 24

Sprite radius for zones with drawSprite enabled. Set to 0 to disable the sprite.

Set them in server.cfg:

setr ox_target:toggleHotkey 1
setr ox_target:defaultHotkey "LMENU"

On this page