help :D
#1

this work only if all player are in point ?
Код:
stock PlayMusicForAll(soundid)
{
  for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if (IsPlayerConnected(i))
		{
      if(IsPlayerInRangeOfPoint(i,50.0,-703.0861,963.7906,12.4002))
			{
			  PlayerPlaySound(i,soundid,0.0,0.0,0.0);
			}
		}
	}
	return 1;
}
the timer
Код:
SetTimer("musicceck",1000,1);
the public
public musicceck()
{
PlayMusicForAll(11331);
}
Reply


Messages In This Thread
help :D - by iJumbo - 19.05.2010, 09:54

Forum Jump:


Users browsing this thread: 1 Guest(s)