y_text undefined symbol
#1

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;
}
Reply
#2

Have you updated YSI to the latest version?
Reply
#3

Yes I use sampctl.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)