diff --git a/modules/target/ox_target/client.lua b/modules/target/ox_target/client.lua index 992383e..5582f75 100644 --- a/modules/target/ox_target/client.lua +++ b/modules/target/ox_target/client.lua @@ -78,8 +78,9 @@ end ---This will remove the target options from a local entity. This is useful for when you want to remove target options from a specific entity. ---@param entity any -Target.RemoveLocalEntity = function(entity) - ox_target:removeLocalEntity(entity) +---@param labels string | table | nil +Target.RemoveLocalEntity = function(entities, optionNames) + ox_target:removeLocalEntity(entities, optionNames) end ---This will add target options to all specified models. This is useful for when you want to add target options to all models of a specific type. diff --git a/modules/target/qb-target/client.lua b/modules/target/qb-target/client.lua index 355aaf2..9223204 100644 --- a/modules/target/qb-target/client.lua +++ b/modules/target/qb-target/client.lua @@ -88,9 +88,10 @@ Target.AddLocalEntity = function(entities, options) end ---This will remove the target options from a local entity. This is useful for when you want to remove target options from a specific entity. ----@param entity any -Target.RemoveLocalEntity = function(entity) - qb_target:RemoveTargetEntity(entity) +---@param entity number | table +---@param labels string | table | nil +Target.RemoveLocalEntity = function(entity, labels) + qb_target:RemoveTargetEntity(entity, labels) end ---This will add target options to all specified models. This is useful for when you want to add target options to all models of a specific type. diff --git a/modules/target/sleepless_interact/client.lua b/modules/target/sleepless_interact/client.lua index eca9c3d..164fc18 100644 --- a/modules/target/sleepless_interact/client.lua +++ b/modules/target/sleepless_interact/client.lua @@ -102,9 +102,10 @@ end ---comment ---@param entity number +---@param labels string | table | nil ---@return nil -Target.RemoveLocalEntity = function(entity) - sleepless_interact:removeLocalEntity(entity) +Target.RemoveLocalEntity = function(entity, labels) + sleepless_interact:removeLocalEntity(entity, labels) end ---comment