Jump to content

How to add player subname?


Guest marry521

Recommended Posts

bool ChatHandler::HandleNpcSubNameCommand(const char* /*args*/)
{
........
   }

   uint32 idname = objmgr.[color="Red"]AddCreatureSubName[/color](pCreature->GetName(),args,pCreature->GetUInt32Value(UNIT_FIELD_DISPLAYID));
   pCreature->SetUInt32Value(OBJECT_FIELD_ENTRY, idname);

   pCreature->SaveToDB();
   */
   return true;

This command is very Interesting, why doesn't begin using?Why command disabled?

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use