double public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
#1

is possible have two public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])? i want try something
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)