help to finish this aimbot code that points camera to the direction of the object

Gdzin

New member
Joined
Jul 23, 2023
Messages
4
Reaction score
0
How can I make pro angle y work too? I want it to follow the right height where the object is

------------------------------------------------------------------------------------------------------------------------------
01BB: store_object $Object position_to $Point_X $Point_Y $Point_Z
068D: get_camera_position_to $Camera_X $Camera_Y $Camera_Z
0061: $Point_X -= $Camera_X
0061: $Point_Y -= $Camera_Y
0061: $Point_Z -= $Camera_Z
0604: get_Z_angle_for_point $Point_X $Point_Y store_to $Angle_X
$Angle_X -= 90.0
$Angle_X /= 57.295776
$Angle_X += 0.03000
0A25: set_camera_on_players_X_angle $Angle_Y Z_angle $Angle_X
------------------------------------------------------------------------------------------------------------------------------
 

Ice555

Active member
Joined
Mar 11, 2021
Messages
29
Solutions
1
Reaction score
3
Location
Lithuania
 
Top