mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
fix(usage): disableTargeting heading (#92)
Size 1 heading was overriding the page name on gitbooks. Moved example below options.
This commit is contained in:
1 parent
38ecc03cff
commit
89f0cce96f
1 file changed
+8
-9
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user