Wesser Posted February 5, 2007 Share Posted February 5, 2007 (edited) Hi, I have a problem. After having pressed the key to close the doors, I press again the key for 2 times to reopen the doors. Why? Help me, please? :CARLITE_3103A4: name_thread "DLOCK":CARLITE_330001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££CARLITE_3300D6: if 10038: $ON_MISSION == 0;; integer values00DF: actor $PLAYER_ACTOR driving004D: jump_if_false ££CARLITE_3303C0: @0 = actor $PLAYER_ACTOR car0006: @1 = 0 ;; integer values03CF: load_wav 32402 as 3:CARLITE_350001: wait 0 ms00D6: if 10256: player $PLAYER_CHAR defined8119: NOT car @0 wrecked004D: jump_if_false ££CARLITE_4300D6: if 000DB: actor $PLAYER_ACTOR in_car @0004D: jump_if_false ££CARLITE_43 00D6: if 300DF: actor $PLAYER_ACTOR driving 847A: NOT actor $PLAYER_ACTOR driving_a_motorbike84C8: NOT actor $PLAYER_ACTOR driving_flying_vehicle84A7: NOT actor $PLAYER_ACTOR driving_boat004D: jump_if_false ££CARLITE_3500D6: if 6 8137: NOT car @0 id == #CADDY 8137: NOT car @0 id == #KART8137: NOT car @0 id == #MOWER8137: NOT car @0 id == #BAGGAGE 8137: NOT car @0 id == #FORKLIFT8137: NOT car @0 id == #TRACTOR 8137: NOT car @0 id == #DOZER 004D: jump_if_false ££CARLITE_35 00D6: if 5 8137: NOT car @0 id == #COMBINE 8137: NOT car @0 id == #VORTEX8137: NOT car @0 id == #RHINO 8137: NOT car @0 id == #SWATVAN 8137: NOT car @0 id == #BANDITO 8137: NOT car @0 id == #BFINJECT8137: NOT car @0 id == #BLOODRA 004D: jump_if_false ££CARLITE_35 00D6: if 10019: @32 > 700 00E1: key_pressed 0 11 004D: jump_if_false ££CARLITE_350006: @32 = 0 ;; integer values000A: @1 += 1 ;; integer values00D6: if 00019: @1 > 2 ;; integer values004D: jump_if_false ££CARLITE_370006: @1 = 1 ;; integer values00D6: if 00019: @1 > 1 ;; integer values004D: jump_if_false ££CARLITE_400006: @1 = 2 ;; integer values:CARLITE_370001: wait 0 ms00D6: if 0 03D0: wav 3 loaded004D: jump_if_false ££CARLITE_37 03D1: play_wav 3040D: unload_wav 3020A: set_car @0 door_status_to @107CC: player $PLAYER_CHAR disable_key_15 00002: jump ££CARLITE_35:CARLITE_400001: wait 0 ms00D6: if 0 03D0: wav 3 loaded004D: jump_if_false ££CARLITE_40 03D1: play_wav 3040D: unload_wav 3020A: set_car @0 door_status_to @107CC: player $PLAYER_CHAR disable_key_15 10002: jump ££CARLITE_35:CARLITE_4301C3: remove_references_to_car @00006: @1 = 0 ;; integer values0002: jump ££CARLITE_33 Edited February 15, 2007 by Wesser Link to comment https://gtaforums.com/topic/266704-problem/ Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now