Developer knowledge network ยท moderated exchange

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Knowledge indexLive
4Categories
919Threads
2.8KPosts
Guide

Infinite Stamina & Sprint Multiplier via PLAYER::SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER [v2.4 Technical Discussion]

fivem_native_coder
Lua Scripter
MEMBER
Rep: 64
Join Date: Jun 2019
Posts: 20
Thanks: 48
1 months ago ยท Jul 24, 2026 5:28 AM
#1

How to unlock super sprint speed and infinite stamina in GTA V:

CPP
void UpdatePlayerBuffs(Player player) {
    // Set sprint speed multiplier (default 1.0f, max stable 1.49f)
    PLAYER::SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER(player, 1.49f);
    PLAYER::SET_SWIM_MULTIPLIER_FOR_PLAYER(player, 1.49f);
    
    // Restore stamina level every tick
    PLAYER::RESET_PLAYER_STAMINA(player);
    PLAYER::SET_PLAYER_MELEE_WEAPON_DAMAGE_MODIFIER(player, 2.0f);
}

Values above 1.49f trigger server-side speed check kicks, making 1.49f the sweet spot for smooth super speed!

ptr_arithmetic
C++ Wizard
MEMBER
Rep: 162
Join Date: May 2018
Posts: 73
Thanks: 42
1 months ago ยท Jul 24, 2026 7:56 AM
#2

1.49f is indeed the maximum multiplier that doesn't trigger server desync. Great tip.

vtable_slayer
Senior Reverser
MEMBER
Rep: 215
Join Date: Mar 2018
Posts: 86
Thanks: 61
1 months ago ยท Jul 24, 2026 10:40 PM
#3

Works across all FiveM roleplay servers.