header

Safe Events

Safe Events (sometimes Protected Events) are server events in FiveM, that are (as the name suggests) protected against cheaters by an additional resource, in this case by WX AntiCheat. It allows normal players to trigger them without problems, but when a cheater with an executor tries to execute them, it will ban the cheater.

Installation

  • Find a resource you want to protect
  • Find any event(s) that you want to protect and add them to the config
  • Go to the fxmanifest.lua of the resource and edit it like so:
  • Restart your server

fxmanifest.lua

-- client_script "client.lua" -- REMOVE THIS LINE

client_scripts {
"@wx_anticheat/safeevents/safeevents_client.lua", -- Make sure the safe event module is loaded first
"client.lua",
-- load any other client scripts
}

-- Just make sure the safe event module is loaded before first before other client scripts