SA-MP Forums Archive
y_text DEFAULT_TEXT_SET(YSI 4.01) - 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 DEFAULT_TEXT_SET(YSI 4.01) (/showthread.php?tid=641453)



y_text DEFAULT_TEXT_SET(YSI 4.01) - JesterlJoker - 16.09.2017

Deleted because of Duplication sorry.


Re: y_text DEFAULT_TEXT_SET(YSI 4.01) - JesterlJoker - 16.09.2017

I've already tried everything in the github issue and read every fix they said but right now all of those fixes does not work

I am using Zeex's compiler the latest one, using YSI 4.01 and also using the latest amx libraries
This are the YSI includes I'm using
PHP код:
#include                                 <YSI\y_text>
#include                                 <YSI\y_ini>
#include                                 <YSI\y_timers> 
This is the error code I get the only error code can someone help me fix this?
PHP код:
error 017undefined symbol "DEFAULT_TEXT_SET" 
Hoping for a fast reply, will also try to fix it on my end and edit this if I fix it

EDIT:
This is the test command I am using to test the y_text
PHP код:
CMD:test(cmdidplayeridparams[])
{
    
Text_Send(playerid$NOT_ADMIN);
    return 
1;

This is from scriptfiles\YSI\text\neogrp.EN
PHP код:
[text]
NOT_ADMIN = [UNAUTHORIZEDYou are not authorzed to use this command
NOT_LOGGEDIN 
You are not logged in
and finally from scriptfiles\YSI\ngrp_LANG_DATA.yml
PHP код:
<YML>
  <
group name="text">
    <
entry name "NOT_ADMIN" style="client colour="RESTRICTED"/>
    <entry name = "
NOT_LOGGEDIN" style="client colour="RESTRICTED"/>
  </
group>
</
YML
As you can see I am still testing the y_text and learning a bit but because of this error I can't get through

EDIT2:
nvm found the fix.

Anyways
PHP код:
loadtext ngrp[core]; // <- this is the culprit it should be placed before the y_text functions are used.