🐼 Scripts
um-multicharacter
setup
esx

um-multicharacter

Framework

  • Make sure your esx_core version are not old

Installation

Firstly

  • stop basic-gamemode in server.cfg (do not add this again, if you have this, replace ensure with stop)
  • Replace web > build > logo.png with your server logo (Appears for someone creating a character for the first time)
  • Then, go to the config.lua file and configure it according to your preferences.

What needs to be set in the config? (Important ones)

Config.Identifier = 'license' -- license or steam or discord
 
Config.Prefix = 'char'
 
Config.Clothing = 'illenium-appearance'
--[[
     illenium-appearance,
     fivem-appearance (old illenium for qb or esx, not default version),
     skinchanger
     or custom
     (
        [custom] should work close to them or support events,
        otherwise your old clothing menus will not work with um-multicharacter
     )
]]
 
Config.SkinTable = 'skin'
 
Config.AnimationMenu = 'other' -- rpemotes, scully, other [list/animationlist.lua]

es_extended

  • es_extended > config.lua
Config.Multichar = true
Config.Identity  = true

esx_multicharacter

  • delete esx_multicharacter

esx_loadingscreen (If you are using this)

  Config.Fade = false

esx_identity

esx_identity

  • um-multicharacter only works with esx_identity esx_identity (opens in a new tab)
  • open esx_identity > client > main.lua
  • Find this RegisterNUICallback("register", function(data, cb) in your esx_identity and replace this code below
    RegisterNUICallback('register', function(data,cb)
        ESX.TriggerServerCallback('esx_identity:registerIdentity', function(callback)
            if not callback then
                return
            end
            if not ESX.GetConfig().Multichar then
                return print('Need es-extended > config.lua > Multichar true')
            end
        end, data)
        cb(1)
    end)
end

SQL [esx_core]

Server.cfg

💡

You need to do the sorting correctly (um-multicharacter must always be at the end)

ensure oxmysql
ensure ox_lib
------------------
ensure es_extended
ensure [core]
ensure [standalone]
------------------
ensure um-multicharacter

Optional (More stable)

  • If you have a loading screen check fxmanifest.lua
  • add it if it doesn't have it loadscreen_manual_shutdown 'yes'

Requirements