Wikia

WoWWiki

API TogglePVP

Talk0
101,312pages on
this wiki
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

Around Wikia's network

Random Wiki