Metatables

setnamecallmethod

Sets the current namecall method used by namecall hooks.

Syntax

setnamecallmethod(method: string)
Aliases set_namecall_method

Arguments

NameTypeDescription
methodstringNamecall method name.

Description

Sets the current namecall method used by namecall hooks.

Call it with 1 parameter(s): method. The argument table explains which values are required and which ones only refine the behavior.

It does not return data. Treat the call as an action and handle errors around the call site when needed.

Example

Example call with placeholder values.

setnamecallmethod("example")