05.04.2012, 13:50
I want the purpose of dialog HELP Can anyone explain to me how? I read manuals and I can not
This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.
ShowPlayerDialog(playerid,DIALOG_STYLE_LIST,"Commands","Command1\r\nCommand2\r\nCommand3\r\nandsoon","OK","");
ShowPlayerDialog(playerid, 123, DIALOG_STYLE_LIST, "Help", "Rules\nCommands\n", "Ok", "");
if(dialogid == 123)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, COLOR_RED, "Rules here");
}
if(listitem == 1)
{
SendClientMessage(playerid, COLOR_RED, "Commands here");
}
}
}