Jump to content

Script Autoloader HELP


Recommended Posts

Hey guys, since I joined last night you all have been nothing but help! :D but now im looking for a script (I havnt found one yet) that can, say, bundle resources together and load them all at the same time like a loader. I saw one thread but it basically pointed me to the Meta.xml functions and I am REALLY shaky with coding XML (1 yr java is all i have). So my question is if you could provide a sample code or preexisting script, that would be great! I also understand that you all arent out to just give people stuff rather than throw them a bone here and there, but any help on this topic would be AWESOME! :mrgreen:

Link to comment
Ok, I appreciate that, and i just added some to it, but I have the pedestrian script and it kinda lags, is there a way to make a script that bundles them so when i want to use it I type: "start resourcebundle" and it loads like 4 resources?

Yes, you can. You just have to include resources you want to start into the "resourcebundle" meta.xml file.

https://wiki.multitheftauto.com/wiki/Meta.xml

Look for the "include" tag.

Link to comment

Look, Im not very good with XML... ive tried and I am NOT able to make an xml file...I have dreamweaver but every time I try I fail, I understand the mechanics, but to actually put this puzzle piece with that just doesnt click with me... could I get a section of sample code? I can totally substitute file names and all that jazz, but I always end up screwing it up if I try. I dont feel that it would be that hard, but I am stuck on even where to begin... is pretty much all I got so far... Thanks! :mrgreen:

Link to comment
Look, Im not very good with XML... ive tried and I am NOT able to make an xml file...I have dreamweaver but every time I try I fail, I understand the mechanics, but to actually put this puzzle piece with that just doesnt click with me... could I get a section of sample code? I can totally substitute file names and all that jazz, but I always end up screwing it up if I try. I dont feel that it would be that hard, but I am stuck on even where to begin... is pretty much all I got so far... Thanks! :mrgreen:
        resource="resourcename" /> 

  

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...