Athena.systems.notification ​
Functions ​
toAll ​
Usage
Athena.systems.notification.toAll(message, ...args): void
Emit a notification to all players.
Parameters ​
| Name | Type |
|---|---|
message | string |
...args | any[] |
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 ​
| Name | Type | Description |
|---|---|---|
player | Player | An alt:V Player Entity |
message | string | |
...args | any[] |
Returns ​
void
V5 Docs