{"hash":"0x1B1E2A40A65B8521","ns":"PED","name":"SET_AI_WEAPON_DAMAGE_MODIFIER","slug":"SET_AI_WEAPON_DAMAGE_MODIFIER","official":true,"named":true,"luaName":"SetAiWeaponDamageModifier","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"value","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0xEA16670E7BA4743C"],"build":"1207","gtaHash":"0x1B1E2A40A65B8521","gtaJhash":"0x516E30EE","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/SET_AI_WEAPON_DAMAGE_MODIFIER","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SET_AI_WEAPON_DAMAGE_MODIFIER.md","snippets":{"lua":"SetAiWeaponDamageModifier(value)","luaInvoke":"Citizen.InvokeNative(0x1B1E2A40A65B8521, value)","js":"SetAiWeaponDamageModifier(value);","jsInvoke":"Citizen.invokeNative('0x1B1E2A40A65B8521', value + 0.0000001);","csharp":"Function.Call((Hash)0x1B1E2A40A65B8521, value);","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."]}}