M MY Multiplayer: Wiki
Side
Kind

getElementInterior

Shared

Reads the interior an element is in. Interior 0 is the outside world.

int|false getElementInterior(element element)

Parameters

NameTypeDescription
elementelementThe element to read.

Returns

The interior's number, or false if the element has none.

Example

if getElementInterior(localPlayer) == 0 then
    outputDebugString("You are outside.")
end

See also