[PAID] Silly Cockfight β Animal Fight System for RedM 
Description
Silly Cockfight is a fun cockfight / animal fight system for RedM with VORP. Start a fight via a usable inventory item β two fighters spawn right next to the player, and spectators see names + HP bars above the animals in 3D. Fully server-authoritative for fair multiplayer fights.
Features
Start via usable item β uses VORP Inventory; item name is configurable
Server-authoritative β server controls turn order, damage, and HP sync for all spectators
3D spectator UI β name + HP bar above each fighter, visible up to ~25m
Custom models β random pool or fixed assignment (fighter A / B)
Name pool β random fighter names from your config list
Balancing β fixed max HP regardless of model + configurable damage range (min/max)
Timeout / Draw β fight ends as a draw after X minutes (configurable)
Smart AI β circling, feinting, arena boundary enforcement, separation logic
Victory strut β winner performs a victory animation
Auto-cleanup β animals stay ~2 minutes after a fight, then get removed
Admin tools β /showcockrangeto visualize fight arenas (admin-only)
NUI notifications β custom HTML notifications with themed icons
Optimized β draw thread only runs per-frame when a fight is actually nearby
How It Works
- Player uses the configured item (e.g.
cockf) - Two roosters spawn with random names
- ~40 second countdown / betting phase
- Server controls the fight: turn-by-turn attacks with damage rolls
- Spectators within range see 3D HP bars
- Fight ends: winner, draw, or timeout
Screenshots / Preview
Installation
- Place
Silly_Cockfightin your resources folder - Add to your
server.cfg:
ensure Silly_Cockfight
- Add the cockfight item to your VORP inventory database
- Configure models, names, balancing in
config.lua
Configuration
Everything in config.lua:
Config.CockfightItemβ VORP item name to start a fightConfig.RoosterModelsβ list of animal models to use as fightersConfig.RoosterModelPickβ"random"or"byIndex"Config.RoosterNamesβ name pool for fightersConfig.RoosterFixedMaxHealthβ fixed HP for balancingConfig.AttackDamageMin / Maxβ damage range per hitConfig.FightTimeoutMinutesβ auto-draw after X minutes (0 = disabled)Config.Textsβ notification texts (fight start, winner, draw, etc.)Config.TextDurationβ notification duration in msConfig.AdminGroupsβ groups allowed to use/showcockrange
Dependencies
| Dependency | Required |
|---|---|
| VORP or RSGCore | |
oxmysql |
Download
| Code is accessible | Yes (config.lua), rest escrowed |
| Subscription-based | No |
| Lines (approximately) | ~2,486 |
| Requirements | VORP or RSGCore, oxmysql |
| Support | Yes |

