Developer knowledge network ยท moderated exchange

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Knowledge indexLive
4Categories
919Threads
2.8KPosts
Guide

Infinite Stamina, Super Jump, and Fast Swim ped flags in GTA V

fivem_native_guru
CitizenFX Dev
MEMBER
Rep: 182
Join Date: May 2021
Posts: 8
Thanks: 69
1 months ago ยท Jul 23, 2026 1:00 PM
#1

Enable passive movement buffs via native ped flags:

CPP
void ApplyMovementBuffs(Ped playerPed) {
    // Infinite Sprint / Stamina
    PLAYER::RESTORE_PLAYER_STAMINA(PLAYER_ID(), 1.0f);
    
    // Fast Sprint
    PLAYER::SET_RUN_SPRINT_MULTIPLIER_FOR_PLAYER(PLAYER_ID(), 1.49f);
    
    // Fast Swimming
    PLAYER::SET_SWIM_MULTIPLIER_FOR_PLAYER(PLAYER_ID(), 1.49f);
    
    // Super Jump (Launch into air when pressing space)
    MISC::SET_SUPER_JUMP_THIS_FRAME(PLAYER_ID());
}

Multipliers above 1.49f can desync multiplayer animations, so 1.49f is the sweet spot for smooth movement.

fivem_native_coder
Lua Scripter
MEMBER
Rep: 64
Join Date: Jun 2019
Posts: 20
Thanks: 48
1 months ago ยท Jul 23, 2026 4:27 PM
#2

1.49f sprint multiplier is undetected on 99% of FiveM servers because it's an official native parameter.

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

Super jump is hilarious in freeroam.