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
```
+28
View File
@@ -0,0 +1,28 @@
---
title: Getting started
sidebar_position: 1
slug: ./../
---
## Installation
We always recommend using Git so you can track changes and update easily.
```
git clone https://github.com/overextended/ox_target.git
```
Otherwise, download the [latest release](https://github.com/overextended/ox_target/releases).
### Dependencies
- [ox_lib](https://github.com/overextended/ox_lib/)
- Several modules are loaded from ox_lib, most notably the zones module.
### Supported Frameworks
These aren't necessary to run ox_target, but they will add additional features.
- [ox_core](https://github.com/overextended/ox_core)
- [esx](https://github.com/esx-framework/esx-legacy)
- [qb-core](https://github.com/qbcore-framework/qb-core)