Define
#10

what do you mean The Command you didt put that code under a command did u ?
it suppost to go likes this
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == RADIODIALOG) //
    {
        if(response)
        {
            if(IsPlayerConnected(playerid))PlayAudioStreamForPlayer(playerid, inputtext);
        }
     }
}
EDIT for that small amount of code to save lines use this
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == RADIODIALOG && response) PlayAudioStreamForPlayer(playerid,inputtext);
}
i dont think u need to check if the players is connect,becouse if he isnt then the callback would call anyway
Reply


Messages In This Thread
Define - by 3RoR - 14.04.2012, 11:19
Re: Define - by .FuneraL. - 14.04.2012, 13:11
Re: Define - by Shetch - 14.04.2012, 13:12
Re: Define - by .FuneraL. - 14.04.2012, 13:14
Re: Define - by park4bmx - 14.04.2012, 13:14
Re: Define - by 3RoR - 14.04.2012, 14:29
Re: Define - by 3RoR - 14.04.2012, 14:37
Re: Define - by park4bmx - 14.04.2012, 15:16
Re: Define - by 3RoR - 14.04.2012, 15:17
Re: Define - by park4bmx - 14.04.2012, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)