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/Script.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
/**
* Script Functions
* @public
* @noSelf
*/
declare namespace script {
function trigger_script_event(eventId: int, player: Player, params: vector<int>): void;
function get_host_of_this_script(): Player;
function get_global_f(i: int): float;
function get_global_i(i: int): int;
function get_local_f(script: Hash, i: int): float;
function get_local_i(script: Hash, i: int): int;
}