17.04.2014, 08:18
Size of a string.. well, each index holds one, so that makes it the.. ermm.. size?
You don't need to calculate the size of every string to perfectly optimise it, because it's not the 80s, but you need to be sensible about it too - using 128 string size for a 24 char player name OR 512 for a 128 client message, is stupidity. For the query you mentioned, the first size that popped to my head, SAFELY, was 40.
pawn Код:
new _st[3] = "aaa";