good start, i am start use your plugin on my servers.
- please add change track pos with view current pos in menu
- cvar default for sound volume for newbies without record in clientprefs
- add plugin options in clientprefs settings menu (!settings) with volume and motd visible:
for example how it..
Code:
start at OnPluginStart..
volume_cookie = RegClientCookie("sm_soundcloud_volume", "Soundcloud player volume preference (0-10)", CookieAccess_Protected);
SetCookieMenuItem(Menu_OptionsCookie, 0, "Soundcloud");
}
public Menu_OptionsCookie(client, CookieMenuAction:action, any:info, String:buffer[], maxlen) // sm_settings command.
{
switch(action)
{
case CookieMenuAction_DisplayOption:
Format(buffer, maxlen, "Soundcloud", client);
case CookieMenuAction_SelectOption:
ShowOptionsMenu(client);
}
}
ShowOptionsMenu(client)
{
ETC...
}