|
@@ -9,7 +9,7 @@
|
|
#pragma newdecls required
|
|
#pragma newdecls required
|
|
#include <round_end_music>
|
|
#include <round_end_music>
|
|
|
|
|
|
-#define PLUGIN_VERSION "0.0.1"
|
|
|
|
|
|
+#define PLUGIN_VERSION "0.1.0"
|
|
public Plugin myinfo = {
|
|
public Plugin myinfo = {
|
|
name = "Round End Music: Sample Source",
|
|
name = "Round End Music: Sample Source",
|
|
author = "nosoop",
|
|
author = "nosoop",
|
|
@@ -32,12 +32,12 @@ public void HardcodedArrayMusicSource() {
|
|
MusicEntry entry = GenerateSong(SONGS[i][0], SONGS[i][1], SONGS[i][2]);
|
|
MusicEntry entry = GenerateSong(SONGS[i][0], SONGS[i][1], SONGS[i][2]);
|
|
|
|
|
|
if (!REM_AddSong(entry)) {
|
|
if (!REM_AddSong(entry)) {
|
|
- PrintToServer("[rem-sample] Song %s is already queued.", SONGS[i][2]);
|
|
|
|
|
|
+ PrintToServer("[rem-sample] Song %s could not be queued.", SONGS[i][2]);
|
|
}
|
|
}
|
|
delete entry;
|
|
delete entry;
|
|
}
|
|
}
|
|
|
|
|
|
- PrintToServer("Songs requested");
|
|
|
|
|
|
+ PrintToServer("[rem-sample] %d songs requested", REM_GetActiveSongCount());
|
|
}
|
|
}
|
|
|
|
|
|
MusicEntry GenerateSong(const char[] title, const char[] source, const char[] filePath) {
|
|
MusicEntry GenerateSong(const char[] title, const char[] source, const char[] filePath) {
|