IsNearLockableDoor
lua
It checks property doors (MLO doors) and furniture doors. Use it to block things like emotes or ragdoll while a player stands at a door.
Return Value
booleanWhether the player is near a lockable door'map' | 'furniture' | nilThe kind of door:'map'for a property door,'furniture'for a furniture doortable | nilThe door data. See GetClosestDoor and GetClosestFurnitureDoor
Example
lua