From ab19608dc245397d0052c2b2eda5b5644884ab74 Mon Sep 17 00:00:00 2001 From: Kasey FItton Date: Sun, 15 Dec 2024 23:31:00 +0000 Subject: [PATCH 1/2] chore(es_extended/server): remove actions.lua --- [core]/es_extended/server/modules/actions.lua | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 [core]/es_extended/server/modules/actions.lua diff --git a/[core]/es_extended/server/modules/actions.lua b/[core]/es_extended/server/modules/actions.lua deleted file mode 100644 index e7c91e6ac..000000000 --- a/[core]/es_extended/server/modules/actions.lua +++ /dev/null @@ -1,28 +0,0 @@ -RegisterNetEvent("esx:playerPedChanged") -RegisterNetEvent("esx:playerJumping") -RegisterNetEvent("esx:enteringVehicle") -RegisterNetEvent("esx:enteringVehicleAborted") -RegisterNetEvent("esx:enteredVehicle") -RegisterNetEvent("esx:exitedVehicle") - -if Config.EnableDebug then - AddEventHandler("esx:playerPedChanged", function(netId) - print("esx:playerPedChanged", source, netId) - end) - - AddEventHandler("esx:enteringVehicle", function(plate, seat, netId) - print("esx:enteringVehicle", "source", source, "plate", plate, "seat", seat, "netId", netId) - end) - - AddEventHandler("esx:enteringVehicleAborted", function() - print("esx:enteringVehicleAborted", source) - end) - - AddEventHandler("esx:enteredVehicle", function(plate, seat, displayName, netId) - print("esx:enteredVehicle", "source", source, "plate", plate, "seat", seat, "displayName", displayName, "netId", netId) - end) - - AddEventHandler("esx:exitedVehicle", function(plate, seat, displayName, netId) - print("esx:exitedVehicle", "source", source, "plate", plate, "seat", seat, "displayName", displayName, "netId", netId) - end) -end From 4c8f577d8136ebef89d5c6d99d303e32387f5a10 Mon Sep 17 00:00:00 2001 From: Kasey FItton Date: Sun, 15 Dec 2024 23:32:13 +0000 Subject: [PATCH 2/2] tweak(es_extended/fxmanifest): remove actions.lua --- [core]/es_extended/fxmanifest.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/[core]/es_extended/fxmanifest.lua b/[core]/es_extended/fxmanifest.lua index 848289bf8..9fe19a960 100644 --- a/[core]/es_extended/fxmanifest.lua +++ b/[core]/es_extended/fxmanifest.lua @@ -34,7 +34,6 @@ server_scripts { 'server/modules/commands.lua', 'server/bridge/**/*.lua', - 'server/modules/actions.lua', 'server/modules/npwd.lua', 'server/modules/createJob.lua' }