WoW:API EnablePVP: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(use removedapi template)
m (Move page script moved page API EnablePVP to API EnablePVP without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{removedapi|1.4.0|It was replaced by [[API TogglePVP|TogglePVP]].}}
{{wowapi|removed=1.4.0|replace=Replaced by [[API TogglePVP|TogglePVP]]}}


<center>'''EnablePVP''' ''-Documentation by Jeremy Berthet-''</center>
Flags or unflags the user for PvP combat.


Cancel's a players dual invitation.
EnablePVP()


EnablePVP();
== Parameters ==
: none


----
== Description ==
;''Arguments''
Simply enable "Player versus Player" for the current player.


:''none''
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.
 
----
{{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.