diff --git a/[core]/es_extended/client/main.lua b/[core]/es_extended/client/main.lua index 33677a740..d46cc3ce0 100644 --- a/[core]/es_extended/client/main.lua +++ b/[core]/es_extended/client/main.lua @@ -1,6 +1,3 @@ -Core.Input = {} -Core.Events = {} - ESX.PlayerData = {} ESX.PlayerLoaded = false ESX.playerId = PlayerId() diff --git a/[core]/es_extended/client/modules/events.lua b/[core]/es_extended/client/modules/events.lua index 08d85b78b..68907d95d 100644 --- a/[core]/es_extended/client/modules/events.lua +++ b/[core]/es_extended/client/modules/events.lua @@ -1,3 +1,5 @@ +Core.Events = {} + local pickups = {} ESX.SecureNetEvent("esx:requestModel", function(model) diff --git a/[core]/es_extended/client/modules/interactions.lua b/[core]/es_extended/client/modules/interactions.lua index 0a1a31fe2..08bb437d9 100644 --- a/[core]/es_extended/client/modules/interactions.lua +++ b/[core]/es_extended/client/modules/interactions.lua @@ -1,3 +1,5 @@ +Core.Input = {} + local interactions = {} local pressedInteractions = {} @@ -35,4 +37,4 @@ AddEventHandler("onResourceStop", function(resource) interactions[name] = nil end end -end) \ No newline at end of file +end)