{"hash":"0x9420FB11B8D77948","ns":"TASK","name":"_GET_TASK_PED_MOUNT_LEAP_STATE","slug":"_GET_TASK_PED_MOUNT_LEAP_STATE","official":false,"named":true,"luaName":"GetTaskPedMountLeapState","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"}],"summary":"Returns a coarse state for the mount-leap task (jumping from your mount onto another mount/wagon/train).","descriptions":[{"source":"alloc8or","format":"text","body":"Returns a coarse state for the mount-leap task (jumping from your mount onto another mount/wagon/train).\n-1 = no task; 0 = in-air/ongoing; 1 = boarded/mounted; 2 = boarded rear train trailer.\nUse with _GET_TASK_PED_MOUNT_LEAP_PROGRESS for timing.\nVideo demo: https://youtu.be/YZuw9lhqDms"},{"source":"vorp","format":"text","body":"Returns a coarse state for the mount-leap task (jumping from your mount onto another mount/wagon/train).\n-1 = no task; 0 = in-air/ongoing; 1 = boarded/mounted; 2 = boarded rear train trailer\nUse with _GET_TASK_PED_MOUNT_LEAP_PROGRESS for timing"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_GET_TASK_PED_MOUNT_LEAP_STATE","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_GET_TASK_PED_MOUNT_LEAP_STATE.md","snippets":{"lua":"local retval = GetTaskPedMountLeapState(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x9420FB11B8D77948, ped, Citizen.ResultAsInteger())","js":"const retval = GetTaskPedMountLeapState(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x9420FB11B8D77948', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x9420FB11B8D77948, ped);","notes":["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."]}}