Skip to content

Commit

Permalink
fix! Changed Readme and config options
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy-Dylan committed Mar 31, 2024
1 parent 097db9e commit 4711165
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion shared/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4711165

Please sign in to comment.