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:
  • Enable Purchased Character Slots (via Tebex)
  • ESX ONLY
  • Server artifacts
  1. Scripts

okokMulticharacter

PreviousConfig fileNextConfig file

Last updated 12 months ago

Installation Guide

Requirements:

  • ox_lib v3.16.2+ ();

  • Disable qb-multicharacter/esx_multicharacter.

Execute the following SQL code in your database:

CREATE TABLE `okokmulticharacter_tebexids`(
    `identifier` varchar(255) NOT NULL PRIMARY KEY,
    `tebexids` longtext NULL
);

Enable Purchased Character Slots (via Tebex)

Go to your server.cfg and add setr sv_tebexSecret YOURSECRETKEY.

To obtain the Secret Key, go to and hit the Edit button.

Now, you should set the package id in the config file (Config.PackageID).

Once you've created the package on Tebex, you'll find a link similiar to this one: ; simply copy the final numbers and paste them after the Config.PackageID.

ESX ONLY

Navigate to es_extended/config.lua and set Config.Multichar = true instead of Config.Multichar = GetResourceState("esx_multicharacter") ~= "missing".

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://creator.tebex.io/game-servers
https://creator.tebex.io/packages/1726354
https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/
https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/