{"hash":"0x5420D398A42917FC","ns":"STATS","name":"_STAT_PHEROMONE_COOLDOWN_LEGENDARY_ANIMAL","slug":"_STAT_PHEROMONE_COOLDOWN_LEGENDARY_ANIMAL","official":false,"named":true,"luaName":"StatPheromoneCooldownLegendaryAnimal","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"entity","type":"Entity"},{"name":"statId","type":"Any*"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"statId: see STAT_ID_IS_VALID"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1311","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/STATS/_STAT_PHEROMONE_COOLDOWN_LEGENDARY_ANIMAL","markdownUrl":"https://natives.borderlinerp.com/natives/STATS/_STAT_PHEROMONE_COOLDOWN_LEGENDARY_ANIMAL.md","snippets":{"lua":"local retval, statId = StatPheromoneCooldownLegendaryAnimal(entity, statId)","luaInvoke":"local retval, statId = Citizen.InvokeNative(0x5420D398A42917FC, entity, Citizen.PointerValueIntInitialized(statId), Citizen.ReturnResultAnyway())","js":"const [retval, statId] = StatPheromoneCooldownLegendaryAnimal(entity, statId);","jsInvoke":"const [retval, statId] = Citizen.invokeNative('0x5420D398A42917FC', entity, Citizen.pointerValueIntInitialized(statId), Citizen.returnResultAnyway());","csharp":"var statId = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x5420D398A42917FC, entity, statId);\n// statId.GetResult<int>()","notes":["The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","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."]}}