Jump to content

How to use interiours more than once?!


DhrJay

Recommended Posts

Dear MTA Forum people,

I have been looking for an answer to my question for a long time now.

I toughed, now is the time to ask it to the professionals...xD!

Guys, i was wondering how to use interiors more than once... For example:

I use a bank resource. I made banks everywhere. When you walk in to the corona it will warp you to the planning dept. but when you want to exit the bank it will warp you to one bank only...

So we enter in LS and exit in SF. There is nothing wrong with the script only that i have multiple teleports in the same interior.

An other example:

You enter the police station in LS when you enter you see guys who entered in SF! They walk in the same interior.

My question is:

I need to use the same interior more than once... How to fix it?! Please help me guys,,,

Friendly greetingz,

Jay

Link to comment

You should use dimensions,

https://wiki.multitheftauto.com/wiki/Dimension <-- Info

and

https://wiki.multitheftauto.com/wiki/SetElementDimension <-- Function to set to other dimension.

For example:

The LS bank is in dimension 1 and when you warp there it sets you to dimension 1 and when you warp out from there it warps you back to outside of LS bank. SF bank in dimension 2 and so on...

But remember to set the markerks dimension too so player would see them :)

I hope this helps. :mrgreen:

Link to comment
You should use dimensions,

https://wiki.multitheftauto.com/wiki/Dimension <-- Info

and

https://wiki.multitheftauto.com/wiki/SetElementDimension <-- Function to set to other dimension.

For example:

The LS bank is in dimension 1 and when you warp there it sets you to dimension 1 and when you warp out from there it warps you back to outside of LS bank. SF bank in dimension 2 and so on...

But remember to set the markerks dimension too so player would see them :)

I hope this helps. :mrgreen:

Thanks for your quick reply man! I really appreciate it!

The first link really helped me out,,, The second one is more confusing because i dont know where to put this information... But i think i'll manage... THANKS MAN!

Smiles,

Jay

Link to comment

So the scipt will look like this?!

<banks> 
    <bank name="Western Onion" blip="true"> 
        <location posX="361.8298" posY="173.6187" posZ="1008.3828" ATM="false" ATMRot="0.0" [b]dimension=1[/b] interior="3" /> 
        <entrance posX="2412.7126" posY="1123.8426" posZ="10.8203" teleX="387.8428" teleY="173.6187" teleZ="1008.3828" teleRot="90" teleInterior="3" /> 
        <exit posX="389.8428" posY="173.6187" posZ="1008.3828" teleX="2414.7126" teleY="1123.0426" teleZ="10.8203" teleRot="270" teleInterior="0" interior="3" /> 
    </bank> 
  
    <bank name="LV Main Bank" blip="true"> 
                <location posX="361.8298" posY="173.6187" posZ="1008.3828" ATM="false" ATMRot="0.0" [b]dimension=2[/b] interior="3" /> 
                <entrance posX="2447.2221" posY="2376.1909" posZ="12.1635" teleX="387.8428" teleY="173.6187" teleZ="1008.3828" teleRot="90" teleInterior="3" /> 
                <exit posX="389.8428" posY="173.6187" posZ="1008.3828" teleX="2442.9956" teleY="2376.7416" teleZ="11.7479" teleRot="270" teleInterior="0" interior="3" /> 
        </bank> 
  
        <bank name="Western Onion ATM #1" blip="true" depositAllowed="true" > 
        <location posX="360.07577514648" posY="188.58430175781" posZ="1008.3828125" ATM="true" interior="3" ATMRot="0.0" markerSize="1" /> 
    </bank> 
  
    <bank name="Western Onion ATM #2" blip="true" depositAllowed="true" ATMInterior="3" > 
        <location posX="364.07577514648" posY="188.58430175781" posZ="1008.3828125" ATM="true" interior="3" ATMRot="0.0" markerSize="1" /> 
    </bank> 
  
    <bank name="Western Onion ATM #3" ATMInterior="3" > 
        <location posX="2630.6667480469" posY="1655.393046875" posZ="11.0234375" ATM="true" interior="0" ATMRot="180.0" markerSize="1" /> 
    </bank> 
        <bank name="The Clowns ATM" blip="false" depositAllowed="true" > 
        <location posX="2224.0856933594" posY="1831.5157470703" posZ="10.8203125" ATM="true" interior="0" ATMRot="90" markerSize="1" /> 
    </bank>    
</banks> 

Link to comment
Well that isnt really a script, its a "map" file wich tells the actual script where to place the banks.

Ahhh... Okay... This is gonna be more difficult than i toughed than... xD!

Wich file do i need to edit? :$

Smiles,

Jay

Where you find the Script above,

You need to get the position's where you want the bank, Like in Las venturas

its now at The Clowns

If your in-game go walk at the place you want it press p press your self and get the X Y Z Positions

and Write it at The Position.

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