This commit is contained in:
2021-06-27 20:27:03 -05:00
commit cbd4520e12
42 changed files with 1836 additions and 0 deletions

16
RAGE/Stats.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
/**
* Stats Functions
* @public
* @noSelf
*/
declare namespace stats {
function stat_get_int(hash: Hash, unk0: int): int32_t|null;
function stat_get_float(hash: Hash, unk0: int): float|null;
function stat_get_boolean(hash: Hash, unk0: int): boolean|null;
function stat_set_int(hash: Hash, value: int32_t, save: boolean): boolean;
function stat_set_float(hash: Hash, value: float, save: boolean): boolean;
function stat_set_boolean(hash: Hash, value: boolean, save: boolean): boolean;
}