Posts: 178
Threads: 62
Joined: Nov 2013
Reputation:
0
is possible have two public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])? i want try something
Posts: 1,861
Threads: 103
Joined: Sep 2011
Reputation:
0
In the same script? No. If you have one in your main mode, one in the filterscript 'somescript.pwn', and one in 'anotherscript.pwn', then yes. You can't have multiple publics with exact the same name in the same script.
If you do use multiple publics with the same name in the same script, you'll probably get an error saying that you already have 'defined' the function.