From 47111656663a5f8887b1ba7beb3ea1cbf6115dd9 Mon Sep 17 00:00:00 2001 From: Timothy Date: Sun, 31 Mar 2024 01:24:54 +0100 Subject: [PATCH] fix! Changed Readme and config options --- README.md | 2 +- shared/main.lua | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9f802c5..1c44c84 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Een EUP menu voor Mikeys EUP versie 1.3 die gebruik maakt van Ox_lib voor een sn ## Support - Qb-core -- ESX +- ESX (Versie 1.10.5, oudere versies check de config) - Standalone (Zonder job check) ## Gebruikersaanwijzing diff --git a/shared/main.lua b/shared/main.lua index d90e343..fb91ec8 100644 --- a/shared/main.lua +++ b/shared/main.lua @@ -11,10 +11,16 @@ Shared.Army = 'defensie' -- done Shared.SpecialForces = 'dsi' -- done -- Frameworks -Shared.Framework = 'esx' -- 'qb-core' or 'esx' or 'standalone' +Shared.Framework = 'esx' -- 'qb-core' or 'esx' or 'standalone' Shared.Clothing = {} if Shared.Framework == 'qb-core' then QBCore = exports['qb-core']:GetCoreObject() +end + +if Shared.Framework == 'esx' then + -- Uncomment if using old version of esx + --ESX = nil + --TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) end \ No newline at end of file