Originally Posted by iTakelot
PHP код:
#define DialogBoxEx 1004
#define Painel 1005
#define DialogEx 1005
Public Ondialogresponse
PHP код:
if(dialogid == DialogEx)
{
if(response)
{
if(listitem == 0)
{
new Msg[2000];
PlayerPlaySound(playerid, 1132, 0, 0, 0);
new Ajuda[1500];
strcat(Ajuda,"{FFFFFF}vamo supor que aqui vai ficar os comandos. \n\n");
strcat(Ajuda, "{FFFFFF}vamo supor que aqui vai ficar os comandos. \n\n");
strcat(Ajuda, "{FFFFFF}vamo supor que aqui vai ficar os comandos. n\n");
ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Info Server", Ajuda, "OK", "");
PlayerPlaySound(playerid, 1132, 0, 0, 0);
return 1;
}
else if(listitem == 1)
{
PlayerPlaySound(playerid, 1132, 0, 0, 0);
new Ajuda[1500];
strcat(Ajuda,"{FFFFFF}vamo supor que aqui vai ficar os comandos. \n\n");
strcat(Ajuda, "{FFFFFF}vamo supor que aqui vai ficar os comandos. \n\n");
strcat(Ajuda, "{FFFFFF}vamo supor que aqui vai ficar os comandos. n\n");
ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Info Server", Ajuda, "OK", "");
}
}
}
PHP код:
CMD:cmdss(playerid,params[])
{
ShowPlayerDialog(playerid, Painel, DIALOG_STYLE_LIST, "Commands", "Generals\nGroup", "Select","Exit");
return 1;
}
|