Skip to content

client.AllowListener s1

Registers a game event listener so your Lua script can receive it in the FireGameEvent callback.

Syntax

client.AllowListener(name)

Parameters

namestring
Name of the game event to listen for.

Returns

No return value.

Notes

Note

Exhaustive list of CS2 Game Events