31.12.2015, 17:00
[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.???
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.???