initial commit

This commit is contained in:
achmad
2026-05-29 15:11:31 +07:00
commit 777ee9bad8
1539 changed files with 172449 additions and 0 deletions
@@ -0,0 +1,23 @@
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
local ____exports = {}
--- Tools / `-cheats`: `GameRules.IsCheatMode()` или `sv_cheats 1`.
function ____exports.isDevCheatSession(self)
if GameRules:IsCheatMode() then
return true
end
do
local function ____catch(_error)
return true, false
end
local ____try, ____hasReturned, ____returnValue = pcall(function()
return true, Convars:GetBool("sv_cheats") == true
end)
if not ____try then
____hasReturned, ____returnValue = ____catch(____hasReturned)
end
if ____hasReturned then
return ____returnValue
end
end
end
return ____exports