Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement