Wesser Posted December 12, 2006 Share Posted December 12, 2006 Hi! I have modified this external script (BARBER) and when enter the place of the barber, CJ is jammed. Help me! This is the external script: ;-----------------------------------------------------DEFINE EXTERNAL_SCRIPT_START BARBER0005: $9758 = 0.0 ;; floating-point values0005: $9759 = 0.0 ;; floating-point values0005: $9760 = 0.0 ;; floating-point values0005: $9761 = 0.0 ;; floating-point values0005: $9762 = 0.0 ;; floating-point values0005: $9763 = 0.0 ;; floating-point values0005: $9764 = 0.0 ;; floating-point values0005: $9765 = 0.0 ;; floating-point values0005: $9766 = 0.0 ;; floating-point values0005: $9767 = 0.0 ;; floating-point values0005: $9768 = 0.0 ;; floating-point values0005: $9769 = 0.0 ;; floating-point values0005: $9770 = 0.0 ;; floating-point values0005: $9771 = 0.0 ;; floating-point values0005: $9772 = 0.0 ;; floating-point values0005: $9773 = 0.0 ;; floating-point values0005: $9774 = 0.0 ;; floating-point values0005: $9775 = 0.0 ;; floating-point values0005: $9776 = 0.0 ;; floating-point values0005: $9777 = 0.0 ;; floating-point values0005: $9778 = 0.0 ;; floating-point values0005: $9779 = 0.0 ;; floating-point values0005: $9780 = 0.0 ;; floating-point values0005: $9781 = 0.0 ;; floating-point values0005: $9782 = 0.0 ;; floating-point values0005: $9783 = 0.0 ;; floating-point values0005: $9784 = 0.0 ;; floating-point values0005: $9785 = 0.0 ;; floating-point values0005: $9786 = 0.0 ;; floating-point values0005: $9787 = 0.0 ;; floating-point values0005: $9753 = 0.0 ;; floating-point values0004: $9752 = 0 ;; integer values0005: $9788 = 0.0 ;; floating-point values0005: $9789 = 0.0 ;; floating-point values0005: $9790 = 0.0 ;; floating-point values0005: $9791 = 0.0 ;; floating-point values0005: $9792 = 0.0 ;; floating-point values0005: $9793 = 0.0 ;; floating-point values0004: $9750 = 0 ;; integer values0004: $9734 = 0 ;; integer values0005: $9738 = 0.0 ;; floating-point values0004: $9739 = 0 ;; integer values0004: $9744 = 0 ;; integer values0005: $9745 = 0.0 ;; floating-point values0005: $9746 = 0.0 ;; floating-point values0005: $9747 = 0.0 ;; floating-point values0005: $9748 = 0.0 ;; floating-point values0004: $9749 = 0 ;; integer values0004: $2751 = 0 ;; integer values0004: $2545 = 0 ;; integer values0004: $2544 = 0 ;; integer values0004: $9797 = 0 ;; integer values0004: $9800 = 0 ;; integer values0004: $9801 = 0 ;; integer values0004: $9802 = 0 ;; integer values0004: $9804 = 0 ;; integer values0004: $9805 = 0 ;; integer values00D6: if 0 05AD: s$706 == 'BARBERS' ;; 8-byte strings004D: jump_if_false £EXT_2_62 04AE: unknown $2415 radar_icon_or_model 156 :EXT_2_6200D6: if 0 05AD: s$706 == 'BARBER2' ;; 8-byte strings004D: jump_if_false £EXT_2_66 04AE: unknown $2415 radar_icon_or_model 177 :EXT_2_6600D6: if 0 05AD: s$706 == 'BARBER3' ;; 8-byte strings004D: jump_if_false £EXT_2_70 04AE: unknown $2415 radar_icon_or_model 176 :EXT_2_700247: request_model $2415 03CF: load_wav 4400 as 4038B: load_requested_models0111: set_wasted_busted_check_to 0 (disabled) 03A4: name_thread 'BARB' :BARB_20001: wait 0 ms 00D6: if 0 0018: $9744 > 0 ;; integer values004D: jump_if_false £BARB_21 00D6: if 0 0A0F: (unknown)004D: jump_if_false £BARB_21 0004: $2418 = 0 ;; integer values0004: $2420 = 0 ;; integer values09FB: $154 = unknown_get_display_mode_or_gxt_file_used:BARB_2100D6: if 0 0038: $9744 == 0 ;; integer values004D: jump_if_false £BARB_54 00D6: if 0 05AD: s$706 == 'BARBERS' ;; 8-byte strings004D: jump_if_false £BARB_34 0005: $9794 = 0.0 ;; floating-point values0005: $9795 = 0.0 ;; floating-point values0005: $9796 = 0.0 ;; floating-point values05A9: s$9740 = s$706 ;; 8-byte strings075F: $9729 = get_object_model_number0004: $9797 = 0 ;; integer values0004: $9744 = 1 ;; integer values:BARB_3400D6: if 0 05AD: s$706 == 'BARBER2' ;; 8-byte strings004D: jump_if_false £BARB_44 0005: $9794 = 6.987 ;; floating-point values0005: $9795 = -61.401 ;; floating-point values0005: $9796 = 0.0 ;; floating-point values05A9: s$9740 = s$706 ;; 8-byte strings075F: $9729 = get_object_model_number0004: $9797 = 0 ;; integer values0004: $9744 = 1 ;; integer values:BARB_4400D6: if 0 05AD: s$706 == 'BARBER3' ;; 8-byte strings004D: jump_if_false £BARB_54 0005: $9794 = .371 ;; floating-point values0005: $9795 = -31.421 ;; floating-point values0005: $9796 = 0.0 ;; floating-point values05A9: s$9740 = s$706 ;; 8-byte strings075F: $9729 = get_object_model_number0004: $9797 = 0 ;; integer values0004: $9744 = 1 ;; integer values:BARB_5400D6: if 0 0038: $9744 == 1 ;; integer values004D: jump_if_false £BARB_162 03F0: text_draw_toggle 108F8: 0 0793: (unknown)0005: $678 = 414.3 ;; floating-point values0059: $678 += $9794 ;; floating-point values0005: $679 = -19.9 ;; floating-point values0059: $679 += $9795 ;; floating-point values0005: $680 = 1000.806 ;; floating-point values0059: $680 += $9796 ;; floating-point values0005: $9753 = 90.0 ;; floating-point values0005: $9745 = 414.3 ;; floating-point values000D: $9745 -= .027 ;; floating-point values0059: $9745 += $9794 ;; floating-point values0005: $9746 = -19.9 ;; floating-point values0009: $9746 += 1.898 ;; floating-point values0059: $9746 += $9795 ;; floating-point values0005: $9747 = 1000.86 ;; floating-point values0005: $9748 = 180.0 ;; floating-point values0005: $9758 = 412.0009 ;; floating-point values0059: $9758 += $9794 ;; floating-point values0005: $9759 = -19.8018 ;; floating-point values0059: $9759 += $9795 ;; floating-point values0005: $9760 = 1001.765 ;; floating-point values0059: $9760 += $9796 ;; floating-point values0005: $9761 = 412.8502 ;; floating-point values0059: $9761 += $9794 ;; floating-point values0005: $9762 = -19.2749 ;; floating-point values0059: $9762 += $9795 ;; floating-point values0005: $9763 = 1001.797 ;; floating-point values0059: $9763 += $9796 ;; floating-point values0005: $9764 = 414.9329 ;; floating-point values0059: $9764 += $9794 ;; floating-point values0005: $9765 = -18.4475 ;; floating-point values0059: $9765 += $9795 ;; floating-point values0005: $9766 = 1002.286 ;; floating-point values0059: $9766 += $9796 ;; floating-point values0005: $9767 = 414.0564 ;; floating-point values0059: $9767 += $9794 ;; floating-point values0005: $9768 = -18.7965 ;; floating-point values0059: $9768 += $9795 ;; floating-point values0005: $9769 = 1001.955 ;; floating-point values0059: $9769 += $9796 ;; floating-point values0005: $9770 = 412.649 ;; floating-point values0059: $9770 += $9794 ;; floating-point values0005: $9771 = -19.7078 ;; floating-point values0059: $9771 += $9795 ;; floating-point values0005: $9772 = 1001.992 ;; floating-point values0059: $9772 += $9796 ;; floating-point values0005: $9773 = 413.3581 ;; floating-point values0059: $9773 += $9794 ;; floating-point values0005: $9774 = -19.0046 ;; floating-point values0059: $9774 += $9795 ;; floating-point values0005: $9775 = 1002.043 ;; floating-point values0059: $9775 += $9796 ;; floating-point values0005: $9776 = 414.5509 ;; floating-point values0059: $9776 += $9794 ;; floating-point values0005: $9777 = -20.8773 ;; floating-point values0059: $9777 += $9795 ;; floating-point values0005: $9778 = 1001.405 ;; floating-point values0059: $9778 += $9796 ;; floating-point values0005: $9779 = 414.0572 ;; floating-point values0059: $9779 += $9794 ;; floating-point values0005: $9780 = -20.025 ;; floating-point values0059: $9780 += $9795 ;; floating-point values0005: $9781 = 1001.578 ;; floating-point values0059: $9781 += $9796 ;; floating-point values0005: $9782 = 412.5159 ;; floating-point values0059: $9782 += $9794 ;; floating-point values0005: $9783 = -21.7447 ;; floating-point values0059: $9783 += $9795 ;; floating-point values0005: $9784 = 1001.946 ;; floating-point values0059: $9784 += $9796 ;; floating-point values0005: $9785 = 412.9438 ;; floating-point values0059: $9785 += $9794 ;; floating-point values0005: $9786 = -20.8411 ;; floating-point values0059: $9786 += $9795 ;; floating-point values0005: $9787 = 1001.963 ;; floating-point values0059: $9787 += $9796 ;; floating-point values0005: $9788 = 411.957 ;; floating-point values0059: $9788 += $9794 ;; floating-point values0005: $9789 = -19.779 ;; floating-point values0059: $9789 += $9795 ;; floating-point values0005: $9790 = 1000.836 ;; floating-point values0059: $9790 += $9796 ;; floating-point values0005: $9791 = 411.795 ;; floating-point values0059: $9791 += $9794 ;; floating-point values0005: $9792 = -23.3 ;; floating-point values0059: $9792 += $9795 ;; floating-point values0005: $9793 = 1000.836 ;; floating-point values0059: $9793 += $9796 ;; floating-point values009A: $9731 = create_actor 4 $2415 at $9745 $9746 $9747 0173: set_actor $9731 z_angle_to $9748 02A9: set_actor $9731 immune_to_nonplayer 1 0004: $9797 = 0 ;; integer values0004: $9744 = 2 ;; integer values :BARB_16200D6: if 0 0038: $9744 == 2 ;; integer values004D: jump_if_false £BARB_222 07B0: s$706 = get_active_interior_name00D6: if 0 85AD: NOT s$706 == s$9740 ;; 8-byte strings004D: jump_if_false £BARB_170 :BARB_17000D6: if 0 8118: NOT actor $9731 dead004D: jump_if_false £BARB_215 00D6: if 0 0038: $2749 == 0 ;; integer values004D: jump_if_false £BARB_207 00D6: if 22 02E0: actor $PLAYER_ACTOR aggressive0457: player $PLAYER_CHAR aiming_at_actor $9731 031D: actor $9731 hit_by_weapon 57 004D: jump_if_false £BARB_186 0004: $2749 = 1 ;; integer values0002: jump £BARB_206 :BARB_18600D6: if 0 0038: $9802 == 0 ;; integer values004D: jump_if_false £BARB_196 077E: $9803 = active_interior00D6: if 0 8038: NOT $9803 == 0 ;; integer values004D: jump_if_false £BARB_196 0004: $9802 = 1 ;; integer values:BARB_1960004: $128 = 1 ;; integer values 00D6: if 0 03EE: player $PLAYER_CHAR controllable004D: jump_if_false £BARB_206 0004: $9797 = 0 ;; integer values0004: $9744 = 3 ;; integer values:BARB_2060002: jump £BARB_214 :BARB_207 07B0: s$706 = get_active_interior_name00D6: if 0 85AD: NOT s$706 == s$9740 ;; 8-byte strings004D: jump_if_false £BARB_213 :BARB_2130002: jump £BARB_2 :BARB_2140002: jump £BARB_222 :BARB_215 07B0: s$706 = get_active_interior_name00D6: if 0 85AD: NOT s$706 == s$9740 ;; 8-byte strings004D: jump_if_false £BARB_221 :BARB_2210002: jump £BARB_2 :BARB_22200D6: if 0 0038: $9744 == 3 ;; integer values004D: jump_if_false £BARB_235 01B4: set_player $PLAYER_CHAR frozen_state 0 (frozen) 09BD: 1 0581: toggle_radar 0 (off) 01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 0792: $PLAYER_ACTOR 0395: clear_area 1 at $69 $70 $71 range 1.0 0006: @32 = 0 ;; integer values0004: $9797 = 0 ;; integer values0004: $9744 = 4 ;; integer values:BARB_23500D6: if 0 0038: $9744 == 4 ;; integer values004D: jump_if_false £BARB_281 00D6: if 0 0118: actor $9731 dead004D: jump_if_false £BARB_248 07B0: s$706 = get_active_interior_name00D6: if 0 85AD: NOT s$706 == s$9740 ;; 8-byte strings004D: jump_if_false £BARB_247 :BARB_2470002: jump £BARB_2 :BARB_24800D6: if 0 0029: @32 >= 300 ;; integer values004D: jump_if_false £BARB_281 00D6: if 22 8044: NOT $2755 == $9745 ;; floating-point values 8044: NOT $2756 == $9746 ;; floating-point values 8044: NOT $2757 == $9747 ;; floating-point values 004D: jump_if_false £BARB_259 :BARB_259 0793: (unknown) 0005: $9738 = 0.0 ;; floating-point values 010B: $2754 = player $PLAYER_CHAR money00D6: if 0 0038: $676 == 0 ;; integer values004D: jump_if_false £BARB_278 00D6: if 0 0038: $169 == 1 ;; integer values004D: jump_if_false £BARB_278 00D6: if 0 001A: 50 > $2754 ;; integer values004D: jump_if_false £BARB_278 :BARB_278 0004: $9797 = 0 ;; integer values0004: $9744 = 5 ;; integer values:BARB_28100D6: if 0 0038: $9744 == 5 ;; integer values004D: jump_if_false £BARB_308 00D6: if 0 0118: actor $9731 dead004D: jump_if_false £BARB_294 07B0: s$706 = get_active_interior_name00D6: if 0 85AD: NOT s$706 == s$9740 ;; 8-byte strings004D: jump_if_false £BARB_293 :BARB_2930002: jump £BARB_2 :BARB_294 004D: jump_if_false £BARB_298:BARB_29800D6: if 0 0042: $9738 == 1.0 ;; floating-point values004D: jump_if_false £BARB_308 0004: $9797 = 0 ;; integer values0004: $9744 = 6 ;; integer values:BARB_308 07B0: s$706 = get_active_interior_name00D6: if 0 85AD: NOT s$706 == s$9740 ;; 8-byte strings004D: jump_if_false £BARB_320 :BARB_3200002: jump £BARB_2 012 345 678 9A BCD EFG HIJK LMN OPQR STUV WX YZ Link to comment 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