[Ajuda] Dialogo
#10

Quote:
Originally Posted by TheCrazyy
Посмотреть сообщение
Код:
#define DialogoIR 1
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	switch(dialogid)
	{
   		case DialogoIR:
   		{
   		    switch(listitem)
   		    {
   		        case 0:
   		        {
   		            SetPlayerPos(playerid, 0.0, 0.0, 3.0);
   		        }
			}
			return 1;

		}
	}
	return 0;
}
CMD:ir(playerid, params[])
{
	ShowPlayerDialog(playerid, DialogoIR, DIALOG_STYLE_LIST, "Local", "Teste", "Selecionar", "Cancelar");
	return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case DialogoIR:
{
switch(listitem)
{
case 0:
{
SetPlayerPos(playerid, 0.0, 0.0, 3.0);
}
}
return 1;
}
default: return false; // anti flood dialog

}
return 0;
}
Reply


Messages In This Thread
Dialogo - by TheCrazyy - 25.05.2017, 17:55
Re: Dialogo - by MultiKill - 25.05.2017, 18:05
Re: Dialogo - by TheCrazyy - 25.05.2017, 18:12
Re: Dialogo - by TheusCrazzy - 25.05.2017, 18:20
Re: Dialogo - by TheCrazyy - 25.05.2017, 18:29
Re: Dialogo - by Injury - 25.05.2017, 18:36
Re: Dialogo - by TheusCrazzy - 25.05.2017, 18:36
Re: Dialogo - by TheCrazyy - 25.05.2017, 18:46
Re: Dialogo - by Scorpion659 - 25.05.2017, 21:44
Re: Dialogo - by DimaShift - 26.05.2017, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)