WoW API: SetPVP

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

WoW API < SetPVP

Used to toggle PVP on or Off.


ArgumentsEdit

(arg1)
arg1
0 or 1; 0 Toggles PVP off, 1 Toggles PVP on.


ExampleEdit

/script SetPVP(1); //Toggles PVP On in friendly zones.
/script SetPVP(0); //Toggles PVP Off in friendly zones.