Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (Fixed category sort)
mNo edit summary
Line 30: Line 30:
 
----
 
----
 
{{Template:WoW API}} tabButton:SetText(TEXT(getglobal("PET_TYPE_"..token)));
 
{{Template:WoW API}} tabButton:SetText(TEXT(getglobal("PET_TYPE_"..token)));
  +
[[Category:API Functions|HasPetUI]]
 
 
[[Category:API Pet Functions|HasPetUI]]
 
[[Category:API Pet Functions|HasPetUI]]

Revision as of 12:28, 30 August 2005

HasPetUI -Documentation by AlexanderYoshi-

Returns true if the player has a pet User Interface.

hasUI = HasPetUI();

Arguments
none

Returns
hasUI
hasUI
Boolean - true if the player has a pet User Interface.

Example
 if ( HasPetUI() ) then DoPetStuff(); end
Result
true | false

Description
Returns true if the player has a pet User Interface.

Template:WoW API tabButton:SetText(TEXT(getglobal("PET_TYPE_"..token)));