Radio help
#4

you can do it easier. add a new field to your businesses like bRadio[64].

After this, make a command /radio to insert/select an url. Then, you will save it on your field like:
Код HTML:
format(businessVariables[PlayerInfo[playerid][pBusinessID]][bRadio], 200, "http://url:port/");
This will save the url on your business. After, you will put it
Код HTML:
for(new x = 0; x < MAX_BUSINESSES; x++)
		{
PlayAudioStreamForPlayer(playerid, businessVariables[x][bRadio]);
}
when a player enter in a business.
Reply


Messages In This Thread
Radio help - by N0FeaR - 03.05.2016, 12:16
Re: Radio help - by V1T0 - 03.05.2016, 23:01
Re: Radio help - by colonel-top - 04.05.2016, 07:46
Re: Radio help - by Nin9r - 04.05.2016, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)