Skip to content

Commit

Permalink
Update main.lua
Browse files Browse the repository at this point in the history
add Config.StatusMax
  • Loading branch information
CodeCool-Developer authored Apr 11, 2024
1 parent 851e1ca commit eb6c7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ AddEventHandler('esx_status:load', function(status)
table.insert(data, {
name = Status[i].name,
val = Status[i].val,
percent = (Status[i].val / 1000000) * 100
percent = (Status[i].val / Config.StatusMax) * 100
})
end

Expand Down

0 comments on commit eb6c7fe

Please sign in to comment.