💻
alt:V Athena Docs v3.0.0
  • Info
    • Introduction
    • Patreon & Support
    • Athena Discord
    • FAQ
  • Installation
    • Common Issues
    • Windows
    • Linux (Ubuntu 20.04+)
    • Debugging
    • Updating
  • Info
    • Admin
    • Configuration
    • Console
    • Database
    • Hotkeys
    • Identifier
  • Plugins
    • Load Plugins
    • Create Plugins
    • Mods
    • Clothing
  • Controllers
    • What is a Controller?
    • Blip Controller
    • Interaction Controller
    • Marker Controller
    • Object Controller
    • Ped Controller
    • Text Label Controller
    • World Notification Controller
  • Systems
    • Interiors
    • Inventory & Items
    • Inventory Rules
    • Jobs
    • Time
    • Weather
  • Menus
    • Menu Types
    • Action Menus
    • Input Menu
    • Wheel Menu
  • Player
    • Admin-Commands
    • Animations
    • Attach Objects
    • Credits
    • Currency
    • Commands
    • Error Screen
    • Message
    • Meta
    • Notifications
    • Particle
    • Progress Bar
    • Save
    • Shard
    • Sound
    • Spinners
    • Task Timeline
  • Custom WebViews
    • Introduction
    • Your First Page
    • CSS Framework
  • Misc
    • Custom Sounds
    • Custom Streamers
    • Custom Icons
    • Adding Locale / Translations
    • Adding Vehicle Rules
    • Adding Whitelist
    • Adding Wheel Menus
    • Adding Parking Garages
Powered by GitBook
On this page
  • Summary
  • Athena.player.emit.sound2D
  • Athena.player.emit.sound3D
  • Athena.player.emit.soundFrontend
Edit on GitHub
  1. Player

Sound

Playing Sounds for a Player

PreviousShardNextSpinners

Last updated 3 years ago

Summary

Sounds can be played in 3 different ways.

  • 2D - Custom

  • 3D - Custom

  • GTA:V Interface Sounds - Not Custom

Is is suggested to take a look at to understand how they are implemented and created.

However, interface sound list can be found here:

Athena.player.emit.sound2D

Sounds are played in both channels of their speakers.

Athena.player.emit.sound2D(player, 'item_error');

Athena.player.emit.sound3D

Sounds are played based on where the entity is.

The last parameter is either a player or a vehicle.

 Athena.player.emit.sound3D(player, 'item_equip', player);

Athena.player.emit.soundFrontend

Sounds are played in both channels of their speakers.

Athena.player.emit.soundFrontend(player, 'Hack_Failed', 'DLC_HEIST_BIOLAB_PREP_HACKING_SOUNDS');
Custom Sounds
https://altv.stuyk.com/docs/articles/tables/frontend-sounds.html