Skip to content

About

Interactive RedM door locks with job/item access, lockpicking and in-game editor

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

Repository files navigation

w_doorlock

Interactive RedM door lock system with job/gang/item permissions, lockpicking, database persistence, and an in-game visual door editor (/doorlock) for Wraith Framework RedM.

Key Features

  • Lock/unlock single and double doors across the RedM map (press J).
  • Job, grade, gang, citizen, and item-based access control.
  • Built-in lockpicking support.
  • In-game admin board and door picker (/doorlock) backed by the w_doorlock MySQL table.

Installation

  1. Place w_doorlock in resources/[wraith]/w_doorlock.
  2. Add ensure w_doorlock to server.cfg after w_lib and w_core.

Key Exports

-- 1 = locked, 0 = unlocked
exports.w_doorlock:setDoorState(doorId, 1)
local door    = exports.w_doorlock:getDoor(doorId)
local byName  = exports.w_doorlock:getDoorFromName('valentine_sheriff_cell_1')
local closest = exports.w_doorlock:getClosestDoor()

Documentation & Links

License

GPL-3.0 — see LICENSE.

About

Interactive RedM door locks with job/item access, lockpicking and in-game editor

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages