GetLatentEventHandles

From Multi Theft Auto: Wiki

Jump to: navigation, search

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

Server:

table getLatentEventHandles ( player thePlayer )

Client:

table getLatentEventHandles ( )

Required Arguments

  • thePlayer: (Only required if called on the server) The player who is receiving the events.

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.

See Also

FROM VERSION 1.3.1 ONWARDS