[Suggestion] Color embedding
#1

Isn't it possible instead of the {FFFFF} to be able to put {COLOR_YELLOW} since we already have them defined in our script. Redefining everything would be awful.

I would suggest this format:
pawn Код:
format(str,sizeof(str),"{%d}Hello, I am {%d}scottyishere",COLOR_YELLOW,COLOR_GREEN);
Also there's a little problem, the color embedding things are taking string space.
Like if I have a str[128] string and my chars are 127, if I add color embedding the last letters won't be seen. I need to make the string bigger which costs a lot of memory.
Can this be fixed anyhow?
Reply


Messages In This Thread
[Suggestion] Color embedding - by scottyishere - 29.11.2010, 10:28
Re: [Suggestion] Color embedding - by JaTochNietDan - 29.11.2010, 10:34
Re: [Suggestion] Color embedding - by scottyishere - 29.11.2010, 11:01
Re: [Suggestion] Color embedding - by kurta999 - 29.11.2010, 11:05
Re: [Suggestion] Color embedding - by Mauzen - 29.11.2010, 11:05
Re: [Suggestion] Color embedding - by scottyishere - 29.11.2010, 11:36
Re: [Suggestion] Color embedding - by PlayLSX - 29.11.2010, 11:39
Re: [Suggestion] Color embedding - by scottyishere - 29.11.2010, 11:41
Re: [Suggestion] Color embedding - by scottyishere - 29.11.2010, 13:18
Re: [Suggestion] Color embedding - by Slice - 29.11.2010, 14:47

Forum Jump:


Users browsing this thread: 3 Guest(s)