OnDialogResponse Error
#1

Hi , how to resolve this backtrace error ?

Код:
 [debug] #0  00015ee8 in ?? () from bkgm.amx
 [debug] #1  001b168c in public OnDialogResponse () from bkgm.amx
and i have problem with 2 dialog that when i use them cause a crash :

Код:
if(dialogid == GLOG)
{
if(response)
{
new File:glog;
glog = fopen("scriptfiles/DB/Log/buglog.txt",io_append);
new message[264];

format(message, sizeof(message), "\nReported Name %s: %s", GetName(playerid),inputtext);
fwrite(glog,message);
fclose(glog);
ShowPlayerDialog(playerid,447,DIALOG_STYLE_MSGBOX,"Bug Reported","Saved\nThank you\nGoodbye","Ok","");
}
return 1;
}
Thanks in advance.
Reply
#2

Seeing the backtrace, it seems to be a function within OnDialogResponse.

Its worth checking out you PlayerName function
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)