QBCore.Functions.CreateCallback("qb-multicharacter:server:getSkin", function(_,cb,cid)local result = MySQL.query.await('SELECT * FROM playerskins WHERE citizenid = ? AND active = ?', {cid, 1})if result[1] ~=nilthencb(result[1].model, result[1].skin)elsecb(nil)endend)
QBCore.Functions.CreateCallback("qb-multicharacter:server:getSkin", function(_,cb,cid)local result = MySQL.single.await('SELECT `model`, `skin` FROM `tgiann_skin` WHERE `citizenid` = ? LIMIT 1', {cid})if result and result.model and result.skin thencb(result.model, result.skin)elsecb(nil)endend)