Guest User

Untitled

a guest
May 3rd, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.88 KB | None | 0 0
  1. {
  2. use macro (Ctrl+J) "headsa"
  3. to insert a file header
  4. }
  5. var
  6. $PLAYER_CHAR: Player
  7. end // var
  8. 03A4: name_thread 'MAIN'
  9. 01F0: set_max_wanted_level_to 6
  10. 0111: toggle_wasted_busted_check 0
  11. 00C0: set_current_time_hours_to 8 minutes_to 0
  12. 04E4: unknown_refresh_game_renderer_at 2488.56 -1666.84
  13. 03CB: set_rendering_origin_at 2488.56 -1666.84 13.38
  14. 0053: $PLAYER_CHAR = create_player #NULL at 2770.718 -2456.103 12.6354
  15. 01F5: $PLAYER_ACTOR = create_player_actor $PLAYER_CHAR
  16. 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
  17. 0373: set_camera_directly_behind_player
  18. 01B6: set_weather 0
  19. 0001: wait 0 ms
  20. 087B: set_player $PLAYER_CHAR clothes_texture "PLAYER_FACE" model "HEAD" body_part 1
  21. 087B: set_player $PLAYER_CHAR clothes_texture "JEANSDENIM" model "JEANS" body_part 2
  22. 087B: set_player $PLAYER_CHAR clothes_texture "SNEAKERBINCBLK" model "SNEAKER" body_part 3
  23. 087B: set_player $PLAYER_CHAR clothes_texture "VEST" model "VEST" body_part 0
  24. 070D: rebuild_player $PLAYER_CHAR
  25. 01B4: toggle_player $PLAYER_CHAR can_move 1
  26. 016A: fade 1 time 0
  27. 04BB: select_interior 0
  28. 0629: change_integer_stat 181 to 4
  29. 016C: restart_if_wasted_at 2027.77 -1420.52 15.99 angle 137.0 town_number 0
  30. 016D: restart_if_busted_at 1550.68 -1675.49 14.51 angle 90.0 town_number 0
  31. 0180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here
  32. 0004: $DEFAULT_WAIT_TIME = 250
  33. 03E6: remove_text_box
  34. $TEST_PATRIOT_CREATED = 0
  35.  
  36. // put your create_thread commands here
  37.  
  38.  
  39.  
  40. :MAIN_LOOP
  41. 0001: wait $DEFAULT_WAIT_TIME ms
  42. 00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes
  43. if
  44. $TEST_PATRIOT_CREATED == 0
  45. else_jump @MAIN_LOOP
  46. wait 2000
  47. Model.Load(#PATRIOT)
  48. Model.Load(#ARMY)
  49.  
  50. :RYDER2_19963
  51. if or
  52. not Model.Available(#PATRIOT)
  53. not Model.Available(#ARMY)
  54. else_jump @RYDER2_19995
  55. wait 0
  56. jump @RYDER2_19963
  57.  
  58. :RYDER2_19995
  59. 1@ = Car.Create(#PATRIOT, 2780.718, -2456.103, 12.6354)
  60. Car.Angle(1@) = 90.0
  61. 01EC: make_car 1@ very_heavy 1
  62. Car.DoorStatus(1@) = 3
  63. Car.SetImmunities(1@, 1, 1, 1, 1, 1)
  64. 2@ = Car.Create(#PATRIOT, 2780.557, -2493.346, 12.6287)
  65. Car.Angle(2@) = 90.0
  66. 01EC: make_car 2@ very_heavy 1
  67. Car.DoorStatus(2@) = 3
  68. Car.SetImmunities(2@, 1, 1, 1, 1, 1)
  69. $TEMP1 = 0
  70. $TEMP2 = 0
  71. :TESTL_1
  72. $TEMP1 += 1
  73. if
  74. $TEMP1 == 1000
  75. else_jump @TESTL_2
  76. $TEMP2 += 1
  77. $TEMP1 = 0
  78. :TESTL_2
  79. if
  80. $TEMP2 == 100
  81. else_jump @TESTL_1
  82.  
  83. if
  84. not Car.Wrecked(1@)
  85. else_jump @RYDER2_20260
  86. 3@ = Actor.CreateAsDriver(Mission2, #ARMY, 1@)
  87. 0688: AS_actor 3@ unknown_toggle_ped_threat_scanner 0 0 0
  88. 00AE: set_car 1@ traffic_behaviour_to 2
  89. Car.SetMaxSpeed(1@, 50.0)
  90. Car.SetImmunities(1@, 0, 0, 0, 0, 0)
  91. 0423: set_car 1@ improved_handling_to 2.0 // (float)
  92. 01EC: make_car 1@ very_heavy 1
  93. Car.Health(1@) = 1300
  94. 5@ = Actor.CreateAsPassenger(Mission2, #ARMY, 1@, 0)
  95. 077A: set_actor 5@ acquaintance 4 to_actors_pedtype 0 // see ped.dat
  96. 060B: set_actor 5@ decision_maker_to 7@
  97. Actor.GiveWeaponAndAmmo(5@, Pistol, 999999)
  98.  
  99. :RYDER2_20260
  100. if
  101. not Car.Wrecked(2@)
  102. else_jump @RYDER2_20401
  103. 4@ = Actor.CreateAsDriver(Mission2, #ARMY, 2@)
  104. 0688: AS_actor 4@ unknown_toggle_ped_threat_scanner 0 0 0
  105. 00AE: set_car 2@ traffic_behaviour_to 2
  106. Car.SetMaxSpeed(2@, 50.0)
  107. Car.SetImmunities(2@, 0, 0, 0, 0, 0)
  108. 0423: set_car 2@ improved_handling_to 2.0 // (float)
  109. 01EC: make_car 2@ very_heavy 1
  110. Car.Health(2@) = 1300
  111. 6@ = Actor.CreateAsPassenger(Mission2, #ARMY, 2@, 0)
  112. 077A: set_actor 6@ acquaintance 4 to_actors_pedtype 0 // see ped.dat
  113. 060B: set_actor 6@ decision_maker_to 7@
  114. Actor.GiveWeaponAndAmmo(6@, Pistol, 999999)
  115.  
  116. :RYDER2_20401
  117. Model.Destroy(#PATRIOT)
  118. Model.Destroy(#ARMY)
  119. $TEST_PATRIOT_CREATED = 1
  120. 0002: jump @MAIN_LOOP
  121.  
  122.  
  123. // put your mods (threads) here
  124.  
  125.  
  126. //-------------Mission 0---------------
  127. // put your missions here
  128.  
  129.  
  130.  
  131. //-------------External script 0---------------
  132. // put your external scripts here
Advertisement
Add Comment
Please, Sign In to add comment