deleted account Posted March 13, 2018 Share Posted March 13, 2018 (edited) jf @ALPHAOMEGA_THREAD_267 01B6: set_weather 8 00BB: show_text_lowpriority GXT 'MEGA1' time 3000 flag 1 066A: [email protected] = attach_particle "FLAMETHROWER" to_actor [email protected] with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0 0883: attach_particle [email protected] to_actor [email protected] mode 1 064C: make_particle [email protected] visible wait 3200 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR Actor.GiveWeaponAndAmmo([email protected], Katana, 3) Theres not even more than 8 lines! Edited March 13, 2018 by SpicyDragon Link to comment Share on other sites More sharing options...
Sanmodder Posted March 13, 2018 Share Posted March 13, 2018 jf @ALPHAOMEGA_THREAD_267 01B6: set_weather 8 00BB: show_text_lowpriority GXT 'MEGA1' time 3000 flag 1 066A: [email protected] = attach_particle "FLAMETHROWER" to_actor [email protected] with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0 0883: attach_particle [email protected] to_actor [email protected] mode 1 064C: make_particle [email protected] visible wait 3200 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR Actor.GiveWeaponAndAmmo([email protected], Katana, 3) Theres not even more than 8 lines! you did not add a conditionif condition, to meet or, and max 8 if @next : next ------------------------------------------------------------------------ jf @ALPHAOMEGA_THREAD_267 01B6: set_weather 8 00BB: show_text_lowpriority GXT 'MEGA1' time 3000 flag 1 066A: [email protected] = attach_particle "FLAMETHROWER" to_actor [email protected] with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0 0883: attach_particle [email protected] to_actor [email protected] mode 1 064C: make_particle [email protected] visible wait 3200 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR Actor.GiveWeaponAndAmmo([email protected], Katana, 3) Theres not even more than 8 lines! Link to comment Share on other sites More sharing options...
GuruGuru Posted March 13, 2018 Share Posted March 13, 2018 (edited) Show the entire script, that snip doesn't help and pls use Edited March 13, 2018 by guru_guru deleted account 1 Link to comment Share on other sites More sharing options...
deleted account Posted March 13, 2018 Author Share Posted March 13, 2018 // This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} //-------------MAIN--------------- thread 'ALPHAOMEGA' :ALPHAOMEGA_THREAD_19 wait 0 if Player.Defined($PLAYER_CHAR) jf @ALPHAOMEGA_THREAD_19 if $ONMISSION == 0 jf @ALPHAOMEGA_THREAD_19 if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere -2092.3264 208.6313 34.8462 radius 50.0 50.0 50.0 jf @ALPHAOMEGA_THREAD_19 023C: load_special_actor 'SATAN' as 1 // models 290-299 023C: load_special_actor 'TYRANT' as 2 // models 290-299 04ED: load_animation "BSKTBALL" Model.Load(#WMYBELL) CLUCKING BELL MAN IS JUST TO TEST THE TYRANT PED BEFORE PUTTING THE TYRANT MODEL IN THE GAME Model.Load(#KATANA) :ALPHAOMEGA_THREAD_118 wait 0 if 023D: special_actor 1 loaded jf @ALPHAOMEGA_THREAD_118 [email protected] = Actor.Create(Mission1, #SPECIAL01, -2093.3896, 233.0052, 43.7880) Actor.Angle([email protected]) = 276.8935 Actor.Health([email protected]) = 10666 0446: set_actor [email protected] dismemberment_possible 0 04D8: set_actor [email protected] drowns_in_water 1 0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1 0575: set_actor [email protected] pinned_position 1 060B: set_actor [email protected] decision_maker_to 32 Actor.SetWalkStyle([email protected], "OLDMAN") 03FE: set_actor [email protected] money 0 Actor.SetImmunities([email protected], 1, 1, 1, 1, 1) Model.Destroy(#SPECIAL01) [email protected] = Actor.Create(Mission1, #SPECIAL01, -2093.9353, 190.1239, 43.7880) Actor.Angle([email protected]) = 276.8935 Actor.Health([email protected]) = 10666 0446: set_actor [email protected] dismemberment_possible 0 04D8: set_actor [email protected] drowns_in_water 1 0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1 0575: set_actor [email protected] pinned_position 1 060B: set_actor [email protected] decision_maker_to 32 Actor.SetWalkStyle([email protected], "OLDMAN") 03FE: set_actor [email protected] money 0 Actor.SetImmunities([email protected], 1, 1, 1, 1, 1) Model.Destroy(#SPECIAL01) [email protected] = Actor.Create(Mission1, #SPECIAL01, -2074.3057, 208.8524, 43.7880) Actor.Angle([email protected]) = 276.8935 Actor.Health([email protected]) = 10666 0446: set_actor [email protected] dismemberment_possible 0 04D8: set_actor [email protected] drowns_in_water 1 0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1 0575: set_actor [email protected] pinned_position 1 060B: set_actor [email protected] decision_maker_to 32 Actor.SetWalkStyle([email protected], "OLDMAN") 03FE: set_actor [email protected] money 0 Actor.SetImmunities([email protected], 1, 1, 1, 1, 1) Model.Destroy(#SPECIAL01) [email protected] = Actor.Create(Mission1, #SPECIAL01, -2112.5530, 208.2846, 43.7880) Actor.Angle([email protected]) = 276.8935 Actor.Health([email protected]) = 10666 0446: set_actor [email protected] dismemberment_possible 0 04D8: set_actor [email protected] drowns_in_water 1 0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1 0575: set_actor [email protected] pinned_position 1 060B: set_actor [email protected] decision_maker_to 32 Actor.SetWalkStyle([email protected], "OLDMAN") 03FE: set_actor [email protected] money 0 Actor.SetImmunities([email protected], 1, 1, 1, 1, 1) Model.Destroy(#SPECIAL01) [email protected] = Actor.Create(Mission1, #SPECIAL01, -2089.9656, 206.1573, 34.8991) Actor.Angle([email protected]) = 276.8935 Actor.Health([email protected]) = 666 0446: set_actor [email protected] dismemberment_possible 0 04D8: set_actor [email protected] drowns_in_water 1 0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1 060B: set_actor [email protected] decision_maker_to 32 Actor.SetWalkStyle([email protected], "OLDMAN") 03FE: set_actor [email protected] money 0 Actor.SetImmunities([email protected], 0, 0, 0, 0, 0) Model.Destroy(#SPECIAL01) [email protected] = Actor.Create(Mission2, #WMYBELL, -2102.1196, 206.6433, 65.2810) Actor.Angle([email protected]) = 276.8935 Actor.Health([email protected]) = 30666 0446: set_actor [email protected] dismemberment_possible 0 04D8: set_actor [email protected] drowns_in_water 1 0946: set_actor [email protected] actions_uninterupted_by_weapon_fire 1 0575: set_actor [email protected] pinned_position 1 0337: set_actor [email protected] visibility 0 060B: set_actor [email protected] decision_maker_to 32 Actor.SetWalkStyle([email protected], "MAN") 03FE: set_actor [email protected] money 0 Actor.SetImmunities([email protected], 1, 1, 1, 1, 1) Model.Destroy(#WMYBELL) 0812: AS_actor [email protected] perform_animation "BBALL_DEF_LOOP" IFP "BSKTBALL" framedelta 4.0 loopA 1 lockX 0 lockY 0 lockF 1 time -1 // versionB 0812: AS_actor [email protected] perform_animation "BBALL_DEF_LOOP" IFP "BSKTBALL" framedelta 4.0 loopA 1 lockX 0 lockY 0 lockF 1 time -1 // versionB 0812: AS_actor [email protected] perform_animation "BBALL_DEF_LOOP" IFP "BSKTBALL" framedelta 4.0 loopA 1 lockX 0 lockY 0 lockF 1 time -1 // versionB 0812: AS_actor [email protected] perform_animation "BBALL_DEF_LOOP" IFP "BSKTBALL" framedelta 4.0 loopA 1 lockX 0 lockY 0 lockF 1 time -1 // versionB 0812: AS_actor [email protected] perform_animation "BBALL_DEF_LOOP" IFP "BSKTBALL" framedelta 4.0 loopA 1 lockX 0 lockY 0 lockF 1 time -1 // versionB 02A3: enable_widescreen 1 0881: set_player $PLAYER_CHAR able_to_shoot_weapons 0 00BB: show_text_lowpriority GXT 'MEGA0' time 3000 flag 1 wait 5200 02A3: enable_widescreen 0 0881: set_player $PLAYER_CHAR able_to_shoot_weapons 1 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR :ALPHAOMEGA_THREAD_267 wait 0 if and Actor.Dead([email protected]) jf @ALPHAOMEGA_THREAD_267 01B6: set_weather 8 00BB: show_text_lowpriority GXT 'MEGA1' time 3000 flag 1 066A: [email protected] = attach_particle "FLAMETHROWER" to_actor [email protected] with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0 0883: attach_particle [email protected] to_actor [email protected] mode 1 064C: make_particle [email protected] visible wait 3200 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR Actor.GiveWeaponAndAmmo([email protected], Katana, 3) :ALPHAOMEGA_THREAD_267 wait 0 if Player.Defined($PLAYER_CHAR) jf @ALPHAOMEGA_THREAD_338 if not Actor.Dead([email protected]) jf @ALPHAOMEGA_THREAD_350 if 00F2: actor $PLAYER_ACTOR near_actor [email protected] radius 180.0 180.0 0 jf @ALPHAOMEGA_THREAD_338 jump @ALPHAOMEGA_THREAD_264 :ALPHAOMEGA_THREAD_338 Actor.RemoveReferences([email protected]) jump @ALPHAOMEGA_THREAD_19 :ALPHAOMEGA_THREAD_350 0A93: end_custom_thread jf @ALPHAOMEGA_THREAD_267 01B6: set_weather 8 00BB: show_text_lowpriority GXT 'MEGA1' time 3000 flag 1 066A: [email protected] = attach_particle "FLAMETHROWER" to_actor [email protected] with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0 0883: attach_particle [email protected] to_actor [email protected] mode 1 064C: make_particle [email protected] visible wait 3200 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR Actor.GiveWeaponAndAmmo([email protected], Katana, 3) Theres not even more than 8 lines! you did not add a conditionif condition, to meet or, and max 8 if @next : next ------------------------------------------------------------------------ jf @ALPHAOMEGA_THREAD_267 01B6: set_weather 8 00BB: show_text_lowpriority GXT 'MEGA1' time 3000 flag 1 066A: [email protected] = attach_particle "FLAMETHROWER" to_actor [email protected] with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0 0883: attach_particle [email protected] to_actor [email protected] mode 1 064C: make_particle [email protected] visible wait 3200 05E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR Actor.GiveWeaponAndAmmo([email protected], Katana, 3) Theres not even more than 8 lines! This isn't very clear on what the actual problem is, and you just reposted the snip with literally no changes to it at all Link to comment Share on other sites More sharing options...
GuruGuru Posted March 13, 2018 Share Posted March 13, 2018 (edited) You used "if and",it should be just 'if'. and & or are used for multiple conditions. Here ofc if and // <--- Actor.Dead([email protected])jf @ALPHAOMEGA_THREAD_26701B6: set_weather 800BB: show_text_lowpriority GXT 'MEGA1' time 3000 flag 1 066A: [email protected] = attach_particle "FLAMETHROWER" to_actor [email protected] with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0 0883: attach_particle [email protected] to_actor [email protected] mode 1 064C: make_particle [email protected] visiblewait 320005E2: AS_actor [email protected] kill_actor $PLAYER_ACTOR Actor.GiveWeaponAndAmmo([email protected], Katana, 3) Edited March 13, 2018 by guru_guru deleted account 1 Link to comment Share on other sites More sharing options...
deleted account Posted March 13, 2018 Author Share Posted March 13, 2018 Well I was trying to use the same method used in the Epsilon mod but alright Link to comment Share on other sites More sharing options...