error 004: function "x" is not implemented - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 004: function "x" is not implemented (
/showthread.php?tid=648852)
error 004: function "x" is not implemented -
RakeDW - 29.01.2018
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 ?
Re: error 004: function "x" is not implemented -
Mugala - 29.01.2018
#define OnDialogResponse reglog_OnDialogResponse
reverese this and place at the top.
Re: error 004: function "x" is not implemented -
RakeDW - 29.01.2018
Quote:
Originally Posted by Mugalito
#define OnDialogResponse reglog_OnDialogResponse
reverese this and place at the top.
|
No, it does not work.
Re: error 004: function "x" is not implemented -
Mugala - 29.01.2018
okay, mark the error code line from given codes.
Re: error 004: function "x" is not implemented -
Mugala - 29.01.2018
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