forceGameStatePlaying
FORCE_GAME_STATE_PLAYING0xC0AA53F866B3134DThe GTA V native FORCE_GAME_STATE_PLAYING of the MISC namespace, as LS:MP client scripts call it: the global function forceGameStatePlaying, in JavaScript and in Lua.
forceGameStatePlaying(): voidforceGameStatePlaying()Usage
JavaScript
forceGameStatePlaying();Lua
forceGameStatePlaying()Parameters
None.
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.
Sets the localplayer playerinfo state back to playing (State 0)
States are:
-1: "Invalid"
0: "Playing"
1: "Died"
2: "Arrested"
3: "Failed Mission"
4: "Left Game"
5: "Respawn"
6: "In MP Cutscene"
Reference
- Namespace
- Misc MISC
- In the game
void FORCE_GAME_STATE_PLAYING()- Hash
0xC0AA53F866B3134D- Formerly
_RESET_LOCALPLAYER_STATE