Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question How to disable multichar on QB?

MrSKY

Bronze Elite
Joined
Sep 24, 2021
Messages
10
Reaction score
186
Points
246
Location
Austria
Hello guys I previous used ESX now I'm trying QB but can't get it work to be possible to create just one char and to autospawn into it without any kind of selection.
Is this possible in QB like in ESX?
If yes how?

Greets
 

Am03

Member
Joined
Jun 29, 2022
Messages
18
Reaction score
1
Points
166
Location
UnitedLeeds
I am not sure if your able to remove it fully but the best thing that i can recommend to do is to set the character slots to 1 via the qb-multicharacter resource, and then remove all other spawn loations for qb-spawn
 

ithorfsu

Silver Elite
Joined
Dec 4, 2021
Messages
20
Reaction score
215
Points
306
Location
Ireland
Yes, this is easily doable. A pretty simple if statement to check if a player with that license has a character created (a mysql query would probably work best), if they do, trigger your spawn event. If they don't, load the multicharacter so they can create their character. All be doable within your multicharacter script.

Things worth noting, if you use this system, players will need to contact you directly to have a character deleted. Which could cause you hassle, and there's really not much way around this if you want to completely remove character selection for players with characters already.

A fix for this could be an option at your city hall to delete the character, you could use a prompt or target that just triggers the character deletion event that already exists in most cores, and is probably in whatever multicharacter you have. But it is risky, and you should definitely include a confirmation for the player just to make sure they don't do it accidentally.
 
Top