hello, i need to know that tab space char.
I know that new line one was '^n' and for tab there was something similar.
one more thing
i created 2 string variables.
inside of one variable (strvar1) i write example "test this text"
and the ohter (strvar2) will be "and hope it works!"
Now i set hudmessage just like this
set_hudmessage(....)
show_hudmessage( 0, "%s", strvar1 )
set_hudmessage(....)
show_hudmessage( 0, "%s", strvar2 )
and the text will be : test this text and hope it works!
i want to show one text with many colors.
this is my way how i do it this right now with spaces
PHP Code:
new strvar[5][128]
func( var ,d[] )
new l, k
for(l = 0; l < maxchars; l++)
{
for(k = 0; k < 5; k++)
{
if( k != var )
strvar[k][l] = d[l]
else
strvar[k][l] = ' '
}
}
with spaces i waste too many hudmessage char slots.