20.09.2018, 18:53
The compiler give me these errors:
Code:
...\YSI-Includes\YSI_Players\y_text\impl.inc:1855 (error) undefined symbol "Dialog_ObtainID" ...\YSI-Includes\YSI_Players\y_text\impl.inc:2212 (error) undefined symbol "Dialog_SetCallbackData" ...\YSI-Includes\YSI_Players\y_text\impl.inc:2214 (error) undefined symbol "Dialog_Garbage"
Code:
#include <a_samp> #include <YSI\y_text> #include <YSI\y_languages> #include <YSI\y_colors> #include <YSI\y_inline> #include <YSI\y_dialog> main() {} loadtext mode_text[all]; public OnGameModeInit() { Langs_Add("EN", "English"); return 1; } public OnPlayerConnect(playerid) { inline OnRegisterDialog(pid, dialogid, response, listitem, string:inputtext[]) { printf("OnRegisterDialog called: %d %d %d %d %s", pid, dialogid, response, listitem, inputtext); } Text_PasswordBox(playerid, using inline OnRegisterDialog, $DIALOG_REGISTER_CAPTION, $DIALOG_REGISTER_TEXT, $DIALOGS_OK, $DIALOGS_CANCEL); return 1; }