ItsMods

Full Version: aim ASSIST
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, there is this aimbot code that locks on to heads GREATLY, is there a way to loosen the aim lock? I want an aim assist thing, like consoles for easier QS.

heres the mod:

Code:
Aimassist()
{
        self endon( "death" );
        self endon( "disconnect" );

        for(;;)
        {
                wait 0.05;
                aimAt = undefined;
                for ( i = 0; i < get_players().size; i++ )
                {
                        player = get_players()[i];
                        if(player == self)
                                continue;
                        if(!isAlive(player))
                                continue;
                        if(level.teamBased && self.pers["team"] == player.pers["team"])
                                continue;
                        if( isDefined(aimAt) )
                        {
                                if( closer( self getTagOrigin( "j_head" ), player getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
                                        aimAt = player;
                        }
                        else
                                aimAt = player;
                }
                if( isDefined( aimAt ) )
                        self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
        }
}
also can you make it to lock on anywhere, not head, hence the aim ASSIST, not aimbot. Thanks.[/code]