#so new qb-core file i cant find the PlayerData.metadata['attachmentcraftingrep'] = PlayerData.metada

1 messages · Page 1 of 1 (latest)

vernal garnet
#

So ive gotten a script which requires me to add PlayerData.metadata['jobname'] = PlayerData.metadata['jobname'] or 0 to qb-core/server/player.lua and it says find PlayerData.metadata['attachmentcraftingrep'] = PlayerData.metadata and add it below? ive looked in all them and cant find it

teal stirrup
#

try to search config

vernal garnet
#

i see this metadata = {
hunger = 100,
thirst = 100,
stress = 0,
isdead = false,
inlaststand = false,
armor = 0,
ishandcuffed = false,
tracker = false,
injail = 0,
jailitems = {},
status = {},
phone = {},
rep = {},
currentapartment = nil,
callsign = 'NO CALLSIGN',
bloodtype = function() return QBConfig.Player.Bloodtypes[math.random(1, #QBConfig.Player.Bloodtypes)] end,
fingerprint = function() return QBCore.Player.CreateFingerId() end,
walletid = function() return QBCore.Player.CreateWalletId() end,
criminalrecord = {
hasRecord = false,
date = nil
},

robust galleon
#

Can you ask the author of the script?

vernal garnet