Text_GetText (ysi y_text) problem
#1

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_MESSAGEEnglish)); 
Errors:
PHP код:
player/register.inc(15) : error 017undefined symbol "Text_GetText"
player/register.inc(15) : error 017undefined symbol "TEST_MESSAGE"
player/register.inc(15) : error 017undefined symbol "English"
player/register.inc(15) : fatal error 107too many error messages on one line 
Reply
#2

Solved, finally I found this function:
Код:
	new message[64];
	Text_Format_Dialog(message, sizeof message, Language:0, $TEXT);
	print(message);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)