WoW:API EnablePVP: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m ({{wowapi}})
m (Move page script moved page API EnablePVP to API EnablePVP without leaving a redirect)
 
(One intermediate revision by one other user not shown)
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.

Latest revision as of 04:45, 15 August 2023

WoW API < EnablePVP

Flags or unflags the user for PvP combat.

EnablePVP()

Parameters[edit]

none

Description[edit]

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

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