Skip to main content

Overview

RARX Gym is a complete fitness and training system for FiveM. Players build five trainable stats through machine workouts and free-zone exercises, manage fatigue and stress, buy timed supplement buffs, and progress through achievements, daily tasks and a global leaderboard. Each gym is also an ownable business with memberships, payroll and an employee roster. Built with a Vue NUI, multi-framework support and the RARX locale system.
Stats actually change how you play — more melee damage, reduced incoming damage, a bigger stamina pool and passive health regen.

Features

Multi-Framework

Auto-detection for QBCore, QBox (qbx_core), ESX and standalone

5 Trainable Stats

Power, Durability, Energy, Healthy and Boxer — each tied to specific machines

Workout Minigames

Bench, biceps, squat, abs, back, shoulders, cardio and endurance minigames

Fatigue & Stress

Soft/hard caps throttle gains as you tire, with recovery over time

Supplements

Protein, Pre-workout and Creatine — timed buffs that boost gains and cut fatigue

Gym Business

Ownable gyms with boss/employee roles, a management panel and payroll

Memberships

Weekly and monthly membership plans sold to players

Achievements & Dailies

Unlockable achievements and rotating daily tasks

Leaderboard & App

Phone-style app with global leaderboard, notifications and events

World Activities

Sprinting trains Energy; landing melee hits trains Boxer (anti-farm capped)

Rebound Decay

Stop training and stats slowly decay, with an optional visual overlay

Ped Fatness

Optional system that changes the player’s face when they stop training

Requirements

Installation

1

Download & Extract

Extract the resource into your resources folder.
2

Add Supplement Items

Add gym_protein, gym_preworkout and gym_creatine to your inventory (see Items section below).
3

Add to server.cfg

4

Set Language

5

Configure

Edit the files in config/ to customize gyms, supplements, stats and commands.
All rarx_gym_* database tables are created automatically on first start — no SQL to import.

Items

Add to qb-core/shared/items.lua:

Configuration

Core Settings

With UseVanillaProps = false the included animated machines are placed randomly so every default gym gets one of each type.

Stats

Each machine targets one stat, and stats feed back into gameplay:

Fatigue & Stress

Reps build fatigue and stress; once you cross the soft/hard caps your gains are reduced, so you can’t farm endlessly. Both recover while you rest.

Gyms

Three gyms ship pre-configured — Muscle Sands (Vespucci Beach), Shores and Paleto — each with a supplement NPC and an ownable business. Add as many as you like:

Supplements

World Activities

Ped Fatness (Optional)

Commands

Admin permission groups are defined in Config.Commands.permissions (ACE plus per-framework groups).

Exports

Localization

Set the language with the rarx-lang convar (shared by all RARX scripts):
Available languages: en, es, fr, de, it, pt. Translations live in translates/ and use the RARX Lang (Locale) system — copy en.lua to add or edit a language.

Troubleshooting

Check the gym coordinates in config/settings.lua and make sure no other script is deleting objects/peds in that area.
Verify the items exist in your inventory and the names match Config.Supplements (gym_protein, gym_preworkout, gym_creatine).
The default command is /gym (Config.Commands.stats). Make sure it isn’t overridden by another resource.
Set setr rarx-lang "es" (or another supported code) in server.cfg and restart the resource.
Confirm oxmysql is running and started before rarx_gym; the rarx_gym_* tables are created automatically on boot.

Support

Need help? Reach out: