targets and inventory update
Targets: sphearzone should not take a heading, removed optional debug at the end for individual debugging Inventory: Added OpenPlayerInventory for all inventories. 2 (aka codem and qs) did not have clear documentation. Probably doesnt work
This commit is contained in:
1 parent
fc8da1d528
commit
466e86bfdb
13 files changed
+82
-6
No files matched your search
@@ -146,13 +146,13 @@ end
|
||||
---@param coords table
|
||||
---@param radius number
|
||||
---@param options table
|
||||
Target.AddSphereZone = function(name, coords, radius, heading, options)
|
||||
Target.AddSphereZone = function(name, coords, radius, options, debug)
|
||||
options = Target.FixOptions(options)
|
||||
local target = sleepless_interact:addSphereZone({
|
||||
coords = coords,
|
||||
radius = radius,
|
||||
name = name,
|
||||
debug = targetDebug,
|
||||
debug = targetDebug or debug,
|
||||
options = options
|
||||
})
|
||||
table.insert(targetZones, { name = name, id = target, creator = GetInvokingResource() })
|
||||
|
||||
Reference in new issue
Block a user