_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
Returns the number of peds currently restrained by the ped's bolas.
Signature
int _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS(Ped ped); // 0x46D42883E873C1D7 b1232Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS |
|---|---|
| Hash | 0x46D42883E873C1D7 |
| Namespace | |
| Returns | int |
| Game build | 1232 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x46D42883E873C1D7, -- _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x46D42883E873C1D7", // _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x46D42883E873C1D7, // _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
API.PlayerPedId() // Ped ped
);Related WEAPON natives
- _GET_AMMO_IN_PED_WEAPON_FROM_GUID
- _GET_CURRENT_AMMO_TYPE_FROM_GUID
- _GET_PED_GUN_SPINNING_HASH_FROM_WEAPON_EMOTE_VARIATION
- _GET_WEAPON_FROM_DEFAULT_PED_WEAPON_COLLECTION
- _GET_WEAPON_FROM_HORSE_HOLSTER
- _GET_WEAPON_OBJECT_FROM_PED
- _GET_WEAPON_TYPE_FROM_AMMO_TYPE
- GET_PED_AMMO_TYPE_FROM_WEAPON
- _GET_AMMO_IN_CLIP_BY_INVENTORY_UID
- _GET_AMMO_RECOMMENDED_TYPE_FOR_WEAPON
- _GET_AMMO_TYPE_FOR_WEAPON
- _GET_BEST_PED_WEAPON_IN_GROUP
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.