low effort ox_target docs

This commit is contained in:
Linden committed 2022-08-20 01:26:52 +10:00
1 parent 40faff4ab8
commit efbe5fe087
7 files changed
+306

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# Config
All settings are modified using convars, which need to be executed before the resource starts.
```yaml
# Toggle targeting when pressing the hotkey, instead of holding it down.
setr ox_target:toggleHotkey 0
# Change the key to enable targeting (https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard)
setr ox_target:defaultHotkey LMENU
# Draw a sprite (circle) at the centroid of a zone.
setr ox_target:drawSprite 1
# Enable built-in targeting options, e.g. toggling vehicle doors.
setr ox_target:defaults 1
# Enable debugging / testing options, entity outlines, and a raycast indicator.
setr ox_target:debug 0
```