FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: MISCAPI set: clientGame: gta5editImprove

SET_SUPER_JUMP_THIS_FRAME

0x57FFF03E423A4C0B
0x86745EF3
// SetSuperJumpThisFrame
void SET_SUPER_JUMP_THIS_FRAME(Player player);
Parameters:
  • player:

    The player we are setting this for.

Allows the player to perform super jumps. This function must be called every frame for it to work. It basically OR's a flag for a single frame, allowing the ped to perform a super jump only when the flag is set.

Examples:

  • Lua
Citizen.CreateThread(function()
    while true do
        SetSuperJumpThisFrame(PlayerId())
        -- Try enabling the two down below if you also want invincibility and no ragdoll effects
        --SetPlayerInvincible(PlayerId(), true)
        --SetPedCanRagdoll(PlayerPedId(), false)
        Citizen.Wait(0)
    end
end)
Privacy
•
Cookie Policy
•
Cookie Settings
SET_FAKE_WANTED_LEVEL(int fakeWantedLevel)
SET_FIRE_AMMO_THIS_FRAME(Player player)
_SET_FORCE_PLAYER_TO_JUMP(Player player)
SET_GAME_PAUSED(BOOL toggle)
SET_GRAVITY_LEVEL(int level)
SET_INCIDENT_REQUESTED_UNITS(int incidentId, int dispatchService, int numUnits)
_SET_INCIDENT_UNK(int incidentId, float p1)
SET_INSTANCE_PRIORITY_HINT(int flag)
SET_INSTANCE_PRIORITY_MODE(int toggle)
SET_MINIGAME_IN_PROGRESS(BOOL toggle)
SET_MISSION_FLAG(BOOL toggle)
SET_OVERRIDE_WEATHER(char* weatherType)
_SET_PLAYER_IS_IN_ANIMAL_FORM(BOOL toggle)
_SET_PLAYER_ROCKSTAR_EDITOR_DISABLED(BOOL toggle)
_SET_RAIN_LEVEL(float level)
SET_RANDOM_EVENT_FLAG(BOOL toggle)
SET_RANDOM_SEED(int seed)
SET_RANDOM_WEATHER_TYPE()
_SET_RESTART_CUSTOM_POSITION(float x, float y, float z, float heading)
SET_RIOT_MODE_ENABLED(BOOL toggle)
SET_SAVE_HOUSE(Any p0, BOOL p1, BOOL p2)
SET_SAVE_MENU_ACTIVE(BOOL ignoreVehicle)
_SET_SNOW_LEVEL(float level)
SET_STUNT_JUMPS_CAN_TRIGGER(BOOL toggle)
SET_SUPER_JUMP_THIS_FRAME(Player player)
SET_THIS_SCRIPT_CAN_BE_PAUSED(BOOL toggle)
SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED_BY_ANY_SCRIPT(BOOL toggle)
SET_TIME_SCALE(float timeScale)
SET_WEATHER_TYPE_NOW(char* weatherType)
SET_WEATHER_TYPE_NOW_PERSIST(char* weatherType)
SET_WEATHER_TYPE_OVERTIME_PERSIST(char* weatherType, float time)
SET_WEATHER_TYPE_PERSIST(char* weatherType)
_SET_WEATHER_TYPE_TRANSITION(Hash weatherType1, Hash weatherType2, float percentWeather2)
SET_WIND(float speed)
SET_WIND_DIRECTION(float direction)