SA-MP Forums Archive
Msg dialog? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Msg dialog? (/showthread.php?tid=415774)



Msg dialog? - bebothekillar - 14.02.2013

Hello, im new with servers and i wonder if i can create a dialog box msg box have the commands like.

When someone type /c i wanna a dialog show have the cmds and 2 buttons " Next" "Back"

If that's possible so pls any one say to me how thnx for who help


Re: Msg dialog? - MP2 - 14.02.2013

https://sampwiki.blast.hk/wiki/ShowPlayerDialog


Re: Msg dialog? - ZayanImran - 14.02.2013

Quote:
Originally Posted by bebothekillar
Посмотреть сообщение
Hello, im new with servers and i wonder if i can create a dialog box msg box have the commands like.

When someone type /c i wanna a dialog show have the cmds and 2 buttons " Next" "Back"

If that's possible so pls any one say to me how thnx for who help
Hi there, click on this link to view it: https://sampwiki.blast.hk/wiki/ShowPlayerDialog


Re: Msg dialog? - bebothekillar - 14.02.2013

Quote:
Originally Posted by ZayanImran
Посмотреть сообщение
Hi there, click on this link to view it: https://sampwiki.blast.hk/wiki/ShowPlayerDialog
I know this but i didn't understand i need more Explain like where should i put these and what should ....

I mean like this picture




Re: Msg dialog? - bebothekillar - 14.02.2013

Ok now i know how but home can i change the menu to another like next and back and how can i but alot of Commands? like

1. Don't cheat....
2. ......

I just can put 1 how can i put alot like 10


Re: Msg dialog? - Patrick - 14.02.2013

here you go
//ShowPlayerDialog(playerid, dialogid, dialog style,"title","message","Button 1","Button 2");
pawn Код:
ShowPlayerDialog(playerid, 900, DIALOG_STYLE_MSGBOX,"DIALOG_STYLE_MSGBOX","This is a message box dialog\nIt can be used to display a message to a player","","Next");
}else{
ShowPlayerDialog(playerid, 901, DIALOG_STYLE_MSGBOX,"Tutorial","This is an example for using else","","Next");
you could use else to open another dialog


Re: Msg dialog? - bebothekillar - 14.02.2013

Ok im done from that thanks man!

I need these if you can help me again like when i type /stats i wanna these to show or like them



And the text draw like them exaclly