FANDOM


WoW API < TogglePVP

Toggles PvP setting on or off.

TogglePVP();

Parameters Edit

Arguments Edit

none

Returns Edit

nil

Example Edit

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.