error 004: function "x" is not implemented
#1

error 004: function "reglog_OnDialogResponse" is not implemented

code
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
return reglog_OnDialogResponse(playerid, dialogid, response, listitem, inputtext);
}

#if defined _ALS_OnDialogResponse
#undef OnDialogResponse
#else
#define _ALS_OnDialogResponse
#endif

#define OnDialogResponse reglog_OnDialogResponse
#if defined reglog_OnDialogResponse
forward reglog_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
#endif
wtf is this ?
Reply
#2

#define OnDialogResponse reglog_OnDialogResponse
reverese this and place at the top.
Reply
#3

Quote:
Originally Posted by Mugalito
Посмотреть сообщение
#define OnDialogResponse reglog_OnDialogResponse
reverese this and place at the top.
No, it does not work.
Reply
#4

okay, mark the error code line from given codes.
Reply
#5

meanwhile, try this code
Код:
#if defined _ALS_OnDialogResponse
#undef OnDialogResponse
#else
#define _ALS_OnDialogResponse
#endif

#define OnDialogResponse reglog_OnDialogResponse
#if defined reglog_OnDialogResponse
forward reglog_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]);
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
return reglog_OnDialogResponse(playerid, dialogid, response, listitem, inputtext);
}
#endif
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)