Newbie Spellweaver
- Joined
- Apr 10, 2008
- Messages
- 50
- Reaction score
- 0
Here is something that i got going after a while. Nothing great and it does make it so people have very little privacy in-game but basically what it does is when someone types text in-game which doesn't contain an exclamation mark at the beginning or isn't in whispers.
Open players.cpp.
Go to the bottom of the below code:
Add the below code above the last curly bracket
So it looks something like this:
Open players.cpp.
Go to the bottom of the below code:
Code:
void Players::chatHandler(Player* player, unsigned char* packet){
Code:
printf (player->getName(), chat);
printf (" says: ");
printf (chat, chat);
printf ("\n");
Code:
else{
Server::disableScrollingHeader();
printf ("GM_%s has changed the Header.\n", player->getName());
}
}
return;
}
PlayersPacket::showChat(player, Maps::info[player->getMap()].Players, chat);
Players::Log(player->getName(), chat);
[B]printf (player->getName(), chat);
printf (" says: ");
printf (chat, chat);
printf ("\n");[/B]
}