Jump to content

[SHOW] Housing Script


KeksKing

Recommended Posts

Hello guys, today i want to show you my House Script that i made for Exetra-Play :D

Features:

Admin Tools to manage all houses or create some new houses.

A vehicle saver (it saves all tunings too)

A key system (right based)

A furniture-system

 

The save-functions are xml based but i only open the file when the resource stops or starts.

 

Screens:

https://picload.org/view/dapipgol/mta-screen_2018-04-05_19-02-47.png.html

https://picload.org/view/dapipgoi/mta-screen_2018-04-05_18-59-53.png.html

https://picload.org/view/dapipgow/mta-screen_2018-04-05_19-00-07.png.html

https://picload.org/view/dapipglr/mta-screen_2018-04-05_19-00-19.png.html

https://picload.org/view/dapipgla/mta-screen_2018-04-05_19-00-41.png.html

https://picload.org/view/dapipgll/mta-screen_2018-04-05_19-00-55.png.html

https://picload.org/view/dapipgli/mta-screen_2018-04-05_19-01-30.png.html

https://picload.org/view/dapipglw/mta-screen_2018-04-05_19-01-47.png.html

https://picload.org/view/dapipgcr/mta-screen_2018-04-05_19-02-26.png.html

https://picload.org/view/dapipali/mta-screen_2018-04-05_19-14-53.png.html

 

This is how a house looks in the xml-file: (this guy dont placed objects xD)

<House Owner="#FF4500DARTIC" Costs="700" x="208.78866577148" y="412.6982421875" z="1.2876863479614" intX="-4881.3901367188" intY="1834.5899658203" intZ="172.69999694824" intDim="2602">
            <ID>Island House :D</ID>
            <Keys>
                <Key Player="KeksKing" canPlaceObjects="false" canSetSpawnpoint="false" canSaveVehicles="false"></Key>
                <Key Player="FluffyTropaYT" canPlaceObjects="true" canSetSpawnpoint="true" canSaveVehicles="true"></Key>
            </Keys>
            <Objects></Objects>
            <Vehicles>
                <Vehicle ID="Super" Modell="506" Owner="#FF4500DARTIC" Shader="Silver" Color1="0" Color2="0" Color3="0" Color4="0">
                    <Tunings>
                        <Tuning Slot="0" Upgrade="1086"></Tuning>
                    </Tunings>
                </Vehicle>
                <Vehicle ID="Elegy" Modell="562" Owner="#FF4500DARTIC" Shader="Cobra" Color1="43" Color2="43" Color3="43" Color4="43">
                    <Tunings>
                        <Tuning Slot="1" Upgrade="1039"></Tuning>
                        <Tuning Slot="2" Upgrade="1038"></Tuning>
                        <Tuning Slot="3" Upgrade="1086"></Tuning>
                        <Tuning Slot="4" Upgrade="1082"></Tuning>
                        <Tuning Slot="5" Upgrade="1034"></Tuning>
                        <Tuning Slot="6" Upgrade="1171"></Tuning>
                        <Tuning Slot="7" Upgrade="1148"></Tuning>
                        <Tuning Slot="0" Upgrade="1163"></Tuning>
                    </Tunings>
                </Vehicle>
                <Vehicle ID="TAMPA" Modell="549" Owner="#FF4500DARTIC" Shader="Matteblack" Color1="3" Color2="106" Color3="106" Color4="106">
                    <Tunings></Tunings>
                </Vehicle>
            </Vehicles>
        </House>

 

Edited by KeksKing
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...