Developer knowledge network · moderated exchange

UnreliableCode-Community

Community für Entwicklerforschung, Reverse Engineering und Codierung

Knowledge indexLive
4Categories
919Threads
2.8KBeiträge
Guide

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

fivem_native_guru
CitizenFX Dev
MEMBER
Vertreter: 182
Beitrittsdatum: May 2021
Beiträge: 8
Danke: 69
Vor 1 Monaten · 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
Vertreter: 64
Beitrittsdatum: Jun 2019
Beiträge: 20
Danke: 48
Vor 1 Monaten · 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
Vertreter: 215
Beitrittsdatum: Mar 2018
Beiträge: 86
Danke: 61
Vor 1 Monaten · Jul 24, 2026 9:21 AM
#3

Super jump is hilarious in freeroam.