_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS
returns the amount of peds that were restrained with the weapon thrown bolas
Hash
0x46D42883E873C1D7Runtime name
GetNumPedsRestrainedFromBolasNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1232
Also known as
_GET_NUM_PEDS_RESTRAINED_FROM_WEAPON_BOLASSignature
int _GET_NUM_PEDS_RESTRAINED_FROM_BOLAS(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns int
Description
returns the amount of peds that were restrained with the weapon thrown bolas
Usage
local retval = GetNumPedsRestrainedFromBolas(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x46D42883E873C1D7, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetNumPedsRestrainedFromBolas(ped);
// by hash
const retval = Citizen.invokeNative('0x46D42883E873C1D7', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.