{"hash":"0xF6A7C08DF2E28B28","ns":"ATTRIBUTE","name":"ENABLE_ATTRIBUTE_OVERPOWER","slug":"ENABLE_ATTRIBUTE_OVERPOWER","official":true,"named":true,"luaName":"EnableAttributeOverpower","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"attributeIndex","type":"int"},{"name":"value","type":"float"},{"name":"makeSound","type":"BOOL"}],"summary":"Old name: _SET_ATTRIBUTE_OVERPOWER_VALUE","descriptions":[{"source":"alloc8or","format":"text","body":"attributeIndex: see SET_ATTRIBUTE_BASE_RANK\n\nOld name: _SET_ATTRIBUTE_OVERPOWER_VALUE"},{"source":"femga","format":"pre","body":"// 0xF6A7C08DF2E28B28\nvoid _SET_ATTRIBUTE_OVERPOWER_AMOUNT(int ped, int coreIndex, float value, BOOL makeSound);\n\nUse this native to make the outer core overpowered. Value is between `0.0` and more than `5000.0`, the higher the number, the longer it takes for the core to drain the overpowered status.\nExample for the Dead Eye core (index `2`) set to `5000.0`:\n![](https://i.imgur.com/otm6HiP.png)\nso far these both only seem to work with localGame, does not appear to be working in \"online\" mode."}],"examples":[],"aliases":[],"enums":["PedAttribute__AttributeType"],"related":["0xF8DAC3D85636C241"],"build":"1207","sources":["alloc8or","femga"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ATTRIBUTE/ENABLE_ATTRIBUTE_OVERPOWER","markdownUrl":"https://natives.borderlinerp.com/natives/ATTRIBUTE/ENABLE_ATTRIBUTE_OVERPOWER.md","snippets":{"lua":"EnableAttributeOverpower(ped, attributeIndex, value, makeSound)","luaInvoke":"Citizen.InvokeNative(0xF6A7C08DF2E28B28, ped, attributeIndex, value, makeSound)","js":"EnableAttributeOverpower(ped, attributeIndex, value, makeSound);","jsInvoke":"Citizen.invokeNative('0xF6A7C08DF2E28B28', ped, attributeIndex, value + 0.0000001, makeSound);","csharp":"Function.Call((Hash)0xF6A7C08DF2E28B28, ped, attributeIndex, value, makeSound);","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."]}}