{"hash":"0x0286617C8FC50A53","ns":"AUDIO","name":"_UPDATE_SOUND_POSITION","slug":"_UPDATE_SOUND_POSITION","official":false,"named":true,"luaName":"UpdateSoundPosition","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"soundId","type":"int"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"}],"summary":"Only used in R* SP Scripts","descriptions":[{"source":"alloc8or","format":"text","body":"Only used in R* SP Scripts"},{"source":"vorp","format":"text","body":"Only used in R* SP Scripts\nOld Name: _UPDATE_SOUND_POSITION"}],"examples":[],"aliases":["UPDATE_SOUND_COORD"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/AUDIO/_UPDATE_SOUND_POSITION","markdownUrl":"https://natives.borderlinerp.com/natives/AUDIO/_UPDATE_SOUND_POSITION.md","snippets":{"lua":"UpdateSoundPosition(soundId, x, y, z)","luaInvoke":"Citizen.InvokeNative(0x0286617C8FC50A53, soundId, x, y, z)","js":"UpdateSoundPosition(soundId, x, y, z);","jsInvoke":"Citizen.invokeNative('0x0286617C8FC50A53', soundId, x + 0.0000001, y + 0.0000001, z + 0.0000001);","csharp":"Function.Call((Hash)0x0286617C8FC50A53, soundId, x, y, z);","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.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}