Is this possible? - 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: Is this possible? (
/showthread.php?tid=256029)
Is this possible? -
Jay. - 18.05.2011
Hi. I've made a dialog menu, now is it possible to just show the dialog id? instead of creating another one exactly the same. Because i've one menu that is made already and I don't want to create another one the same really, as I have a pickup and i just want it to show the dialog. not create another, so is this possible? Or is there a method to do it.
Thanks alot
Re: Is this possible? -
MadeMan - 18.05.2011
Are you talking about dialogs, menus or textdraws?
Re: Is this possible? -
Jay. - 18.05.2011
Quote:
Originally Posted by MadeMan
Are you talking about dialogs, menus or textdraws?
|
Erm :
Код:
I've made a dialog menu
Re: Is this possible? -
Scratch - 18.05.2011
i didnt understand you good, you mean like on 2 onplayerpickup that you have same dialogs, or what?
Re: Is this possible? -
Hobod - 18.05.2011
You can use the same dialog id more than once.
Re: Is this possible? -
Jay. - 18.05.2011
Quote:
Originally Posted by Hobod
You can use the same dialog id more than once.
|
Can you show me an example of how to show it?
Re: Is this possible? -
Jay. - 18.05.2011
Anyone?
Re: Is this possible? -
MadeMan - 18.05.2011
You can't create dialogs, you can only show them with ShowPlayerDialog.
Re: Is this possible? -
Jay. - 18.05.2011
Quote:
Originally Posted by MadeMan
You can't create dialogs, you can only show them with ShowPlayerDialog.
|
Maybe you didn't understand me here is an example:
I already have a dialog that is shown once under onplayercommandtext and would just like to show it again somewhere else, in my case it will be my pickup, so.
ShowPlayerDialog(playerid, 1) 1 = Is my dialog id, is this possible?
Well I tried it but it gave me lots of these warnings:
pawn Код:
warning 202: number of arguments does not match definition
I'm sure this must be possible, it must be anyway, I really need a way for this to work.
Thanks
Re: Is this possible? -
TheYoungCapone - 18.05.2011
just copy the same dialog that you have under onplayercommandtext and paste it where ur pickup is at.