I'm highly annoyed right now because the reason I had troubles with the new GetModel was because of a bug in the MSVC++ compiler calling the wrong VF when overloading was present.
Nevertheless, here is a working code sample after the bug was revealed. Big thanks to Greyman for noticing.
Yes it needs cleaning up, its just to show "yes this works".Code:unsigned int DummyInt1 = 0; unsigned int DummyInt2 = 0; bool Result = gpRedPillMgr->GetObjectMgr()->GetLocalPlayer()->GetModel(&DummyInt1,&DummyInt2); if (Result && DummyInt1) { const char* Model = reinterpret_cast<const char*>(DummyInt1); gpRedPillMgr->GetLog()->Add(str(boost::format("My Model: %s") %Model)); }