SA-MP Forums Archive
Question about Dialogs - 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: Question about Dialogs (/showthread.php?tid=371185)



I need help +REP - RenSoprano - 22.08.2012

Hello, can you help me I want to make one dialog And I put Inside some things Like VIP, House, Car, Family and I want to make when I press on VIP to open VIP Dialog Do you know how Can I do it?

It's same when you create folder and I want to put folder into the folder


Re: Question about Dialogs - MadeMan - 22.08.2012

Use ShowPlayerDialog in OnDialogResponse.


Re: Question about Dialogs - RenSoprano - 22.08.2012

I know how to make dialog but I forget how to make when you press on Listitem to open a new dialog


Re: Question about Dialogs - Ranama - 22.08.2012

pawn Код:
//OnDialogResponse'
if(dialogid = YOUR_DIALOGID){
Switch(listitem){
case 0:ShowPlayerDialog(bla, bla, bla);
case 1:ShowPlayerDialog(bla, bla, bla);
case 2:ShowPlayerDialog(bla, bla, bla);
}
}
Hope it helped


Re: Question about Dialogs - RenSoprano - 23.08.2012

Quote:
Originally Posted by Ranama
Посмотреть сообщение
pawn Код:
//OnDialogResponse'
if(dialogid = YOUR_DIALOGID){
Switch(listitem){
case 0:ShowPlayerDialog(bla, bla, bla);
case 1:ShowPlayerDialog(bla, bla, bla);
case 2:ShowPlayerDialog(bla, bla, bla);
}
}
Hope it helped
Yea I ask for that +REP