Open Cocodrulo opened 3 months ago
Just updated, I dont really know if QBCore.Functions.GetIdentifier
does retrieve null because if we follow the documentation of the function GetPlayerIdentifierByType
and it is right, it always return a string so, the sub will happen in a string, but change it if the docs are not correct
QBCore.Functions.GetIdentifier
can very much return nil.
You will be correct if you are talking about old qbcore, now it uses the native:
Maybe add something to the config.lua to turn this on and off
Well, because the SQL file was change, I feel that it shouldn't be optional
Description
Nowadays most servers using QBCore uses discord whitelist, so the player will have their discord linked to FiveM. To ease integration with webapges I think discord information in main qbcore database table (players) should be kept to easy locate characters linked to a player.
Checklist