radio in the car and passenger
#7

try this
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;
}
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
Reply


Messages In This Thread
radio in the car and passenger - by iRealSAMP - 29.01.2012, 13:09
Re: radio in the car and passenger - by mineralo - 29.01.2012, 13:31
Re: radio in the car and passenger - by iRealSAMP - 29.01.2012, 13:52
Re: radio in the car and passenger - by lamarr007 - 29.01.2012, 13:58
Re: radio in the car and passenger - by iRealSAMP - 29.01.2012, 14:01
Re: radio in the car and passenger - by iRealSAMP - 29.01.2012, 14:36
Re: radio in the car and passenger - by mineralo - 30.01.2012, 11:43
Re: radio in the car and passenger - by iRealSAMP - 30.01.2012, 15:18
Re: radio in the car and passenger - by iRealSAMP - 31.01.2012, 15:39
Re: radio in the car and passenger - by milanosie - 31.01.2012, 15:44

Forum Jump:


Users browsing this thread: 3 Guest(s)