-- READ THE DOCS BEFORE USING THIS SCRIPT: https://docs.av-scripts.com/ -- READ THE DOCS BEFORE USING THIS SCRIPT: https://docs.av-scripts.com/ -- READ THE DOCS BEFORE USING THIS SCRIPT: https://docs.av-scripts.com/ Config = {} Config.Debug = false Config.DebugCommand = "debug" -- Used to enable debug mode in the specified resource (only available for av_laptop resources) Config.AdminLevel = {"group.owner", "group.admin"} -- Min admin level needed to use debug command Config.LaptopItem = "laptop" -- The item used to open laptop Config.HackingDeviceITem = 'decrypter' -- Item used to hack laptops or false to disable it Config.UseBattery = true -- true/false, false will make battery infinite Config.BatteryTimer = 3 -- Removes 1% from laptop battery every X minutes while on use Config.UseGameClock = false -- Uses the in game time Config.BossGrades = { -- This only applies for ESX, many ppl uses different boss grade names (boss, owner, chief, etc) add them here ['boss'] = true, ['owner'] = true, } -- Some default apps config Config.UseTerminal = true -- enable system terminal Config.Files = true -- enable system files Config.Calculator = true -- enable calculator Config.Browser = true -- enable browser Config.Homepage = "https://discord.gg/FzHCpQj3PK" -- default home page Config.Documents = true -- enable documents app -- Other laptop configs Config.AllowCustomImages = true -- true/false allow players to use custom backgrounds/avatars using URL Config.UIlib = "ox_lib" -- Avaiable options "ox_lib" or "lation_ui" Config.Target = "ox_target" -- Where can I change the default wallpaper/avatar? go to av_laptop/ui/dist and replace wallpaper.webp / avatar.png -- Container config, this config is ONLY AVAILABLE WITH OX_INVENTORY Config.Container = { enabled = false, -- Enable Config.LaptopItem as container slots = 5, -- slots available in container maxWeight = 5, -- max weight for container whitelist = { -- list of items allowed in laptop container ["black_usb"] = true, ["decrypter"] = true, ["dongle"] = true, ["pendrive"] = true, ["vpn"] = true, }, } Config.App = { { name = "boosting", label = "Boosting", isEnabled = function(serial) return exports['av_laptop']:hasItem('boosting_motherboard') end }, { name = "racing", label = "Racing", isEnabled = function(serial) return exports['av_laptop']:hasItem('racing_motherboard') end } } exports("getFramework", function() -- don't edit/remove this return Config.Framework end) exports("getInventory", function() -- don't edit/remove this return Config.Inventory end) exports("getTarget", function() -- don't edit/remove this return Config.Target end) function dbug(...) if Config.Debug then print ('^3[DEBUG]^7', ...) end end