_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.
Hash
0x6BA606AB3A83BC4DRuntime name
GetTaskPedMountLeapProgressNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _GET_TASK_PED_MOUNT_LEAP_PROGRESS(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
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
local retval = GetTaskPedMountLeapProgress(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x6BA606AB3A83BC4D, ped, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetTaskPedMountLeapProgress(ped);
// by hash
const retval = Citizen.invokeNative('0x6BA606AB3A83BC4D', ped, Citizen.returnResultAnyway(), Citizen.resultAsFloat());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.