Get closest door
Returns the closest active door to the player
Export
Return
Name
Data Type
Description
door
table
Table containing the door.id and the door.object
distance
float
Distance from the door
Example
Last updated
Returns the closest active door to the player
door
table
Table containing the door.id and the door.object
distance
float
Distance from the door
Last updated