Fandom

WoWWiki

API TogglePVP

104,631pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki