WoW:API IsVoiceChatAllowed: Difference between revisions

m
Move page script moved page API IsVoiceChatAllowed to WoW:API IsVoiceChatAllowed without leaving a redirect
(New page: returns TRUE if Voice Chat is enabled on the server, FALSE if not)
 
m (Move page script moved page API IsVoiceChatAllowed to WoW:API IsVoiceChatAllowed without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
returns TRUE if Voice Chat is enabled on the server, FALSE if not
{{wowapi}}
 
isallowed = IsVoiceChatAllowed();
 
----
;''Arguments''
 
:''none''
 
----
;''Returns''
 
:;isallowed : Boolean - 1 (true) if Voice Chat is enabled on the server, nil (false) otherwise.
 
----
;''Example''
  isallowed = IsVoiceChatAllowed();
  if (isallowed) then
    message("Voice Chat is enabled on the server.");
  end
  else
    message("Voice Chat isn't enabled on the server.");
  end
Anonymous user