Simple fix:
Add in HabboHotel/GameClients/GameClient.cs:
PHP Code:
internal void SendNotificationWithPicture(string Message, string Title, string Picture, string Link = "", string LinkTitle = "")
{
ServerMessage Notification = new ServerMessage(Outgoing.SendNotifWithPic);
Notification.AppendString(Picture);
Notification.AppendInt32((Link != "" ? 4 : 2));
Notification.AppendString("title");
Notification.AppendString(Title);
Notification.AppendString("message");
Notification.AppendString(Message);
if (Link != "")
{
Notification.AppendString("linkUrl");
Notification.AppendString(Link);
Notification.AppendString("linkTitle");
Notification.AppendString(LinkTitle);
}
this.SendMessage(Notification);
}
Add in Messagens/Headers/Composers.cs
PHP Code:
internal static int SendNotifWithPic = 1310;
Notification Example:
PHP Code:
About.Append("<b><font color='#00A7E4' size='16'>Your Text Here - Title</font></b><br><br>Your Text Here - Body");
Session.SendNotificationWithPicture(About.ToString(), "Title Here :)", "image here");
To add images:
Go to c_images -> Create a folder with name 'notifications'
Only png images
Credits:
=dj.matias= : Ankka emulator
Me : Packet id