MiscClient

setPlayerIsRepeatingAMission

SET_PLAYER_IS_REPEATING_A_MISSION0x9D8D44ADBBA61EF2

The 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.

SignatureJavaScript
setPlayerIsRepeatingAMission(toggle: boolean): void
SignatureLua
setPlayerIsRepeatingAMission(toggle: boolean)

Usage

JavaScript
setPlayerIsRepeatingAMission(toggle);
Lua
setPlayerIsRepeatingAMission(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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

Open in the interactive natives reference