WoW:API SetPVP: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Used to toggle PVP on or Off. <!-- List return values and arguments ...)
 
m (Move page script moved page API SetPVP to API SetPVP without leaving a redirect)
 
(No difference)

Latest revision as of 04:47, 15 August 2023

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.