[Module]UTF-8 Gaming

Adding Modules to help with scripting/coding plugins.
User avatar
Archive-Poster
Posts: 1090
Gender:
United States of America

[Module]UTF-8 Gaming

Post by Archive-Poster »

This module can set the name with special characters.
First , need to set the string to UTF-8(Bom or without Bom are accepted).
In China, most coder make a plug-in or module to get it !
so, I just recode it with a C++, and make a native that server can use it.

native:

Code: Select all

native set_utf8_name(index, uname[]);
 
//linux version have not this.Requested from ot_207
//ansi to utf8 
native ansi_to_utf8(const ansi[], utf8[], ulen);
 
//utf8 to ansi
native utf8_to_ansi(const utf8[], ansi[], alen);
Attachments
photo[2].jpg
photo[2].jpg (44.42 KiB) Viewed 13 times
cstrikes.zip
(5.66 KiB) Downloaded 4 times
UTF-8Name.zip
(51.91 KiB) Downloaded 5 times
tuf8main_amxx_i386.so.zip
(9.08 KiB) Downloaded 4 times

Who is online

Users browsing this forum: No registered users and 1 guest