Hello VAG Forum Family
The main skeleton of its view is from the framework I saw in a different forum and I integrated it into qbus multicharacter. I will share with you the multi-character with various features added.
Extra Features
- You can turn on the ability of players to delete their own character via
Config
- In the same way, you can set whether the slots after the 1st slot will be opened according to the authorization you have given over the database via the config (For a player, you must first open the 2nd slot on the database and then open the 3rd slot, if you open the 3rd slot first, it will not work)
Setup
Step - 1 You need to install the sql file I gave
Paso - 2 Para que las fotos de los personajes funcionen, debes hacer algunas ediciones en el gcphone. Debe ir a
gcphone/server/twitter.lua , encontrar este evento
gcPhone:twitter_setAvatarUr l y luego escribir el código que he proporcionado a continuación.
View attachment 1364
[CÓDIGO]exportaciones['ghmattimysql']:ejecutar("ACTUALIZAR `jugadores` SET `mugshot`= @avatarUrl DONDE ciudadanoid = @citizenid", {
['@citizenid'] = identificador.PlayerData.citizenid,
['@avatarUrl'] = avatarUrl
}, función (resultado)
fin)[/CÓDIGO]
Paso - 3 Si está utilizando qb-apartments, debe eliminar el evento denominado
apartments:client:setupSpawnUI en el cliente y reemplazar el qb-spawn en el archivo que compartí a continuación con el suyo.
*** Texto oculto: no se puede citar. ***
BUENOS FOROS