Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Limit?


NotAvailableToday
 Share

Recommended Posts

NotAvailableToday

Hey,

I got a problem, in my script after a cutscene they actors should kill cj, but after I killed the first iraqi the second part is coming and the first iraqis are doing nothing, I dunno why, but I think it is because of the if and because there are to much opcodes but I dunno sad.gif

 

Code part

 

 

//after Cutscene02A3: enable_widescreen 0 0826: enable_hud 1 0581: enable_radar 1 015A: restore_camera wait 0 ms:SCENE2_17750615: define_AS_pack_begin $kill 05BF: AS_actor -1 look_at_actor $PLAYER_ACTOR 1000 ms 0638: AS_actor -1 stay_put 1 05E2: AS_actor -1 kill_actor $PLAYER_ACTOR 0616: define_AS_pack_end $kill 0618: assign_actor $iraq006 to_AS_pack $kill 0618: assign_actor $iraq008 to_AS_pack $kill 0618: assign_actor $iraq009 to_AS_pack $kill 0618: assign_actor $iraq0011 to_AS_pack $kill 0618: assign_actor $iraq0012 to_AS_pack $kill 0618: assign_actor $iraq0013 to_AS_pack $kill 0618: assign_actor $iraq0014 to_AS_pack $kill 0618: assign_actor $iraq0015 to_AS_pack $kill 0618: assign_actor $iraq0016 to_AS_pack $kill 0187: $MARKER1 = create_marker_above_actor $iraq006 0187: $MARKER2 = create_marker_above_actor $iraq008 0187: $MARKER3 = create_marker_above_actor $iraq009 0187: $MARKER4 = create_marker_above_actor $iraq00110187: $MARKER5 = create_marker_above_actor $iraq00120187: $MARKER6 = create_marker_above_actor $iraq0013 0187: $MARKER7 = create_marker_above_actor $iraq0014 0187: $MARKER8 = create_marker_above_actor $iraq0015 0187: $MARKER9 = create_marker_above_actor $iraq001605D3: AS_actor $iraq0012 goto_point -785.0366 1550.4641 27.1172 mode 6 7000 ms // versionA 05D3: AS_actor $iraq0013 goto_point -786.0465 1546.9272 27.1134 mode 6 7000 ms // versionA 05D3: AS_actor $iraq0014 goto_point -783.7072 1535.2219 26.9609 mode 6 20000 ms // versionA 04EB: AS_actor $iraq0011 crouch 1 04EB: AS_actor $iraq0016 crouch 1 0635: AS_actor $iraq0016 aim_at_actor $PLAYER_ACTOR 9999999 ms 0635: AS_actor $iraq0015 aim_at_actor $PLAYER_ACTOR 9999999 ms 00BC: show_text_highpriority GXT 'IRAQ15' time 3000 flag 1 wait 10000 ms:SCENE2_1190wait 0 msif and //here?0118:   actor $iraq0016 dead 0118:   actor $iraq0011 dead 0118:   actor $iraq0012 dead 0118:   actor $iraq0013 dead 0118:   actor $iraq0014 dead 0118:   actor $iraq0015 dead 0118:   actor $iraq006 dead 0118:   actor $iraq008 dead 0118:   actor $iraq009 dead jf @SCENE2_11900164: disable_marker $MARKER10164: disable_marker $MARKER20164: disable_marker $MARKER30164: disable_marker $MARKER40164: disable_marker $MARKER50164: disable_marker $MARKER60164: disable_marker $MARKER70164: disable_marker $MARKER80164: disable_marker $MARKER900BC: show_text_highpriority GXT 'IRAQ16' time 3000 flag 1 02A7: $bomb = create_icon_marker_and_sphere 14 at -721.8484 1437.0945 18.4766//new iraqis 1009A: $iraq0017 = create_actor_pedtype 4 model #WMOTR1 at -740.9534 1441.5773 19.5651009A: $iraq0018 = create_actor_pedtype 4 model #VWMYCD at -768.9609 1481.9673 28.9957 009A: $iraq0019 create_actor_pedtype 4 model #VHMYCR at -779.499 1501.389 23.8561009A: $iraq0020 = create_actor_pedtype 4 model #SOMYST at -781.959 1500.5502 23.64  009A: $iraq0021 = create_actor_pedtype 4 model #SBMYRI at -794.7294 1509.1049 22.3951009A: $iraq0022 = create_actor_pedtype 4 model #SBMOST at -741.4908 1504.0331 28.3257 009A: $iraq0023 = create_actor_pedtype 4 model #VHMYCR at -718.8036 1478.2856 23.1662  0173: set_actor $iraq0017 Z_angle_to 14.5865 0173: set_actor $iraq0018 Z_angle_to 349.3708 0173: set_actor $iraq0019 Z_angle_to 258.36220173: set_actor $iraq0020 Z_angle_to 278.36090173: set_actor $iraq0021 Z_angle_to 272.83050173: set_actor $iraq0022 Z_angle_to 74.55910173: set_actor $iraq0023 Z_angle_to 78.303401B2: give_actor $iraq0017 weapon 30 ammo 9999 // Load the weapon model before using this 01B2: give_actor $iraq0018 weapon 30 ammo 9999 // Load the weapon model before using this 01B2: give_actor $iraq0019 weapon 30 ammo 9999 // Load the weapon model before using this 01B2: give_actor $iraq0020 weapon 30 ammo 9999 // Load the weapon model before using this 01B2: give_actor $iraq0021 weapon 30 ammo 9999 // Load the weapon model before using this 01B2: give_actor $iraq0022 weapon 35 ammo 9999 // Load the weapon model before using this 01B2: give_actor $iraq0023 weapon 30 ammo 9999 // Load the weapon model before using this 01B9: set_actor $iraq0017 armed_weapon_to 30 01B9: set_actor $iraq0018 armed_weapon_to 30 01B9: set_actor $iraq0019 armed_weapon_to 30 01B9: set_actor $iraq0020 armed_weapon_to 30 01B9: set_actor $iraq0021 armed_weapon_to 30 01B9: set_actor $iraq0022 armed_weapon_to 30 01B9: set_actor $iraq0023 armed_weapon_to 30 04EB: AS_actor $iraq0018 crouch 1 04EB: AS_actor $iraq0019 crouch 1 0635: AS_actor $iraq0017 aim_at_actor $PLAYER_ACTOR 9999999 ms 0635: AS_actor $iraq0018 aim_at_actor $PLAYER_ACTOR 9999999 ms 0635: AS_actor $iraq0019 aim_at_actor $PLAYER_ACTOR 9999999 ms 0635: AS_actor $iraq0021 aim_at_actor $PLAYER_ACTOR 9999999 ms 0635: AS_actor $iraq0022 aim_at_actor $PLAYER_ACTOR 9999999 ms 0635: AS_actor $iraq0023 aim_at_actor $PLAYER_ACTOR 9999999 ms 05D3: AS_actor $iraq0020 goto_point -774.6465 1508.6332 25.046 mode 6 7000 ms // versionA 0615: define_AS_pack_begin $kill1 05BF: AS_actor -1 look_at_actor $PLAYER_ACTOR 1000 ms 0638: AS_actor -1 stay_put 1 05E2: AS_actor -1 kill_actor $kill1 0616: define_AS_pack_end $kill1 0618: assign_actor $iraq0017 to_AS_pack $kill1 0618: assign_actor $iraq0018 to_AS_pack $kill10618: assign_actor $iraq0019 to_AS_pack $kill1 0618: assign_actor $iraq0020 to_AS_pack $kill10618: assign_actor $iraq0021 to_AS_pack $kill10618: assign_actor $iraq0022 to_AS_pack $kill10618: assign_actor $iraq0023 to_AS_pack $kill10187: $MARKER10 = create_marker_above_actor $iraq00170187: $MARKER11 = create_marker_above_actor $iraq00180187: $MARKER12 = create_marker_above_actor $iraq00190187: $MARKER13 = create_marker_above_actor $iraq00200187: $MARKER14 = create_marker_above_actor $iraq00210187: $MARKER15 = create_marker_above_actor $iraq00220187: $MARKER16 = create_marker_above_actor $iraq0023wait 10000 ms

 

 

Thanks smile.gif

Edited by Zombie.modder
Link to comment
Share on other sites

2pacproducer2

Try using local variables like [email protected] [email protected] [email protected] for the actors, instead of this $iraq0017

 

or instead of these lines:

 

:SCENE2_17750615: define_AS_pack_begin $kill05BF: AS_actor -1 look_at_actor $PLAYER_ACTOR 1000 ms0638: AS_actor -1 stay_put 105E2: AS_actor -1 kill_actor $PLAYER_ACTOR0616: define_AS_pack_end $kill0618: assign_actor $iraq006 to_AS_pack $kill0618: assign_actor $iraq008 to_AS_pack $kill0618: assign_actor $iraq009 to_AS_pack $kill0618: assign_actor $iraq0011 to_AS_pack $kill0618: assign_actor $iraq0012 to_AS_pack $kill0618: assign_actor $iraq0013 to_AS_pack $kill0618: assign_actor $iraq0014 to_AS_pack $kill0618: assign_actor $iraq0015 to_AS_pack $kill0618: assign_actor $iraq0016 to_AS_pack $kill

 

 

use

 

 

:SCENE2_1775077A: set_actor $iraq006 acquaintance 4 to_actors_pedtype 0 // see ped.dat 077A: set_actor $iraq008 acquaintance 4 to_actors_pedtype 0 // see ped.dat077A: set_actor $iraq009 acquaintance 4 to_actors_pedtype 0 // see ped.dat077A: set_actor $iraq0011 acquaintance 4 to_actors_pedtype 0 // see ped.dat077A: set_actor $iraq0012 acquaintance 4 to_actors_pedtype 0 // see ped.dat077A: set_actor $iraq0013 acquaintance 4 to_actors_pedtype 0 // see ped.dat077A: set_actor $iraq0014 acquaintance 4 to_actors_pedtype 0 // see ped.dat077A: set_actor $iraq0015 acquaintance 4 to_actors_pedtype 0 // see ped.dat077A: set_actor $iraq0016 acquaintance 4 to_actors_pedtype 0 // see ped.dat

 

 

 

or

You missed $iraq007 actor in the lines. I'm too tired now to see the script in game and edit it in SB.

 

 

Edited by 2pacproducer2
Link to comment
Share on other sites

 

Hey,

I got a problem, in my script after a cutscene they actors should kill cj, but after I killed the first iraqi the second part is coming and the first iraqis are doing nothing, I dunno why, but I think it is because of the if and because there are to much  opcodes but I dunno sad.gif

 

Code part

 

 

 

Thanks smile.gif

Who is actor $kill1 ?

 

0615: define_AS_pack_begin $kill1

05BF: AS_actor -1 look_at_actor $PLAYER_ACTOR 1000 ms

0638: AS_actor -1 stay_put 1

 

05E2: AS_actor -1 kill_actor $kill1

 

0616: define_AS_pack_end $kill1

 

 

 

Edited by ZAZ
Link to comment
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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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