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

Event

onClientElementInteriorChange

ClientElementsIdentical to MTA:SA

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)

See also