Skip to content
On this page

Athena.systems.jobTrigger

Functions

create

Usage

Athena.systems.jobTrigger.create(player, data): any

Creates a WebView Job Window to show to the player. Will invoke a callback or an event if accepted or declined.

Parameters

NameTypeDescription
playerPlayerAn alt:V Player Entity
dataJobTrigger

Returns

any

Defined in

server/systems/jobTrigger.ts:87


override

Usage

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

Used to override job trigger functions.

Parameters

NameType
functionName"create"
callback(player: Player, data: JobTrigger) => any

Returns

any

Defined in

server/systems/jobTrigger.ts:106

Created by Stuyk | Est. 2020