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 ​
Name | Type | Description |
---|---|---|
player | Player | An alt:V Player Entity |
data | JobTrigger |
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 ​
Name | Type |
---|---|
functionName | "create" |
callback | (player : Player , data : JobTrigger ) => any |
Returns ​
any