Grand Theft Auto: San Andreas

Mission Coding for Dummies - MPACKs

Mission Coding for Dummies - MPACKs

Mission Coding for Dummies - MPACKs Tutorial screenshot


This is a handy "tool" for scm-coders, that's why I will explain how it works.

First notice that this isn't made by modders, but is added by Rockstar. When you use this, you can choose between more then 1 SCM-file at once. This way you don't have to edit the main.scm in "Program Files > Rockstar Games > GTA San Andreas > Data > Script" everytime, so you can play your own savegames in the original game whenever you want. Like you probably know, you have to start New Game when you make a SCM script, and it is annoying to switch between SCM-files. That is the biggest advantage of MPACKs. Another advantage is that you don't have to start San Andreas everytime you make a change in your code, you can simply start new game.

In an MPACK there are 4 files:

scr.scm (a file in the same format as the normal main.scm)
text.gxt (a normal gxt file)
MPACK.dat (Setting the title for this MPACK)
scr.txt (The source of scr.scm, only needed during development, not when releasing

In this tutorial I will explain how to make a MPACK. First, the MPACK has to be in the "GTA San Andreas User Files" folder, in "My Documents". The first thing you have to do, is make a folder called "MPACK" in User Files folder. You can make up to a maximum of 9 MPACKS, which have there own folder in the MPACK folder. You can compare it to the slots of the savegames. The number behind "MPACK" says which "slot" the MPACK uses.

So in the "MPACKx" folder (x is a number between 1 and 9) have to be 4 files: scr.scm, scr.txt, text.gxt and mpack.dat. The first three will speak for themselves, but the fourth needs some explanation. You have to make a notepad file, in which you have type (for example): "7#Test#". The 7 has to correspond with the "slot" of the MPACK. So when you are using "MPACK7", there has to be a 7. Between the # has to be the name of the MPACK, which you will see in the list ingame. In my case it will be "Test". You have to save this file as "mpack.dat".

Now you are ready to go ingame. Run San Andreas, and choose for "New Game". Here you will find a list of your MPACKs, and you can choose the name of the MPACK you need. As you can see, there is "Test" in slot 7.

Have fun with coding!

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

None found


Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share



About this module
This module lists all those involved in the creation of this Tutorial.
Original Authors


Arman Ossi Loko avatar
Arman Ossi Loko avatar Offline
94,499 points Ranked 35th
50 medals 5 legendary 11 rare
  • GTAV First Adopter Medal icon
  • Submitted 15 Tools Medal icon
  • Submitted 30 Tutorials Medal icon
  • 1st place - 2015 Uberstyles Contest Medal icon
  • 15+ Entries! GameBanana‚Äôs Christmas Giveaway 2015 Medal icon
  • 2nd Place - Movie Replicas Modeling Contest Medal icon
  • 3rd Place - Tutorials Contest Medal icon
  • 6 years a member Medal icon
  • GTAV Early Adopter (5+ submissions) Medal icon
Admin Joined 8 years ago

Arman Ossi Loko avatar
Arman Ossi Loko
KOPASSUS Incorporated Flag
KOPASSUS Incorporated

Request Ownership


About this module
This module displays this Tutorial's category.


About this module
This module displays what game this Tutorial is for.
Grand Theft Auto: San Andreas
Grand Theft Auto: San Andreas


Difficulty Level


Date Added
4 years ago
Apr 7 2012 @ 6:46pm UTC
Date Modified
2 years ago
Mar 1 2014 @ 6:10pm UTC


About this module
This module shows the average user rating of this Tutorial.
Not yet rated.