Audio::playSoundFromCoord
Jump to navigation
Jump to search
All found occurrences in b617d, sorted alphabetically and identical lines removed: pastebin.com/eeFc5DiW
gtaforums.com/topic/795622-audio-for-mods
Syntax
mp.game.audio.playSoundFromCoord(soundId, audioName, x, y, z, audioRef, p6, p7, p8);Required Arguments
- soundId: int
- audioName: String
- x: float
- y: float
- z: float
- audioRef: String
- p6: Boolean
- p7: int
- p8: Boolean
Return value
- Undefined
Example
let pos = mp.players.local.position;
mp.game.audio.playSoundFromCoord(1, "CONFIRM_BEEP", pos.x, pos.y, pos.z, "HUD_MINI_GAME_SOUNDSET", false, 0, false);