Jump to content

Map loading/unloading


Piorun

Recommended Posts

Posted

Hi again.

I've got question: Which function i should use to load/unload map called ex. "hotel.map"?

Ex. using a command called "/loadhotel" and "/unloadhotel".

Posted

Do you mean a map file or a resource?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

If you're talking about a single map file, I don't know.

If you're talking about a resource, "/start " and "/stop ".

I don't know how to make it so you turn off a single map at a time, but you could just stick it in a resource of its own and stop/start that on demand?

Posted

I'm talking about map file, not resource -.- .. In topic i wrote "...map called ex. 'hotel.map' ", and i think this should be an answer of your questions :)

Posted

Well as I said, I'm not sure how you can turn a map file on/off on command unless you write a function for it, if you have a .map file, I suggest making a resource with called "hotelmap" and in that just have "hotel.map" and the meta.xml to include it, and then you can turn it on and off by doing "/ hotelmap".

Easiest method I could think of.

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