setPlayerIsRepeatingAMission
SET_PLAYER_IS_REPEATING_A_MISSION0x9D8D44ADBBA61EF2The GTA V native SET_PLAYER_IS_REPEATING_A_MISSION of the MISC namespace, as LS:MP client scripts call it: the global function setPlayerIsRepeatingAMission, in JavaScript and in Lua.
setPlayerIsRepeatingAMission(toggle: boolean): voidsetPlayerIsRepeatingAMission(toggle: boolean)Usage
JavaScript
setPlayerIsRepeatingAMission(toggle);Lua
setPlayerIsRepeatingAMission(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Misc MISC
- In the game
void SET_PLAYER_IS_REPEATING_A_MISSION(BOOL toggle)- Hash
0x9D8D44ADBBA61EF2- Formerly
_SET_PLAYER_ROCKSTAR_EDITOR_DISABLED