From 1e3245926b067873674c30e154b3adf9441eb850 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Fri, 16 Jun 2023 19:25:35 +1000 Subject: [PATCH] missing parameters --- pages/ox_target/Functions/Client.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pages/ox_target/Functions/Client.mdx b/pages/ox_target/Functions/Client.mdx index 73f8e087..c6db7085 100644 --- a/pages/ox_target/Functions/Client.mdx +++ b/pages/ox_target/Functions/Client.mdx @@ -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