{"hash":"0x34D6AC1157C8226C","ns":"PED","name":"IS_PED_USING_SCENARIO_HASH","slug":"IS_PED_USING_SCENARIO_HASH","official":true,"named":true,"luaName":"IsPedUsingScenarioHash","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"scenarioHash","type":"Hash"}],"summary":"Equivalent to IS_PED_USING_SCENARIO from V but takes a hash instead of a string.","descriptions":[{"source":"alloc8or","format":"text","body":"Equivalent to IS_PED_USING_SCENARIO from V but takes a hash instead of a string."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/IS_PED_USING_SCENARIO_HASH","markdownUrl":"https://natives.borderlinerp.com/natives/PED/IS_PED_USING_SCENARIO_HASH.md","snippets":{"lua":"local retval = IsPedUsingScenarioHash(ped, scenarioHash)","luaInvoke":"local retval = Citizen.InvokeNative(0x34D6AC1157C8226C, ped, scenarioHash, Citizen.ReturnResultAnyway())","js":"const retval = IsPedUsingScenarioHash(ped, scenarioHash);","jsInvoke":"const retval = Citizen.invokeNative('0x34D6AC1157C8226C', ped, scenarioHash, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x34D6AC1157C8226C, ped, scenarioHash);","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` ``."]}}