{"hash":"0x1ACBC313966C21F3","ns":"TASK","name":"_IS_SCENARIO_IN_USE","slug":"_IS_SCENARIO_IN_USE","official":false,"named":true,"luaName":"IsScenarioInUse","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"scenario","type":"int"}],"summary":"Checks whether a specified scenario is currently being used (actively played) by any entity (player or ped).","descriptions":[{"source":"alloc8or","format":"text","body":"Checks whether a specified scenario is currently being used (actively played) by any entity (player or ped).\nReturns true if the scenario is already occupied, otherwise false."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1436","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_IS_SCENARIO_IN_USE","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_IS_SCENARIO_IN_USE.md","snippets":{"lua":"local retval = IsScenarioInUse(scenario)","luaInvoke":"local retval = Citizen.InvokeNative(0x1ACBC313966C21F3, scenario, Citizen.ReturnResultAnyway())","js":"const retval = IsScenarioInUse(scenario);","jsInvoke":"const retval = Citizen.invokeNative('0x1ACBC313966C21F3', scenario, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x1ACBC313966C21F3, scenario);","notes":["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."]}}