Hmm, what is wrong?
void RakClient::name_hook(const char *buf, const char *fmt, const char *name, const int id)
{
BYTE nameLen = (BYTE)strlen(name);
BitStream bsSend;
bsSend.Write(buf);
bsSend.Write(fmt);
bsSend.Write(nameLen);
bsSend.Write(name, nameLen)...