[Release] esx_scoreboard with jobs online and rp info for admins

Did you mean #wrap? and What to change pls help me I’m newb

Yes, it’s CSS language!
Change the “margin-left: 74%;” to “margin-left: 50%;”

I change the position in the html and then it resets itself. Also the jobs aren’t showing up. Fairly new to all this but I don’t know why the position keeps going back to default.

Positon resets when I change it and also can’t seem to get the jobs to show up.

I have this problem too for displaying “Jobs” and “IDs” for Admin ranks!

scrbrd-issue

here is where the brains part comes in! Its in client.lua

If you have any problems centering the scoreboard:

Remove(esx_scoreboard\html\style.css) under #wrap:

margin-top: 1%;
margin-left: 74%;
margin-right: 0%;

Add:

margin: 0 auto;

Should fix the score top-right corner problem and center the whole thing.

What?! What is it in client.lua?

2 errors >

and this

Got this problem

Error resuming coroutine: @esx_scoreboard/server.lua:56: attempt to concatenate a nil value (local ‘lastname’)
stack traceback:
@esx_scoreboard/server.lua:56: in function ‘AddPlayerToScoreboard’
@esx_scoreboard/server.lua:82: in function ‘AddPlayersToScoreboard’
@esx_scoreboard/server.lua:19: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218

i have this error plz help es_extended: TriggerServerCallback => [esx_scoreboard:getConnectedPlayers] does not exist how can i sole this problem

If it’s not broken, don’t fix it. You did this on your own, so fix it.

Works like a charm but edited to my liking :smiley:

2 Likes

Silly question. What file and line of code is it so that i can move the ui to the center of the screen like the example above?

*.css file under html directory

Went through this but was unsure which actually moved as i didn’t want to change the size etc.

google it how to use css

1 Like

Super helpful, if only I had thought of that first… :thinking:

Could you share it? I’m trying to leave it like that, but I’m not good at programming, Thanks for your time