--[[ 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