Skip to content
On this page

Athena.systems.notification

Functions

toAll

Usage

Athena.systems.notification.toAll(message, ...args): void

Emit a notification to all players.

Parameters

NameType
messagestring
...argsany[]

Returns

void

Defined in

server/systems/notification/index.ts:12


toPlayer

Usage

Athena.systems.notification.toPlayer(player, message, ...args): void

Emit a notification to a single client.

Parameters

NameTypeDescription
playerPlayerAn alt:V Player Entity
messagestring
...argsany[]

Returns

void

Defined in

server/systems/notification/index.ts:29

Created by Stuyk | Est. 2020