Skip to content

VoidZero69/void_doorlocks-vorp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

void_doorlocks-vorp

A RedM Doorlock system for Vorp Core

Join the VORP Community Discord

Features

  1. Toggle between Using item or Alt button to open doors
  2. Lock breaking doors
  3. Possibility to use different item for each door

Installation

  1. Download this repo/codebase
  2. Extract and place void_doorlocks-vorp into your resources folder
  3. Add ensure void_doorlocks-vorp to your server.cfg file
  4. Restart your server (unless you have nightly restarts)

Dependency

How-to-configure

If the Config.useitems is set to True : authorizedItem is responsible of locking/unlocking doors authorizedJobs will be neglected in the process

If the Config.useitems is set to False : Alt button is responsible of locking/unlocking doors (authorizedJob used for this)

Using Lockbreaker : You can use it whether the Config.useitems is set to True or False +You can choose if the door can be lockbreakable or not (canlockbreak)

Disclaimers and Credits

  • This is a modification to [bulgar_doorlocks_vorp] (Made by Bulgar)

Do not forget to:

  • ensure this resource after its dependencies
  • if you're adding a new key item you need to register it in the server side
  • add the item in db
  • exemples are provided in /config.lua and `/server/main.lua

About

A RedM Doorlock system for Vorp Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%