Jump to content

stringers


gtasbigfoot

Recommended Posts

  • 3 weeks later...
gtaragemachine

Here's the stinger drop mod code (not mine). Just change out the police vehicle to the Tampa and you're done:

 

 

create_thread @stinger_sniff_thread:Stinger_thread                              03A4: name thread "STING"0247: request_model #TEMP_STINGER2038B: load_requested_models0004: 32@ = 0  029B: 7@ = init_object #TEMP_STINGER2 at 0@ 1@ 2@0177: set object 7@ z angle to  3@01C7: remove_object_from_mission_cleanup_list 7@0007: 4@ = 0@000F: 4@ -= 2.0000B: 0@ += 2.00007: 5@ = 1@000F: 5@ -= 2.0000B: 1@ += 2.0  :Stinger_loop      0001: wait  250 ms0007: 6@ = -1053E: 6@ = get_random_car_with_actors -1 in_area 4@ 5@ 0@ 1@  00D6: if 08039:   NOT   6@ ==  -1// integer values004D: jump_if_false @Stinger_timer      04FE: deflate_tire  0 on_car 6@04FE: deflate_tire  1 on_car 6@04FE: deflate_tire  2 on_car 6@04FE: deflate_tire  3 on_car 6@:Stinger_timer00D6: if 00019:   32@ > 10000004D: jump_if_false @Stinger_loop    0249: release_model #TEMP_STINGER20108: destroy object 7@004E: end_thread:stinger_sniff_thread03A4: name thread "ST_SNIF":stinger_sniff_loop0001: wait  100 ms00D6: if 00256:   player $PLAYER_CHAR defined004D: jump_if_false @stinger_sniff_loop  00D6: if 100E1:   key pressed  0  17  056C:   actor $PLAYER_ACTOR driving_police_vehicle004D: jump_if_false @stinger_sniff_loop    03C0: 10@ = actor $PLAYER_ACTOR car0407: create coordinate 0@ 1@ 2@ from car 10@ offset  0.0 -2.5  1.00174: 3@ = car 10@ z_angle0009: 3@ +=  90.0// floating-point values02CE: 2@ = ground z 0@ 1@ 2@000B: 2@ += 0.1004F: create thread @Stinger_thread  0@ 1@ 2@ 3@0001: wait  500 ms0002: jump @stinger_sniff_loop

 

 

Source: http://www.gtaforums.com/index.php?showtopic=217172

Link to comment
https://gtaforums.com/topic/309323-stringers/#findComment-1057513501
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.