GET_REAL_FOV help

Status
Not open for further replies.

xAmUser

Active Member
Joined
Feb 23, 2018
Messages
37
Likes
2
Points
23
5
#1
  1. please tell me what you need to insert into variables [email protected] [email protected] [email protected] and [email protected] [email protected]

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

xAmUser

Active Member
Joined
Feb 23, 2018
Messages
37
Likes
2
Points
23
5

Parazitas

Well-Known Member
Joined
Jan 2, 2017
Messages
2,282
Likes
472
Points
113
Location
Lithuania
Website
ugbase.eu
20
#6
:AIM_AT_POS
0087: [email protected] = [email protected]
068D: get_camera_position_to [email protected] [email protected] [email protected]
0063: [email protected] -= [email protected]
0063: [email protected] -= [email protected]
0604: get_Z_angle_for_point [email protected] [email protected] store_to [email protected]
[email protected] -= 90.0
0017: [email protected] /= 57.2957795
005B: [email protected] += [email protected] // (float)
0A8D: [email protected] = read_memory 0xB6F248 size 4 virtual_protect 0

[email protected] [email protected] mean? I tried it didn’t work
[email protected] = Camera Y Angle
[email protected] = Camera X Angle
 
Status
Not open for further replies.
Top