Developer knowledge network ยท moderated exchange

Komunitas Kode Tidak Dapat Diandalkan

Riset Pengembang, Rekayasa Terbalik & Komunitas Pengkodean

Knowledge indexHidup
4Categories
919Threads
2.8KPostingan
Guide

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

fivem_native_coder
Lua Scripter
MEMBER
Reputasi: 64
Tanggal Bergabung: Jun 2019
Postingan: 20
Terima kasih: 48
1 bulan yang lalu ยท 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
Reputasi: 162
Tanggal Bergabung: May 2018
Postingan: 73
Terima kasih: 42
1 bulan yang lalu ยท 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
Reputasi: 215
Tanggal Bergabung: Mar 2018
Postingan: 86
Terima kasih: 61
1 bulan yang lalu ยท Jul 24, 2026 10:40 PM
#3

Works across all FiveM roleplay servers.