GetClosestDoor
Gets the closest door no matter the distance from it
exports.nolag_properties:GetClosestDoor()Return Value
Returns a table with the following information
id:
numberstate:
number0 for unlocked | 1 for lockeddistance:
numberthe distance from the door
Last updated