Quote:
Originally Posted by Roger Devil
Hi folks,
since the last update from 14.03.2007 they must have changed the way to display playernames in the team-colour for chat-messages.
Code:
bf_write *pWrite;
pWrite = engine->UserMessageBegin((IRecipientFilter *)&filter,3);
pWrite->WriteByte(nId); // nId is the id of the player
pWrite->WriteString("Player xxxx is camping);
pWrite->WriteByte(1);
engine->MessageEnd();
Does anyone have an solution ???
|
i added pWrite->WriteByte(0x02); before the text string
and added pWrite->WriteByte(0x01);
after the text string and its working for me
__________________