_GET_TASK_PED_MOUNT_LEAP_STATE
Returns a coarse state for the mount-leap task (jumping from your mount onto another mount/wagon/train).
0x9420FB11B8D77948GetTaskPedMountLeapStateSignature
int _GET_TASK_PED_MOUNT_LEAP_STATE(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns int
Description
Returns a coarse state for the mount-leap task (jumping from your mount onto another mount/wagon/train).
-1 = no task; 0 = in-air/ongoing; 1 = boarded/mounted; 2 = boarded rear train trailer.
Use with _GET_TASK_PED_MOUNT_LEAP_PROGRESS for timing.
Video demo: https://youtu.be/YZuw9lhqDms
Returns a coarse state for the mount-leap task (jumping from your mount onto another mount/wagon/train).
-1 = no task; 0 = in-air/ongoing; 1 = boarded/mounted; 2 = boarded rear train trailer
Use with _GET_TASK_PED_MOUNT_LEAP_PROGRESS for timing
Usage
local retval = GetTaskPedMountLeapState(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9420FB11B8D77948, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetTaskPedMountLeapState(ped);
// by hash
const retval = Citizen.invokeNative('0x9420FB11B8D77948', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x9420FB11B8D77948, 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
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.