setRadioTrackWithStartOffset
SET_RADIO_TRACK_WITH_START_OFFSET0x2CB0075110BE1E56The GTA V native SET_RADIO_TRACK_WITH_START_OFFSET of the AUDIO namespace, as LS:MP client scripts call it: the global function setRadioTrackWithStartOffset, in JavaScript and in Lua.
setRadioTrackWithStartOffset(
radioStationName: string,
mixName: string,
p2: number
): voidsetRadioTrackWithStartOffset(
radioStationName: string,
mixName: string,
p2: integer
)Usage
JavaScript
setRadioTrackWithStartOffset(radioStationName, mixName, p2);Lua
setRadioTrackWithStartOffset(radioStationName, mixName, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
radioStationName | string | string | string |
mixName | string | string | string |
p2 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Audio AUDIO
- In the game
void SET_RADIO_TRACK_WITH_START_OFFSET(const char* radioStationName, const char* mixName, int p2)- Hash
0x2CB0075110BE1E56- Introduced
- Game build 1493 legacy numbering
- Formerly
_SET_RADIO_TRACK_MIX