Skip to main content

Audio::getCategoryVariable

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​

  • categoryHash: number
  • fieldNameHash: number

Return value​

  • void

Syntax​

mp.game.audio.getCategoryVariable(categoryHash, fieldNameHash)

Example​

//todo