RedM Natives

_GET_TASK_PED_MOUNT_LEAP_PROGRESS

Returns 0.0-1.0 progress for the current mount-leap task, or -1.0f if no leap is active.

Hash0x6BA606AB3A83BC4D
Runtime nameGetTaskPedMountLeapProgress
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

float _GET_TASK_PED_MOUNT_LEAP_PROGRESS(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns float

Description

Returns 0.0-1.0 progress for the current mount-leap task, or -1.0f if no leap is active.
Video demo: https://youtu.be/YZuw9lhqDms

Usage

Lua
local retval = GetTaskPedMountLeapProgress(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x6BA606AB3A83BC4D, ped, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetTaskPedMountLeapProgress(ped);

// by hash
const retval = Citizen.invokeNative('0x6BA606AB3A83BC4D', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x6BA606AB3A83BC4D, ped);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.