SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 20/09/2018, 06:53 PM   #1
VincenzoDrift
Little Clucker
 
VincenzoDrift's Avatar
 
Join Date: Jun 2014
Posts: 47
Reputation: 3
Default y_text undefined symbol

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;
}
__________________
Sorry for my bad english
VincenzoDrift is offline   Reply With Quote
Old 20/09/2018, 08:40 PM   #2
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,924
Reputation: 256
Default Re: y_text undefined symbol

Have you updated YSI to the latest version?
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 20/09/2018, 08:51 PM   #3
VincenzoDrift
Little Clucker
 
VincenzoDrift's Avatar
 
Join Date: Jun 2014
Posts: 47
Reputation: 3
Default Re: y_text undefined symbol

Yes I use sampctl.
__________________
Sorry for my bad english
VincenzoDrift is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
undefined symbol "Text_MessageBox" using y_text? Help! AdrianGraber Scripting Help 4 21/07/2017 07:07 PM
I get multiple errors on the include MSelection [UNDEFINED SYMBOL AND SYMBOL IS NEVER USED] Gorgeousmaniac Scripting Help 2 21/08/2016 06:31 PM
symbol lookup error: plugins/mysql.so: undefined symbol: compress Grzechuso Scripting Help 2 06/01/2016 03:52 PM
[HELP]Undefined symbol errors when symbol is defined PCheriyan007 Help Archive 9 07/07/2011 01:09 AM


All times are GMT. The time now is 03:40 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.