setVariableOnStream
SET_VARIABLE_ON_STREAM0x2F9D3834AEB9EF79The GTA V native SET_VARIABLE_ON_STREAM of the AUDIO namespace, as LS:MP client scripts call it: the global function setVariableOnStream, in JavaScript and in Lua.
setVariableOnStream(variable: string, p1: number): voidsetVariableOnStream(variable: string, p1: number)Usage
JavaScript
setVariableOnStream(variable, p1);Lua
setVariableOnStream(variable, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
variable | string | string | string |
p1 | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
From the scripts, p0:
"ArmWrestlingIntensity",
"INOUT",
"Monkey_Stream",
"ZoomLevel"
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_VARIABLE_ON_STREAM(const char* variable, float p1)- Hash
0x2F9D3834AEB9EF79