getCurrentTvShowPlayTime
GET_CURRENT_TV_SHOW_PLAY_TIME0xDD3AA743AB7D4D75The GTA V native GET_CURRENT_TV_SHOW_PLAY_TIME of the AUDIO namespace, as LS:MP client scripts call it: the global function getCurrentTvShowPlayTime, in JavaScript and in Lua.
getCurrentTvShowPlayTime(): numbergetCurrentTvShowPlayTime(): integer⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
const result = getCurrentTvShowPlayTime();Lua
local result = getCurrentTvShowPlayTime()Parameters
None.
Returns
int JavaScript number, Lua integerReference
- Namespace
- Audio AUDIO
- In the game
int GET_CURRENT_TV_SHOW_PLAY_TIME()- Hash
0xDD3AA743AB7D4D75- Introduced
- Game build 3095 legacy numbering