SA-MP Forums Archive
[FilterScript] Gagi's Dynamic House System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Gagi's Dynamic House System (/showthread.php?tid=321388)

Pages: 1 2 3 4


Gagi's Dynamic House System - Gagi_Corleone - 26.02.2012

Commands:

/chouse - Command for create house
/removehouse - Remove the house
/gotohouse - Teleport to any house
/buyhouse - For buy house
/house - Menu with some functions (Sell,Change rent,Evict,House name,Change Lock Password)
/[un]renthouse - [Un]rent house
/hwithdraw - Put money in safe
/hdeposit - Take money from safe
/hputgun - Put gun on slot 1/2
/htakegun - Take gun from slot 1/2
/checksafe - Show money and guns in safe
/knock - Knocking on doors
/lockdoor - When you type lock door you will see this textdraw:

and there you type password for it. In future versions, I will upgrade this.
/unlockdoor - Unlock door
/enter, /exit
/payrent - Pay rent in house safe
/hcar - RCON admin add house car
/findmycar - Show where is your car. But when you looking for them must be at house.
/hupgrade - When you are in house you can buy new interior with /hupgrade again u will be close it. That will see on picture:


Video:
[ame=http://www.youtube.com/watch?v=hq9de2WDYU0]http://www.youtube.com/watch?v=hq9de2WDYU0[/ame]
How to:

1) Add this on my server.
-When you download .rar then unrar it in your server folder
-Then simply add House_System in server.cfg in line filterscripts
Example: filterscripts House_System

2) I can't add house
-When you load the FS then just login as RCON admin and type
/chouse [House ID] [House Name] [House Price] [Level for buy house]

Download v1.4(Bug Fix):


In Future:

-Will be make phone in house like this for look
-Probably some system with /robhouse and something with Lock System
-Maybe to store weapon/money in cars
-Some new commands
-And if somebody have any idea send me

Credits:

Mr.Gagi(Gagi_Corleone) - Make this
****** - sscanf,foreach,YSI
Incognito - Streamer
Double-O-Seven - ProxDetector
Prof.Dr.Lepotic(LeFlure) - Make logo

Update v1.1:
-Car storage
-Fix bug with house storage
-Fixed bug with /buyhouse
-Added house phone (textdraws)
-Added /changespawn u must be in house and then change spawn
-Added /robhouse


Commands added in v1.1:


-/hcarwithdraw
-/hcardeposit
-/hcartakegun
-/hcarputgun
-/hcarpark
-/hcarcolor
-/changespawn
-/hphone
-/robhouse


Update v1.2:
-Fixed few bugs
-Now this is gone work on house Id beacuse now will be save ID
-Now you can give your house key to somebody
-Added address at house to take location of house
-From now on if a player play for an hour gets the bills for a house
-Automatic unowned house after 7 days. You can change in MAX_DAYS
-Now when you talk with someone there will be write his name not "Phone"
-Now you can find your house just type /myhouse and you will get address and house will be marked


Commands added in v1.2:


-/givekey
-/myhouse


Update v1.3 (Bug Fix):

-Fixed bug with command /hputgun little bug and changed range for type command
-Now checkpoint will be disabled when player enter to him
-Now when you upgrade house you'll automatic teleported to new house
-Fixed bug with negative money in house upgrade
-Fixed bug with in house upgrade for interior
-Also /changespan work at me on Untilted mode. Maybe problem is at your OnPlayerSpawn

Special thanks to notepad


Update v1.4 (Again Bug Fix):

/hwithdraw - changed to /hdeposit
/hdeposit - changed to /hwithdraw
-Fixed my bad english. Special thanks to Pillhead2007
-Fixed bug with /removehouse (Added to destroy MapIcon)
-Fixed bug with labels,pickups on coordinates 0,0,0


Sorry for my bad english


Re: Gagi's Dynamic House System - Soulbad - 26.02.2012

very nice, gonna test it


Re: Gagi's Dynamic House System - danijel123 - 26.02.2012

Good Job Gagi


Re: Gagi's Dynamic House System - Gagi_Corleone - 26.02.2012

Thank you both


Re: Gagi's Dynamic House System - Soulbad - 26.02.2012

when i try to buy a house, it sais i already own a house when i dont..how can i fix?

and who is Drzava?


Re: Gagi's Dynamic House System - Kolten - 26.02.2012

Awesome,thank you


Re: Gagi's Dynamic House System - Gagi_Corleone - 26.02.2012

Quote:
Originally Posted by Soulbad
Посмотреть сообщение
when i try to buy a house, it sais i already own a house when i dont..how can i fix?
Add house from ID 0. Example: /chouse 0 House 1 0

EDIT:
I will fix it in future version.
Drzava = Country/Department (I forgot to change when I worked since I first worked on my language)


Re: Gagi's Dynamic House System - Soulbad - 26.02.2012

thanks but now when i type /enter it puts me at another place not interior of a house

help please


Re: Gagi's Dynamic House System - Mr.WAngD0 - 27.02.2012

Very nice and wonderull house system and dynamic.Nice release and i really need and love it ! Please Keep it up !

+1 reputation for your en-couragment !


Re: Gagi\'s Dynamic House System - DonWade - 27.02.2012

Good Work!

Pozdrav


Re: Gagi\'s Dynamic House System - [HK]Ryder[AN] - 27.02.2012

Nice. Good job.


Re: Gagi\'s Dynamic House System - caribe88 - 27.02.2012

Looks Good I will try it out


Re: Gagi\'s Dynamic House System - _DownLoaD_ - 27.02.2012

when i step on the pickup, it like will move me to the "House" and in the exit there will be pickup exit.

easier than "/enter" or "/exit"


Re: Gagi\'s Dynamic House System - Gagi_Corleone - 27.02.2012

Quote:
Originally Posted by _DownLoaD_
View Post
when i step on the pickup, it like will move me to the "House" and in the exit there will be pickup exit.

easier than "/enter" or "/exit"
I will be make in future version (for few days ) Tnx to all


Re: Gagi\'s Dynamic House System - caribe88 - 27.02.2012

When I enter I appear outside of San fierro looks like a bug right there.


Re: Gagi\'s Dynamic House System - Gagi_Corleone - 27.02.2012

Quote:
Originally Posted by caribe88
View Post
When I enter I appear outside of San fierro looks like a bug right there.
On default interior? I test on him when I neer house it work\'s i\'ll test again.


EDIT:

Maybe you have problem with https://sampwiki.blast.hk/wiki/DisableInteriorEnterExits. Try add it.


Re: Gagi\'s Dynamic House System - willzyyy - 27.02.2012

its awesome release.


Re: Gagi\'s Dynamic House System - WoodPecker - 27.02.2012

Very nice work man, 3rep4u.


AW: Gagi\'s Dynamic House System - kvn - 27.02.2012

Good Work


Very nice


Re: Gagi\'s Dynamic House System - System64 - 27.02.2012

cool


this password system (textdraws) is useful for big villas


rep++