{"hash":"0xB1ADCCC4150C6473","ns":"MISC","name":"SET_RANDOM_EVENT_FLAG","slug":"SET_RANDOM_EVENT_FLAG","official":true,"named":true,"luaName":"SetRandomEventFlag","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"toggle","type":"BOOL"}],"summary":"If the parameter is true, sets the random event flag to true, if the parameter is false, the function does nothing at all.","descriptions":[{"source":"alloc8or","format":"text","body":"If the parameter is true, sets the random event flag to true, if the parameter is false, the function does nothing at all.\nDoes nothing if the mission flag is set."}],"examples":[],"aliases":[],"enums":[],"related":["0x924D54E5698AE3E0"],"build":"1207","gtaHash":"0x971927086CFD2158","gtaJhash":"0xA77F31E8","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/MISC/SET_RANDOM_EVENT_FLAG","markdownUrl":"https://natives.borderlinerp.com/natives/MISC/SET_RANDOM_EVENT_FLAG.md","snippets":{"lua":"SetRandomEventFlag(toggle)","luaInvoke":"Citizen.InvokeNative(0xB1ADCCC4150C6473, toggle)","js":"SetRandomEventFlag(toggle);","jsInvoke":"Citizen.invokeNative('0xB1ADCCC4150C6473', toggle);","csharp":"Function.Call((Hash)0xB1ADCCC4150C6473, toggle);","notes":[]}}