Skip to content

Commit

Permalink
Merge pull request #14 from enzo2991/main
Browse files Browse the repository at this point in the history
Feat: Add Event : getAllStatus
  • Loading branch information
Gellipapa committed May 3, 2024
2 parents cccf710 + 817e1d4 commit 36d8e04
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 36d8e04

Please sign in to comment.