Friday, April 13, 2012

Disable system message

[:1]Hey guys!

How can i disable system messages for a while and then enable them. I tried with frame:UnregisterEvent("CHAT_MSG_SYSTEM") but they still popup when i SendWho() request and players found are less than 4.|||I do not know exactly what you intend, but i think this function could help you:

http://www.wowwiki.com/API_SetWhoToUI

if you do
Code:
SetWhoToUI(1);

before a who-request, the WHO_LIST_UPDATE event will fire and open the who-result window - even if the result is less than 4 players.

This is the default value:


Code:
SetWhoToUI(0);

CHAT_MSG_SYSTEM if less than 4, else WHO_LIST_UPDATE.

No comments:

Post a Comment