getElementDimension
Shared
Reads an element's dimension, from 0 to 65535.
int getElementDimension(element element)
Parameters
| Name | Type | Description |
|---|---|---|
| element | element | The element to read. |
Returns
The dimension's number.
Example
if getElementDimension(localPlayer) ~= 0 then
outputDebugString("You are in another dimension.")
end