Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ***WHAT IS THIS??!?!?!?***
- for (int i=0;i<clientEntList->GetHighestEntityIndex();i++)
- {
- player_info_t pinfo;
- engine->GetPlayerInfo(i, &pinfo);
- if(i>31 || pinfo.name[0] == NULL)
- continue;
- if (clientEntList->GetClientEntity(i))
- {
- IClientEntity* ClientEntity = clientEntList->GetClientEntity(i);
- Vector* pVec = MakePointer<Vector>((DWORD)ClientEntity->GetBaseEntity(),0x2C8);
- int t[3] = { pVec->x, pVec->y, pVec->z };
- Msg("Player: %d \t%s \t%d \t%d \t%d\n", i, pinfo.name, t[0], t[1], t[2]);
- if (GetAsyncKeyState(VK_HOME)&1)
- {
- engineClient->SetViewAngles(Aim(pVec));
- }
- }
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment