WoW:API EnablePVP: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(use removedapi template)
m ({{wowapi}})
Line 1: Line 1:
{{removedapi|1.4.0|It was replaced by [[API TogglePVP|TogglePVP]].}}
{{wowapi}}
{{removedapi|1.4.0|Replaced by [[API TogglePVP|TogglePVP]].}}


<center>'''EnablePVP''' ''-Documentation by Jeremy Berthet-''</center>
Flags/unflags the user for PvP combat.
 
Cancel's a players dual invitation.


  EnablePVP();
  EnablePVP();
Line 22: Line 21:


;''Result''
;''Result''
 
: Your PvP flag will be toggled.
----
----
;''Description''
;''Description''
Line 28: Line 27:
:Simply enable "Player versus Player" for the current player.  
:Simply enable "Player versus Player" for the current player.  
:Simulate a /pvp (/jcj for french version) in a PvE server.
:Simulate a /pvp (/jcj for french version) in a PvE server.
----
{{WoW API}}

Revision as of 14:40, 18 June 2006

WoW API < EnablePVP

Flags/unflags the user for PvP combat.

EnablePVP();

Arguments
none

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.