[release] [esx] Custom Scoreboard with jobs online

roleplay

#22

use atom.io to open the html file then go to emojipedia.org and get yourself a new one and replace the old :slight_smile:


#23

Thanks for the help, it worked


#24

Hey guys! Just a quick helpful tip for those of you who might have downloaded the first version that was posted here.

If you are showing 2 EMS Online, while only 1 EMS is on, then you must go into the “server.lua” file and make sure these lines of code aren’t written in there 2 times.

		if xPlayer.job.name == 'ambulance' then
			EMSConnected = EMSConnected + 1
		end

If it is, just remove the second one you see.
Again, this has been fixed and re-uploaded by Stadus… but that was the fix for those wondering :smiley:

Thanks again for the great release Stadus!!! Works great!


#25


Why is this happening?


#26

Really thanks for the work and share this ressource!


#27

Since you don’t have Windows 10 version 1709 (Creators update) you don’t get those fancy emojis.


#28

@Stadus
So my scoreboard isn’t showing up, no errors on the console, starting after es_extended and essentialmode, and then when i change the button to show it for example " X " the scoreboard keeps blinking :confused:

Edit:

  • Ok nvm sorry for taking your time, i was able to fix it xD

#30

Thanks for the release! I just have a quick question; when i install this on my server it keeps saying it can’t load, even though it’s set after es_extended and essentialmode. Why do you think this happens?


#31

Hey,
How do I translate the “name” from the scoreboard? (On top of the players name).

Thanks!


#32

what was wrong its doing the same with me


#33

Mine was blinking because of i only change in one place yhe button to open it


#34

mine did the same just found it thanks for answering :slight_smile:


#35

How did you get your Money / Job ETC to show up like that centered uptop?


#36

It’s ESX feller. You can download a premade one from RIB SOSAY on youtube.


#37

Would have been nice to see some localization


#38

Is there a way to change controls? I changed it from 178 to 60 but still dosen’t work.


#39

You need to change it on the following lines: 24 and 58.
With other words:
“if IsControlPressed(0, 27)–[[ INPUT_PHONE ]] then"
and
"if(IsControlPressed(0, 27) == false) then”


#40

This works great but, when i get the list up, it stick there, if i click the button again nothing happend.
Any idea how i take it away again?


#42

Not sure if this works with 5.0.7 :confused: Seems like it resets the scoreboard folder on server startup if it’s been modified


#45

If you don’t want people Metagaming by your awesome Scoreboard, you should modify stadusrp_getJobsOnline by this kind of code :

local ColorEMSConnected = '🔴'
if EMSConnected > 0 then
	ColorEMSConnected = '✅'
end
cb(ColorEMSConnected)