Raised This Month: $12 Target: $400
 3% 

TutorText unicode problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MetalMessiah
Junior Member
Join Date: Aug 2012
Location: Odessa
Old 01-04-2015 , 10:11   TutorText unicode problem
#1

Hi there,

Who knows how to fix unicode problem in TutorText in CS 1.6 ?
If you'll put any text in latin it's ok, if any other non-latin alphabet in unicode (latest steam build, console supports it) it will be like on the screenshot.

Code:
	gMsgTutorClose = get_user_msgid("TutorClose")
	gMsgTutorText  = get_user_msgid("TutorText")
...
				message_begin(MSG_ONE_UNRELIABLE , gMsgTutorClose, {0, 0, 0}, players[i])
				message_end()

				message_begin(MSG_ONE_UNRELIABLE , gMsgTutorText, {0, 0, 0}, players[i])
				write_string(szMsg2)		// displayed message
				write_byte(0)		// ???
				write_short(0)		// ???
				write_short(0)		// ???
				write_short(1<<iStyle)	// class of a message
				message_end()
Also who knows the unknown parameters of this message?
Attached Images
File Type: jpg TutorMSG.jpg (26.1 KB, 172 views)
MetalMessiah is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode