Create function Dialog:
#1

Hello,

I have a modular gamemode based on .inc files and I want to make a function like Dialog:dialogid(playerid, response, listitem, inputtext[]) to use it in every file without hooking OnDialogResponse everytime...

How can I do that function? I tried #define Dialog:%0(%1, %2, %3, %4) hook OnDialogResponse(%1, %0, %2, %3, %4) but is not working and gave my some errors.
Reply


Messages In This Thread
Create function Dialog: - by iDark - 13.04.2017, 12:37
Re: Create function Dialog: - by GangstaSunny. - 13.04.2017, 12:39
Re: Create function Dialog: - by Meller - 13.04.2017, 12:43
Re: Create function Dialog: - by iDark - 13.04.2017, 12:53

Forum Jump:


Users browsing this thread: 2 Guest(s)