RHD TEAM
DiscordTebexGithub
  • 💵Paid Resources
    • 🛡️RHD Safe Event
      • 📄Callback
      • 📄Event
    • ⛽RHD Fuel
      • ⚡Electric Vehicles
      • 📄Client Functions
    • 💰RHD Shop Robbery
    • 🍕RHD Pizza Delivery
    • 🚀RHD Nitrous
      • 📄Server Functions
      • 📄Client Functions
    • 🛞RHD Wheel Fitment Adjuster
      • 📄Server Functions
    • ☢️RHD Radial Menu
      • 📄Client Functions
  • 💚Free Resources
    • 🅿️RHD Garage
      • 📄Client Functions
      • 📄Server Functions
Powered by GitBook
On this page
Edit on GitHub
  1. Paid Resources

RHD Safe Event

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

Attention! If you use this, this module will automatically replace all the default trigger functions with trigger functions from the module

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"
NextCallback

Last updated 2 months ago

💵
🛡️