When using #include <YSI_Players\y_text> and compile with the following script:
#include <a_samp>
// Testing y_text
#include <YSI_Players\y_text>
new Language:bahasaKNTL;
public OnGameModeInit()
{
bahasaKNTL = Langs_AddLanguage("KNTL", "Bahasa Kontol");
}
public OnPlayerConnect(playerid)
{
loadtext mode_text[all];
Text_Send(playerid, $HELLO_MESSAGE);
return 1;
}
This is the text file (if it's needed).
[all]
HELLO_MESSAGE = hy syg
BYE_MESSAGE = by syg
It'll give this error when compiled.
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_languages\y_languages_entry.inc:119 (error) tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "Language"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_languages\y_languages_entry.inc:224 (error) tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "Language"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_languages\y_languages_entry.inc:265 (error) tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "Language"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_languages\y_languages_entry.inc:297 (error) tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "Language"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_languages\y_languages_entry.inc:366 (error) tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "Language"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_languages\y_languages_entry.inc:382 (error) tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "Language"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_languages\y_languages_entry.inc:397 (error) tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "Language"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_text\y_text_impl.inc:290 (error) undefined symbol "YSI_g_sTextSets"
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_text\y_text_impl.inc:290 (error) expression has no effect
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_text\y_text_impl.inc:290 (error) invalid expression, assumed zero
C:\SA-MP Projects\testing-stuff\dependencies\YSI-Includes\YSI_Players\y_text\y_text_impl.inc:290 (fatal) too many error messages on one line
Testing on lastest YSI includes with sampctl in operating system windows 10.
When using
#include <YSI_Players\y_text>
and compile with the following script:This is the text file (if it's needed).
It'll give this error when compiled.
Testing on lastest YSI includes with sampctl in operating system windows 10.