{"hash":"0x74C9090FDD1BB48E","ns":"WEAPON","name":"_GIVE_WEAPON_COMPONENT_TO_ENTITY","slug":"_GIVE_WEAPON_COMPONENT_TO_ENTITY","official":false,"named":true,"luaName":"GiveWeaponComponentToEntity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"componentHash","type":"Hash"},{"name":"weaponHash","type":"Hash"},{"name":"p3","type":"BOOL"}],"summary":"entity can be a ped or weapon object.","descriptions":[{"source":"alloc8or","format":"text","body":"entity can be a ped or weapon object."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/WEAPON/_GIVE_WEAPON_COMPONENT_TO_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/_GIVE_WEAPON_COMPONENT_TO_ENTITY.md","snippets":{"lua":"GiveWeaponComponentToEntity(entity, componentHash, weaponHash, p3)","luaInvoke":"Citizen.InvokeNative(0x74C9090FDD1BB48E, entity, componentHash, weaponHash, p3)","js":"GiveWeaponComponentToEntity(entity, componentHash, weaponHash, p3);","jsInvoke":"Citizen.invokeNative('0x74C9090FDD1BB48E', entity, componentHash, weaponHash, p3);","csharp":"Function.Call((Hash)0x74C9090FDD1BB48E, entity, componentHash, weaponHash, p3);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}