ModuleName for target and DisableTargeting added
This commit is contained in:
1 parent
4ee642fc37
commit
ea3b9040ce
4 files changed
+29
No files matched your search
@@ -17,6 +17,10 @@ local targetZones = {}
|
||||
|
||||
Target = Target or {}
|
||||
|
||||
Target.ModuleName = function()
|
||||
return resourceName
|
||||
end
|
||||
|
||||
Target.FixOptions = function(options)
|
||||
for k, v in pairs(options) do
|
||||
local action = v.onSelect or v.action
|
||||
@@ -39,6 +43,10 @@ Target.AddGlobalPlayer = function(options)
|
||||
ox_target:addGlobalPlayer(options)
|
||||
end
|
||||
|
||||
Target.DisableTargeting = function(bool)
|
||||
ox_target:disableTargeting(bool)
|
||||
end
|
||||
|
||||
---comment
|
||||
---@param options table
|
||||
---@return nil
|
||||
|
||||
Reference in new issue
Block a user