Update functions.lua

This commit is contained in:
Mustache Dom authored and GitHub committed 2024-09-28 10:02:36 -07:00
1 parent 861a210dfe
commit 39b8ebc42d
1 file changed
+3 -3
+3 -3
View File
@@ -359,13 +359,13 @@ function AddBoxZoneMulti(name, table, data)
end
end
function AddBoxZoneMultiOptions(name, table, data)
function AddBoxZoneMultiOptions(name, loc, data)
if Config.Target == 'qb' then
exports['qb-target']:AddBoxZone(name .. k, v.loc, 1.5, 1.75, {name = name..k, minZ = v.loc.z-1.50,maxZ = v.loc.z +1.5},
{ options = table, distance = 2.5})
{ options = data, distance = 2.5})
elseif Config.Target == 'ox' then
exports.ox_target:addBoxZone({coords = v.loc, size = vec3(1,1,1), options = table })
exports.ox_target:addBoxZone({coords = v.loc, size = vec3(1,1,1), options = data })
end
end