[Help] Audio
#1

I placed this under a timer of a second;

Код:
	for(new i = 0; i<MAX_PLAYERS; i++)
	{
 		new Float:X, Float:Y, Float:Z;
   		GetObjectPos(BoomBoxObject, X, Y, Z);

	    if(IsPlayerInRangeOfPoint(i, 10, X, Y, Z))
	    {
	        if(BoomBoxHiphop[i] == 1)
	        {
	        	PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=199616", X, Y, Z, 10.0, 1);
			}
			
   			if(BoomBoxRock[i] == 1)
	        {
	        	PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1280356", X, Y, Z, 10.0, 1);
			}
		}
	}
But it ain't working.. Anybody has a clue?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)