Jump to content

[SELL] City zones resource


Annas

Recommended Posts

Hello everyone, 1 month ago i started working on a script which will allow you to build using custom objects in a limited zone/area, more information bellow. And today i'm releasing the script!


CITY ZONES

 Addent panel Object added Editing object texture '/edittex' 

Added a gate/door Making it as a city door '/editdoor' Gate/door open'd while im near it

[ADMIN] Zone adder Move yourself at the fX/fY position you like. Save the zone '/savecityzone' and type the price then create the zone!

Zone created! Now a player can buy it!


About:

City is a 100% player built system used in City zones.. Players can buy zones and then build stuff in their zone, like a house or group/team base. City also allows you to interact with some of it's objects, like programmable doors.

City Zone Command List:

/zonedata ID - Get information about the specified City zone (Stand in a zone to get the ID)
/markzone ID - Find a City zone on your map
/buyzone - Buy the City zone that you're stood in
/sellzone  - Sell the City zone you're stood in back to the server
/setzonename ID name - Name your City zone
/setzonedelegate ID AccountName - Give or take away permission to edit and add objects
/setzoneradio ID webAddressForRadio - Play music to everyone in your zone, to turn it off just do /Cityzoneradio ID
/wipezoneobjects ID - Sells every object that is in your zone.
/objectswithinzone ID - see how many objects are in a zone
/zonedelegates - to see who you've delegated access to.
/zonesforsale - to see if have one City to sell. The blip is a green house.

City Building Command List:

/addentity - View a list of entities, make sure your camera is over the area you want to build on first
/delentity - Delete the selected entity
/copyentity - Allows you to copy a specific entity
/editzonedoor - Allows you to edit a programmable door and give/remove access to players to spawn at the spawn point
/editobjecttexture - Allows you to modify the texture of any City object
/saveobject - Saves the selected entity.
/objectzonesetslowmove 0-10 - Allows you to choose how is the slow movement of the city object 'ALT' is.

To edit an object press 'X' then click on the object.

City Entity Distance Modifiers:

Left Shift - Hold this key to move objects fast
Left Alt - Hold this key to move objects slow
Left Shift + Left Alt - Hold both keys to move super slow (num lock must be off)

City Entity Controls: (These controls can be changed in MTA settings)

Arrow up - Move object north
Arrow down - Move object south
Arrow right - Move object east
Arrow left - Move object west

Tip: Have your camera facing north so the arrow keys make the object go in the same direction

Numpad Del - Tell the server to update + save the object
Numpad 9 / 6 - Raise / Lower the object height
Numpad 1 / 2 - Rotate on the X axis (not usually needed)
Numpad 4 / 5 - Rotate on the Y axis (not usually needed)
Mouse Scroll Up / Down - Rotate on the Z axis

Admin Access:

/zoneadder - Create a city zone/area with an editable price.
/deletezone - Delete a city zone that you're stood in.
Ability to edit any city zone object (Press 'X' then click on the object)
/sellzone - Force sell a city zone that you're stood in.

General functions used:

Edit door - Ability to edit a city door
Edit texture - Ability to edit a city object texture
Zone adder - Adding a city zone/area.
Custom Objects - More than 160 custom objects. (Total 10mb)

LUA files:

[CLIENT] entityDoors.lua - /editdoor panel.
[CLIENT] entityTextures.lua - /edittex panel.
[CLIENT] zones.lua - Zone lines + Zone radio.
[CLIENT] CityEditPanel.lua - /addent panel.
[CLIENT] zonesManagments.lua - /zoneadder panel.
[SERVER] zones.slua - Zone adder + Most commands are here.
[SERVER] ZonesControls.slua - Object controls.
[SERVER] ZonesCore.slua - Place object + Delete object + Copy object with current texture.
[SERVER] ZoneDb.slua - To save city objects + zones created.
[SERVER] ZonesFunctions.slua - Most functions are here.
[SERVER] ZonesImportDb.slua - Import/Insert table from/to database.

[DB] objects.db - All created zone objects are saved here.
[DB] zones.db - All created zones are saved here.

Price:
35$ 20$ - [G2A.COM] Steam Gift Card 20 USD (Send me the mail you receive containing the code you have recieved to my email) - PM me or reply for more information if you are interested.

Edited by Annas
I forget to add screenshots
  • Like 3
Link to comment
  • 2 weeks later...
  • 3 weeks later...
  • 2 weeks later...

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