From ab19608dc245397d0052c2b2eda5b5644884ab74 Mon Sep 17 00:00:00 2001 From: Kasey FItton Date: Sun, 15 Dec 2024 23:31:00 +0000 Subject: [PATCH] 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