VNS Casino Inside Track
The Diamond Casino horse betting game for FiveM, built on GTA's native Inside Track scaleform. Players sit down at a betting chair, pick one of six horses, place a chip bet and watch the race play out on screen.
One resource runs on QBCore, QBox and ESX. Framework, inventory and notification support comes from vns-core, so every inventory vns-core supports works out of the box.
Feature overview
- Native Inside Track UI - the original
HORSE_RACING_CONSOLEscaleform with mouse control: main screen, horse selection, bet screen, rules page and results. - Six horses per race - random names and colors each round, with odds rolled fresh for every race.
- Chip betting - bets are placed with an inventory item (casino chips by default). The bet is removed when the race starts and a win is paid back in chips.
- Seat handling - the script finds the casino's betting chairs automatically, plays the sit/leave animations and blocks a chair another player is already using.
- K4MB1 preset - one config toggle covers the K4MB1 casino map with no coordinate changes.
How a round plays out
- The player walks up to an Inside Track chair and presses E to sit down.
- The betting screen opens with six horses, each showing odds of 1/2, 1/3 or 1/4.
- The player picks a horse, adjusts the bet between the configured minimum and maximum, and confirms.
- The bet is taken from the player's chips and the race runs for the configured race time.
- If the player's horse finishes first, they are paid bet x odds in chips.
Odds and payout
Every horse gets a random multiplier of 2, 3 or 4 per race, shown on screen as 1/2, 1/3 or 1/4. A winning bet pays the bet multiplied by that horse's odds; a losing bet pays nothing.
Open vs Encrypted
The script ships in an Open and an Encrypted variant. In the Encrypted variant config.lua, client/client_open.lua and server/server_open.lua stay editable - betting limits, the chip item, positions, the 3D prompt text and the notification/inventory functions live there.