WoW:API HasPetUI: Difference between revisions
Jump to navigation
Jump to search
HasPetUI -Documentation by AlexanderYoshi-
No edit summary |
m (Fixed category sort) |
||
Line 3: | Line 3: | ||
Returns true if the player has a pet User Interface. | Returns true if the player has a pet User Interface. | ||
HasPetUI(); | hasUI = HasPetUI(); | ||
---- | ---- | ||
Line 13: | Line 13: | ||
;''Returns'' | ;''Returns'' | ||
:;Boolean | :hasUI | ||
:;hasUI :Boolean - <tt>true</tt> if the player has a pet User Interface. | |||
---- | ---- | ||
Line 28: | Line 29: | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} tabButton:SetText(TEXT(getglobal("PET_TYPE_"..token))); | ||
[[Category:API Pet Functions|HasPetUI]] |
Revision as of 19:58, 28 December 2004
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)));