25.11.2012, 10:21
Hi , how to resolve this backtrace error ?
and i have problem with 2 dialog that when i use them cause a crash :
Thanks in advance.
Код:
[debug] #0 00015ee8 in ?? () from bkgm.amx [debug] #1 001b168c in public OnDialogResponse () from bkgm.amx
Код:
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;
}

