- Documentation
- Client events
- onClientElementInteriorChange
Event
onClientElementInteriorChange
An element moved to another interior.
Handler
addEventHandler("onClientElementInteriorChange", root, function(oldInterior, newInterior) ... end)Parameters
oldInteriorint- Old interior.
newInteriorint- New interior.
Source
source is the element.
Example
addEventHandler("onClientElementInteriorChange", localPlayer, function(old, new)
outputChatBox("Wnętrze: " .. new)
end)