- Documentation
- Client events
- onClientElementStreamIn
Event
onClientElementStreamIn
An element appeared near the player (the game loaded it and draws it).
Handler
addEventHandler("onClientElementStreamIn", root, function() ... end)Source
source is the element.
Example
addEventHandler("onClientElementStreamIn", root, function()
if getElementType(source) == "player" then outputChatBox(getPlayerName(source) .. " jest blisko") end
end)