CLEO Help GET_REAL_FOV help

CLEO related
Status
Not open for further replies.

xAmUser

Active member
Joined
Feb 23, 2018
Messages
55
Reaction score
3
  1. please tell me what you need to insert into variables 10@ 11@ 12@ and 23@ 24@

  2. 0AB1: @GET_REAL_FOV 5 POSITION 10@ 11@ 12@ TARGETXY 23@ 24@ _TO 0@
  3. :GET_CAMERA_FACING_ANGLES //0AB1: @GET_CAMERA_FACING_ANGLES 0 Z_AND_Y 0@ 1@
  4. 00A0: store_actor $PLAYER_ACTOR position_to 1@ 2@ 3@
  5. 0AA6: call_method 0x514970 struct 0xB6F028 num_params 6 pop 0 0xA49994 0xA499A0 3@ 2@ 1@ 20.0
  6. 0AB1: call_scm_func @getYAngleBetweenPoints_ULKXK 6 from_XYZ $13 $14 $15 and_XYZ 1@ 2@ 3@ store_to 5@
  7. 0AB1: call_scm_func @getZAngleBetweenPoints_ULKXK 4 from_XY $13 $14 and_XY 1@ 2@ store_to 4@
  8. 5@ += 90.0
  9. 0AB2: 2 4@ 5@
  10. :getYAngleBetweenPoints_ULKXK
  11. 0509: 6@ = distance_between_XY 0@ 1@ and_XY 3@ 4@
  12. 0063: 2@ -= 5@
  13. 0604: get_Z_angle_for_point 6@ 2@ store_to 7@
  14. 0AF8: samp add_message_to_chat "%f" color 0xffffff 0@
  15. 0AB2: ret 1 7@
  16. :getZAngleBetweenPoints_ULKXK
  17. 0063: 0@ -= 2@
  18. 0063: 1@ -= 3@
  19. 0604: get_Z_angle_for_point 0@ 1@ store_to 4@
  20. 0AB2: ret 1 4@
  21. :GET_REAL_FOV //0AB1: @GET_REAL_FOV 5 POSITION 29@ 28@ 27@ TARGETXY 23@ 24@ _TO 0@
  22. 068D: get_camera_position_to 9@ 10@ 11@
  23. 050A: 12@ = distance_between_XYZ 0@ 1@ 2@ and_XYZ 9@ 10@ 11@
  24. 0AB1: @GET_CAMERA_FACING_ANGLES 0 Z_AND_Y 26@ 25@
  25. 0063: 3@ -= 26@ // (float)
  26. 0063: 4@ -= 25@ // (float)
  27. 0C03: math 3@ = sine 3@ // (float)
  28. 0C03: math 4@ = sine 4@ // (float)
  29. 006B: 3@ *= 12@ // (float)
  30. 006B: 4@ *= 12@ // (float)
  31. 0C09: math 3@ = power_1337 3@ 2.0
  32. 0C09: math 4@ = power_1337 4@ 2.0
  33. 005B: 3@ += 4@ // (float)
  34. 01FB: 3@ = square_root 3@
  35. 0AB2: 1 3@
 

xAmUser

Active member
Joined
Feb 23, 2018
Messages
55
Reaction score
3

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
:AIM_AT_POS
0087: 8@ = 3@
068D: get_camera_position_to 3@ 4@ 5@
0063: 0@ -= 3@
0063: 1@ -= 4@
0604: get_Z_angle_for_point 0@ 1@ store_to 6@
6@ -= 90.0
0017: 6@ /= 57.2957795
005B: 6@ += 8@ // (float)
0A8D: 7@ = read_memory 0xB6F248 size 4 virtual_protect 0

6@ 7@ mean? I tried it didn’t work
7@ = Camera Y Angle
6@ = Camera X Angle
 
Status
Not open for further replies.
Top