Matches when the method name of the call in progress is method. This is the filter to pair with a __namecall hook, and it is the cheapest one: the comparison is a pointer test against the engine’s interned method name, with no string compare.

Parameters

string
required
The method name to match, e.g. "FireServer", "Kick", "InvokeServer".

Properties

string
The method name. Writable.

Behavior

  • Only meaningful during a namecall. Outside a __namecall there is no method name in flight, so the filter does not match.
  • It does not read arguments, so it is unaffected by argument positions.

Example

Errors