fix(usage): disableTargeting heading (#92)

Size 1 heading was overriding the page name on gitbooks. Moved example below options.
This commit is contained in:
david authored and GitHub committed 2023-02-04 21:59:55 +11:00
1 parent 38ecc03cff
commit 89f0cce96f
1 file changed
+8 -9
+8 -9
View File
@@ -1,12 +1,3 @@
# disableTargeting
Toggles the state on being able to target. true/false
```lua
exports.ox_target:disableTargeting(state)
```
```lua
local options = {
{
@@ -33,6 +24,14 @@ local models = { `prop_atm_01`, `prop_atm_02` }
local optionsNames = { 'ox:option1', 'ox:option2' }
```
## disableTargeting
Toggles the state on being able to target. true/false
```lua
exports.ox_target:disableTargeting(state)
```
## addModel
Add new options when targeting a specific model or list of models.