Skip to content
On this page

AthenaShared.interfaces.eventCall.EventCall

shared/interfaces/eventCall.EventCall

Used in the job system to invoke various detached events.

Interface

EventCall

Properties

callAtStart

Optional callAtStart: boolean

Used to call an event right when an objective is started. Only useful for the job system.

Defined in

shared/interfaces/eventCall.ts:34


eventName

eventName: string

The name of the event to call. ie. 'openTrunk'

Defined in

shared/interfaces/eventCall.ts:15


isServer

isServer: boolean

Does this event get emitted to the server? Only useful for client-side.

Use alt.on to get this event if set to false. Must be entirely client-side or entirely server-side if false.

Defined in

shared/interfaces/eventCall.ts:26

Created by Stuyk | Est. 2020