Documentation
wnt_multicharacter
MulticharacterSmooth multi-character selection with slots, creation and live previews.
QBCoreESXQbox
Installation
Follow these steps to get wnt_multicharacter running. It works out of the box on QBCore, ESX and Qbox.
- 1
Download the resource
Grab the latest release from your account dashboard or straight from your CFX keymaster. - 2
Drop it into resources
Extract the folder into your server'sresourcesdirectory. - 3
Add it to your server.cfg
Below your framework and oxmysql:server.cfgensure oxmysql ensure wnt_multicharacter - 4
Import the database
Run the included SQL file once — it creates every table for you:bashmysql -u root -p yourdatabase < wnt_multicharacter.sql - 5
Configure & restart
SetConfig.Frameworkinconfig.lua, restart your server and you're done!
Make sure wnt_multicharacter loads after your framework and oxmysql so its exports register correctly.
Configuration
Everything lives in config.lua. Just set your framework and you're good to go:
config.lua
Config = {}
Config.Framework = 'qbox' -- 'qb' | 'esx' | 'qbox'
Config.Slots = 5
Config.EnablePreview = true
Config.SpawnLast = trueDeveloper API
Exports and events you can use from your own resources:
exports['wnt_multicharacter']:GetSlots(source)Returns the number of unlocked character slots.
TriggerEvent('wnt_multicharacter:client:selected', charId)Fired client-side once a character has been chosen.
Troubleshooting
If wnt_multicharacterwon't start, check your console for missing dependencies and open a ticket in our Discord with the output.