[help] need help dialog
#1

I want the purpose of dialog HELP Can anyone explain to me how? I read manuals and I can not
Reply
#2

What you want to make and add in it?
Reply
#3

I want to HELP command in a dialog and help make a list of commands, TELE and laws and some
Reply
#4

LOL
Код:
This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.
Try looking here:
ShowPlayerDialog
Reply
#5

pawn Код:
ShowPlayerDialog(playerid,DIALOG_STYLE_LIST,"Commands","Command1\r\nCommand2\r\nCommand3\r\nandsoon","OK","");
Reply
#6

I know to do that I want to do as we tell I click on something in the dialog will open another dialog
Say I click on the tele then I will open another dialog with the list of all the tele
Reply
#7

So you must try,
OnDialogResponse
Reply
#8

Thank you
Reply
#9

On a command
Код:
ShowPlayerDialog(playerid, 123, DIALOG_STYLE_LIST, "Help", "Rules\nCommands\n", "Ok", "");
OnDialogResponse
Код:
if(dialogid == 123)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, COLOR_RED, "Rules here");
}
if(listitem == 1)
{
SendClientMessage(playerid, COLOR_RED, "Commands here");
}
}
}
You can do this more simply with dialog creator,take it from my signature.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)