events_t

Usage: mods.events.{method}

This module lets you manage custom in-game event listener.

triangle-exclamation

add_listener

Method

Adds a game event to the listener.

circle-check

Arguments

Name
Type
Description

name

string

Event name.

Returns

Nothing.

Example

Last updated