Garry's Mod

Garry's Mod

Not enough ratings
GMod Music Base API
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay, Scenic
File Size
Posted
Updated
6.912 MB
27 May, 2024 @ 5:11am
28 May, 2024 @ 7:12am
3 Change Notes ( view )

Subscribe to download
GMod Music Base API

Description
# Basic Music API

This is a simple API for a music Player, where there is only 1 entity that would play any music from the list, where you can spawn one entity and when you press E, will pop a menu that you can select the music and if it will play on the music box (Entity) or on the Player (Owner of the Entity).

To add a music, is simple, so you can use:
- Args: -- string: Name - What will be displayed on the Menu -- string: Path - The path for the music, do not add "sound/" - returns: Nil GModMusic.AddSong( string Name, string Path )