Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
gtasanandreasmaster

plz help

Recommended Posts

gtasanandreasmaster

i know i am am a n00b allways posting topics but anyways

 

i have made this code for da gasme and it crashes plz help

 

 

032B: $TTT = create_weapon_pickup #SNIPER  15 ammo  600 at 118.581 -741.587 10.555032B: $NNN = create_weapon_pickup #LASER  15 ammo  600 at 117.645 -743.772 10.555032B: $BBB = create_weapon_pickup #GRENADE  15 ammo  600 at 116.610 -746.171 10.555032B: $DDD = create_weapon_pickup #TEARGAS  15 ammo  600 at 115.432 -748.879 10.555032B: $GGG = create_weapon_pickup #MISSILE  15 ammo  600 at 113.898 -752.171 10.555032B: $YYY = create_weapon_pickup #COLT45  15 ammo  600 at 112.444 -755.282 10.555032B: $AAA = create_weapon_pickup #PYTHON  15 ammo  600 at 107.184 -766.355 10.555032B: $HHH = create_weapon_pickup #CHROMEGUN  15 ammo  600 at 108.406 -763.809 10.555032B: $LLL = create_weapon_pickup #SHOTGSPA  15 ammo  600 at 109.864 -760.690 10.555032B: $FFF = create_weapon_pickup #BUDDYSHOT  15 ammo  600 at 111.182 -757.919 10.555032B: $VVV = create_weapon_pickup #TEC9  15 ammo  600 at 117.751 -738.998 10.555032B: $PPP = create_weapon_pickup #UZI  15 ammo  600 at 115.360 -738.128 10.555032B: $RRR = create_weapon_pickup #INGRAMSL  15 ammo  600 at 113.680 -737.325 10.555032B: $XXX = create_weapon_pickup #MP5LNG  15 ammo  600 at  111.809 -736.615 10.555032B: $MMM = create_weapon_pickup #M4  15 ammo  600 at 110.152 -736.209 10.555032B: $QQQ = create_weapon_pickup #RUGER  15 ammo  600 at  107.809 -735.565 10.555032B: $111 = create_weapon_pickup #ROCKETLA  15 ammo  600 at 105.873 -735.144 10.555032B: $222 = create_weapon_pickup #FLAME  15 ammo  600 at 103.766 -734.692 10.555032B: $333 = create_weapon_pickup #M60  15 ammo  600 at 100.972 -734.113 10.555032B: $444 = create_weapon_pickup #MINIGUN  15 ammo  600 at 98.497 -733.594 10.555

 

Share this post


Link to post
Share on other sites
jacob.
Be sure you are requesting and loading the models before calling those opcodes.

Share this post


Link to post
Share on other sites
gtasanandreasmaster

 

Be sure you are requesting and loading the models before calling those opcodes.

so the code is right it;s something else what i'm doing

but ive aded loads of weapons b4 and not got any trouble apart from little things which can easily be fixed

 

ive just aded a little bit off weapons to see if it was my game and dey work so it must be somet with the code i made

 

maybe all of those weapons arnt in group 15

 

EDIT:Ffixed my problem now game loads all of the weapons and dont crash it was in the last 4 codes at the begining i called the 111 222 333 444 and the game wunt accept them as a name i changed em to gtg hrh qwe jhr and it loads

Edited by gtasanandreasmaster

Share this post


Link to post
Share on other sites
PatrickW

That was indeed the problem, for pickups, you don't need to load models.

 

Whn you make up your own variable names, you should never use numerical-only names.

The reason is that the decompiler gives all variables it finds a numerical-name.

The result is that the same variable-name is used for two different purposes, which can lead to all kinda problems, even game-crash as you discovered.

Share this post


Link to post
Share on other sites
gtasanandreasmaster
That was indeed the problem, for pickups, you don't need to load models.

 

Whn you make up your own variable names, you should never use numerical-only names.

The reason is that the decompiler gives all variables it finds a numerical-name.

The result is that the same variable-name is used for two different purposes, which can lead to all kinda problems, even game-crash as you discovered.

thankz for tellinmg me i'll kep that in mind

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 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.