Skip to content

Commit

Permalink
chore: minor fix disable-undefined-global
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Nov 28, 2024
1 parent dd2f700 commit a9f5962
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---@diagnostic disable: undefined-global

local CurrentActionData, handcuffTimer, dragStatus, blipsCops, currentTask = {}, {}, {}, {}, {}
local HasAlreadyEnteredMarker, isDead, isHandcuffed, hasAlreadyJoined, playerInService = false, false, false, false, false
local LastStation, LastPart, LastPartNum, LastEntity, CurrentAction, CurrentActionMsg
Expand Down
2 changes: 2 additions & 0 deletions server-data/resources/[esx]/esx_menu_default/client/main.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---@diagnostic disable: undefined-global

local GUI, MenuType, OpenedMenus, CurrentNameSpace = {}, "default", 0, nil
GUI.Time = 0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ function OpenJailMenu()
})
end

ESX.UI.Menu.Open("default", GetCurrentResourceName(), "jailTranslateCapnjail_menu", {
ESX.UI.Menu.Open("default", GetCurrentResourceName(), "jail", TranslateCap("jail_menu"), {
title = "Unjail Player",
align = "center",
elements = elements,
Expand Down

0 comments on commit a9f5962

Please sign in to comment.