SA-MP Forums Archive
Linking Dialogs trouble - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Linking Dialogs trouble (/showthread.php?tid=140066)



Linking Dialogs trouble - acade - 07.04.2010

Hello,

I'm making a custom gps script for a server and having trouble linking the dialogs,


I've got it so you type /gps and a dialog comes up with several items such as:

Garages, Police Stations, Dealerships.

Inside of Garages is another with the cities, Los Santos, San Fierro, Las Venturas and inside the cities is another dialog with the places, such as Idlewood gas for Los Santos.

When I goto choose Garges, it shows Idlewood Gas checkpoint has been added
I believe it's a problem with linking several dialogs together.
Could someone help?



Re: Linking Dialogs trouble - Jakku - 07.04.2010

pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Dialog", "Thingy1\nThingy2\nThingy3", "Ok", "Cancel");
And..

public OnDialogResponse


Re: Linking Dialogs trouble - acade - 07.04.2010

Yeah i know that, it's not thats the problem


Re: Linking Dialogs trouble - Jakku - 07.04.2010

You just have to create a new dialog


Re: Linking Dialogs trouble - acade - 07.04.2010

Which i've done


Re: Linking Dialogs trouble - wafffllesss - 07.04.2010

Remember, you can't use the same ID.


Re: Linking Dialogs trouble - acade - 07.04.2010

yeah i know that


Re: Linking Dialogs trouble - wafffllesss - 07.04.2010

Quote:
Originally Posted by TheOneThatOwnZ
yeah i know that
Please show us the OnDialogResponse callback.


Re: Linking Dialogs trouble - acade - 07.04.2010

Fixed