Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cGameClientShell* pGameClientShell = (cGameClientShell*)0x37823F50; //GCS Addie
- cSFXMgr* SFXMgr = pGameClientShell->GetSFXMgr();
- unsigned long ulThis = *(unsigned long *)0x377D952C; //ClientInfo MGR
- GetLocalPlayer = (lpGetLocalPlayer)(0x371560C0); //Local Player
- cClientInfo *pLocal = GetLocalPlayer(ulThis);
- if(Tracers){
- for ( int i = 0; i < SFXMgr->SFXList[0x17].Num ; i++ )
- {
- cCharacterFX* NPC = (cCharacterFX*)SFXMgr->SFXList[0x17].List[i];
- if(ValidPointer(NPC) && ValidPointer(NPC->Object ))
- {
- if(!NPC->IsPlayer )
- {
- D3DXVECTOR3 Pos_1 = *(D3DXVECTOR3*)(pLocal->Object +0x4);
- Pos_1.y -= 10.0f*i;
- Pos_1.x += 50.0f;
- SetObject(NPC->Object ,Pos_1);
- }
- else if(Tracers == 1) {
- Sleep(100);
- Tracers = false;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement