{"hash":"0xD77AE48611B7B10A","ns":"PED","name":"SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER","slug":"SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER","official":true,"named":true,"luaName":"SetPedToPlayerWeaponDamageModifier","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"damageModifier","type":"float"}],"summary":"Old name: _SET_PED_DAMAGE_MODIFIER","descriptions":[{"source":"alloc8or","format":"text","body":"Old name: _SET_PED_DAMAGE_MODIFIER"}],"examples":[],"aliases":[],"enums":[],"related":["0x936E7CAD0AE2EE14"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SET_PED_TO_PLAYER_WEAPON_DAMAGE_MODIFIER.md","snippets":{"lua":"SetPedToPlayerWeaponDamageModifier(ped, damageModifier)","luaInvoke":"Citizen.InvokeNative(0xD77AE48611B7B10A, ped, damageModifier)","js":"SetPedToPlayerWeaponDamageModifier(ped, damageModifier);","jsInvoke":"Citizen.invokeNative('0xD77AE48611B7B10A', ped, damageModifier + 0.0000001);","csharp":"Function.Call((Hash)0xD77AE48611B7B10A, ped, damageModifier);","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."]}}