The Lab
WEAPON native

_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS

returns int1 parambuild 1232

Returns the number of peds currently restrained by the ped's bolas.

Signature

C
int _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS(Ped ped); // 0x46D42883E873C1D7 b1232

Parameters

#NameType
1pedPed

Facts

Facts about _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
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.

Lua
local result = Citizen.InvokeNative(0x46D42883E873C1D7, -- _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
  PlayerPedId(), -- Ped ped
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x46D42883E873C1D7", // _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
  PlayerPedId(), // Ped ped
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x46D42883E873C1D7, // _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
  API.PlayerPedId() // Ped ped
);
All WEAPON natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.