Staff message

DevSem

New Member
Mar 24, 2020
22
3
Where can i change when i do ha or sa the (Message from ''hotelname'') Where can i change the hotel name. I use cosmic cms
 

Brad

Well-Known Member
Jun 5, 2012
2,320
993
If I'm correct you're talking about the ":ha" notification type, which is hardcoded into the Habbo.swf(i believe). If you don't want to use it there, you can change the notification type in your HotelAlertCommand.cs.

use the code below and edit the title to your liking.
Code:
Session.SendPacket(new RoomNotificationComposer("TITLE",  Message + "\r\n" + "- " + Session.GetHabbo().Username, "", ""));
 

saiga

New Member
Mar 19, 2020
2
0
If I'm correct you're talking about the ":ha" notification type, which is hardcoded into the Habbo.swf(i believe). If you don't want to use it there, you can change the notification type in your HotelAlertCommand.cs.

use the code below and edit the title to your liking.
Code:
Session.SendPacket(new RoomNotificationComposer("TITLE",  Message + "\r\n" + "- " + Session.GetHabbo().Username, "", ""));


Hi Brad,

I am completely new to this world. Can you calmly explain to me how to do this? I don't quite understand the explanation. Sorry for the inconvenience..
 

Users who are viewing this thread

Top