Guest User

V First Person Code - XBLToothPik

a guest
Jun 23rd, 2014
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. :DoFirstPersonUpdate
  2. Function 1 0 9
  3. //Var2 = my ped [1]
  4. //var3 = in vehicle bool [1]
  5. //var4 = targetting/aiming [1]
  6. //var5 = show debug [1]
  7. //var 6-8 = cam rot debug [3]
  8. StaticGet1 64
  9. iPush_0
  10. CallNative get_cam_rot 2 3
  11. iPush_3
  12. pFrame1 6
  13. FromStack
  14. :DoFirstPersonUpdate_SkipDebug
  15. StaticGet1 64
  16. CallNative does_cam_exist 1 1
  17. JumpFalse @DoFirstPersonUpdate_Exit
  18. CallNative player_ped_id 0 1
  19. dup
  20. setF 2
  21. CallNative does_entity_exist 1 1
  22. JumpFalse @DoFirstPersonUpdate_Exit
  23. StaticGet1 64
  24. iPush_2
  25. CallNative get_gameplay_cam_rot 1 3
  26. iPush_2
  27. CallNative set_cam_rot 5 0
  28. :DoFirstPersonUpdate_Exit
  29. Return 0 0
Advertisement
Add Comment
Please, Sign In to add comment