Developer knowledge network · moderated exchange

UnreliableCode コミュニティ

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

Guide

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

fivem_native_guru
CitizenFX Dev
MEMBER
担当者: 182
参加日: May 2021
投稿: 8
ありがとう: 69
1 か月前 · 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
担当者: 64
参加日: Jun 2019
投稿: 20
ありがとう: 48
1 か月前 · 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
担当者: 215
参加日: Mar 2018
投稿: 86
ありがとう: 61
1 か月前 · Jul 24, 2026 9:21 AM
#3

Super jump is hilarious in freeroam.