{"hash":"0x1E7384AB5D4F4581","ns":"STATS","name":"_STAT_CALCULATE_COOLDOWN","slug":"_STAT_CALCULATE_COOLDOWN","official":false,"named":true,"luaName":"StatCalculateCooldown","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"value","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"Calculation: (value / 1000) / 60 % 60"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/STATS/_STAT_CALCULATE_COOLDOWN","markdownUrl":"https://natives.borderlinerp.com/natives/STATS/_STAT_CALCULATE_COOLDOWN.md","snippets":{"lua":"local retval = StatCalculateCooldown(value)","luaInvoke":"local retval = Citizen.InvokeNative(0x1E7384AB5D4F4581, value, Citizen.ResultAsInteger())","js":"const retval = StatCalculateCooldown(value);","jsInvoke":"const retval = Citizen.invokeNative('0x1E7384AB5D4F4581', value, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x1E7384AB5D4F4581, value);","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."]}}