rstomrs Posted August 2, 2007 Share Posted August 2, 2007 Whats wrong about this code or what needs to be added ? :TOM_00001: wait 100 ms03A4: name_thread 'PANC_1'0005: $2000 = 40.306680005: $2001 = 20.285150005: $2002 = 14.26602:TOM_102A7: $2003 = create_icon_marker_and_sphere 34 at $1036.5 $-954.9 $41.5 0004: $eiland_m1_on = 1:TOM_20001: wait 100 ms00D6: if 00038: $ON_MISSION == 0004D: jump_if_false ££TOM_500D6: if 10038: $ON_MISSION == 00038: $eiland_m1_on == 0004D: jump_if_false ££TOM_302A7: $2003 = create_icon_marker_and_sphere 34 at $1036.5 $-954.9 $41.5 0004: $eiland_m1_on = 1:TOM_300D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££TOM_200D6: if 000FF: actor $PLAYER_ACTOR 0 ()near_point_on_foot $1036.5 $-954.9 $41.5 radius 3.0 3.0 2.0004D: jump_if_false ££TOM_200D6: if 003EE: player $PLAYER_CHAR controllable004D: jump_if_false ££TOM_20164: disable_marker $20030004: $eiland_m1_on = 000BA: text_styled 'Tom' 1500 ms 20050: gosub ££PANCCAM0417: start_mission 135:TOM_40001: wait 0 ms00D6: if 00038: $m_135_tried == 1004D: jump_if_false ££TOM_40004: $m_135_tried = 000D6: if 00038: $m_135_done == 1004D: jump_if_false ££TOM_200BE: text_clear_all03E6: remove_text_box01E3: text_1number_styled 'M_PASS' 1000 5000 ms 10318: set_latest_mission_passed 'PANCA_1'030C: set_mission_points += 10394: play_music 101BD: $184 = current_time_in_ms0109: player $PLAYER_CHAR money += 10000110: clear_player $PLAYER_CHAR wanted_level004E: end_thread:TOM_500D6: if 00038: $eiland_m1_on == 1004D: jump_if_false ££TOM_20164: disable_marker $20030004: $eiland_m1_on = 00002: jump ££TOM_2:PANCCAM0002: jump ££PANCCAM5:PANCCAM10169: set_fade_color 0 0 0016A: fade 0 () 500 ms:PANCCAM200D6: if 0016B: fading004D: jump_if_false ££PANCCAM30001: wait 0 ms00BE: text_clear_all03E6: remove_text_box0002: jump ££PANCCAM2:PANCCAM300D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££PANCCAM4016A: fade 0 () 0 ms02EB: restore_camera_with_jumpcut0687: $PLAYER_ACTOR016A: fade 0 () 0 ms:PANCCAM40051: return:PANCCAM500D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false ££PANCCAM603E6: remove_text_box01B4: set_player $PLAYER_CHAR frozen_state 0 (frozen)0050: gosub ££PANCCAM1:PANCCAM60051: return:M_BEGIN0050: gosub £M_CODE00D6: if 00112: wasted_or_busted004D: jump_if_false £M_KLAAR0050: gosub £M_FAIL:M_KLAAR0050: gosub £M_OPSCHONEN004E: end_thread:M_CODE0247: request_model #VOODOO0247: request_model #MICRO_UZI 0247: request_model #BALLAS1 0247: request_model #COLT45 038B: load_requested_models00A5: @51 = create_vehicle #VOODOO at 1038.5 -954.9 41.5 0732: random_vehicle_generator_disable_modelID #VOODOO 0229: set_car @51 color_to 22 22 0587: set_vehicle @51 validate_position 0 0129: @50 = create_actor 25 #BALLAS1 in_car @51 driverseat 01C8: @52 = create_actor 25 #BALLAS1 in_car @51 passenger_seat 0 060A: unknown_create_entity 0 @110 02E2: set_actor @50 weapon_accuracy_to 9502E2: set_actor @52 weapon_accuracy_to 9507DD: set_actor @50 aggressiveness_to 8507DD: set_actor @52 aggressiveness_to 85077A: set_actor @50 default_action 4 to_actors_type 0 077A: set_actor @52 default_action 4 to_actors_type 0 0249: release_model #BALLAS1 01B2: give_actor @52 weapon 28 ammo 30000;; Load the weapon model before using this01B9: set_actor @52 armed_weapon_to 28 01B2: give_actor @50 weapon 28 ammo 30000;; Load the weapon model before using this0249: release_model #MICRO_UZI 01B9: set_actor @50 armed_weapon_to 28 020A: set_car @51 door_status_to 2 0175: set_car @51 z_angle_to 100.8 0224: set_car @51 health_to 2000 0112: wasted_or_busted004D: jump_if_false £M_FAIL0050: gosub £M_OPSCHONEN:M_PASS0004: $m_135_done = 10002: jump £M_OPSCHONEN:M_FAIL00BA: text_styled 'M_FAIL' 5000 ms 1; MISSION FAILED!:M_OPSCHONEN0004: $m_135_tried = 10051: return Got also couple of things i need to ask What are these for ? 02A7: $2003 = create_icon_marker_and_sphere 34 at $1036.5 $-954.9 $41.5 00FF: actor $PLAYER_ACTOR 0 ()near_point_on_foot $1036.5 $-954.9 $41.5 radius Last thing now, how do i make this : Create marker at coordinates 1000 1000 12, if you step in the marker the mission begins. Tom Link to comment Share on other sites More sharing options...
tomworld10 Posted August 5, 2007 Share Posted August 5, 2007 Hi, Welcome Tom Because we are humans and not debugging programms, it would be much easier for us to help you if you tell us what's wrong with you're code. So please tell us what's wrong, thank you in advance. When you post code and/or when you ask questions please tell us which game you're talking this is a joint game forum, obviously here it is san andreas but it is easier when it is told. About 2a7 and 00ff the best for you should be to look here (a bit lower). It will as well answer your last question. Finally I advice you to switch to Sanny Builder, it's a very good tool, and it is the only mission builder still supported today. Keep it up your coding look verry good. Have fun 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