#1

%c is used in format() etc. to replace it with a character via it's ID, but how do I know what ID to use for example the Trademark symbol (™)?
Reply
#2

pawn Код:
#include <a_samp>
OnFilterScriptInit()
{
  for(new o;o<256;o++)//Change this number to be higher if there's more
  {
    printf("%d = %c",o,o);
  }
  return 1;
}
Just run that as a filterscript and it will print it into the console/log
Reply
#3

joe i just did that lol before you posted you meany.

[10:36:34] ™ i = 153
Reply
#4

I know you can do that, but is there a list anywhere?
Reply
#5

Quote:
Originally Posted by Mikep.
I know you can do that, but is there a list anywhere?
Yes, just have a look at a ASCII-table.

http://www.torsten-horn.de/techdocs/ascii.htm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)