Audio stream with neared players
#1

[pawno]
if (strcmp("/radiopos", cmdtext, true) == 0)
{
new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
GetPlayerPos(playerid, X, Y, Z);
PlayAudioStreamForPlayer(playerid, "http://somafm.com/tags.pls", X, Y, Z, Distance, 1);
return 1;
}
return 0;
}
[/pawno]

Didnt help me because i got a lot of errors.

I changed the X Y Z to my position but i got errors on GetPlayerPos and new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
Can anyone help me?

And i make the script like UIF like party room.
When can change the radio station near players.???
Reply


Messages In This Thread
Audio stream with neared players - by Mill - 31.12.2015, 17:00
Re: Audio stream with neared players - by GeneralAref - 31.12.2015, 17:40
Re: Audio stream with neared players - by Mill - 31.12.2015, 18:12

Forum Jump:


Users browsing this thread: 2 Guest(s)