Skip to content

Commit

Permalink
fixed qbcore error for dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Arius-Scripts committed Nov 12, 2023
1 parent 5027a41 commit b988bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/bridge/qb.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ end
function getPlayerName(target)
local xPlayer = QBCore.Functions.GetPlayer(target)

return xPlayer.charinfo.firstname .. " " .. xPlayer.charinfo.lastname
return xPlayer.PlayerData.charinfo.firstname .. " " .. xPlayer.PlayerData.charinfo.lastname
end

function getDeathStatus(target)
Expand Down

0 comments on commit b988bcd

Please sign in to comment.