View Single Post
BeetleFart
SourceMod Donor
Join Date: Apr 2004
Old 03-16-2007 , 05:48   Re: No Coloured Playernames since update
Reply With Quote #2

Quote:
Originally Posted by Roger Devil View Post
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
__________________
CSource Server:
69.90.34.10:27015 Beetlesmod.com And CS-Addicts{US}



http://www.clanuseast.com
BeetleFart is offline