10.01.2012, 16:38
I placed this under a timer of a second;
But it ain't working.. Anybody has a clue?
Код:
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); } } }