Developer knowledge network · moderated exchange

UnreliableCode 커뮤니티

개발자 연구, 리버스 엔지니어링 및 코딩 커뮤니티

Knowledge index살다
4Categories
919Threads
2.8K게시물
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.