30.01.2012, 11:43
try this
it will play for all who around you, and in inside of vehicle too, for only who in vehicle it will need some varabiale etc for make like how you want
pawn Код:
if(strcmp(x_nr,"clubstation",true) == 0)
{
new Float:X, Float:Y, Float:Z, Float:Distance = 5.0;
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~g~CLUB STATION - ~r~www.star-gaming.ro", 4000, 5);
GetPlayerPos(playerid, X, Y, Z);
PlayAudioStreamForPlayer(playerid, "http://asculta.radio-conect.net:8000/listen.pls", X, Y, Z, Distance, 1);
return 1;
}