Skip to content

Commit

Permalink
Feat: Add Event : getAllStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
enzo2991 committed Apr 29, 2024
1 parent cccf710 commit 817e1d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ AddEventHandler('esx_status:getStatus', function(name, cb)
end
end)

AddEventHandler('esx_status:getAllStatus', function(cb)
cb(Status)
end)

AddEventHandler('esx_status:setDisplay', function(val)
SendNUIMessage({
setDisplay = true,
Expand Down

0 comments on commit 817e1d4

Please sign in to comment.