Dynamic House System v0.7 (w/Dialog House Builder+Cars) -
ABKPot - 09.07.2014
Dynamic House System
(w/ Dialog House Builder+Cars)
by PotH34d[ABK]
Features- -Features an in-game house builder with 14 different settings, which gives you more options to customize your houses!
- -Player's can have vehicles for their houses and have the ability to spawn them!
- -Allows the player to change the name of his house!
- -Locking of houses, with passwords too! Other players may visit the house, and keep strangers out!
- -You can choose which house to spawn in and own more then one house!
- -You can set houses for sale and player's may buy them at anytime!
- -Player's have a couple customization options for their houses!
- -Features a interior viewer with textdraw and key scrolling, to gain access into interiors! Build houses faster
- -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!
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
Team_PRO - 09.07.2014
Good one, but i recommed you to use y_ini because dini is little old.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
AviPeker - 09.07.2014
AMAZING!
But post a tutorial how to use it , if you would like.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
rockhopper - 09.07.2014
Screens ?
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
PMH - 09.07.2014
awesome....
@rockhopper, i think he already provided much screen shots
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
JasonVegas - 10.07.2014
Nice one !!
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
ABKPot - 10.07.2014
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.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
Team_PRO - 10.07.2014
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.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
ABKPot - 10.07.2014
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.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
Team_PRO - 10.07.2014
The dialog and the checkpoint is not showing up when i do build house
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
ABKPot - 11.07.2014
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.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
PMH - 11.07.2014
hey everything is workign except for the iteriors, when i enter the houses nothing loads and im in the middle of no where
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
ABKPot - 11.07.2014
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?
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
iRaiDeN - 12.07.2014
Good work!
but why this system on Dini, dini is old libraty in general it's slow libraty, i recomment you to move MySQL.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
Team_PRO - 12.07.2014
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
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
ABKPot - 12.07.2014
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!
Re : Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
Inuro - 13.07.2014
Nice script
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
iCurse - 07.09.2014
What is the cmd to make a house?
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
humayunaftabkhan02 - 27.01.2015
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.
Re: Dynamic House System v0.5 (w/Dialog Builder System+Customizable) -
lanix - 27.01.2015
very nice i will use this