my scoreboard doesnt automatically update i have to use /screfresh
Hi. After fivemâs servers update, the scoreboard did not work.
Can anyone say how to replace name with steam id ??
I done this if anything else need to do share steps
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
For some reason this is not working anymore. I havenât changed anything in my script but when I press the hotkey, the scoreboard doesnât come up.
IDs are not shown if they are in the user group, help please
Error running system event handling function for resource esx_scoreboard: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server/main.lua:43: attempt to index a nil value (local âxPlayerâ)
stack traceback:
server/main.lua:43: in function âAddPlayerToScoreboardâ
server/main.lua:17: in upvalue âhandlerâ
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function âerrorâ
citizen:/scripting/lua/scheduler.lua:41: in field âCreateThreadNowâ
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182
how to fix this
where should I adjust this we would like to use this on our server? thank you in advance
How can I scroll down if I have more than 33 players?
Ok so i am probably doing something wrong but i have been banging my head for 3 days trying to figure what i did wrong, so i putted the files to my system folder on my server and putted on the server.cfg the start Stadus_Scoreboard and also i stopped the normal scoreboard from starting but it didnât work. After that i renamed the folder to scoreboard and remove the old scoreboard and remove the Stadus_Scoreboard from the server.cfg and only left working the start scoreboard and still nothing. Please some help.
And, how do you fix it?
Iâve got the same.
how i can put more slots? i have 32 for some reson
how to make it show â+2â if 2 or more police officers connected?
How have you fixed that?
I had something conflicting with the script!
i solved it
you need to framework to use this? i like the idea of the jobs to instead add to see staff
but i dont have a brain
Any clue on how to Toggle Esx_Scoreboard for Admin only or Hide Server ID from users?
wow
is crazy