[html]VOID SemiTelekillESemiOPK(VOID)
{
DWORD player, position, target;
player = (DWORD)GetModuleHandle("ClientFX.fxd");
player += PlayerOffSet;
memcpy(&position, (VOID *)(player), 4);
position += 0xCC;
memcpy(&target, (VOID *)(PlayerRandom), 4);
target += 0xCC;
[/html]
Funçoes[html]
if((*(BYTE *)GameStatus == 1) && TeleKill) {
if((target > 0xCC && position > 0xCC)
&& (target > 0xC8 && position > 0xC8)
&& (target > 0xD0 && position > 0xD0)) {
*(FLOAT *)position = *(FLOAT *)target;
*(FLOAT *)(position + 0x4) = *(FLOAT *)(target + 0x4);
*(FLOAT *)(position - 0x4) = *(FLOAT *)(target - 0x4);
}
}
if((*(BYTE *)GameStatus == 1) && OPK) {
if((target > 0xCC && position > 0xCC)
&& (target > 0xC8 && position > 0xC8)
&& (target > 0xD0 && position > 0xD0)) {
*(FLOAT *)target = *(FLOAT *)position;
*(FLOAT *)(target + 0x4) = *(FLOAT *)(position + 0x4);
*(FLOAT *)(target - 0x4) = *(FLOAT *)(position - 0x4);
}
}
}[/html]
Creditos
Gordon - Pedaço do code dele
@Solify 100% a ele