zones
This commit is contained in:
1 parent
6ed438a609
commit
abb5e21e03
2 files changed
+32
No files matched your search
@@ -92,6 +92,18 @@ Target.AddBoxZone = function(name, coords, size, heading, options)
|
||||
table.insert(targetZones, { name = name, creator = GetInvokingResource() })
|
||||
end
|
||||
|
||||
Target.AddSphereZone = function(name, coords, radius, options)
|
||||
options = Target.FixOptions(options)
|
||||
exports['qb-target']:AddCircleZone(name, coords, radius, {
|
||||
name = name,
|
||||
debugPoly = targetDebug,
|
||||
}, {
|
||||
options = options,
|
||||
distance = options.distance or 1.5,
|
||||
})
|
||||
table.insert(targetZones, { name = name, creator = GetInvokingResource() })
|
||||
end
|
||||
|
||||
Target.RemoveGlobalPlayer = function()
|
||||
exports['qb-target']:RemoveGlobalPlayer()
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user