custom messages

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

User avatar
zachofthegolden1
Posts: 89
Joined: 05 Sep 2011, 19:31

custom messages

Postby zachofthegolden1 » 13 Sep 2011, 17:39

hello when a mderator on y game kicks a user a administrator message would appear to that user being banned saying he has been banned.

is there a way i can set a different window to load up? so like i made a custom ban window to popup so when a moderator kicks bans the user instead of the admin message it would be a window?
-ZG1
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 13 Sep 2011, 23:24

You can just simply listen to onAdminMessage SmartFoxClient event. Once triggered, you can then display your custom window with the required text.
Smartfox's forum is my daily newspaper.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 93 guests