Wowpedia

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

READ MORE

Wowpedia
No edit summary
No edit summary
(One intermediate revision by one other user not shown)
Line 1: Line 1:
  +
{{wowapi}}
<center>'''PetCanBeAbandoned''' ''-Documentation by AlexanderYoshi-''</center>
 
 
 
Retuns true if the pet is abandonable.
 
Retuns true if the pet is abandonable.
   
Line 18: Line 17:
 
----
 
----
 
;''Example''
 
;''Example''
if ( PetCanBeAbandoned() ) then AbandonPet(); end
+
if ( PetCanBeAbandoned() ) then PetAbandon(); end
   
 
;''Result''
 
;''Result''
 
true | false
 
true | false
 
----
 
;''Description''
 
 
: Retuns true if the pet is abandonable.
 
 
----
 
{{WoW API}}
 

Revision as of 17:57, 21 November 2006

Retuns true if the pet is abandonable.

canAbandon = PetCanBeAbandoned();

Arguments
none

Returns
canAbandon
canAbandon
Boolean - true if the player's pet can be abandoned.

Example
 if ( PetCanBeAbandoned() ) then PetAbandon(); end
Result
true | false