okokDocs
  • About Us
  • Scripts
    • okokVehicleControl
      • Config file
    • okokMechanicJob
      • Config file
    • okokPoliceJob
      • Config file
      • qb-inventory support
    • okokBossMenu
      • Config file
    • okokMulticharacter
      • Config file
    • okokPhone
    • okokSpawnSelector
      • Config file
      • qb-multicharacter support
    • okokLoadingScreen
      • Config file
    • okokVehicleSales
      • Config file
    • okokShop
      • Config file
    • okokGasStation
      • Config file
    • okokTuning
      • Config file
    • okokGarage
      • Config file
      • RGB vehicle colors
      • Inventories metadata
      • Housing integrations
      • qb-phone support
    • okokVehicleShop
      • Config file
      • Common errors
    • okokBanking
      • Config file
      • Paycheck transactions
      • Registering transactions
    • okokMarketplace
      • Config file
      • Common errors
    • okokChat
      • Config file
      • Export
    • okokBilling
      • Config file
      • Snippets
    • okokCrafting
      • Config file
    • okokContract
      • Config file
    • okokTalkToNPC
      • Config file
    • okokReports
      • Config file
    • okokNotify
      • Config file
      • Snippets
    • okokTextUI
      • Config file
      • Snippets
    • okokRequests
    • okokDeleteVehicles
      • Config file
  • Others
    • Discord Webhook
Powered by GitBook
On this page
  • Installation Guide
  • Requirements:
  • Execute the following SQL code in your database:
  • ESX ONLY
  • Server artifacts
  1. Scripts

okokBossMenu

Previousqb-inventory supportNextConfig file

Last updated 11 months ago

Installation Guide

Requirements:

ox_lib v3.16.2+ ().

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.

Windows:

Linux:

YouTube Video
https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip
https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/
https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/