WoW:API PetRename: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
(Rewrote so it's not a stub.)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{Stub/API}}
 
Renames your pet with the name specified.<br>
 
<pre>
Renames your pet.
PetRename("name");
PetRename("name")
</pre>
 
 
== Arguments ==
:;name : String - The new name of the pet
 
 
== Returns ==
:nil
 
 
== Details ==
: Only hunters can rename their pets.
: Each pet can be renamed once. Using this function when the pet has already been renamed results in an error message.

Revision as of 16:53, 25 June 2007

WoW API < PetRename


Renames your pet.

PetRename("name")


Arguments

name
String - The new name of the pet


Returns

nil


Details

Only hunters can rename their pets.
Each pet can be renamed once. Using this function when the pet has already been renamed results in an error message.