WoW:API EnablePVP: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
 
m (Move page script moved page API EnablePVP to API EnablePVP without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<center>'''EnablePVP''' ''-Documentation by Jeremy Berthet-''</center>
{{wowapi|removed=1.4.0|replace=Replaced by [[API TogglePVP|TogglePVP]]}}


Cancel's a players dual invitation.
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''
 
----
;''Description''
 
:Simply enable "Player versus Player" for the current player.
:Simulate a /pvp (/jcj for french version) in a PvE server.
----
{{Template:WoW API}}

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.