[Ajuda] Comando em DIALOG
#3

Код:
#define DIALOG_AJUDA 29292 //TOPO DO GM

CMD:ajuda(playerid, params[]) 
{ 
ShowPlayerDialog(playerid, DIALOG_AJUDA, DIALOG_STYLE_LIST, "Ajuda:", 
"Servidor\n\ 
Fуrum\n\ 
Comandos\n\ 
Organizaзхes\n\ 
Regras\n\ 
Benefнcios{00FF00} [VIP]\n\ 
GPS\n", 
"Selecionar", "Sair"); 
return 1; 
}  


if(dialogid == DIALOG_AJUDA) //PХEM EM OnDialogResponse
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,1400,DIALOG_STYLE_MSGBOX,"SERVIDOR","OK", "Cancelar");
}
if(listitem == 1)
{
ShowPlayerDialog(playerid,1400,DIALOG_STYLE_MSGBOX,"FУRUM","OK", "Cancelar");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid,1400,DIALOG_STYLE_MSGBOX,"COMANDOS","OK", "");
}
if(listitem == 3)
{
ShowPlayerDialog(playerid,1400,DIALOG_STYLE_MSGBOX,"ORGANIZAЗХES","OK", "Cancelar");
}
if(listitem == 4)
{
ShowPlayerDialog(playerid,1400,DIALOG_STYLE_MSGBOX,"REGRAS","OK", "Cancelar");
}
if(listitem == 5)
{
ShowPlayerDialog(playerid,1400,DIALOG_STYLE_MSGBOX,"BENEFНCIOS","OK", "Cancelar");
}
if(listitem == 6)
{
ShowPlayerDialog(playerid,1400,DIALOG_STYLE_MSGBOX,"GPS","OK", "Cancelar");
}
}
}
Reply


Messages In This Thread
Comando em DIALOG - by Warlley - 08.06.2017, 18:10
Re: Comando em DIALOG - by Warlley - 08.06.2017, 18:12
Re: Comando em DIALOG - by Rato22 - 08.06.2017, 18:26
Re: Comando em DIALOG - by MenestreL - 08.06.2017, 18:29
Re: Comando em DIALOG - by Warlley - 08.06.2017, 18:46
Re: Comando em DIALOG - by Rato22 - 08.06.2017, 18:55
Re: Comando em DIALOG - by Warlley - 08.06.2017, 18:58
Re: Comando em DIALOG - by zCyan - 08.06.2017, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)