04.07.2011, 19:37
Hi all,
I am a bit lost here. I am trying to make a huge teleport dialog which contains all the teleports on my server spread out over several categories. My original plan was to call the commands directly from under the dialog - like so:
As was to be expected, I get an error about lacking params. However, I cannot for the life of me figure out how to define these params as unused. I know that within a command I can simply use...
...but that does not work here.
How do I call a DCMD command directly from within OnDialogResponse?
Thanks in advance.
I am a bit lost here. I am trying to make a huge teleport dialog which contains all the teleports on my server spread out over several categories. My original plan was to call the commands directly from under the dialog - like so:
pawn Код:
dcmd_example(playerid, params);
pawn Код:
#pragma unused params
How do I call a DCMD command directly from within OnDialogResponse?
Thanks in advance.