-
Notifications
You must be signed in to change notification settings - Fork 29
/
acloader.lua
24 lines (23 loc) · 850 Bytes
/
acloader.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
local ProhibitedVariables = { -- Add as many as you want from mod menus you find! (Remove war menu if you use it!)
"fESX", "Plane", "TiagoMenu", "Outcasts666", "dexMenu", "Cience", "LynxEvo", "zzzt", "AKTeam",
"gaybuild", "ariesMenu", "WarMenu", "SwagMenu", "Dopamine", "Gatekeeper", "MIOddhwuie"
}
local Enabled = false -- Change this to enable client mod menu checks!
function CheckVariables()
for i, v in pairs(ProhibitedVariables) do
if _G[v] ~= nil then
local reason = Config.Messages.ProhibitedVariables:gsub("{VARIABLE}", v);
TriggerServerEvent('Anticheat:Modder', "[Badger-Anticheat]: " .. reason);
end
end
end
if Enabled then
Citizen.CreateThread(function()
while true do
Citizen.Wait(30000)
CheckVariables()
end
end)
else
return "Nil"
end