
Originally Posted by
Mattia Genova
Hi, i'm use PlusEMU and RevCMS I want show on welcome message a username
Screenshot by Lightshot
Sorry for my bad english :P i'm Italian
Inviato dal mio iPhone 6s Plus utilizzando Tapatalk
Go: HabboHotel/GameClients/GameClient.cs and Search: welcome_message
Replace this:
Code:
if (!string.IsNullOrWhiteSpace(PlusEnvironment.GetDBConfig().DBData["welcome_message"]))
SendMessage(new MOTDNotificationComposer(PlusEnvironment.GetDBConfig().DBData["welcome_message"]));
For this:
Code:
if (!string.IsNullOrWhiteSpace(PlusEnvironment.GetDBConfig().DBData["welcome_message"]))
SendMessage(new MOTDNotificationComposer(PlusEnvironment.GetDBConfig().DBData["welcome_message"].Replace("%username%", GetHabbo().Username)));