WoW:API ShowHelm: Difference between revisions

129 bytes removed ,  8 June 2007
Updated the flag to link to Boolean, fixed code example, and removed broken link to the old forums.
(→‎Arguments: also accepts zero)
(Updated the flag to link to Boolean, fixed code example, and removed broken link to the old forums.)
Line 7: Line 7:
:(flag)
:(flag)


:;flag : Boolean - true, helm is shown.  false, helm is not shown. Also accepts 0 as false [http://forums.worldofwarcraft.com/thread.html?topicId=62049109&postId=625232451&sid=1#7].
:;flag : [[Boolean]] - true, helm is shown.  false or nil, helm is not shown.


----
----
;''Example''
;''Example''
  /script if not ShowHelm('true') then ShowHelm('false') else ShowHelm('true') end;
  /script if not ShowHelm(true) then ShowHelm(false) else ShowHelm(true) end;


;''Result''
;''Result''
Toggles displaying your helm.
Toggles displaying your helm.
----
{{Stub/API}}
Anonymous user