AudioClientBlocked

getVariationChosenForScriptedLine

GET_VARIATION_CHOSEN_FOR_SCRIPTED_LINE0xAA19F5572C38B564

The GTA V native GET_VARIATION_CHOSEN_FOR_SCRIPTED_LINE of the AUDIO namespace, as LS:MP client scripts call it: the global function getVariationChosenForScriptedLine, in JavaScript and in Lua.

SignatureJavaScript
getVariationChosenForScriptedLine(p0: null): number
SignatureLua
getVariationChosenForScriptedLine(p0: nil): integer
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Audio AUDIO
In the game
int GET_VARIATION_CHOSEN_FOR_SCRIPTED_LINE(Any* p0)
Hash
0xAA19F5572C38B564

Open in the interactive natives reference