Player Data Missing?
function GetPlayerData(source) local player = QBCore.Functions.GetPlayer(source) print('[DEBUG] GetPlayerData for ' .. source .. ': ' .. tostring(player)) if not player then return nil end -- ... end
Last updated
function GetPlayerData(source)
local player = QBCore.Functions.GetPlayer(source)
print('[DEBUG] GetPlayerData for ' .. source .. ': ' .. tostring(player))
if not player then return nil end
-- ...
endLast updated