Jump to content
  • 0

Problema AudioStream


bymeyo

Question

Nick:bymeyo

Problema:Am facut o comanda care sa seteze audio stream in masina dar am observat ca nu ramane audio streamul..As dori cateva indicatii.Cum pot face sa se salveze audio stream-ul pe masina pana la respawn?

Trebuie cumva sa creez o variabila in care sa salveze link-ul?

Erori / warnings:

Lini/script:

Ai incercat sa rezolvi singur ?:Nu deoarece nu stiu de unde sa pornesc.

EDIT:Scuzati dar am gresit sectiunea..Abea acum am vazut..Daca puteti muta topicul as fi foarte recunoscator

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Pai aceasta e comanda

[pawn]

CMD:carradio(playerid, params[])

{

  if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)

  {

      if(PlayerInfo[playerid][pPremiumAccount] == 0)

      {

      SendClientMessage(playerid,COLOR_YELLOW,"You're not a premium account.");

      return 1;

      }

      else return ShowPlayerDialog(playerid, Dialog_radio, DIALOG_STYLE_LIST, "Car Radio", "{228B22}Play {FFFFFF}Kiss FM\n{228B22}Play {FFFFFF}Radio ZU\n{228B22}Play {FFFFFF}One FM\n{228B22}Play {FFFFFF}Pro FM\n{228B22}Play {FFFFFF}Radio Taraf\n{228B22}Play {FFFFFF}Radio 21\n{228B22}Play {FFFFFF}Radio HitFm\n{228B22}Play {FFFFFF}Radio HotStyle\n{228B22}Play {FFFFFF}Radio Popular\n{228B22}Play {FFFFFF}Radio HipHop\n{8B0000}STOP Radio", "Play", "Exit");

  }

  return 1;

}

[/pawn]

Liniile de la dialog nu cred ca are rost sa le pun.Am folosit PlayAudioStreamForPlayer.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.