SA-MP Forums Archive
цдхь characters. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: цдхь characters. (/showthread.php?tid=121818)



цдхь characters. - wiilweer - 18.01.2010

Is there any way to use them in script.
Ex.
CMDцц(playerid, params[])


Re: цдхь characters. - Cry_Wolf - 18.01.2010

No.



Re: цдхь characters. - wiilweer - 18.01.2010

Then another way...CMD88(playerid, params[]) and player can type it that way /sцц and script detects it as s88... Is that possible :P ?


Re: цдхь characters. - Joe Staff - 18.01.2010

I did a little bit of testing.

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 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.