String
#1

Can someone tell me why string[40]; isn't enough for this??
PHP код:
format(stringsizeof(string), "{6EF83C}(INFO) | {FFFFFF}You teleported to {6EF83C}%s."GetName(target)); 
When i put string[40] it only shows
PHP код:
(INFO) | You teleported 
And that's it...
Reply
#2

http://www.lettercount.com/ Put your string here and count the characters, for me 77 it's a good size for that string+playername(24). And yes, the color in the string metters.
Reply
#3

So this will be counted as 8 charachters
PHP код:
{6EF83C
??
Reply
#4

I wish to edit, but you post faster. Yes, it is.
difference between this
Код:
new string[6] = "Hello", string2[6];
	format(string2, sizeof(string2), "{37a4f5}%s", string);
	print(string2);
And this:
Код:
new string[6] = "Hello", string2[6];
	format(string2, sizeof(string2), "%s", string);
	print(string2);
Are this:
Код:
{37a4
Hello
Reply
#5

Thx bro
Repped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)