Nucleus handler tools › Docs › ProtoInput › DisableMessageFilter
ProtoInput.DisableMessageFilter
Open in the workbench (search, and try it in a handler)
ProtoInput.DisableMessageFilter(
instanceHandle: number,
filterID: number
): void
Turns off a window message filter in the game instance. Parameters: the instance handle (Player.ProtoInputInstanceHandle) and a filter ID from ProtoInput.Values (the FilterID values).
✎ AI-written, based on Nucleus ProtoInput.cs (DisableMessageFilter), ProtoInputLoader InstallMessageFilter.cpp, ProtoInputHooks MessageFilterHook.cpp (SetFilterEnabled). Not from the official docs. Is it wrong? Tell us
instanceHandle: The player's Proto Input instance, Player.ProtoInputInstanceHandle (or PlayerList[i].ProtoInputInstanceHandle).filterID: Which filter to turn off: a ProtoInput.Values.*FilterID value, the same one passed to EnableMessageFilter.
✎ Parameters: AI-written from the Nucleus source.
Is this right?
Tell us what's wrong