Wikia
Gaming
Create a new wiki
Log in
Create an account
WoWWiki
View source (log in to edit)
History
Share this article
Article
Discussion
API SetPVP
From WoWWiki
Main Menu
WoW API
Widget API
Macro API
Lua functions
User functions
Events
Changes
HOWTOs
UI tech.
XML UI
Category nav.
→
WoW API
Used to toggle PVP on or Off.
Arguments
(arg1)
arg1
0 or 1; 0 Toggles PVP off, 1 Toggles PVP on.
Example
/script SetPVP(1); //Toggles PVP On in friendly zones.
/script SetPVP(0); //Toggles PVP Off in friendly zones.
Category
:
World of Warcraft API
Improve WoWWiki by
editing this page
TCW
made an edit on November 27, 2007
History
Related changes
Permanent link
What links here
View random page
Report a problem with this page
Share this article
Rate this article:
0/5
1
2
3
4
5
Unrate it
WoWWiki portals
›
World of Warcraft
›
Interface customization
›
Warcraft universe
›
Community
›
Popular content
›
Help
Create a new article
Upload a new image
Advanced search
Recent changes
Special pages
Google search
Random article
What links here
Recent changes
Random page
Latest activity
79,186
articles on this wiki
Crusader Bridenbrad
1 second ago by
Drkstrm
Polymorph
17 minutes ago by
Lego3400
Dalaran Cooking Award
25 minutes ago by
Lego3400
Public client builds
36 minutes ago by
Hans Kamp
Titan's Grip
55 minutes ago by
Owldark
Create an account
Magazine Creator
Create a magazine from articles on WoWWiki!
Powered by
Wikia Spotlight
Related Communities
Super Smash Bros
Check out the Brawl
Devil May Cry
Devil May Cry 4
Grand Theft Wiki
Grand Theft Auto 4
GuildWiki
Guild Wars
Age of Conan Wiki
Age of Conan
Yu-Gi-Oh!
Runescape