Hello everybody
As we speak I current you my new script, a doorways creator
This script will enable server directors to simply create doorways by an in-game menu, and to decide on the principles for the doorways
​Showcase video​​​
Doors
- Uses the GTA 5 doors system, very optimized
- You can easily create as many doors as you want
- You can name each door so you will be able to identify them
- You can extremely easily select the door you want
- You can choose multiple doors (example for double doors)
- You can choose gates as well
- You can choose the default state of the door (locked/unlocked)
- You can choose the maximum distance where players will be able to lock/unlock the door
- You can choose the icon coordinates very easily
- Doors can require the player to have a specific job and rank to lock/unlock it
- Doors can require the player to have a specific item to lock/unlock it
- You can choose that the players requires or not to have both job and item
- Doors can require a code (both pin or password)
- Doors can have auto closure, so if a player unlocks it, it will automatically lock after X seconds
- Doors can be bound to a building, so they will follow the building rules instead of the specific door rules (more information below)
Buildings
- Buildings can be intended as categories of doors
- You can create as many buildings as you want
- Buildings will be an easy way to edit the rules of many doors in few seconds
- You can define the building rules (allowed jobs, required item, etc.) and all doors of the building will use those rules
- Using buildings will allow you to bulk edit doors rules later, without having you to edit all doors rules
Other
- You can enable/disable door lock animation and you can edit it
- You can edit the dimensions of the lock icon
- You can edit easily change the icons image and colors
- You can enable/disable to save doors status (locked/unlocked) after the server restart
- You can choose an item to let player to lockpick locked doors
- Download the script.
- Extract wherever you want into your resources.
- Add ACE permission
doors_creator
to allow admins using the script (example below). - Add
ensure doors_creator
in your server.cfg
You should place this in server.cfg, and editing it with your license
add_ace group.admin doors_creator allow # Add permission to group
# Can also be identifier.steam:steamid
add_principal identifier.license:1260e6efd3271584d7ed05n45cbf41575252acbc group.admin # Add player to the group
If you didn’t add the permission, the doorscreator command will show you exactly what you need to copy paste in server.cfg, with your license included!
Requirements
- A database and a script to connect to it (Example mysql-async )
- es_extended or QB-Core relying on which framework you’ll use
In case you are within the script you’ll find it here
Information
The script uses the official FiveM escrow system