Skip to content

Commit

Permalink
fix(bridge/qb): character name not showing on inventory (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkart2 committed Feb 21, 2024
1 parent 3c7e251 commit 5487d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bridge/qb/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ end
local function setupPlayer(Player)
Player.PlayerData.inventory = Player.PlayerData.items
Player.PlayerData.identifier = Player.PlayerData.citizenid

Player.PlayerData.name = ('%s %s'):format(Player.PlayerData.charinfo.firstname, Player.PlayerData.charinfo.lastname)
server.setPlayerInventory(Player.PlayerData)

Inventory.SetItem(Player.PlayerData.source, 'money', Player.PlayerData.money.cash)
Expand Down

0 comments on commit 5487d1a

Please sign in to comment.