float x; float y; float mx; float my; float angle; if (hackStatus[14] == true) { for ( int draw = 1; draw < 1000; draw++ ) { angle = atan2(mapmouse(*playerid)->y - getplayerhand(*playerid)->y, mapmouse(*playerid)->x - getplayerhand(*playerid)->x); mx = *bulletSpeed * cos(angle); my = (*bulletSpeed * sin(angle)) + 0.135f; x = (x + mx) * 0.99f; y = (y + my) * 0.99f; drawlineonmap(0xCFC4C4C4,x,y,mx,my,m_pD3Ddev); } }