_IS_PED_BEING_LED
Returns true if ped is being led, for example a horse led by its reins.
Signature
BOOL _IS_PED_BEING_LED(Ped ped); // 0xAC5045AB7F1A34FD b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _IS_PED_BEING_LED |
|---|---|
| Hash | 0xAC5045AB7F1A34FD |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xAC5045AB7F1A34FD, -- _IS_PED_BEING_LED
PlayerPedId() -- Ped ped
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xAC5045AB7F1A34FD", // _IS_PED_BEING_LED
PlayerPedId(), // Ped ped
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xAC5045AB7F1A34FD, // _IS_PED_BEING_LED
API.PlayerPedId() // Ped ped
);Related TASK natives
- _IS_PED_ARRESTING_ANY_PED
- _IS_PED_DUELLING
- _IS_PED_LEADING_HORSE
- _IS_PED_LOOKING_AT_COORD
- IS_PED_BEING_ARRESTED
- _IS_HAT_BEING_PICKED_UP
- _IS_HAT_BEING_PICKED_UP_2
- _GET_LED_HORSE_FROM_PED
- _GET_PED_IS_IGNORING_DEAD_BODIES
- _GET_SCENARIO_POINT_PED_IS_USING
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- _PED_IS_IN_SCENARIO_BASE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.