GetLatentEventHandles

From Multi Theft Auto: Wiki

Accessories-text-editor.png Script Example Missing Function GetLatentEventHandles needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

Gets the currently queued latent events. The last one in the table is always the latest event queued. Each returned handle can be used with getLatentEventStatus or cancelLatentEvent

Syntax

Click to collapse [-]
Server
table getLatentEventHandles ( player thePlayer )

Required Arguments

  • thePlayer: The player who is receiving the events.
Click to collapse [-]
Client
table getLatentEventHandles ( )

Returns

Returns a table of handles or false if invalid arguments were passed.

Example

TODO

Requirements

Minimum supported server 1.3.0-9.03772
Minimum supported client 1.3.0-9.03772

Note: Using this function requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.3.0-9.03772" client="1.3.0-9.03772" />

See Also