View Full Version : [SOLVED] GetPlayer': is not a member
03-14-2014, 01:32 AM
'GetPlayer': is not a member of 'ObjectMgr'
Player* player = sObjectMgr->GetPlayer(to.c_str());
Thank you very much for your help
03-14-2014, 01:38 AM
You're most likely getting that confused with ObjectAccessor.
03-14-2014, 01:51 AM
yes tommy thx
Player* receiver = sObjectAccessor->FindPlayerByName(to);
03-14-2014, 01:55 AM
No problem. :P
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.