Skip to main content

Audio::playSoundHash

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

Client-side function

JavaScript​

Required Params​

  • soundId: number
  • audioNameHash: number
  • audioRef: string
  • p3: boolean
  • p4: number
  • p5: boolean

Return value​

  • void

Syntax​

mp.game.audio.playSoundHash(soundId, audioNameHash, audioRef, p3, p4, p5)

Example​

//todo