diff --git a/UPCODE-DEATHSCREEN/client/main.lua b/UPCODE-DEATHSCREEN/client/main.lua index 27d2504..660cc6d 100644 --- a/UPCODE-DEATHSCREEN/client/main.lua +++ b/UPCODE-DEATHSCREEN/client/main.lua @@ -38,7 +38,7 @@ Citizen.CreateThread(function() if Configuration.Framework == 'esx' then playerJobName = ESX.PlayerData.job.name else - playerJobName = PlayerData.job.name + playerJobName = QBCore.PlayerData.job end if playerJobName == "ambulance" then @@ -244,4 +244,4 @@ DrawText3Ds = function (x, y, z, text) SetDrawOrigin(x,y,z, 0) DrawText(0.0, 0.0) ClearDrawOrigin() -end \ No newline at end of file +end