{"hash":"0xCAD4FE9398820D24","ns":"WEAPON","name":"_GET_WEAPON_ATTACH_POINT","slug":"_GET_WEAPON_ATTACH_POINT","official":false,"named":true,"luaName":"GetWeaponAttachPoint","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"},{"name":"attachPoint","type":"int"}],"summary":"Returns WeaponAttachPoint","descriptions":[{"source":"alloc8or","format":"text","body":"Returns WeaponAttachPoint"}],"examples":[],"aliases":[],"enums":["eWeaponAttachPoint"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_ATTACH_POINT","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GET_WEAPON_ATTACH_POINT.md","snippets":{"lua":"local retval = GetWeaponAttachPoint(ped, attachPoint)","luaInvoke":"local retval = Citizen.InvokeNative(0xCAD4FE9398820D24, ped, attachPoint, Citizen.ResultAsInteger())","js":"const retval = GetWeaponAttachPoint(ped, attachPoint);","jsInvoke":"const retval = Citizen.invokeNative('0xCAD4FE9398820D24', ped, attachPoint, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xCAD4FE9398820D24, ped, attachPoint);","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."]}}