Transform your server's entertainment and competitive scene with One Boxing System! A complete, highly optimized, dual-framework (QBCore & ESX) boxing script featuring high-stakes betting, real-time advanced HUD, interactive training with NPCs, automated ring boundaries, and authentic boxing gloves attachment. Perfect for legal tournaments, underground fight clubs, or gym community hubs.
โจ Core Features & Functionalities
๐๏ธ Dynamic Multizone Rings & Areas
- ๐ Infinite Configurations: Easily map out custom boxing rings anywhere across Los Santos using high-precision vector coordinates (
vector3andvector4). - ๐บ๏ธ Integrated Blip & Map Markers: Features interactive floating world markers and fully customizable radar blips to let players locate active Boxing Clubs instantly.
๐ค Singleplayer Practice Mode (NPC Trainer)
- ๐๏ธ Solo Conditioning: Don't have an opponent? Challenge the built-in AI Boxing Trainer directly from your interactive menu.
- ๐ก๏ธ Dynamic AI Scaling: Supports multiple difficulty levels (
NormalandHard). Hard mode automatically scales the NPC's fighting styles, combat attributes, agility, alertness, and maximum health/armor points. - ๐ Authentic Win Animations: Features custom cinematic animations for the Trainer upon victory to add realism and spice up the competition.
๐ฐ Automated High-Stakes Betting System
- โณ Configurable Betting Windows: Set custom pre-fight countdown times (
TimeToBet) during which spectators and gamblers can back their favorite fighter. - ๐งฎ Dynamic Pool & Odds Distribution: Automatically tracks betting pools for both corners (Player 1 vs. Player 2). It dynamically calculates and splits losing pools proportionally among winning ticket holders.
- ๐ณ Full Protection & Refunds: Built-in security automatically fully refunds all participants if a fighter forfeits, disconnects, or if there is no counter-wagering to back the match.
โ๏ธ Enhanced Combat Mechanics & Anti-Cheat
- ๐ฅ Visual Gloves Attachment: Automatically spawns and welds functional high-fidelity boxing glove props (
prop_boxing_glove_01) perfectly onto the hands of combatants and NPCs. - โ๏ธ Precision Damage Modifiers: Independently adjust damage scaling parameters for bare-knuckle fighting versus padded glove bouts to prevent instant knockouts and prolong competitive matches.
- ๐ซ Control Restraints & Exploit Prevention: Automatically strips weapons, forces an unarmed combat stance, disables character health regeneration rates, and locks specific keys/exploits (e.g., jumping out of combat or executing heavy non-boxing GTA attacks).
- ๐ท Automated Out-of-Bounds Disqualification: Constant distance-vector monitoring disqualifies and teleports out any fighter who attempts to run away or clip outside the ring.
๐ Real-Time Interactive NUI & HUD
- ๐บ Pre-Fight Matchmaking Menu: Fully custom, modern UI layout displaying live statistics, player nicknames, total wins, and customizable multi-round lengths.
- โก Live Health Bars & Stats: Displays beautiful, real-time updating health gauges for both fighters on screens for unmatched immersion.
- ๐ฃ Instant Forfeit Command: Includes a dedicated exit system (
/salirpelea) allowing players to forfeit gracefully at any point during a fight, shifting into standard knockout animations. - ๐ Cross-Ambulance Framework Revives: Seamless integration with major hospital and ambulance scripts (
QBCore,ESX,Wasabi,Brutal,One) ensuring downed fighters are perfectly revived, healed, and placed clean outside the ring when the fight ends.
๐ ๏ธ Developer & Configuration File Overview
๐ config.lua
- Fully exposed framework settings: Switch between
'QBCORE'and'ESX'in a single line. - Native support for three TextUI notification libraries (
ox_lib,ESXTextUI,QBDrawText). - Customizable money symbols, command names, language phrases, and custom localization tables (
Locales).
๐ cl_main.lua
- Handles UI focus, NUI bridge messages, hardware control flags, and precise hand bone index attachments (
0xEE4Fand0xAB22) for props. - Optimized thread sleeping timers (
Wait(sleep)) to preserve excellent client-side frame rates (0.00ms resmon idle).
๐ sv_main.lua
- Manages state control tables, framework player metadata checks (resolving character first names, surnames, and gender data matrices), account cash abstractions, and fair coin betting distributions securely.
๐ Why Choose One Boxing System?
- โ Zero-Lag Optimization: Clean codebase designed for zero strain on server resources.
- โ Plug-and-Play Setup: Works right out of the box with default framework resources.
- โ High Conversion & Retention: Adds a unique, fully independent legal or illegal economy activity to keep players engaged.
