-
Can someone help me here please. I really dont know what the fuck is going on.
If i define:
Code:
PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
with the rest of my class declerations (pPlayer, pLocal, ect), My hack doesnt hook.
If i place it with the code like so:
Code:
if(CH_test)
{
PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
_Object * IsAimingAt = pPlayerMgr->pTarget->GetTargetObject();
if(IsAimingAt != 0) {
PrintText(pFont,500,300,Red,"I am aiming at someone");//Just testing
}
}
it hooks but nothing happens (text doesnt come up)
Id really like to know whyy..
-
Quote:
Originally Posted by
ac1d_buRn
Can someone help me here please. I really dont know what the fuck is going on.
If i define:
Code:
PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
with the rest of my class declerations (pPlayer, pLocal, ect), My hack doesnt hook.
If i place it with the code like so:
Code:
if(CH_test)
{
PlayerMgr * pPlayerMgr = *(PlayerMgr**)(0x3784E6F8);
_Object * IsAimingAt = pPlayerMgr->pTarget->GetTargetObject();
if(IsAimingAt != 0) {
PrintText(pFont,500,300,Red,"I am aiming at someone");//Just testing
}
}
it hooks but nothing happens (text doesnt come up)
Id really like to know whyy..
Trying using sounds if text doesnt show up.. Just something to test