🔧Installation

First we want you to know that our script only supports the following versions of the two most used frameworks, in older versions it may be usable but we do not provide support since the development focuses on the following versions:

ensure oxmysql/icmysql
ensure qb-core
...(make sure to start the inventory before the script)

ensure origen_doorlock

Now you have to insert the SQL files into your database:

origen_doorlock/database.sql

Command to use the script: /doors

Config File

Config.Language = 'en'

Config.Drawtext = 'qb-core' -- Draw text library

Config.Debug = false -- Enable debug mode

Config.GroupPermissions = { --? Groups that can use the commands
    'god',
    'admin',
    'superadmin',
}

Config.Commands = 'doors' --? Command to open the menu

Config.Logs = { --? Discord webhooks
    CreateDoor = 'YOUR_DISCORD_WEBHOOK',
    DeleteDoor = 'YOUR_DISCORD_WEBHOOK',
    DoorsUsage = 'YOUR_DISCORD_WEBHOOK',
}

---------------------------------------------------------
--------------------------CORE---------------------------
---------------------------------------------------------
Config.GetCustomCoreObject = function()
    return nil -- Return your core object here
end

Last updated