Client
Functions

pickClosestDoor

Attempt to pick the lock of the closest door. Dependant on server-side checks and may fail.

exports.ox_doorlock:pickClosestDoor()

useClosestDoor

Interact with the closest door. Dependant on server-side checks and may fail.

exports.ox_doorlock:useClosestDoor()