Skip to content
gimicze edited this page Nov 26, 2020 · 2 revisions

Here is a list (yes, very long) of events you can and should implement if you want to make some options work.

Dispatch system events

Listeners

fd:dispatch > client event; triggered only on the command issuer client (so that you can get street names for your calls)

  • vector3 dispatchCoords: the dispatch location

Triggers

fireDispatch:registerPlayer Subscribes a player to the built-in dispatch system.

  Arguments:

  • int playerID - the player's server ID

    Notes: server event; needs to be called from a server script

fireDispatch:removePlayer Unsubscribes a player from the built-in dispatch system.

  Arguments:

  • int playerID - the player's server ID

    Notes: server event; needs to be called from a server script

Clone this wiki locally