πŸ›‘οΈRHD Safe Event

This is a trigger switching function, used to prevent cheaters from being able to execute events from the cheat executor.

Usage:

  • Add a module in fxmanifest resources that wants to use the function from rhd_safeEvent, example like the code below:

fx_version "cerulean"
game "gta5"

shared_scripts {
    '@rhd_safeEvent/trigger.lua',
    '@ox_lib/init.lua',
    'shared/main'
}

--- This is optional, use this if you don't want the module to automatically replace all event functions.
rhd_safeEvent_manual 'yes'

client_script "cl_main.lua"
server_script 'sv_main.lua'

lua54 "yes"

Last updated