Skip to content

Commit

Permalink
ref(esx_hud/server/main): Sending again (PART 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thekuca authored Mar 7, 2023
1 parent 644aa80 commit 391e91b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function HUD:InfoHandle(msg, color)
end

function HUD:UpdatePlayerCount()
TriggerClientEvent('esx_hud:UpdatePlayerCount', -1, HUD.Data.OnlinePlayers)
GlobalState['OnlinePlayers'] = HUD.Data.OnlinePlayers
end

VERSION = {
Expand Down Expand Up @@ -110,4 +110,4 @@ AddEventHandler('onResourceStart', function(resourceName)
end
end)
end
end)
end)

0 comments on commit 391e91b

Please sign in to comment.