{"hash":"0x3B390A939AF0B5FC","ns":"WEAPON","name":"GET_CURRENT_PED_WEAPON_ENTITY_INDEX","slug":"GET_CURRENT_PED_WEAPON_ENTITY_INDEX","official":true,"named":true,"luaName":"GetCurrentPedWeaponEntityIndex","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"ped","type":"Ped"},{"name":"attachPoint","type":"int"}],"summary":"Returns weaponObject, attachPoint: see SET_CURRENT_PED_WEAPON","descriptions":[{"source":"alloc8or","format":"text","body":"Returns weaponObject, attachPoint: see SET_CURRENT_PED_WEAPON"}],"examples":[],"aliases":[],"enums":["eWeaponAttachPoint"],"related":[],"build":"1207","gtaHash":"0x3B390A939AF0B5FC","gtaJhash":"0x5D73CD20","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/GET_CURRENT_PED_WEAPON_ENTITY_INDEX","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/GET_CURRENT_PED_WEAPON_ENTITY_INDEX.md","snippets":{"lua":"local retval = GetCurrentPedWeaponEntityIndex(ped, attachPoint)","luaInvoke":"local retval = Citizen.InvokeNative(0x3B390A939AF0B5FC, ped, attachPoint, Citizen.ResultAsInteger())","js":"const retval = GetCurrentPedWeaponEntityIndex(ped, attachPoint);","jsInvoke":"const retval = Citizen.invokeNative('0x3B390A939AF0B5FC', ped, attachPoint, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x3B390A939AF0B5FC, ped, attachPoint);","notes":[]}}