Advertisement
lol7

FLYER_ANGLE.cs

Sep 25th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. {$CLEO}
  2. 0000: NOP
  3.  
  4. while true
  5. wait 0
  6. 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
  7. if
  8. 30@ == 1
  9. then
  10. while 30@ == 1
  11. wait 0
  12. 0AF0: 30@ = get_int_from_ini_file "cleo\FLYER.ini" section "FLYER" key "isModActive"
  13. if
  14. 00DF: actor $PLAYER_ACTOR driving
  15. then
  16. 03C0: 0@ = actor $PLAYER_ACTOR car
  17. 068D: get_camera_position_to 20@ 21@ 22@
  18. 068E: get_camera_target_point_to 22@ 23@ 24@
  19. 0063: 22@ -= 20@ // (float)
  20. 0063: 23@ -= 21@ // (float)
  21. 0604: get_Z_angle_for_point 22@ 23@ store_to 7@
  22. Car.Angle(0@) = 7@
  23. 01C3: remove_references_to_car 0@
  24. else
  25. if
  26. 044B: actor $PLAYER_ACTOR on_foot
  27. then
  28. 068D: get_camera_position_to 20@ 21@ 22@
  29. 068E: get_camera_target_point_to 22@ 23@ 24@
  30. 0063: 22@ -= 20@ // (float)
  31. 0063: 23@ -= 21@ // (float)
  32. 0604: get_Z_angle_for_point 22@ 23@ store_to 7@
  33. Actor.Angle($PLAYER_ACTOR) = 7@
  34. end
  35. end
  36. end
  37. end
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement