Hi there, im </dojwun>#2103 ๐ |
---|
No longer Active
Updated 2/21/2022
All Credits to go to the original qbcore-framework repository
Home Page: https://github.com/qbcore-framework
License: GNU General Public License v3.0
Hi there, im </dojwun>#2103 ๐ |
---|
No longer Active
Updated 2/21/2022
I get a crash whenever i select the third slot which means that something is wrong with the male ped np_m_character_select , i can't also find the ydd file for the np_m_character_select
When im using this qb-multicharacter my player drops in dead
having an issue where the interior isn't loading for players and their ped is falling into the water below and killing them before they get in.
When loading in initially, the character and train are both spawned in the sky. However, when i log out in the apartment and switch characters, it works as expected.
When you join in the server i have this in my F8 console "HasCollisionModelLoaded"
ive done many things to fix it but couldnt find problem, please help i have ensured it before every other resource i even deleted my cache and started fivem up again still not working
QBCore.Functions.CreateCallback("qb-multicharacter:server:getSkin", function(source, cb, cid)
local result = exports.oxmysql:fetchSync('SELECT * FROM playerskins WHERE citizenid = ? AND active = ?', {cid, 1})
if result[1] ~= nil then
cb(result[1].model, result[1].skin, result[1].tattoos)
-- print("MODEL: "..result[1].model)
-- print("SKIN: "..result[1].skin)
-- print("TATTOOS: "..result[1].tattoos)
else
cb(nil)
end
end)
Trying to integrate fivem-appearance into this so it can load my ped. i've changed everything so it will work the only thing im having trouble with is getting the ped preview to show when i click on a character.
Here is the code for the get skin callback
QBCore.Functions.CreateCallback('fivem-appearance:getPlayerSkin', function(source, cb)
local Player = QBCore.Functions.GetPlayer(source)
local players = exports.oxmysql:fetchSync('SELECT skin FROM players WHERE citizenid = ?', {Player.PlayerData.citizenid})
local player, appearance = players[1]
if player.skin then
appearance = json.decode(player.skin)
end
cb(appearance)
end)
How would i make this work with what you've created?
Thanks,
Pitzo.
after loading i spawn in default skin and multicharacter screen wont come up until i restart it have it started after qb core and qb-spawns
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.