👾 renzu_multicharacter - Player Multicharacters [ESX/QBCORE]

:space_invader: renzu_multicharacter

Hi, i want to share this new resource :heart:
Fivem - ESX & QBCORE Multicharacters

ezgif-2-8aa88d2d7b

.

Image and video

:inbox_tray: Download

:boom: Feature

  • Support ESX and QBCORE
  • ESX Legacy Standard Multicharacter Logic using (char) as prefix
  • Intro Cameras and BG music
  • Character Deletion
  • Support Showing Your custom Logo
  • Builtin Character Registration
  • Supports Spawn Selector (by default this uses my renzu_spawn as a Selector)
  • Supports Latest skinchanger & fivemappearance or qb-clothing
  • Supports /relog command (logout)
  • Supports Updating Slots number via config or commands. there is no maximum number but 10-20 is good.
  • Support Starter items
  • Player States on UI

:joystick: Commands

  • /relog (logout)
  • /updatecharslots (update the total of slots) ex. /updatecharslots ID 10

:boy:t2: Skin Resource

Summary
  • Support skinchanger, fivemappearance, qb-clothing
Config.skin = 'skinchanger' -- skinchanger , fivemappearance, qb-clothing

Skin Menus / Character Creator Support

  • we include multiple resource for each skin resource and you can add more if yours is missing.
Config.SkinMenus = {
	['skinchanger'] = {
		['esx_skin'] = {event = 'esx_skin:openSaveableMenu', use = true},
		['VexCreator'] = {event = 'VexCreator:loadCreator', use = false},
		['cui_character'] = {event = 'cui_character:open', use = false},
		['example_resource'] = {exports = 'exports.example:Creator', event = nil, use = false}, -- example support exports
	},
	['fivemappearance'] = {}, -- is there any creator uses fivemappearance? i will leave this todo for now
	['qb-clothing'] = {
		['qb-clothing'] = { event = 'qb-clothing:client:openMenu', use = true},
	},
}

:hash: Player States in UI

image

States Information
  • this shows the current state of player if its set manually. (ex. shows if player is dead)
  • callbacks are triggered once player has been login.
  • sample use case: register state if player is in vehicle’
exports.renzu_multicharacter:RegisterStates('invehicle', function()
 	if not lib then return end -- ox_lib
 	print('registered')
 	lib.onCache('vehicle', function(value)
 		print(value)
 		LocalPlayer.state:set('invehicle',value and {net = NetworkGetNetworkIdFromEntity(value) or false},true)
 	end)
end,false) -- set spawn selector true or false
  • and once the player accidentaly logout, once the player login again, they will automatically spawn on the vehicle even if its moving.
  • there could be more use case. like if player is in jail or hospital, community service you could potentially disable spawn selector for ex.
  • more use case is if player is in apartment or housing. you could preload the house while the player is respawning.
  • set manualy
 		LocalPlayer.state:set('isdead',value,true)

:hammer_and_wrench: install

Installation
  • make sure this config from esx is setup this way
Config.Multichar                = true -- Enable support for esx_multicharacter
Config.Identity                 = true -- Select a characters identity data before they have loaded in (this happens by default with multichar)
  • verify whats your framework config.lua
Config.framework = 'ESX' -- ESX or QBCORE
  • verify your skin resource
Config.skin = 'skinchanger' -- skinchanger , fivemappearance, qb-clothing
  • verify your using ESX legacy or latest QBCORE
  • stop esx_multicharacter
  • stop esx_identity or keep it
  • stop qb-multicharacters
  • stop qb-spawn if your are going to use my spawn resource. renzu_spawn

esx sql column dependencies

  • make sure you have this skin column from users @ esx_skin sql
ALTER TABLE `users` ADD COLUMN `skin` LONGTEXT NULL DEFAULT NULL;
  • make sure you have this column from users @ esx_identity sql
ALTER TABLE `users`
	ADD COLUMN `firstname` VARCHAR(16) NULL DEFAULT NULL,
	ADD COLUMN `lastname` VARCHAR(16) NULL DEFAULT NULL,
	ADD COLUMN `dateofbirth` VARCHAR(10) NULL DEFAULT NULL,
	ADD COLUMN `sex` VARCHAR(1) NULL DEFAULT NULL,
	ADD COLUMN `height` INT NULL DEFAULT NULL
;

qbcore sql

  • if you are recently using qb-multicharacters there should be no sql missing

:chains: Dependency

:handshake: compatibilites

  • this supports qb-spawn ( you need to disable spawnselector in config ) - by default qbcore is setup this way. so you can have your spawn in aparment, housing etc… (temporary until i release my housing with apartments)
  • esx_kashacters identifier logic - this dont support the old multicharacter logic. its only support if your esx legacy is using char as prefix for multicharacters
  • skinchanger repos - this supports the skinchanger so this probably supports CUI characters too. since its a revamped skinchanger with creator ui.

:heart: contribution

if you found issues or enhancement idea you can post it here or here

27 Likes

nice work renzu thank you very much

1 Like

Hi @Renzuzu , i have a problem with your script, i have config everything, and honnestly i’ve change nothing but what is needed but i still have this error :
image_2022-11-30_015447132
Do you have any clue ?
Cause ‘MySQL’ seems fine for me…
Thank you !

2 Likes

use oxmysql

best one brother

@Renzuzu you deserve a fuc**** :medal_sports:… You really care about community not your pocket! And that’s something really hard to find in this days! You already offer a server if combine all your FREE releases! :+1:t2::clap:t2::clap:t2:

2 Likes

one question, does this also effect the owned vehicles or does the second chat also have all the vehicles from the first char

this uses, char1:indentifierXXXXXXX logic.

so if your vehicleshop saved it the same on database. its should be unique.

beside this dont support old logic multicharacter like esx_kashacters

i have an issue with the default skin for female on character creation spawning in as male features

what framework and skin resource?

i just tried now, there is no issue on spawning a female with default appearance.

the skin resource is the one who saved the skin. eg. esx_skin, fivemapearance or qb-clothing

i use esx_skin, updated version also

When i choose female on character creation it does show the female default but when i spawn in to esx_skin menu it defaults to male features

i made a little video of my issue

Issue

would also like to add that this is top tier for being free man, appreicate the free release

i did try with latest skinchanger with latest esx and esx_skin

does your skinchanger is customize?

or it could be probably your esx_skin

i did update them both yes, i will retry it again

if your using latest esx legacy.

try the latest esx_skin and skinchanger first. so we can debug your problem

as there is a lot of version of this skinchanger and esx_skin

and the latest one breaks the older esx legacy due to the TranslateCap

1 Like

this fixed it man appreicate it

really?

i just found the possible issue

as i never encounter this with my skinchanger version and esx skin so i probably have mistake.

i can revert my changes and try this to see if it worked?

if its already working for you dont revert it. since you are using a latest now.
its better to use latest version as always. :smiley:

but those i update is probably the one causing it . since the gender value is nil when selecting gender as Female

2 Likes

Nice release bro, is working with fivem appearance?

2 Likes