[FilterScript] Dynamic House System v0.5 (w/Dialog Builder System+Customizable)
#1

Dynamic House System
(w/ Dialog House Builder+Cars)
by PotH34d[ABK]



Features
  1. -Features an in-game house builder with 14 different settings, which gives you more options to customize your houses!
  2. -Player's can have vehicles for their houses and have the ability to spawn them!
  3. -Allows the player to change the name of his house!
  4. -Locking of houses, with passwords too! Other players may visit the house, and keep strangers out!
  5. -You can choose which house to spawn in and own more then one house!
  6. -You can set houses for sale and player's may buy them at anytime!
  7. -Player's have a couple customization options for their houses!
  8. -Features a interior viewer with textdraw and key scrolling, to gain access into interiors! Build houses faster
  9. -Money storage system - store your hard-earned money inside your house with withdraw/deposit.
..and more

Main house builder menu: Shown with command '/hmenu'


House User Settings: Shown when entering house pickup


House edit menu: Shown with command '/hedit'


House entrance menu: Shown when entering house enter checkpoint


Commands
There are only a few commands, since mostly everything is handled in the dialogs.
Код:
House Commands: 
/hedit - Edit an existing house.
/hmenu - Shows the main house builder menu, used for the house properties/building.
/hexit - Exit house builder mode.
/intview - Shows the custom interior scrolling mode for entering interiors!
[Downloads]
Mirror One -https://www.dropbox.com/s/0zdxt18i35...%5DPotH3Ad.rar
Mirror Two - Attached
Mirror Three -
Source Code - http://pastebin.com/iZbhQqQS

v.06 - v0.7 Changelog - [7/12/2014] - http://pastebin.com/1h9Dr40W

Suggestions/Bugs
Post any suggestions and any bugs if found below!
Credits
****** for his sscanf plugin.
Incognito for his amazing streamer plugin.
Zeex for his zcmd include.
Dracoblue for his dini include.

Installation
Create folder in scriptfiles "/Houses/".

Requirements
Incognito's Streamer Plugin
******'s sscanf
Zeex ZCMD

Internal Settings
pawn Код:
#define MAX_HOUSES 60 //I recommend setting this to a estimate of your total houses + a few more
Set the maximum amount of houses.
pawn Код:
#define MAX_VEHICLE_SLOTS 3 //Optional
Change to allow more vehicle slots for a house. (Default: 3)
pawn Код:
#define HOUSE_FILE "/Houses/%d.ini"
#define HUSER_FILE  "/Houses/users.ini" //Change these to set your own directory, if you want!
Reply
#2

Good one, but i recommed you to use y_ini because dini is little old.
Reply
#3

AMAZING!

But post a tutorial how to use it , if you would like.
Reply
#4

Screens ?
Reply
#5

awesome....
@rockhopper, i think he already provided much screen shots
Reply
#6

Nice one !!
Reply
#7

Quote:
Originally Posted by rockhopper
Посмотреть сообщение
Screens ?


Interior chooser. (To enter an interior):


Quote:
Originally Posted by AviPeker
Посмотреть сообщение
AMAZING!

But post a tutorial how to use it , if you would like.
Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
Good one, but i recommed you to use y_ini because dini is little old.
Quote:
Originally Posted by JasonVegas
Посмотреть сообщение
Nice one !!
Quote:
Originally Posted by PMH
Посмотреть сообщение
awesome....
@rockhopper, i think he already provided much screen shots
Thanks.
Reply
#8

One thing too when i click build house the house is not showing up even others like edit house and more try to fix those.
Reply
#9

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
One thing too when i click build house the house is not showing up even others like edit house and more try to fix those.
What do you mean not showing up? The dialog or ..? Works fine for me.
Reply
#10

The dialog and the checkpoint is not showing up when i do build house
Reply
#11

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
The dialog and the checkpoint is not showing up when i do build house
Do you have any other scripts using dialogs? It might be interfering with the house script. Try changing the dialog define in the script, if so...

Or did you create the folder in scriptfiles? Haven't had that happen to me before.. Might need to look into it.

-------------------------------

7/10/2014
Код:
[Whats new in - version 0.6]
-Added 'vehicle names and slot ID' into the notice message when spawning a house vehicle.
-Added a sound after purchasing a house. Like the original game.
-Added 3D label notice when a player spawns his vehicle and for the house builder when setting a house 3D property or 
position. (CP's, Veh spawn, house position)
>>Internal
-Removed old unneeded code.
-Fixed a bug with dialogs. If there was a bug (hopefully not).
-Patched house properties being created, if the coords in the file aren't set.
-Internal code editing. Recoded the LoadHouse code, should be more efficient now.  

[Possible Suggestions]
-Weapon inventory saving.
-Store money.
-Convert to y_ini
-Save car modifications.
-Weapon pickups (HP+Armour) (maybe)
-Furniture (maybe)
*UPDATED SOURCE CODE and download links in the first post:

Please post any suggestions. Thank you.
Reply
#12

hey everything is workign except for the iteriors, when i enter the houses nothing loads and im in the middle of no where
Reply
#13

Quote:
Originally Posted by PMH
Посмотреть сообщение
hey everything is workign except for the iteriors, when i enter the houses nothing loads and im in the middle of no where
The house interiors? Did you set the house interior in the builder and the enter position coordinates?
Reply
#14

Good work!
but why this system on Dini, dini is old libraty in general it's slow libraty, i recomment you to move MySQL.
Reply
#15

Quote:
Originally Posted by iRaiDeN
Посмотреть сообщение
Good work!
but why this system on Dini, dini is old libraty in general it's slow libraty, i recomment you to move MySQL.
MySQL is hard to use for newbie's mabye stay it with ini
Reply
#16

Updated the script to version v0.7.. updated links on the main post in this thread.

7-12-2014 - Changelog - Version 0.7

pawn Код:
Version 0.7
------------
-Optimized code in some sections
-Fixed a bug with vehicles not spawnning due to coord arrays not being set correctly.
-Fixed a bug with labels not being created after set, due to coord arrays not being set correctly.
-Patched house 3D label with house info being created after setting house name, price.... if the label position coordinates aren't set
-Added money storage system.. take or store (withdraw/deposit) money in your house!
Reply
#17

Nice script
Reply
#18

What is the cmd to make a house?
Reply
#19

Quote:
Originally Posted by PMH
Посмотреть сообщение
hey everything is workign except for the iteriors, when i enter the houses nothing loads and im in the middle of no where
Same problem.
Reply
#20

very nice i will use this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)