27.12.2013, 06:29
Код:
public OnPlayerUpdate(playerid) { if(IsPlayerInRangeOfPoint(playerid, 20.0, 842.67010, -2049.13647, 11.67430)) { PlayAudioStreamForPlayer(playerid, "http://www.woo55.com/adata/11069/ow59LUN3ODCf.129.mp3"); } else return StopAudioStreamForPlayer(playerid); // <<< Will make when the player not on the event place the music will auto stoped ! return 1; }
I mean songs are playing at a time 5 times