RedM Natives

SET_MISSION_FLAG

If true, the player can't save the game.

Hash0x36694B456BE80D0A
Runtime nameSetMissionFlag
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xC4301E5121A0ED73

Signature

void SET_MISSION_FLAG(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Description

If true, the player can't save the game.

Usage

Lua
SetMissionFlag(toggle)

-- always works, by hash
Citizen.InvokeNative(0x36694B456BE80D0A, toggle)
JavaScript and C#
JavaScript
SetMissionFlag(toggle);

// by hash
Citizen.invokeNative('0x36694B456BE80D0A', toggle);
C#
Function.Call((Hash)0x36694B456BE80D0A, toggle);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.