Mission Coding for Dummies - MPACKs

Attention Gamer! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending Arman Ossi Loko points.
  • Post: Give Arman Ossi Loko your thoughts on this Tutorial.
  • Vote: Help Arman Ossi Loko win the Monthly Awards.
  • Rate: Give this Tutorial a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Tutorial.
  • Watch: Get notified when this Tutorial is updated.


Sign up

Already a Bananite? Login


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!


None found


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

More embeddable images

Bookmark and Share


Original Authors


Arman Ossi Loko avatar
Arman Ossi Loko avatar Lurkin'
Admin Joined 9 years ago
90,910 points Ranked 37th
62 medals 6 legendary 16 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
  • Returned 5000 times Medal icon

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

Request Ownership
Send a Private Message to the submitter



Difficulty Level
Beginner Difficulty


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


  • Not yet rated
  • The rating period (1 year) has ended