_STAT_CALCULATE_COOLDOWN
Based on its name and signature, here is our best reading:
Computes a cooldown value from value and returns it as an integer.
Signature
int _STAT_CALCULATE_COOLDOWN(int value); // 0x1E7384AB5D4F4581 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | value | int |
Facts
| Name | _STAT_CALCULATE_COOLDOWN |
|---|---|
| Hash | 0x1E7384AB5D4F4581 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x1E7384AB5D4F4581, -- _STAT_CALCULATE_COOLDOWN
0, -- int value
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x1E7384AB5D4F4581", // _STAT_CALCULATE_COOLDOWN
0, // int value
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x1E7384AB5D4F4581, // _STAT_CALCULATE_COOLDOWN
0 // int value
);Related STATS natives
- _STAT_PHEROMONE_COOLDOWN_LEGENDARY_ANIMAL
- _STAT_CARRIED_SATCHEL_ITEM_FROM_PED
- _STAT_ADD_ANIMAL_SAMPLE_TARGET
- _STAT_DONATE_INCREMENT_ITEM
- _STAT_ID_DECREMENT_INT
- _STAT_ID_INCREMENT_FLOAT
- _STAT_ID_INCREMENT_INT
- _STAT_ITEM_FISH_CAUGHT
- STAT_ADD_BOUNTY_TARGET
- STAT_BOUNTY_CAPTURED
- STAT_BOUNTY_ESCAPED
- STAT_ID_GET_BOOL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.