{"hash":"0x94D529F7B73D7A85","ns":"PLAYER","name":"SET_PLAYER_WEAPON_DAMAGE_MODIFIER","slug":"SET_PLAYER_WEAPON_DAMAGE_MODIFIER","official":true,"named":true,"luaName":"SetPlayerWeaponDamageModifier","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"player","type":"Player"},{"name":"modifier","type":"float"}],"summary":"This modifies the damage value of your weapon.","descriptions":[{"source":"alloc8or","format":"text","body":"This modifies the damage value of your weapon. Whether it is a multiplier or base damage is unknown."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xCE07B9F7817AADA3","gtaJhash":"0xB02C2F39","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/SET_PLAYER_WEAPON_DAMAGE_MODIFIER","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/SET_PLAYER_WEAPON_DAMAGE_MODIFIER.md","snippets":{"lua":"SetPlayerWeaponDamageModifier(player, modifier)","luaInvoke":"Citizen.InvokeNative(0x94D529F7B73D7A85, player, modifier)","js":"SetPlayerWeaponDamageModifier(player, modifier);","jsInvoke":"Citizen.invokeNative('0x94D529F7B73D7A85', player, modifier + 0.0000001);","csharp":"Function.Call((Hash)0x94D529F7B73D7A85, player, modifier);","notes":["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."]}}