Eldora
Banned User
- Joined
- Oct 19, 2009
- Messages
- 604
- Reaction score
- 26
Please help implement this:
into this:
Basically want to display the spectators name, when typing a (msg).
C++:
void addCastViewer(ProtocolGame* pg) {
cSpectators.list[nextSpectator] = pg;
nextSpectator++;
std::stringstream ss;
ss << "Spectator " << cast.curId;
pg->viewerName = ss.str().c_str();
cast.curId++;
}
into this:
C++:
case 0x96: // say something
parseSay(msg);
break;
Basically want to display the spectators name, when typing a (msg).