17 lines
412 B
TypeScript
17 lines
412 B
TypeScript
/**
|
|
* 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;
|
|
|
|
}
|
|
|