Garry's Mod

Garry's Mod

评价数不足
GMod Music Base API
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 实体
插件标签: 快乐, 角色扮演, 风景
文件大小
发表于
更新日期
6.912 MB
2024 年 5 月 27 日 上午 5:11
2024 年 5 月 28 日 上午 7:12
3 项改动说明 ( 查看 )

订阅以下载
GMod Music Base API

描述
# 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 )