From b988bcd3651d723a461b837925897e0401ff0943 Mon Sep 17 00:00:00 2001 From: Arius <70983185+Arius-Development@users.noreply.github.com> Date: Sun, 12 Nov 2023 15:33:20 +0100 Subject: [PATCH] fixed qbcore error for dispatch --- server/bridge/qb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bridge/qb.lua b/server/bridge/qb.lua index e5d7aba..f47d92d 100644 --- a/server/bridge/qb.lua +++ b/server/bridge/qb.lua @@ -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)