This commit is contained in:
OGReaper committed 2025-04-05 20:58:13 +13:00
1 parent 6ed438a609
commit abb5e21e03
2 files changed
+32

No files matched your search

+12
View File
@@ -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