Theres a problem with,
for example user has name "ąęęėčėčęįčę" or other symbols, the function isn't working, either server console doesen't support it... For temp fix how could i block utf-8 chars? its really complicated, for now i know few methods replace_all or comparing each chars, but that will highly affect server performance... Any ideas of this? the raw char comparision works fine, example:
PHP Code:
new NAME[64]
get_user_name(id, NAME, charsmax(NAME))
if (equali("ąęęėčėčęįčę", NAME)) {
________________________
Quote:
version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 10:15:11 Apr 3 2013 (6004)
|
Quote:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2-d ini Start ANY
[ 2] Fun RUN - fun_amxx_i386.so v1.8.2-d pl1 ANY ANY
[ 3] CStrike RUN - cstrike_amxx_i38 v1.8.2-d pl1 ANY ANY
[ 4] CSX RUN - csx_amxx_i386.so v1.8.2-d pl1 ANY ANY
[ 5] Engine RUN - engine_amxx_i386 v1.8.2-d pl1 ANY ANY
[ 6] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2-d pl1 ANY ANY
[ 7] MySQL RUN - mysql_amxx_i386. v1.8.2-d pl1 ANY ANY
7 plugins, 7 running
|