WoW:API IsVoiceChatAllowed: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API IsVoiceChatAllowed to API IsVoiceChatAllowed without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{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 |
Latest revision as of 04:46, 15 August 2023
← WoW API < IsVoiceChatAllowed
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