[Audio] /music and /stopmusic
#1

How do i connect these 2 to work together (that /stopmusic stops /music)

Код:
	if(strcmp(cmd, "/music", true) == 0)
	{
		Audio_PlayStreamed(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=674096", false, false, false);
		return 1;
	}
	if(strcmp(cmd, "/stopmusic", true) == 0)
	{
		Audio_Stop(playerid, 0);
		return 1;
	}

Thanks
Reply


Messages In This Thread
[Audio] /music and /stopmusic - by Ivan_Pantovic - 22.12.2010, 19:41
Re: [Audio] /music and /stopmusic - by Raimis_R - 22.12.2010, 20:07
Re: [Audio] /music and /stopmusic - by Fj0rtizFredde - 22.12.2010, 20:08
Re: [Audio] /music and /stopmusic - by Ivan_Pantovic - 22.12.2010, 20:19

Forum Jump:


Users browsing this thread: 2 Guest(s)