Jump to content

[SA] External scripts on a stripped SCM


Recommended Posts

Hello, I've been trying to add the "carmod1" external SCM script to SA. I'm not crashing, but the garage won't open. I've used:

Garage.Activate('VEHMOD')

And I'm not sure why it's not working correctly. I also added

:MAIN_1108wait 0 if or   Garage.IsOpen('BODLAWN')   Garage.IsOpen('MODLAST')   Garage.IsOpen('MDSSFSE')   Garage.IsOpen('MDS1SFS')   Garage.IsOpen('VECMOD')else_jump @MAIN_1108 0926: $SCRIPT_STATUS = external_script_status 0 (CARMOD1) if   $SCRIPT_STATUS == 0 else_jump @MAIN_1231 08A9: load_external_script 0 (CARMOD1) :MAIN_1207wait 0 if 08AB:   external_script 0 (CARMOD1) loaded else_jump @MAIN_1207 0913: run_external_script 0 (CARMOD1)  :MAIN_1231jump @MAIN_1238 :MAIN_1238wait 0 jump @MAIN_1238 

The external script is stored within the main.scm.

The tuning garage door won't open, and I can't seem to find a solution.

Also, I don't have much experience with external scripts, infact, I'm trying to build a stripped SCM, where everything is enabled by default. I've seen a SCM mod doing this on some website, but I can't remember where.

Link to comment
https://gtaforums.com/topic/779436-sa-external-scripts-on-a-stripped-scm/
Share on other sites

Post the whole script, post it at pastebin

 

 

I've seen a SCM mod doing this on some website, but I can't remember where.

look in my signature and click on "Stripped Main with Externscripts"

Oh, now I know who made that mod. Impressive.

Ive fixed the issue, forgot to add the garage to the SCM.

Edited by dkluin

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.