ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientElementStreamOut

Event

onClientElementStreamOut

ClientElementsIdentical to MTA:SA

An element moved away and the game stopped drawing it.

Handler

addEventHandler("onClientElementStreamOut", root, function() ... end)

Source

source is the element.

Example

addEventHandler("onClientElementStreamOut", root, function()
    if getElementType(source) == "vehicle" then outputConsole("Auto poza zasięgiem") end
end)

See also