01.09.2009, 21:25
Hi!
I've got a strange problem with SendClientMessage. Never experienced that until 1 or 2 month ago.
When I send a lot of strings to be displayed by SendClientMessage, sometimes, when I use a lot of strings, they mix up.
I tested this a bit and I can give you the following example:
This is my code, which is triggered, when a CMD is entered:
No problem you'd think. But now have a look at the output (this happens sometimes, but not always):
Don't wonder, where the line with the 6 is, it just got pushed up by the "screenshot taken" message.
So, anyone got a clue?
It also doesn't matter, how long the used strings are. If I used shorter ones, it would have the same result.
I've got a strange problem with SendClientMessage. Never experienced that until 1 or 2 month ago.
When I send a lot of strings to be displayed by SendClientMessage, sometimes, when I use a lot of strings, they mix up.
I tested this a bit and I can give you the following example:
This is my code, which is triggered, when a CMD is entered:
Код:
SendClientMessage(i, BANKMSG2_COLOR, "___________________________________1________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________2________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________3________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________4________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________5________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________6________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________7________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________8________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________9________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________10________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________11________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________12________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________13________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________14________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________15________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________16________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________17________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________18________________________________________"); SendClientMessage(i, BANKMSG2_COLOR, "___________________________________19________________________________________"); SendClientMessage(i, BANKMSG3_COLOR, "___________________________________20________________________________________");
Don't wonder, where the line with the 6 is, it just got pushed up by the "screenshot taken" message.
So, anyone got a clue?
It also doesn't matter, how long the used strings are. If I used shorter ones, it would have the same result.