function clientCmduRPG_PlaySong(%song,%type)
{
if(isFile("Add-Ons/Client_UltimateRPG/rMusic/" @ %type @ "/" @ %song @ "_" @ %type @ ".ogg"))
{
if(alxIsPlaying($uRPG::CurrentSong))
alxStop($uRPG::CurrentSong);
$uRPG::CurrentSong = alxCreateSource(AudioGUI, "Add-Ons/Client_UltimateRPG/rMusic/" @ %type @ "/" @ %song @ "_" @ %type @ ".ogg");
alxPlay($uRPG::CurrentSong);
}
}
Somehow, this shows up: Unable to locate profile '0'