mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
fix(es_extended/client/modules/events.lua): Use ESX.SecureNetEvent
This commit is contained in:
@@ -585,7 +585,7 @@ ESX.SecureNetEvent('esx:updatePlayerData', function(key, val)
|
||||
ESX.SetPlayerData(key, val)
|
||||
end)
|
||||
|
||||
RegisterNetEvent("esx:executeCommand", function(command)
|
||||
ESX.SecureNetEvent("esx:executeCommand", function(command)
|
||||
-- Triggered From Another Client Script?
|
||||
if GetInvokingResource() then
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user