Gammix Log/Register(ing) GM - Server Not Respond
#9

The style is used for dialog SEC_ANSWER is DIALOG_STYLE_INPUT. When the style is not a list but rather an input, listitem will be -1.

The line causes the run time error is: https://github.com/Agneese-Saini/SA-...mysql.pwn#L470
Seems like it stores the index here (https://github.com/Agneese-Saini/SA-...mysql.pwn#L774)
pawn Code:
SetPVarInt(playerid, "Question", listitem);
so you use retrieve and use it in the array instead.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)