Merge pull request #112 from antonionevesss/main

refactor(target): added second var to remove specific options
This commit is contained in:
MrNewb authored and GitHub committed 2025-06-04 22:24:26 -04:00
commit c5ae1f1bd7
3 files changed
+10 -7

No files matched your search

+3 -2
View File
@@ -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.