Developer knowledge network · moderated exchange

UnreliableCode コミュニティ

開発者リサーチ、リバース エンジニアリング、コーディング コミュニティ

Guide

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

fivem_native_coder
Lua Scripter
MEMBER
担当者: 64
参加日: Jun 2019
投稿: 20
ありがとう: 48
1 か月前 · 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
担当者: 162
参加日: May 2018
投稿: 73
ありがとう: 42
1 か月前 · 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
担当者: 215
参加日: Mar 2018
投稿: 86
ありがとう: 61
1 か月前 · Jul 24, 2026 10:40 PM
#3

Works across all FiveM roleplay servers.