Skip to content
On this page

.frontend

Used to play a sound from the frontend. Sound list: https://altv.stuyk.com/docs/articles/tables/frontend-sounds.html

Usage

Arguments

  • audioName -> string
    • Name of the audio
    • Example: '10_SEC_WARNING'
  • ref -> string
    • Reference of the audio
    • Example: 'HUD_MINI_GAME_SOUNDSET'

Returns

  • Returns a void.
typescript
AthenaClient.sound.frontend('10_SEC_WARNING', 'HUD_MINI_GAME_SOUNDSET');

Created by Stuyk | Est. 2020