{"hash":"0x208A1888007FC0E6","ns":"WEAPON","name":"SET_PED_DROPS_INVENTORY_WEAPON","slug":"SET_PED_DROPS_INVENTORY_WEAPON","official":true,"named":true,"luaName":"SetPedDropsInventoryWeapon","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"weaponHash","type":"Hash"},{"name":"xOffset","type":"float"},{"name":"yOffset","type":"float"},{"name":"zOffset","type":"float"},{"name":"ammoCount","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x208A1888007FC0E6","gtaJhash":"0x81FFB874","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/WEAPON/SET_PED_DROPS_INVENTORY_WEAPON","markdownUrl":"https://natives.borderlinerp.com/natives/WEAPON/SET_PED_DROPS_INVENTORY_WEAPON.md","snippets":{"lua":"SetPedDropsInventoryWeapon(ped, weaponHash, xOffset, yOffset, zOffset, ammoCount)","luaInvoke":"Citizen.InvokeNative(0x208A1888007FC0E6, ped, weaponHash, xOffset, yOffset, zOffset, ammoCount)","js":"SetPedDropsInventoryWeapon(ped, weaponHash, xOffset, yOffset, zOffset, ammoCount);","jsInvoke":"Citizen.invokeNative('0x208A1888007FC0E6', ped, weaponHash, xOffset + 0.0000001, yOffset + 0.0000001, zOffset + 0.0000001, ammoCount);","csharp":"Function.Call((Hash)0x208A1888007FC0E6, ped, weaponHash, xOffset, yOffset, zOffset, ammoCount);","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` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}