RESOURCE INJECTION

StopResource

Stops a running resource.

Syntax

local ok = ONYX.StopResource(resourceName)

Parameters

  • resourceName (string) — Target resource identifier.

Return(s)

state (boolean) — whether the resource was stopped successfully.

Behavior

  • Stops the requested resource through the ONYXS resource stopper mechanism.

Example(s)

ONYX.StopResource("anticheat")