I was messing around with this last night, this will be toggled when your crosshair is over a local player on your team. In MOHAA there is no other way to get the enemys info from just having the crosshair over the entity using this method.
Also you can get your attackers info, but only when your under attack..You could use this to improve your aimbot..Code:if(cg->snap->ps.stats[ 27 ] > -1) //-1 not valid { SendConsoleCommand("+attackprimary"); //just a example } if(cg->snap->ps.stats[ 27 ] = -1) // //tested this without really messing with it and it works fine but could use some work { SendConsoleCommand("-attackprimary"); //release }
Code:if(bot.cg->snap->ps.stats[ 26 ] > -1) //-1 not valid { int clientNum = bot.cg->snap->ps.stats[ 26 ]; Target( clientNum) //just a example SendConsoleCommand("+attackprimary"); //just a example }




Reply With Quote
