/radio dialog a little help
#1

How to stream ONLY to the player who choose the song?

Info: In PlayerName 1 Choose Song 1.. Then play the song only to him/her..


Do I need to get the player position??



pawn Код:
#define DIALOG_RADIO 1113
pawn Код:
CMD:radio(playerid, params[])
{
    ShowPlayerDialog(playerid, DIALOG_RADIO, DIALOG_STYLE_LIST, "Radio", "Song 1: Sample \nSong 2: Sample2 \nSong 3: Sample3 \nSong 4: Sample4", "Choose", "Close");
    return 1;
}
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    if(dialogid == DIALOG_RADIO)
    {
        switch(listitem)
        {
           case 0: //PlayAudiStreamForPlayer
           case 1: //PlayAudiStreamForPlayer
           case 2: //PlayAudiStreamForPlayer
           case 3: //PlayAudiStreamForPlayer
           case 4: //PlayAudiStreamForPlayer
        }
              return 1;
 }
Reply
#2

No,this will only stream music for the player who uses this cmd.
Reply
#3

Quote:
Originally Posted by TaLhA XIV
Посмотреть сообщение
No,this will only stream music for the player who uses this cmd.
EDIT: This is what im looking for thanks.
Reply
#4

Is that possible to Remove the Audio Stream: http:/sample,com/sample/hotlink/sample- sample.mp3 in sendclientmessage when player play the song?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)