y_text undefined symbol - 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: y_text undefined symbol (
/showthread.php?tid=659028)
y_text undefined symbol -
VincenzoDrift - 20.09.2018
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;
}
Re: y_text undefined symbol -
Dayrion - 20.09.2018
Have you updated YSI to the latest version?
Re: y_text undefined symbol -
VincenzoDrift - 20.09.2018
Yes I use sampctl.