{"hash":"0x46D42883E873C1D7","ns":"WEAPON","name":"_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS","slug":"_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS","official":false,"named":true,"luaName":"GetNumPedsRestrainedFromBolas","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"}],"summary":"returns the amount of peds that were restrained with the weapon thrown bolas","descriptions":[{"source":"vorp","format":"text","body":"returns the amount of peds that were restrained with the weapon thrown bolas"}],"examples":[],"aliases":["_GET_NUM_PEDS_RESTRAINED_FROM_WEAPON_BOLAS"],"enums":[],"related":[],"build":"1232","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_NUM_PEDS_RESTRAINED_FROM_BOLAS.md","snippets":{"lua":"local retval = GetNumPedsRestrainedFromBolas(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x46D42883E873C1D7, ped, Citizen.ResultAsInteger())","js":"const retval = GetNumPedsRestrainedFromBolas(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x46D42883E873C1D7', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x46D42883E873C1D7, ped);","notes":["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."]}}