2025-01-10 16:36:20 -05:00
|
|
|
if GetResourceState('ox_doorlock') ~= 'started' then return end
|
|
|
|
|
|
|
|
|
|
Doorlock = Doorlock or {}
|
|
|
|
|
|
2025-04-08 19:10:02 -04:00
|
|
|
---This will get the closest door to the ped
|
|
|
|
|
---@return string | nil
|
2025-01-10 16:36:20 -05:00
|
|
|
Doorlock.GetClosestDoor = function()
|
|
|
|
|
return exports.ox_doorlock:getClosestDoor()
|
|
|
|
|
end
|