okokBossMenu
Installation Guide
Requirements:
ox_lib v3.16.2+ (https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip).
Execute the following SQL code in your database:
CREATE TABLE IF NOT EXISTS `okokbossmenu_hours` (
`id` int NOT NULL AUTO_INCREMENT,
`citizenid` varchar(255) NOT NULL,
`hours` text NOT NULL,
`last_login` text DEFAULT NULL,
`job` text DEFAULT NULL,
PRIMARY KEY (`id`)
)
ESX ONLY
Execute the following SQL code in your database:
ALTER TABLE `users` ADD COLUMN `isOnDuty` BOOLEAN NOT NULL DEFAULT FALSE;
Add the following code at the end of es_extended/server/main.lua:
RegisterNetEvent("okokBossMenu:savePlayers")
AddEventHandler("okokBossMenu:savePlayers", function()
Core.SavePlayers()
end)
Server artifacts
Make sure your server artifacts version is up to date.
Last updated