Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. typedef PlayerInfo* (__thiscall *lpGetPlayerByIndex)(unsigned long ulThis,int index, int unk);
  2. lpGetPlayerByIndex GetPlayerByIndex;//3715D9A0
  3.  
  4. GetPlayerByIndex = (lpGetPlayerByIndex)(0x3715D9A0);
  5. unsigned long ulThis = *(unsigned long*)(0x377F3E68);
  6. for ( int i = 0; i < 15; i++ )
  7. {
  8.  
  9. PlayerInfo* pPlayer = GetPlayerByIndex( ulThis,i,0);
  10.  
  11. if(pPlayer != 0 && pPlayer->obj != 0 && pPlayer->IsDead ==0)
  12.  
  13. //sprintf(szFormat,"%s",pPlayer->Name);
  14. DrawText(20,i*10,255,0,0,255,szFormat);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement