NATIVE HOOK

UnhookNative

Removes the hook for a single native.

Syntax

ONYX.UnhookNative(hash)

Parameters

  • hash (integer) — 64-bit identifier of the native to unhook.

Return(s)

None

Behavior

  • Does nothing when no hook exists for that hash.
  • Otherwise removes it from the hook system and releases the Lua reference.

Example(s)

ONYX.UnhookNative(0x00A0EA33BCF5F4F7)