Originally Posted by
Mr.Magicman
Sorry took an old PTR let me renew it!
Updated with: 0x3715D9A0
0x3715D9A0 = getplayerbyindex
you will need to find the this point just find refrence to the call.
Code:
typedef PlayerInfo* (__thiscall *lpGetPlayerByIndex)(unsigned long ulThis,int index, int unk);
lpGetPlayerByIndex GetPlayerByIndex;//3715D9A0
GetPlayerByIndex = (lpGetPlayerByIndex)(0x3715D9A0);
unsigned long ulThis = *(unsigned long*)(0x377F3E68);
for ( int i = 0; i < 15; i++ )
{
PlayerInfo* pPlayer = GetPlayerByIndex( ulThis,i,0);
if(pPlayer != 0 && pPlayer->obj != 0 && pPlayer->IsDead ==0)
//sprintf(szFormat,"%s",pPlayer->Name);
DrawText(20,i*10,255,0,0,255,szFormat);