Help with radio..
#7

I was thinking about playing the song for the area then OnPlayerUpdate playing the audiostream for the players XYZ and assign a global variable for when they put a song on, but I think that would restart the song..

EDIT: DID NOT WORK, crashes the client :P

EDIT x2: I THINK I FIXED IT, Just make it like this
PHP код:
new Float:xFloat:yFloat:zFloat:distance 3.0;
                    
GetPlayerPos(playerid,x,y,z);
                    if(
IsPlayerInRangeOfPoint(playerid,3.0,x,y,z))
                    {
                        
PlayAudioStreamForPlayer(playerid,"http://yp.shoutcast.com/sbin/tunein-station.pls?id=668943",x,y,z,distance,0);
                    } 
If anyone could get on my server to test it, it'd be great, ip is in the signature
Reply


Messages In This Thread
Help with radio.. - by Azzeto - 15.12.2011, 10:52
Re: Help with radio.. - by §с†¶e®РµРe - 15.12.2011, 11:10
Re: Help with radio.. - by Azzeto - 15.12.2011, 11:13
Re: Help with radio.. - by §с†¶e®РµРe - 15.12.2011, 11:17
Re: Help with radio.. - by Azzeto - 15.12.2011, 11:21
Re: Help with radio.. - by §с†¶e®РµРe - 15.12.2011, 11:29
Re: Help with radio.. - by Azzeto - 15.12.2011, 11:34
Re: Help with radio.. - by leong124 - 15.12.2011, 13:46
Re: Help with radio.. - by Azzeto - 15.12.2011, 14:47

Forum Jump:


Users browsing this thread: 3 Guest(s)