From 4de2931f5826f0aacf27cc5f0cc8ca1b376b3027 Mon Sep 17 00:00:00 2001 From: Lorraxs Date: Wed, 28 Feb 2024 16:11:14 +0700 Subject: [PATCH] update framework --- .vscode/settings.json | 5 +++++ main.lua | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..50fb522 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "Lua.diagnostics.globals": [ + "CORE" + ] +} \ No newline at end of file diff --git a/main.lua b/main.lua index be68701..43b6d1c 100644 --- a/main.lua +++ b/main.lua @@ -3,6 +3,8 @@ if Config.Framework == 'esx' then Framework = exports["es_extended"]:getSharedObject() elseif Config.Framework == "qb" then Framework = exports['qb-core']:GetCoreObject() +elseif Config.Framework == "ProjectStarboy" then + Framework = CORE else Framework = {} Framework.Functions = {}