GoldTree r63b event command.

Avduf

Member
Dec 24, 2012
153
5
Whatsup Devbest, i've tried fixing a :event command and still cannot manage to fix it. Here's the source:
case 106:
if (Session.GetHabbo().HasFuse("cmd_event"))
{
string str = Input.Substring(3);
ServerMessage Message2 = new ServerMessage(3802);
Message2.AppendStringWithBreak(GoldTreeEnvironment.GetExternalText("cmd_event_title") + "\n\n" + str + " Room: " + Session.GetHabbo().CurrentRoom);
Message2.AppendStringWithBreak(str + "\r\n- " + Session.GetHabbo().Username);
ServerMessage Message3 = new ServerMessage(161u);
Message3.AppendStringWithBreak(str + "\r\n- " + Session.GetHabbo().Username);
GoldTree.GetGame().GetClientManager().method_15(Message2, Message2);
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;
I'm trying to get the room name at Session.GetHabbo().CurrentRoom);
 

Users who are viewing this thread

Top