Documentation
How to install cs-hashed-events (FiveM Hashed Events) and include it across your resources.
| Load order | ensure cs-hashed-events before any other resource. |
|---|---|
| Include | @cs-hashed-events/include.lua in every Lua resource. |
Download the resource
Download cs-hashed-events and place it in your resources folder.
Ensure the resource
Add ensure cs-hashed-events to your server’s configuration file before any other ensure.
Include in Lua resources
Edit the fxmanifest.lua file of every resource in your server that executes Lua scripts and add:
shared_script '@cs-hashed-events/include.lua'Adjust configuration
Adjust the resource configuration via its config.lua file and ConVars.
Restart server
Restart your server.
Rolling back
If hashing causes problems, you do not need to remove the @cs-hashed-events/include.lua lines from every resource right away. Set the cs_hashed_events_enabled ConVar to false and restart to disable hashing while keeping the includes in place, then remove the includes and the ensure line once you are ready to uninstall fully.