getRandomEventFlag
GET_RANDOM_EVENT_FLAG0xD2D57F1D764117B1The GTA V native GET_RANDOM_EVENT_FLAG of the MISC namespace, as LS:MP client scripts call it: the global function getRandomEventFlag, in JavaScript and in Lua.
getRandomEventFlag(): booleangetRandomEventFlag(): booleanUsage
JavaScript
const result = getRandomEventFlag();Lua
local result = getRandomEventFlag()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Misc MISC
- In the game
BOOL GET_RANDOM_EVENT_FLAG()- Hash
0xD2D57F1D764117B1