04.05.2016, 12:07
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:
This will save the url on your business. After, you will put it
when a player enter in a business.
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/");
Код HTML:
for(new x = 0; x < MAX_BUSINESSES; x++) { PlayAudioStreamForPlayer(playerid, businessVariables[x][bRadio]); }