WoW API < TogglePVP

Toggles PvP setting on or off.

TogglePVP();

Parameters[edit | edit source]

Arguments[edit | edit source]

none

Returns[edit | edit source]

nil

Example[edit | edit source]

This asks whether the variable msg is equal to true, then toggles PvP.
if (msg == true) then
  TogglePVP();
end
Community content is available under CC-BY-SA unless otherwise noted.