Text_GetText (ysi y_text) problem - 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: Text_GetText (ysi y_text) problem (
/showthread.php?tid=653277)
Text_GetText (ysi y_text) problem -
Gr00t - 30.04.2018
How to use 'Text_GetText' function in y_text include?
I want to use it for textdraws because y_text doesnt support player textdraws
According to wiki the function is:
Code I'm using:
PHP код:
printf("Message: %s", Text_GetText($TEST_MESSAGE, English));
Errors:
PHP код:
player/register.inc(15) : error 017: undefined symbol "Text_GetText"
player/register.inc(15) : error 017: undefined symbol "TEST_MESSAGE"
player/register.inc(15) : error 017: undefined symbol "English"
player/register.inc(15) : fatal error 107: too many error messages on one line
Re: Text_GetText (ysi y_text) problem -
Gr00t - 04.05.2018
Solved, finally I found this function:
Код:
new message[64];
Text_Format_Dialog(message, sizeof message, Language:0, $TEXT);
print(message);