Thread: GetRace issue
View Single Post
  #3  
Old 02-25-2013, 08:12 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

There isn't a variable named $mob that is exported. You will want to use $npc instead and it should work fine.

Change both instances that you have of this:

Code:
$mob->GetRace();
to this:

Code:
$npc->GetRace();
The Mob quest objects just mean that you can use any classes under mob such as $npc or $client.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote