setVariableOnSynchSceneAudio
SET_VARIABLE_ON_SYNCH_SCENE_AUDIO0xBCC29F935ED07688The GTA V native SET_VARIABLE_ON_SYNCH_SCENE_AUDIO of the AUDIO namespace, as LS:MP client scripts call it: the global function setVariableOnSynchSceneAudio, in JavaScript and in Lua.
setVariableOnSynchSceneAudio(variableName: string, value: number): voidsetVariableOnSynchSceneAudio(variableName: string, value: number)Usage
JavaScript
setVariableOnSynchSceneAudio(variableName, value);Lua
setVariableOnSynchSceneAudio(variableName, value)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
variableName | string | string | string |
value | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_VARIABLE_ON_SYNCH_SCENE_AUDIO(const char* variableName, float value)- Hash
0xBCC29F935ED07688- Formerly
GET_PLAYER_HEADSET_SOUND_ALTERNATE_SET_VARIABLE_ON_CUTSCENE_AUDIO