{"hash":"0xA46E98BDC407E23D","ns":"VOLUME","name":"SET_VOLUME_SCALE","slug":"SET_VOLUME_SCALE","official":true,"named":true,"luaName":"SetVolumeScale","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"volume","type":"Volume"},{"name":"scaleX","type":"float"},{"name":"scaleY","type":"float"},{"name":"scaleZ","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x3E2A25B2416DD67E"],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VOLUME/SET_VOLUME_SCALE","markdownUrl":"https://natives.borderlinerp.com/natives/VOLUME/SET_VOLUME_SCALE.md","snippets":{"lua":"local retval = SetVolumeScale(volume, scaleX, scaleY, scaleZ)","luaInvoke":"local retval = Citizen.InvokeNative(0xA46E98BDC407E23D, volume, scaleX, scaleY, scaleZ, Citizen.ReturnResultAnyway())","js":"const retval = SetVolumeScale(volume, scaleX, scaleY, scaleZ);","jsInvoke":"const retval = Citizen.invokeNative('0xA46E98BDC407E23D', volume, scaleX + 0.0000001, scaleY + 0.0000001, scaleZ + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xA46E98BDC407E23D, volume, scaleX, scaleY, scaleZ);","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."]}}