WoW:API PetRename: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API PetRename to API PetRename without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
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.

Latest revision as of 04:47, 15 August 2023

WoW API < PetRename


Renames your pet.

PetRename("name")


Arguments[edit]

name
String - The new name of the pet


Returns[edit]

nil


Details[edit]

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.