WoW:API EnablePVP: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
mNo edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi|removed=1.4.0|replace=Replaced by [[API TogglePVP|TogglePVP]]}}
{{removedapi|1.4.0|Replaced by [[API TogglePVP|TogglePVP]].}}


Flags/unflags the user for PvP combat.
Flags or unflags the user for PvP combat.


  EnablePVP();
  EnablePVP()


----
== Parameters ==
;''Arguments''
: none


:''none''
== Description ==
Simply enable "Player versus Player" for the current player.


----
Simulate a /pvp (/jcj for French version) in a PvE server.
;''Returns''
 
:;nil
 
----
;''Example''
EnablePVP();
 
;''Result''
: Your PvP flag will be toggled.
----
;''Description''
 
:Simply enable "Player versus Player" for the current player.
:Simulate a /pvp (/jcj for french version) in a PvE server.

Revision as of 18:55, 12 February 2021

WoW API < EnablePVP

Flags or unflags the user for PvP combat.

EnablePVP()

Parameters

none

Description

Simply enable "Player versus Player" for the current player.

Simulate a /pvp (/jcj for French version) in a PvE server.