Wikia

WoWWiki

API GetPVPDesired

Talk0
102,281pages on
this wiki
Revision as of 17:59, January 5, 2008 by Mourningblade (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetPVPDesired

Checks to see if the player has enabled PvP ("Permaflagged").

local ispvp = GetPVPDesired(); 

Returns
ispvp 
1 if the player has selected to be PvP flagged, 0 otherwise.

Example
if (GetPVPDesired() == 0) then
 --Player is not force-flagged for PvP
end

Around Wikia's network

Random Wiki