WoW API: TogglePVP

From AddOn Studio
Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API TogglePVP to API TogglePVP without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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