{"hash":"0x7409669C5ED50144","ns":"SCRIPT","name":"_IS_GOAL_CONTEXT_ACTIVE","slug":"_IS_GOAL_CONTEXT_ACTIVE","official":false,"named":true,"luaName":"IsGoalContextActive","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"goalContext","type":"Hash"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"goalContext: see _ACTIVATE_GOAL_CONTEXT"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/SCRIPT/_IS_GOAL_CONTEXT_ACTIVE","markdownUrl":"https://natives.borderlinerp.com/natives/SCRIPT/_IS_GOAL_CONTEXT_ACTIVE.md","snippets":{"lua":"local retval = IsGoalContextActive(goalContext)","luaInvoke":"local retval = Citizen.InvokeNative(0x7409669C5ED50144, goalContext, Citizen.ReturnResultAnyway())","js":"const retval = IsGoalContextActive(goalContext);","jsInvoke":"const retval = Citizen.invokeNative('0x7409669C5ED50144', goalContext, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x7409669C5ED50144, goalContext);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}