31.01.2013, 19:46
You can use this table to see the values of each character and then make a custom function: http://www.asciitable.com/
Here is the format of the function (I cannot be bothered to do the whole thing):
Here is the format of the function (I cannot be bothered to do the whole thing):
pawn Код:
SymbolToASCII(char)
{
switch(char)
{
case ' ': return 32;
case '!': return 33;
// etc....
}
return -1;
}