missing parameters

This commit is contained in:
Linden committed 2023-06-16 19:25:35 +10:00
1 parent a6473e9907
commit 1e3245926b
1 file changed
+13
+13
View File
@@ -1,3 +1,5 @@
All exports with the `options` argument expect a table with the targeting properties [here](../Options).
## disableTargeting
Toggle the availability of the targeting menu.
@@ -16,6 +18,8 @@ Creates new targetable options for all Object entity types.
exports.ox_target:addGlobalObject(options)
```
- options: `table`
## removeGlobalObject
Removes all options from the global Object list with the option names.
@@ -34,6 +38,8 @@ Creates new targetable options for all Ped entity types (excluding players).
exports.ox_target:addGlobalPed(options)
```
- options: `table`
## removeGlobalPed
Removes all options from the global Ped list with the option names.
@@ -52,6 +58,8 @@ Creates new targetable options for all Player entities.
exports.ox_target:addGlobalPlayer(options)
```
- options: `table`
## removeGlobalPlayer
Removes all options from the global Ped list with the option names.
@@ -70,6 +78,8 @@ Creates new targetable options for all Vehicle entity types.
exports.ox_target:addGlobalVehicle(options)
```
- options: `table`
## removeGlobalVehicle
Removes all options from the global Vehicle list with the option names.
@@ -89,6 +99,7 @@ exports.ox_target:addModel(models, options)
```
- models: `number` or `number[]`
- options: `table`
## removeModel
@@ -110,6 +121,7 @@ exports.ox_target:addEntity(netIds, options)
```
- netIds: `number` or `number[]`
- options: `table`
## removeEntity
@@ -131,6 +143,7 @@ exports.ox_target:addLocalEntity(entities, options)
```
- entities: `number` or `number[]`
- options: `table`
## removeLocalEntity