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

15
RAGE/Audio.d.ts vendored Normal file
View File

@@ -0,0 +1,15 @@
/**
* Audio Functions
* @public
* @noSelf
*/
declare namespace audio {
function play_sound(soundId: int, audioName: string, audioRef: string, p4: boolean, p5: any, p6: boolean): void;
function play_sound_frontend(soundId: int, audioName: string, audioRef: string, p4: boolean): void;
function play_sound_from_entity(soundId: int, audioName: string, entity: Entity, audioRef: string): void;
function play_sound_from_coord(soundId: int, audioName: string, pos: v3, audioRef: string, a5: boolean, range: int, a7: boolean): void;
function stop_sound(soundId: int): void;
}