2025-01-08 06:33:31 -05:00
|
|
|
if GetResourceState('doors_creator') ~= 'started' then return end
|
|
|
|
|
|
2025-01-10 16:36:20 -05:00
|
|
|
Doorlock = Doorlock or {}
|
2025-01-08 06:33:31 -05:00
|
|
|
|
|
|
|
|
Doorlock.GetClosestDoor = function()
|
|
|
|
|
return exports["doors_creator"]:getClosestActiveDoor()
|
|
|
|
|
end
|