🖥️ Anti Overlay

Cheaters often use Lua executors or external overlays to inject or display cheat menus over the game. The AntiOverlay system is designed to detect these types of behavior especially external-based cheats and overlays that aren't part of the game’s native interface.

🔧 Configuration

luaCopyEditPrettyPacketAC.AntiOverlay = {
    enabled = false,
    action = "WARN", -- Recommended: WARN
}
  • enabled: Turns the overlay detection system on or off.

  • action: Specifies what happens when an overlay is detected:

    • "WARN" (✔️ Recommended): Flags the player and logs the detection.

    • "KICK": Disconnects the player.

    • "BAN": Bans the player from the server.

🔍 What It Does

  • Scans for abnormal overlays on top of the game, which can indicate the presence of:

    • Lua Executors

    • External Menu UIs

    • Rendered cheat windows

This system aims to catch tools that run outside of FiveM, which are often harder to detect using standard methods.

⚠️ Recommendations

  • We strongly recommend keeping the action set to "WARN" until you're confident it doesn’t trigger false positives on your server setup.

  • This detection is a valuable tool for identifying more sophisticated or external cheat software that might otherwise go unnoticed.

Last updated