{"hash":"0xAC5045AB7F1A34FD","ns":"TASK","name":"_IS_PED_BEING_LED","slug":"_IS_PED_BEING_LED","official":false,"named":true,"luaName":"IsPedBeingLed","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"}],"summary":"Returns true if the given ped (usually a horse) is currently being led by a ped (lead/rope).","descriptions":[{"source":"alloc8or","format":"text","body":"Returns true if the given ped (usually a horse) is currently being led by a ped (lead/rope).\nMirrors usage with _IS_PED_LEADING_HORSE(ped) and _GET_LED_HORSE_FROM_PED(ped)."},{"source":"vorp","format":"text","body":"returns true if the specified mount (horse) is currently being led by the player, otherwise false."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_IS_PED_BEING_LED","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_IS_PED_BEING_LED.md","snippets":{"lua":"local retval = IsPedBeingLed(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0xAC5045AB7F1A34FD, ped, Citizen.ReturnResultAnyway())","js":"const retval = IsPedBeingLed(ped);","jsInvoke":"const retval = Citizen.invokeNative('0xAC5045AB7F1A34FD', ped, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xAC5045AB7F1A34FD, 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."]}}