Hi, I just want to share this simple scoreboard to the community.
If ever I violated rules, just remove my post. Thank you…
Previews:
If you want to use Global timer just add this to your robbery scripts where robbery started
Server:
local RobLocation = ‘Humane Labs’
TriggerEvent("_rc_news:PostNews", RobLocation)
or
TriggerEvent("_rc_news:PostNews", ‘Humane Labs’)
or on Client
Server:
local RobLocation = ‘Humane Labs’
TriggerServerEvent("_rc_news:PostNews", RobLocation)
or
TriggerServerEvent("_rc_news:PostNews", ‘Humane Labs’)
Also add this…
–before triggering robbery where control located (usually Press E located)
ESX.TriggerServerCallback(’_rc_news:CanStartRobbery’, function(CanRob)
if CanRob then
.
.
.
else
—notification that a cooldown is still on going
end
end)
You can change everything.
I just made it while learning more thing about scripting. I hope you like it…
Download
_rc_board.rar (110.8 KB)