Skip to content
On this page

Athena.systems.tick

Functions

onTick

Usage

Athena.systems.tick.onTick(player): Promise<void>

Used to save the player every once in a while.

Parameters

NameTypeDescription
playerPlayerAn alt:V Player Entity

Returns

Promise<void>

Defined in

server/systems/tick.ts:18


override

Usage

Athena.systems.tick.override(functionName, callback): any

Used to override player tick functionality

Parameters

NameType
functionName"onTick"
callback(player: Player) => Promise<void>

Returns

any

Defined in

server/systems/tick.ts:102

Usage

Athena.systems.tick.override(functionName, callback): any

Used to override player tick functionality

Parameters

NameType
functionName"handlePing"
callback(player: Player) => void

Returns

any

Defined in

server/systems/tick.ts:103

Created by Stuyk | Est. 2020