AKTUELLE BYTES UND OPK SOURCE

03/13/2011 16:33 Pro0wnzz#1
BYTES:


Code:
BYTE NOPS [] = {0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90};
BYTE AUTOMEDICOFF [] = {0x0F,0x85,0xA6,0x00,0x00,0x00};
BYTE INVISIBLEOFF [] = {0x8B,0x4D,0x00};
BYTE STWOFF [] = {0x8B,0x51,0x34};
BYTE WTWOFF [] = {0xD8,0x4A,0x08};
BYTE QUICKPLANTOFF [] = {0x7D,0x0C};
BYTE QUICKDEFUSEOFF [] = {0x7D,0x28};
BYTE QUICKPLANTON [] = {0xEB,0x3B};
BYTE QUICKDEFUSEON [] = {0xEB,0x55};
OPK SOURCE:

Code:
int CH_POPK = 0;
int CH_Distance = 0;


if (CH_POPK == 1)
{
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayerA = pBase->player[i];
pPlayerA->x=0;
pPlayerA->y=0;
pPlayerA->z=0;
if(CH_Distance == 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 0;
*(float*)(dwPlayerPtr+OFS_Y) = 0;
*(float*)(dwPlayerPtr+OFS_X) = 0;
}
if (CH_Distance == 1) // Disdance 25*
{
*(float*)(dwPlayerPtr+OFS_Z) = 0;
*(float*)(dwPlayerPtr+OFS_Y) = 25;
*(float*)(dwPlayerPtr+OFS_X) = 25;
}
if (CH_Distance == 2) // Disdance 50*
{
*(float*)(dwPlayerPtr+OFS_Z) = 0;
*(float*)(dwPlayerPtr+OFS_Y) = 50;
*(float*)(dwPlayerPtr+OFS_X) = 50;
}
if (CH_Distance == 3) // Disdance 100*
{
*(float*)(dwPlayerPtr+OFS_Z) = 0;
*(float*)(dwPlayerPtr+OFS_Y) = 100;
*(float*)(dwPlayerPtr+OFS_X) = 100;
}
if (CH_Distance == 4) // Disdance 150*
{
*(float*)(dwPlayerPtr+OFS_Z) = 0;
*(float*)(dwPlayerPtr+OFS_Y) = 150;
*(float*)(dwPlayerPtr+OFS_X) = 150;
}
if (CH_Distance == 5) // Disdance 200*
{
*(float*)(dwPlayerPtr+OFS_Z) = 0;
*(float*)(dwPlayerPtr+OFS_Y) = 200;
*(float*)(dwPlayerPtr+OFS_X) = 200;
}
}
}
03/13/2011 16:36 Son_Goten#2
Plant und defuse bytes fail! ;)
03/13/2011 16:45 Mostey#3
[Only registered and activated users can see links. Click Here To Register...]

#closed