SolvedTelekill

Posts 1–4 of 4 · Page 1 of 1
Telekill
Alguém pode me passar a função para ligar o Beast Mode junto com o telekill ?

Tento pesquisar mas esses 60 segundos fodem
Ta ai:

Code:
DWORD posptr, posy;
	if((*(BYTE *)GameStatus == 1) && TeleKill) {
		GetPlayerByIndex = (lpGetPlayerByIndex)PlayerByIndex;
		unsigned long ulThis = *(unsigned long *)ClientInfoMgr;
		GetLocalPlayer = (lpGetLocalPlayer)(LocalPlayer);
		for(INT i = 0; i < 16; i++) {			
			PlayerInfo *pPlayer = GetPlayerByIndex(ulThis, i, 0);
			PlayerInfo *pLocal = GetLocalPlayer(ulThis);
			if(pPlayer != 0 && pPlayer->obj != 0 && pPlayer->IsDead == 0) {			
				posptr = (DWORD)GetModuleHandle("ClientFX.fxd");
				posptr += 0x00066F34;
				memcpy(&posy,(VOID *)(posptr), 4);
				if(TeleKill) {
					if(pPlayer->Team != pLocal->Team) {
						*(FLOAT *)(posy + 0xC8) = (pPlayer->obj->origin.x + 100.0f);
						*(FLOAT *)(posy + 0xCC) = (pPlayer->obj->origin.y + 100.0f);
						*(FLOAT *)(posy + 0xD0) = (pPlayer->obj->origin.z);

	if((*(BYTE *)GameStatus == 1) && TeleKill)
		memcpy((VOID *)Invisible, (VOID *)(PBYTE)"\x01", 1);
	else
		memcpy((VOID *)Invisible, (VOID *)(PBYTE)"\x00", 1);	

					}
				}
			}
		}
	}
Já tinha conseguido aqui ^^

Só pedi pq eu pensei que tava fazendo errado,
Mas era erro nuns pontos vírgulas.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?