Bran
habcrush.pw
so i have the event alert command all done, but I wanted to know how I put a picture next to it? like can someone give me the line of code, or edit my line of code for me aha
i want it like this (picture at the left side)
code for my event alert
i want it like this (picture at the left side)
code for my event alert
Code:
using Plus.Communication.Packets.Outgoing.Moderation;
using Plus.Communication.Packets.Outgoing.Rooms.Notifications;
using Plus.HabboHotel.GameClients;
using System;
namespace Plus.HabboHotel.Rooms.Chat.Commands.Events
{
class EventAlertCommand : IChatCommand
{
public string PermissionRequired
{
get
{
return "command_event_alert";
}
}
public string Parameters
{
get
{
return "%message%";
}
}
public string Description
{
get
{
return "Send a hotel alert for your event!";
}
}
public void Execute(GameClient Session, Room Room, string[] Params)
{
if (Session != null)
{
if (Room != null)
{
if (Params.Length == 1)
{
Session.SendWhisper("Please enter a message to send.");
return;
}
else
{
string Message = CommandManager.MergeParams(Params, 1);
PlusEnvironment.GetGame().GetClientManager().SendPacket(new RoomNotificationComposer("Crush Event Alert",
"<b>" + Session.GetHabbo().Username + "</b> is hosting some events. Prizes and GOTW points will be handed out to the winners." +
"<br><br><i>User Message: <i>" + Message +
"<br><br><b>- " + Session.GetHabbo().Username + "</b>" +
"<br><br><i>This event is moderated by Crush Staff!</i>", $"fig/{Session.GetHabbo().Look}"
, "Click here to go to " + Room.Name + "", "event:navigator/goto/" + Session.GetHabbo().CurrentRoomId));
}
}
}
}
}
}
@Sledmore