Skip to content

Commit

Permalink
Merge pull request #1499 from Kenshiin13/actions-refactor
Browse files Browse the repository at this point in the history
refactor(es_extended/server/modules/actions): replace deprecated RegisterServerEvent
  • Loading branch information
Arctos2win authored Nov 22, 2024
2 parents 042ad34 + 7954d6e commit d7f346f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions [core]/es_extended/server/modules/actions.lua
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit d7f346f

Please sign in to comment.