ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getElementInterior

Function

getElementInterior

Server and clientElementsIdentical to MTA:SA

Returns the element's interior number (0 is the outside world).

Syntax

int getElementInterior(element theElement)

Arguments

theElementelement
The element.

Returns

Interior 0-255.

Example

if getElementInterior(player) ~= 0 then
    outputChatBox("Jesteś w budynku.", player)
end

See also