WoW API: EnablePVP

From AddOn Studio
Revision as of 14:40, 18 June 2006 by WoWWiki>Starlightblunder ({{wowapi}})
Jump to navigation Jump to search

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.