fixed some stuff

involved word casing and register useable doing stuff in a tidy way uhhhhhhh... fuck you qwezert
This commit is contained in:
gononono64 committed 2025-01-14 10:55:14 -06:00
1 parent 4a70083bf6
commit 2467aa31a0
9 files changed
+42 -15

No files matched your search

+12
View File
@@ -15,18 +15,30 @@ local targetZones = {}
Target = {}
Target.AddGlobalPlayer = function(options)
for k, v in pairs(options) do
options[k].onSelect = v.onSelect or v.action
end
ox_target:addGlobalPlayer(options)
end
Target.AddLocalEntity = function(entities, options)
for k, v in pairs(options) do
options[k].onSelect = v.onSelect or v.action
end
ox_target:addLocalEntity(entities, options)
end
Target.AddModel = function(models, options)
for k, v in pairs(options) do
options[k].onSelect = v.onSelect or v.action
end
ox_target:addModel(models, options)
end
Target.AddBoxZone = function(name, coords, size, heading, options)
for k, v in pairs(options) do
options[k].onSelect = v.onSelect or v.action
end
local target = ox_target:addBoxZone({
coords = coords,
size = size,