Korioz / krz_personalmenu

🎓 Personal Menu supporting ESX
GNU General Public License v3.0
66 stars 63 forks source link

Updated esx code #116

Closed chaosmann09 closed 1 year ago

chaosmann09 commented 1 year ago

I updated the esx export code. This is important because is it not the newtest export its drop an error:

OLD: while ESX == nil do TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end) Citizen.Wait(10) end

NEW: ESX = nil

ESX = exports['es_extended']:getSharedObject()