API SetPVP

From Wowpedia
Jump to: navigation, search

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.