reverted name to usernames

This commit is contained in:
jimathy
2022-02-10 11:26:00 +00:00
committed by GitHub
parent ce90bd4f26
commit 683f017029

View File

@@ -49,7 +49,7 @@ RegisterNetEvent('jim-payments:client:Charge', function()
--TriggerEvent("QBCore:Notify", "["..GetPlayerServerId(v).."] - "..name.." ("..math.floor(dist+0.5).."m)", "error")
if v ~= PlayerId() then
playerList[#playerList+1] = { value = GetPlayerServerId(v), text = "["..GetPlayerServerId(v).."] - "..name.." ("..math.floor(dist+0.5).."m)" }
playerList[#playerList+1] = { value = GetPlayerServerId(v), text = "["..GetPlayerServerId(v).."] - "..GetPlayerName(v).." ("..math.floor(dist+0.5).."m)" }
end
end