π Z-AFK | AFK System
π Modern, responsive & minimalist AFK system for your FiveM server.
Works with any framework: ESX, QBCore, Standalone, etc.
π Features
- β Auto AFK Detection β Triggers after X seconds of inactivity
- π¨ Modern UI β Clean design with animated background (AFK only)
- π§ 3D AFK Text β Floating βAFKβ above playerβs head
- π Custom Links & Ads β Show Discord, website, or ads in UI
- βοΈ Fully Configurable β All settings in
config.lua, no HTML needed - β‘ Lightweight & Optimized β Minimal resource usage
- β No Dependencies β Works standalone with any framework
βοΈ Configuration via config.lua
Config.AfkTime -- Time (in seconds) before player goes AFK Config.AfkDisplayText -- Main text shown on AFK UI Config.Afk3DText -- Text above the player in 3D Config.AfkAnimDict -- Animation dictionary Config.AfkAnimName -- Animation name Config.Afk3DTextColor -- RGBA color for 3D text Config.AfkDisplayPos -- UI position (X, Y) Config.AfkAdText -- Custom ad message Config.AfkLinks -- Quick links (Discord, web, etc) Config.AfkPanelBorderColor -- Color of the AFK panel border Config.AfkPanelBgOpacity -- Opacity of the background Config.AfkCooldown -- Cooldown after exiting AFK (ms) Config.AfkCamDistance -- Distance of AFK camera Config.AfkCamRotationSpeed -- Speed of AFK camera rotation Config.AfkExitText -- Text for "Exit AFK" button
β¨οΈ Commands
/afkoffβ Manually exit AFK mode
π¦ Info
- Code is accessible: Yes
- Subscription-based: No
- Lines (approx): +500
- Requirements: None
- Support: Yes