Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

I need help with my (BRIEFCASE PICKUP)


mor115
 Share

Recommended Posts

help i have tried to make a BRIEFCASE PICKUP i would make a briefcase when tommy walks in another briefcase comes on the map i have tried but i have make something wrong all my briefcases are on the map on sametime that the problom please i need help

 

seee yaaa xmas.gifxmas.gifxmas.gif

 

Merry Chrismas

Link to comment
Share on other sites

If you are trying to say this: When tommy walks into a briefcase, you want it to disapear and then create another briefcase somewhere else and you would also like to have a marker on the map for each one. Then I can help you.

 

This code not only creates a marker on the map, but also creates an arrow above the pickup that is created:

 

:Firstpickup0213: $BRIEFCASE_1 = create_pickup -120 (BRIEFCASE) type  3 at X Y Z03DC: $BRIEFCASE_MARKER_1 = create_marker_above_pickup $BRIEFCASE_1

 

 

When it is picked up as you would like to say, add this code:

 

:Pickedup00D6: if  08214:   NOT   pickup $BRIEFCASE_1 picked_up004D: jump_if_false £Aftercollection0001: wait  0 ms0002: jump £Pickedup

 

 

This code means in english that if the briefcase is picked up, the script will automaticly jump the listed code as shown below taken from the script above

004D: jump_if_false £Aftercollection

 

 

That then leeds you to the next step, in otherwords you now need to write in what will happen when it is picked up so this is how it should be:

Step 1:

:Aftercollection0164: disable_marker $BRIEFCASE_MARKER_1

 

First you need to disable the current marker

 

Step 2:

0213: $BRIEFCASE_2 = create_pickup -120 (BRIEFCASE) type  3 at X Y Z03DC: $BRIEFCASE_MARKER_2 = create_marker_above_pickup $BRIEFCASE_2

 

Then you can create your second pickup somewhere else, just replace X Y Z with your coords. You can do this with as many pickups you want and this does not only apply to this pickup however it applys to all pickups including weapons, bribes, health and so-on.

 

All together, you should be left with the following code:

 

:Firstpickup0213: $BRIEFCASE_1 = create_pickup -120 (BRIEFCASE) type  3 at X Y Z03DC: $BRIEFCASE_MARKER_1 = create_marker_above_pickup $BRIEFCASE_1:Pickedup00D6: if  08214:   NOT   pickup $BRIEFCASE_1 picked_up004D: jump_if_false £Aftercollection0001: wait  0 ms0002: jump £Pickedup:Aftercollection0164: disable_marker $BRIEFCASE_MARKER_10213: $BRIEFCASE_2 = create_pickup -120 (BRIEFCASE) type  3 at X Y Z03DC: $BRIEFCASE_MARKER_2 = create_marker_above_pickup $BRIEFCASE_2:Pickedup_200D6: if  08214:   NOT   pickup $BRIEFCASE_1 picked_up004D: jump_if_false £Aftercollection_20001: wait  0 ms0002: jump £Pickedup_2

 

 

At £Aftercollection_2 you can just copy £Aftercollection and change the codes to continue with more briefcases.

 

Hope that helped icon14.gif

Edited by ms.cooldude
Link to comment
Share on other sites

You have made a whole load of topics, some of them multiple times. How much have you actually done yourself? There are pinned topics with tutorials and plenty of examples of code (especially in the original SCM). Please read up some more and take things at a pace you can manage, we're here to help when you get stuck after trying everything else, not to do it for you before you've even tried yourself.

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.