18.01.2010, 18:24
I did a little bit of testing.
So if I type "poopцц" it should return "poop88", but it actually returns "poop""" with the 2 inner quotation marks. Even when not moving cmd to string, and just doing 'print(cmd);' I get the "poop"""
So I guess it just doesn't work.
pawn Код:
public OnRconCommand(cmd[])
{
new string[256];
format(string,sizeof(string),cmd);
print(string);
for(new ch; ch<strlen(cmd);ch++)
{
if(string[ch]=='ц')string[ch]='8';
}
print(string);
return 1;
}
So I guess it just doesn't work.