[Release] esx_scoreboard

How to change the name of players with steam id ?
Please help

why it didnt show to the screen? my problem is it didnt show the scoreboard

:frowning:

help pleaseee!!!

Can anyone say how to replace name with steam id ??
I done this if anything else need to do share steps :slight_smile:

Server Side Script 
From Line 42 
function AddPlayerToScoreboard(xPlayer, update)
	local playerId = xPlayer.source

	connectedPlayers[playerId] = {}
	connectedPlayers[playerId].ping = GetPlayerPing(playerId)
	connectedPlayers[playerId].id = playerId
--	connectedPlayers[playerId].name = xPlayer.getName()
    connectedPlayers[playerId].steam= xPlayer.getSteam()
	connectedPlayers[playerId].job = xPlayer.job.name

Hello, you must have a problem with es_extended or essntialmode. Try updating it or add it.

if v.job == ‘ambulance’ then
ems = ems + 1

OKAY, ambulance is name for setjob … /setjob “ID” ambulance “grade”

But ems = ems why?
if i want add tequilala job

if v.job == ‘tequilala’ then
??? = ??? + 1

what i put into the “?”’

https://github.com/Vicxke/esx_scoreboard this is an edited version of it

How can i fix the esx_scoreboard

Can someone help? i dont know why I am getting this error. I tried reinstalling, restarting the script and the server

Im getting the same error

Can I split somehow the scoreboard or somehow manage to be able to see players above 33 ?

1 Like

what does your line say we need to be able to see it to find out what is really going wrong (esx_scoreboard > server > main.lua:98)

I ended up fresh installing and it’s fixed now. Thanks you

Hi! Who can I make to have the same ID, cuz when I connect I have ID 1 and after reconnect I have 2 thx

1 Like

how to hide how many police are online

Sometimes my scoreboard when there are players above 20 just dies after a restart. It says ‘nil’ and only display the players who joined after the restart.

i click f10 to pull it up (changed the keybind from f9) and i click it again or click esc and it doesnt go away. how can i fix this? how can i make it so that i need to hold my keybind for it to show instead of toggling it? and finally how do i disable the cursor appearing when i pull the scoreboard up

Same error

my scoreboard is working but gets this error in the console.


why is there an error even though its working perfectly fine

i just reinstalled and it works seems to not work with F10 idk, its a shame that it didnt seem to work with F10 for some reason but not a big issue