cmd for audistream all players
#2

pawn Код:
//everyone.
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
StopAudioStreamForPlayer(i);
PlayAudioStreamForPlayer(i, "the fakin link here");
}
}
//people nearby.
new Float:Pos[3];
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInRangeOfPoint(i,RANGE,Pos[0],Pos[1],Pos[2]))
{
StopAudioStreamForPlayer(i);
PlayAudioStreamForPlayer(i, "the fakin link here");
}
}
}
Reply


Messages In This Thread
cmd for audistream all players - by Vizi - 18.08.2012, 07:00
Re: cmd for audistream all players - by RanSEE - 18.08.2012, 07:02

Forum Jump:


Users browsing this thread: 1 Guest(s)