PlayAudioStreamForPlayer help
#5

Quote:
Originally Posted by N0FeaR
View Post
show that be so when ppl are near me that hear my music?
no, if u want only who are close to hear music then do this:

pawn Code:
new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
GetPlayerPos(playerid, X, Y, Z);
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i)){
PlayAudioStreamForPlayer(i, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1283687", X, Y, Z, Distance, 1);
}
}
Reply


Messages In This Thread
PlayAudioStreamForPlayer help - by N0FeaR - 30.12.2011, 00:14
Re: PlayAudioStreamForPlayer help - by jamesbond007 - 30.12.2011, 00:16
Re: PlayAudioStreamForPlayer help - by N0FeaR - 30.12.2011, 00:18
Re: PlayAudioStreamForPlayer help - by diego_p11 - 30.12.2011, 00:18
Re: PlayAudioStreamForPlayer help - by jamesbond007 - 30.12.2011, 00:23
Re: PlayAudioStreamForPlayer help - by N0FeaR - 30.12.2011, 00:24

Forum Jump:


Users browsing this thread: 3 Guest(s)