WoW API: TogglePVP

Revision as of 18:53, 26 September 2006 by WoWWiki>Bull3t
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < TogglePVP

Toggles PvP setting on or off.

TogglePVP();

Parameters

Arguments

none

Returns

nil

Example

This asks whether the variable msg is equal to true, then toggles PvP.
if (msg == true) then
  TogglePVP();
end

--Bull3t 11:50, 27 September 2006 (EDT)