RedM Natives

_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS

returns the amount of peds that were restrained with the weapon thrown bolas

Hash0x46D42883E873C1D7
Runtime nameGetNumPedsRestrainedFromBolas
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1232
Also known as_GET_NUM_PEDS_RESTRAINED_FROM_WEAPON_BOLAS

Signature

int _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Description

VORPCORE RDR3natives

returns the amount of peds that were restrained with the weapon thrown bolas

Usage

Lua
local retval = GetNumPedsRestrainedFromBolas(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x46D42883E873C1D7, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetNumPedsRestrainedFromBolas(ped);

// by hash
const retval = Citizen.invokeNative('0x46D42883E873C1D7', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x46D42883E873C1D7, ped);
  • 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.

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.