From 7954d6ec108786a1c4468231d4b078cea817452f Mon Sep 17 00:00:00 2001 From: Ilias Rbayti <63159154+Kenshiin13@users.noreply.github.com> Date: Sat, 23 Nov 2024 00:15:14 +0100 Subject: [PATCH] refactor(es_extended/server/modules/actions): replace deprecated RegisterServerEvent --- [core]/es_extended/server/modules/actions.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/[core]/es_extended/server/modules/actions.lua b/[core]/es_extended/server/modules/actions.lua index 52eeeb5b1..e7c91e6ac 100644 --- a/[core]/es_extended/server/modules/actions.lua +++ b/[core]/es_extended/server/modules/actions.lua @@ -1,9 +1,9 @@ -RegisterServerEvent("esx:playerPedChanged") -RegisterServerEvent("esx:playerJumping") -RegisterServerEvent("esx:enteringVehicle") -RegisterServerEvent("esx:enteringVehicleAborted") -RegisterServerEvent("esx:enteredVehicle") -RegisterServerEvent("esx:exitedVehicle") +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)