Update functions.lua
This commit is contained in:
1 parent
5c88857368
commit
37ba74a700
1 file changed
+11
@@ -358,6 +358,17 @@ function AddBoxZoneMulti(name, table, data)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function AddBoxZoneMultiOptions(name, table, 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})
|
||||||
|
elseif Config.Target == 'ox' then
|
||||||
|
exports.ox_target:addBoxZone({coords = v.loc, size = vec3(1,1,1), options = table })
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
function AddSingleModel(model, data, num)
|
function AddSingleModel(model, data, num)
|
||||||
if Config.Target == 'qb' then
|
if Config.Target == 'qb' then
|
||||||
|
|||||||
Reference in new issue
Block a user