[Possible Bug]Color Embedding
#1

Today i was working on my new gamemode with SA:MP 0.3c
Im using ALOT of color embedding (nice function, really thanks for that one kalcor).

But now i found a problem.
When having a Long string, and Using alot of color embedding it Wont display the message for some reason, if i'd add more numbers or letters whatever behind that last 1, it wont show the message, it does perform the actions after the message but it just wont display the message.

This is my Message WITH Color Embedding:


The Code:
Код:
format(string, sizeof(string), "{AA00FF}[ADMIN]: {DA0000}%s {FFFFFF}was banned by admin {AA00FF}%s{FFFFFF} ({DA0000}Reason: {FFFFFF}%s)", giveplayer, sendername, (result));
SendClientMessageToAll(0xFFFFFFFF, string);
The Variables dont really care, as I tested it without them and It doesnt work either...

This is my Message WITHOUT Color Embedding:


Код:
format(string, sizeof(string), "[ADMIN]: %s was banned by admin %s (Reason: %s)", giveplayer, sendername, (result));
SendClientMessageToAll(0xFFFFFFFF, string);
I think its the Color Embedding that is keeping the message short, because without the color embedding its completely fine, and it works.
And also when using it Only with a SendClientMessage (just filled in the normal values i used), It gives the same Outcome, with Color Embedding it Stops responding after a X characters.

I also tried increasing String variables but that didnt help either.
Reply


Messages In This Thread
[Possible Bug]Color Embedding - by Nibblet - 16.12.2010, 20:30
Re: [Possible Bug]Color Embedding - by leong124 - 17.12.2010, 03:30
Re: [Possible Bug]Color Embedding - by Nibblet - 17.12.2010, 09:25
Re: [Possible Bug]Color Embedding - by [MWR]Blood - 17.12.2010, 10:15
Re: [Possible Bug]Color Embedding - by Nibblet - 17.12.2010, 10:34
Re: [Possible Bug]Color Embedding - by leong124 - 17.12.2010, 12:35
Re: [Possible Bug]Color Embedding - by Rac3r - 17.12.2010, 13:05
Re: [Possible Bug]Color Embedding - by leong124 - 17.12.2010, 13:37
Re: [Possible Bug]Color Embedding - by Nibblet - 17.12.2010, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)