Fandom

WoWWiki

API SetPVP

104,670pages on
this wiki
Add New Page
Talk0 Share
WoW API < SetPVP

Used to toggle PVP on or Off.


Arguments Edit

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


Example Edit

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

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.

Also on Fandom

Random Wiki