Code:
#define OFF_RECOIL1 0x3
#define OFF_RECOIL2 0x6
#define OFF_RECOIL3 0x9
___________________________________
void recoil()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
*(float*)(OFF_RECOIL1+OFS_Z) = 0;
*(float*)(OFF_RECOIL2+OFS_Y) = 0;
*(float*)(OFF_RECOIL3+OFS_X) = 0;
}
i Was thinking i could do 2 things instead of relating it to xyz...relate the no recoil to the crosshair offset....But like idk
omg lol i think i get it now
Code:
#define OFF_RECOIL1 0x3
#define OFF_RECOIL2 0x6
#define OFF_RECOIL3 0x9
___________________________________
void recoil()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
*(float*)(OFF_RECOIL1, OFF_RECOIL2, OFF_RECOIL3+OFS_Z) = 0;
*(float*)(OFF_RECOIL1, OFF_RECOIL2, OFF_RECOIL3+OFS_Y) = 0;
*(float*)(OFF_RECOIL1, OFF_RECOIL2, OFF_RECOIL3+OFS_X) = 0;
}
Still crashes the game Hrrmm
Anyideas