Sleezy Development • Advanced Knockout System (ESX, QBCore, QBOX & Standalone)
Bring more realistic combat reactions, temporary unconsciousness, and immersive recovery effects to your FiveM server with the Sleezy Development Advanced Knockout System.
Designed for roleplay communities, this system introduces configurable knockout mechanics that allow players to become temporarily unconscious after receiving qualifying melee damage.
Instead of every combat encounter immediately resulting in a standard death or hospital interaction, eligible players can enter a temporary knockout state featuring ragdoll animations, screen blackouts, impact audio, restricted movement, and automatic recovery.
After regaining consciousness, players can experience configurable dazed movement, blurred vision, camera effects, and gradual health regeneration.
The system includes configurable weapon detection, custom health thresholds, knockout timers, recovery cooldowns, administrator controls, medical compatibility hooks, and multiple notification integrations.
Built with lightweight client-side gameplay logic, server-validated administrator permissions, extensive configuration, and multi-framework support.
⚙️ Features
🥊 Advanced Knockout Mechanics
The system automatically monitors qualifying combat damage and can place a living player into a temporary unconscious state.
Default Knockout Settings
Health values use native GTA character health, which normally has a maximum of 200 for standard player characters.
The knockout threshold and duration can be customized through config.lua.
🔨 Configurable Melee Weapons
The system supports multiple melee weapon types.
Default Supported Weapons
Melee Configuration
Forced Melee Knockouts
When enabled, qualifying melee hits can initiate a knockout without requiring the normal health threshold.
This option is disabled by default.
🔪 Additional Weapon Configuration
Server owners can configure special weapon-specific knockout behavior.
Default Special Weapon
Default Weapon Exclusions
Weapon exclusions take priority over special knockout settings.
Gunfire, fall damage, and unrelated environmental damage do not automatically trigger the melee knockout system.
😵 Temporary Unconsciousness
When knocked out, the player enters a temporary unconscious state.
Restricted Actions
During a knockout, the resource blocks configured standard GTA controls, including supported movement, combat, weapon selection, and interaction actions.
Custom controls and actions introduced by unrelated resources may require integration with the supplied knockout state.
🎬 Knockout Screen Effects
The resource includes configurable visual effects to create a more immersive unconsciousness experience.
Blackout Effects
Default Screen Settings
Visual settings can be adjusted or disabled individually.
🔊 Impact Sound System
The system includes a local impact sound that plays when a player enters the knockout state.
Default Sound Settings
The sound is played locally for the affected player.
No external audio service is required.
🎧 Game Audio Effects
Enhance the knockout experience with optional GTA audio-scene effects.
Default Audio Settings
CHARACTER_CHANGE_IN_SKY_SCENE
The system uses supported GTA audio scenes rather than modifying an external voice resource.
It does not replace pma-voice, SaltyChat, or other voice communication systems.
❤️ Automatic Recovery System
Players automatically regain consciousness after the configured knockout duration.
Default Recovery Settings
Wake-Up Animation
The resource can attempt to play a configured getting-up animation after the knockout ends.
If the configured animation cannot load, the player can use standard GTA getting-up behavior.
💊 Gradual Health Regeneration
The system includes optional health recovery during the knockout state.
Default Health Recovery
Regeneration is capped by both the configured limit and the character's actual maximum health.
The system does not revive dead characters.
🥴 Advanced Dazed Recovery Effects
After waking up, players can experience temporary dazed movement and visual effects.
Dazed Features
Default Dazed Settings
Default Movement Style
move_m@drunk@verydrunk
Default Visual Effects
spectator6
ChopVision
DRUNK_SHAKE
Every supported effect can be adjusted through the configuration.
🛡️ Temporary Knockout Protection
The resource includes optional short-term damage protection when unconsciousness begins.
Default Protection
This protection only applies briefly at the start of the knockout.
Normal GTA damage continues afterward. The resource does not make players permanently invulnerable while unconscious.
🏥 Medical & Death System Compatibility
The system is designed to avoid interfering with existing medical and revival mechanics.
Default Death-State Checks
isDead
isdead
dead
inLaststand
inlaststand
laststand
Important: The resource does not replace your ambulance or medical script.
If damage is already lethal before knockout detection, the existing medical or death system retains control.
Custom medical resources may require their actual revival event to be added to the configuration or connected through the supplied reset export.
🚗 Vehicle Compatibility Settings
Knockout behavior can be configured around players inside vehicles.
Default Setting
Vehicle knockouts are disabled.
Players inside vehicles are ignored by the knockout mechanic unless the configuration is changed.
The resource does not automatically eject players from vehicles.
🔐 Administrator Commands
Authorized administrators can manage and test the knockout system through commands.
Available Commands
/knockout [id]
/wakeup [id]
/knockouttest [id]
/knockoutstatus [id]
Server Console Commands
knockout_giveadmin [id]
knockout_removeadmin [id]
Temporary administrator grants expire when the player disconnects.
🔐 Administrator Permissions
Default ACE Permission
sleezy.knockout.admin
Default ESX Groups
Default QBCore / QBOX Groups
Default Command Cooldown
Administrator permissions can be adjusted through config.lua.
🔔 Notification Integration
The resource includes configurable notifications for knockout and recovery events.
Supported Notification Systems
Available Notifications
Notification Settings
If a selected optional notification resource is unavailable, the system falls back to ox_lib notifications.
🔌 Developer Integration
The resource includes exports and events for developers integrating custom medical, HUD, or gameplay scripts.
Client Exports
IsKnockedOut()
Returns whether the local player is currently knocked out.
GetState()
Returns the local knockout phase.
Supported States
idle
knockedout
dazed
Reset()
Clears the local resource's active knockout and recovery effects without independently reviving the player.
Events & State
Other resources can use these hooks to react to the local player's knockout state.
The server-reported status is diagnostic information, not authoritative proof of combat damage.
🎨 Customization & Configuration
config.lua
⚡ Performance & Cleanup
The resource includes state-aware processing and automatic cleanup.
The resource does not require an inventory system or additional world entities.
Actual performance depends on the installed server and other gameplay resources.
🧩 Framework Support
Framework Detection Order
QBOX → QBCore → ESX → Standalone
The knockout mechanic itself operates independently of the framework.
Framework detection is primarily used for administrator permissions.
📦 What's Included
🏠 Perfect For
⚙️ Installation & Requirements
Optional Integrations
No SQL Database Required
No Inventory System Required
Quick Installation
sleezy_knockout inside your server resources folder.ensure sleezy_knockout after the required resources.Example Server Configuration
ensure ox_lib
ensure sleezy_knockout
Administrator ACE Permission
add_ace group.admin sleezy.knockout.admin allow
⚙️ Important Information
This resource provides fictional knockout and recovery mechanics exclusively within FiveM.
It is designed for temporary unconsciousness and does not replace a medical, revival, or death system.
A knockout is not guaranteed for every melee hit. By default, an eligible melee weapon must damage a living character whose native health meets the configured threshold.
The resource does not automatically prevent lethal damage or revive players who have already died.
Health regeneration, movement effects, visual effects, and audio behavior can be configured independently.
Custom medical, health, animation, and invincibility resources may require compatibility adjustments to avoid overlapping effects.
Vehicle knockouts are disabled by default.
The knockout state is handled locally on the affected player, with server-side validation for administrator commands. The resource is not an anti-cheat or server-authoritative combat enforcement system.
The included audio effect changes the local GTA audio scene and does not modify third-party voice communication.
💎 Why Choose This System?
The Sleezy Development Advanced Knockout System adds an additional layer of interaction to melee combat and character recovery.
Instead of immediately relying on the normal death and medical flow for every eligible combat encounter, living players can temporarily lose consciousness, experience blackout effects, recover through an optional animation, and return to gameplay with configurable dazed movement.
With weapon-specific knockout settings, adjustable timers, visual effects, health regeneration, medical integration hooks, and administrator tools, the system gives server owners control over how temporary knockouts behave.
Designed for FiveM communities looking for a configurable combat and recovery feature without requiring a separate inventory or database system.
Developer: Sleezy Development
Version: 1.0.0
Frameworks: ESX • QBCore • QBOX • Standalone
Resource: sleezy_knockout
Database: Not Required
Inventory: Not Required
Dependency: ox_lib
Support: discord.gg/sleezydevelopment
Sleezy Development • Premium FiveM Systems