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

Happy Holidays from the GTANet team!

I Cant Trigger Mission


shrode
 Share

Recommended Posts

i defined my mission

 


DEFINE MISSIONS 81

DEFINE MISSION 0 AT @INTRO             // Intro Movie

DEFINE MISSION 1 AT @HEALTH            // Hospital Info Scene

DEFINE MISSION 2 AT @WANTED            // Police Station Info Scene

DEFINE MISSION 3 AT @RC1               // RC Diablo Destruction

DEFINE MISSION 4 AT @RC2               // RC Mafia Massacre

DEFINE MISSION 5 AT @RC3               // RC Rumpo Rampage

DEFINE MISSION 6 AT @RC4               // RC Casino Calamity

DEFINE MISSION 7 AT @T4X4_1            // Patriot Playground

DEFINE MISSION 8 AT @T4X4_2            // A Ride In The Park

DEFINE MISSION 9 AT @T4X4_3            // Gripped!

DEFINE MISSION 10 AT @MAYHEM           // Multistorey Mayhem

DEFINE MISSION 11 AT @AMBULAN          // Paramedic

DEFINE MISSION 12 AT @FIRETRU          // Firefighter

DEFINE MISSION 13 AT @COPCAR           // Vigilante

DEFINE MISSION 14 AT @TAXI             // Taxi Driver

DEFINE MISSION 15 AT @MEAT1            // The Crook

DEFINE MISSION 16 AT @MEAT2            // The Thieves

DEFINE MISSION 17 AT @MEAT3            // The Wife

DEFINE MISSION 18 AT @MEAT4            // Her Lover

DEFINE MISSION 19 AT @EIGHT            // Give Me Liberty and Luigi's Girls

DEFINE MISSION 20 AT @LUIGI2           // Don't Spank My Bitch Up

DEFINE MISSION 21 AT @LUIGI3           // Drive Misty For Me

DEFINE MISSION 22 AT @LUIGI4           // Pump-Action Pimp

DEFINE MISSION 23 AT @LUIGI5           // The Fuzz Ball

DEFINE MISSION 24 AT @JOEY1            // Mike Lips Last Lunch

DEFINE MISSION 25 AT @JOEY2            // Farewell 'Chunky' Lee Chong

DEFINE MISSION 26 AT @JOEY3            // Van Heist

DEFINE MISSION 27 AT @JOEY4            // Cipriani's Chauffeur

DEFINE MISSION 28 AT @JOEY5            // Dead Skunk In The Trunk

DEFINE MISSION 29 AT @JOEY6            // The Getaway

DEFINE MISSION 30 AT @TONI1            // Taking Out The Laundry

DEFINE MISSION 31 AT @TONI2            // The Pick-Up

DEFINE MISSION 32 AT @TONI3            // Salvatore's Called A Meeting

DEFINE MISSION 33 AT @TONI4            // Triads And Tribulations

DEFINE MISSION 34 AT @TONI5            // Blow Fish

DEFINE MISSION 35 AT @FRANK1           // Chaperone

DEFINE MISSION 36 AT @FRANK2           // Cutting The Grass

DEFINE MISSION 37 AT @FRANK21          // Bomb Da Base: Act I

DEFINE MISSION 38 AT @FRANK3           // Bomb Da Base: Act II

DEFINE MISSION 39 AT @FRANK4           // Last Requests

DEFINE MISSION 40 AT @DIABLO1          // Turismo

DEFINE MISSION 41 AT @DIABLO2          // I Scream, You Scream

DEFINE MISSION 42 AT @DIABLO3          // Trial By Fire

DEFINE MISSION 43 AT @DIABLO4          // Big'N'Veiny

DEFINE MISSION 44 AT @ASUKA1           // Sayonara Salvatore

DEFINE MISSION 45 AT @ASUKA2           // Under Surveillance

DEFINE MISSION 46 AT @ASUKA3           // Paparazzi Purge

DEFINE MISSION 47 AT @ASUKA4           // Payday For Ray

DEFINE MISSION 48 AT @ASUKA5           // Two-Faced Tanner

DEFINE MISSION 49 AT @KENJI1           // Kanbu Bust-Out

DEFINE MISSION 50 AT @KENJI2           // Grand Theft Auto

DEFINE MISSION 51 AT @KENJI3           // Deal Steal

DEFINE MISSION 52 AT @KENJI4           // Shima

DEFINE MISSION 53 AT @KENJI5           // Smack Down

DEFINE MISSION 54 AT @RAY1             // Silence The Sneak

DEFINE MISSION 55 AT @RAY2             // Arms Shortage

DEFINE MISSION 56 AT @RAY3             // Evidence Dash

DEFINE MISSION 57 AT @RAY4             // Gone Fishing

DEFINE MISSION 58 AT @RAY5             // Plaster Blaster

DEFINE MISSION 59 AT @RAY6             // Marked Man

DEFINE MISSION 60 AT @LOVE1            // Liberator

DEFINE MISSION 61 AT @LOVE2            // Waka-Gashira Wipeout!

DEFINE MISSION 62 AT @LOVE3            // A Drop In The Ocean

DEFINE MISSION 63 AT @YARD1            // Bling-Bling Scramble

DEFINE MISSION 64 AT @YARD2            // Uzi Rider

DEFINE MISSION 65 AT @YARD3            // Gangcar Round-Up

DEFINE MISSION 66 AT @YARD4            // Kingdom Come

DEFINE MISSION 67 AT @LOVE4            // Grand Theft Aero

DEFINE MISSION 68 AT @LOVE5            // Escort Service

DEFINE MISSION 69 AT @LOVE6            // Decoy

DEFINE MISSION 70 AT @LOVE7            // Love's Disappearance

DEFINE MISSION 71 AT @ASUSB1           // Bait

DEFINE MISSION 72 AT @ASUSB2           // Espresso-2-Go!

DEFINE MISSION 73 AT @ASUSB3           // S.A.M.

DEFINE MISSION 74 AT @HOOD1            // Uzi Money

DEFINE MISSION 75 AT @HOOD2            // Toyminator

DEFINE MISSION 76 AT @HOOD3            // Rigged To Blow

DEFINE MISSION 77 AT @HOOD4            // Bullion Run

DEFINE MISSION 78 AT @HOOD5            // Rumble

DEFINE MISSION 79 AT @CAT1             // The Exchange

DEFINE MISSION 80 AT @MEME

 

 

 

And then created a thread

 

 

 

:NONAME_77

0001: wait 0 ms

00D6: if

0256: player $PLAYER_CHAR defined

004D: jump_if_false @NONAME_77_83

00D6: if

0038: $ONMISSION == 0 // integer values

004D: jump_if_false @NONAME_77_83

00D6: if

0213: $MYPICKUP = create_pickup #KILLFRENZY type 3 at 812.0 -945.5 35.75

0214: pickup $MYPICKUP picked_up

004D: jump_if_false @NONAME_77_83

0417: start_mission 80

0004: $ONMISSION = 1 // integer values

 

:NONAME_77_83

0002: jump @NONAME_77

 

 

 

Then i created my mission at the uber very bottom of main.scm

 

 

 

 

[code=auto:0]

//-------------Mission 80---------------

 

:MEME

03A4: name_thread 'MEME'

0050: gosub @MEME_46

00D6: if

0112: wasted_or_busted

004D: jump_if_false @MEME_37

0050: gosub @MEME_66

 

:MEME_37

0050: gosub @MEME_68

004E: end_thread

 

:MEME_46

009A: $TONI4_MAFIA2 = create_actor 7 #GANG01 at 1215.875 -311.1875 29.0

0051: return

 

:MEME_66

0051: return

 

:MEME_68

0004: $ONMISSION = 0 // integer values

00D8: mission_cleanup

0051: return

 

 

 

 

My problem is when i standing at the

0213: $MYPICKUP = create_pickup #KILLFRENZY rampage_ani.gif type 3 at 812.0 -945.5 35.75

 

nothing happens confused.gif

Edited by shrode
Link to comment
Share on other sites

 

:NONAME_770001: wait 0 ms00D6: if0256: player $PLAYER_CHAR defined004D: jump_if_false @NONAME_77_8300D6: if0038: $ONMISSION == 0 // integer values004D: jump_if_false @NONAME_77_8300D6: if0213: $MYPICKUP = create_pickup #KILLFRENZY type 3 at 812.0 -945.5 35.750214: pickup $MYPICKUP picked_up004D: jump_if_false @NONAME_77_830417: start_mission 800004: $ONMISSION = 1 // integer values:NONAME_77_830002: jump @NONAME_77

 

 

Lets just take a look at this in a more readable way...

 

 

while true   wait 0   if       0256: player $PLAYER_CHAR defined   then       if           $ONMISSION == 0 // integer values       then           if               0213: $MYPICKUP = create_pickup #KILLFRENZY type 3 at 812.0 -945.5 35.75               0214: pickup $MYPICKUP picked_up           then               0417: start_mission 80               $ONMISSION = 1 // integer values           end       end   endend

 

 

So, not only do you treat the CREATE_PICKUP command as a condition, but you also run it in an infinite loop. Try this:

 

 

0213: $MYPICKUP = create_pickup #KILLFRENZY type 3 at 812.0 -945.5 35.75while true   wait 0   if       0256: player $PLAYER_CHAR defined   then       if           $ONMISSION == 0 // integer values       then           if               0214: pickup $MYPICKUP picked_up           then               0417: start_mission 80               $ONMISSION = 1               004E: end_thread    // we can finish, now           end       end   endend

 

Link to comment
Share on other sites

Sorry if i were a noob when it comes to something like this..

im a lil bit new about this coding stuff

 

so anyway..

 

you'd just made my day baby!

you fixed my problem like a boss,,thanks a lot buddy!

 

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.