RESOURCE INJECTION
GetInjectableResources
Returns the resources that can be injected.
Syntax
local resources = ONYX.GetInjectableResources()Parameters
None
Return(s)
table — array of resource name strings currently available for injection.
Behavior
- Returns resources whose Lua VMs have been captured and can be injected into.
- Only resources seen within the last 2.5 seconds are returned; stopped or restarted resources drop out.
- Use it before calling InjectResource.
Example(s)
for _, name in ipairs(ONYX.GetInjectableResources()) do print(name) end