Nucleus handler tools › Docs › ProtoInput › UninstallHook
ProtoInput.UninstallHook
Open in the workbench (search, and try it in a handler)
ProtoInput.UninstallHook(
instanceHandle: number,
hookID: number
): void
Removes a Proto Input hook from the game instance. Parameters: the instance handle (Player.ProtoInputInstanceHandle) and a hook ID from ProtoInput.Values (the HookID values).
✎ AI-written, based on Nucleus ProtoInput.cs (UninstallHook), ProtoInputLoader InstallHooks.cpp, ProtoInputHooks HookManager.cpp (UninstallHook). Not from the official docs. Is it wrong? Tell us
instanceHandle: The player's Proto Input instance, Player.ProtoInputInstanceHandle (or PlayerList[i].ProtoInputInstanceHandle).hookID: Which hook to remove: a ProtoInput.Values.*HookID value, the same one passed to InstallHook.
✎ Parameters: AI-written from the Nucleus source.
Is this right?
Tell us what's wrong