28.05.2015, 18:50
Quote:
Hi,
Great include but I have found a bug that caused my server to crash. The bug is on line 758 (or at-least this is what crashdetect reported), and occurs when either the listitem or inputttext is not used, listitem was reported to be -1 and inputtext was reported to be @01453144 "". [19:41:16] [debug] #1 0000745c in public OnDialogResponse (playerid=0, dialogid=123, response=1, listitem=-1, inputtext[]=@01453144 "") at [Removed]\pawno\include\gamemode\dialogs2.inc:758 Other than that, works fine. I've fixed this issue temporarily on my own server, if this is an include issue then might crash other servers too. Occurs if you use a DIALOG_STYLE_MSGBOX dialog. |
Also since you temporary fixed it, a solution would be good for everybody else (in case it's caused by the include).
@Gammix: Very good work. Believe it or not, I've never used those preview models stuff and I'm kind of bored to do it anytime soon so this include comes in handy.