AudioStream
#2

I assume that you already have a working code but with LIST style. So you just gotta replace DIALOG_STYLE_LIST with DIALOG_STYLE_INPUT and use inputtext[] to read what a user inputs:

pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == WHATEVER_DIALOG)
    {
        if(response)
        {
            PlayAudioStreamForPlayer(playerid, inputtext);
        }
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
AudioStream - by lider1241 - 17.07.2013, 11:46
Re: AudioStream - by [KHK]Khalid - 17.07.2013, 12:02
Re: AudioStream - by NotePadGaming - 17.07.2013, 12:52
Re: AudioStream - by lider1241 - 17.07.2013, 13:04

Forum Jump:


Users browsing this thread: 2 Guest(s)