{"hash":"0x3E1E286D","ns":"CFX","name":"GIVE_WEAPON_COMPONENT_TO_PED","slug":"GIVE_WEAPON_COMPONENT_TO_PED","official":true,"named":true,"luaName":"GiveWeaponComponentToPed","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"},{"name":"componentHash","type":"Hash"}],"summary":"GIVE_WEAPON_COMPONENT_TO_PED This is the server-side RPC native equivalent of the client native GIVE_WEAPON_COMPONENT_TO_PED.","descriptions":[{"source":"cfx","format":"md","body":"GIVE_WEAPON_COMPONENT_TO_PED\n\n**This is the server-side RPC native equivalent of the client native [GIVE_WEAPON_COMPONENT_TO_PED](?\\_0xD966D51AA5B28BB9).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GIVE_WEAPON_COMPONENT_TO_PED","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GIVE_WEAPON_COMPONENT_TO_PED.md","snippets":{"lua":"GiveWeaponComponentToPed(ped, weaponHash, componentHash)","luaInvoke":"Citizen.InvokeNative(0x3e1e286d, ped, weaponHash, componentHash)","js":"GiveWeaponComponentToPed(ped, weaponHash, componentHash);","jsInvoke":"Citizen.invokeNative('0x3e1e286d', ped, weaponHash, componentHash);","csharp":"Function.Call((Hash)0x3e1e286d, ped, weaponHash, componentHash);","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` ``."]}}