ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getLatentEventHandles

Function

getLatentEventHandles

ServerEventsIdentical to MTA:SA

Returns the handles of latent events still being sent to a player.

Syntax

table getLatentEventHandles(player thePlayer)

Arguments

thePlayerplayer
The player.

Returns

A table of handles (numbers), or false.

Example

addCommandHandler("wysylki", function(player)
    outputChatBox("W drodze: " .. #(getLatentEventHandles(player) or {}), player)
end)

See also