INGAME
PREVİEW
Script Description
The STG Warning System adds a sleek, full-screen disciplinary overlay to your FiveM server—letting staff instantly grab a player’s attention with a bold headline, custom message, and animated timer. While the alert is active, you can freeze movement, disable weapons, and apply temporary god-mode to keep situations under control. The script auto-detects ESX, QBCore, or standalone setups, supports full localization, logs every action for easy Discord integration, and restricts access to specified admin groups. Lightweight, plug-and-play, and completely free, it’s the smoothest way to keep order without breaking immersion.
Key Features:
Full-Screen Warning Overlay: Displays a bold title, custom message, and animated countdown that no one can miss.
Temporary Control Locks: Optionally freeze movement, disable weapons, and grant god-mode while the warning is active.
Role-Based Access: Only the staff groups you list (e.g., god, superadmin, admin) can issue warnings.
Action Logging & Webhook-Ready: Every warning can be piped to Discord or any log handler for airtight moderation.
Custom Hooks:
OnWarn
and OnWarnClose
callbacks let you trigger sounds, effects, or extra code when the overlay opens or closes.
Multi-Language UI: Ships with EN, DE, FR, ES, and PT; easily extend or edit strings in
config.lua
.
Configurable Timer: Set the overlay’s auto-close duration (default 20 s) to fit your server’s pace.
Lightweight & Optimized: Clean, efficient code ensures zero performance impact—even on busy servers.
Completely Free: Drop it in, ensure it, and keep your community fair without spending a cent.
Download the script!
Other Scripts
![]()
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 1500 |
Requirements | ox_lib |
Support | Yes |