If this is the case, you can manually load the player. If it still doesn't work, read the description of the addon once more to see if you didn't misunderstand or miss anything, then make a comment.īut I know the server allows clientside Lua, why didn't it load? Try using it in Sandbox and you'll see it works. Chances are the server you play on (if you do) doesn't allow clientside Lua, therefore the player doesn't load. I can't make the player appear or anything, it doesn't work at all! Now, when p is pressed, the music will start playing! These are useful if you want to bind a music player control to a key. Remove name of song - Removes a song from the playlist, it'll be gone by the next time the playlist starts.Īlternatively, you can use console commands. Getplaymode - Adds a chat message saying the current playmode (URL/File).Īdd "name of song" link_or_path/to/song.mp3 - Adds a song to the playlist, it's important the song name is in quotes! Saveplaylist - Saves the playlist (automatically loaded when the player initializes).ĭeleteplaylist - Deletes a saved playlist. Toggleplaymode - Toggles the playmode between from URL and from file.Ĭlearplaylist - Stops the music and clears the playlist. Next - Plays the next song, or starts the playlist again if you're at the playlist's last song.īack - Plays the previous song, or starts the playlist again if you're at the playlist's first song. All commands are prefixed with !musicplayer, followed by the command. To make it even easier, you can bind the command to a key by entering this in the console:Ĭhat commands can be used to operate the player just as well as you can use console commands. To access this, use the console command music_menu. The easiest way to operate the music player is through the derma menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |