Help me on code

Hey! How to make?:
Don’t show nick of steam.
Show nick of game (esx_identity).

RegisterNetEvent('currentbalance1')
AddEventHandler('currentbalance1', function(balance)
	local id = PlayerId()
	local playerName = GetPlayerName(id)
	
	SendNUIMessage({
		type = "balanceHUD",
		balance = balance,
		player = playerName
		})
end)

Should use source instead of PlayerId(). Just .Ake sure to save source or pass it.

Also edited your topic to show a full code block.

I’ve got the same thing that I need to figure out, any luck?