getElementInterior
Shared
Reads the interior an element is in. Interior 0 is the outside world.
int|false getElementInterior(element element)
Parameters
| Name | Type | Description |
|---|---|---|
| element | element | The 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