scPauseNewsInitStoryType
SC_PAUSE_NEWS_INIT_STORY_TYPEThe GTA V native SC_PAUSE_NEWS_INIT_STORY_TYPE of the SOCIALCLUB namespace, as LS:MP client scripts call it: the global function scPauseNewsInitStoryType, in JavaScript and in Lua.
scPauseNewsInitStoryType(storyType: number, textOnly: boolean): booleanscPauseNewsInitStoryType(storyType: integer, textOnly: boolean): boolean⚠
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 = scPauseNewsInitStoryType(storyType, textOnly);Lua
local result = scPauseNewsInitStoryType(storyType, textOnly)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
storyType | int | number | integer |
textOnly | BOOL | boolean | boolean |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Social Club SOCIALCLUB
- In the game
BOOL SC_PAUSE_NEWS_INIT_STORY_TYPE(int storyType, BOOL textOnly)