Radio
#1

Need help with making radio system.

I have command for turning on car radio and i want that anyone who enters car can hear my radio station.

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(cInfo[playerid][pPradio] == 4)
{
PlayAudioStreamForPlayer(playerid, "http://stream.europeanhitradio.com/%20(56%20kb)");
}
I know that this is wrong because there is that Playerid and radio works only for me, but how can i make that it works for everyone? like its attached to car?
Reply


Messages In This Thread
Radio - by edzis84 - 21.05.2013, 20:32
Re: Radio - by FiniteSurvival - 21.05.2013, 20:37
Re: Radio - by edzis84 - 21.05.2013, 20:43
Re: Radio - by Pottus - 21.05.2013, 20:49
Re: Radio - by edzis84 - 21.05.2013, 20:58
Re: Radio - by edzis84 - 22.05.2013, 12:52
Re: Radio - by Pottus - 22.05.2013, 13:00
Re: Radio - by edzis84 - 22.05.2013, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)