string
#4

Quote:
Originally Posted by omer5198
Посмотреть сообщение
but my num is without cells...
Strings are multi-celled rather then single celled. You cannot have a string without multiple cells, each character has a cell, read the tutorial. If you have a number and you want to find the first number. Convert it like this

pawn Код:
new num = 954398085904, string[25];
format(string, 25, "%d", num);
printf("%c", string[0]):
That will print 9.
Reply


Messages In This Thread
string - by omer5198 - 23.09.2011, 11:33
Re: string - by [HiC]TheKiller - 23.09.2011, 11:38
Re: string - by omer5198 - 23.09.2011, 11:44
Re: string - by [HiC]TheKiller - 23.09.2011, 11:58
Re: string - by xDeadlyBoy - 23.09.2011, 12:16
Re: string - by omer5198 - 23.09.2011, 12:56
Re: string - by xDeadlyBoy - 23.09.2011, 13:21

Forum Jump:


Users browsing this thread: 1 Guest(s)