WoW:API PetCanBeRenamed: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Formatting and categorization)
Line 3: Line 3:
Retuns true if the pet can be renamed.
Retuns true if the pet can be renamed.


  PetCanBeRenamed();
  canRename = PetCanBeRenamed();


----
----
Line 13: Line 13:
;''Returns''
;''Returns''


:;Boolean
:canRename
:;canRename : Boolean - <tt>true</tt> if the player's pet can be renamed.


----
----
Line 29: Line 30:
----
----
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Pet Functions|PetCanBeRenamed]]

Revision as of 20:02, 28 December 2004

PetCanBeRenamed -Documentation by AlexanderYoshi-

Retuns true if the pet can be renamed.

canRename = PetCanBeRenamed();

Arguments
none

Returns
canRename
canRename
Boolean - true if the player's pet can be renamed.

Example
 if ( PetCanBeRenamed() ) then PetRename("Fuzzy Wuzzy"); end
Result
true | false

Description
Retuns true if the pet can be renamed.

Template:WoW API