SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 21/03/2015, 12:36 PM   #1
rootcause
Big Clucker
 
rootcause's Avatar
 
Join Date: Feb 2015
Location: /
Posts: 115
Reputation: 191
Default [0.3.7] Yet Another House System

Commands:

* /house - Opens the house menu, house owner only.
* /createhouse [price] [interior id] - RCON admins only, lets you create a house.
* /hsetinterior [house id] [interior id] - RCON admins only, lets you change a house's interior.
* /hsetprice [house id] [price] - RCON admins only, lets you change a house's price.
* /resethouse [house id] - RCON admins only, resets a house.
* /deletehouse [house id] - RCON admins only, deletes a house.
* [added in v1.2] /gotohouse [house id] - RCON admins only, teleports you to house's entrance you specified ID of.

Some Features:

* Furnitures: You can place as many furnitures as you want thanks to Streamer Plugin.
* Gun Storage: You can store your guns in your house and take them whenever you want.
* House Safe: You can put your money to your house safe and take it from there whenever you want.
* Lock Modes: You can lock your house using a password or set it to owner only, or make it unlocked so everyone can get in and see your beautiful house!
* Resetting: If a house owner doesn't visit their house for 7 days, they will lose their house and everything in it.
* [added in v1.1] Visitor History: You can see who visited your house from house menu. Visitors only gets tracked when house is not locked.
* [added in v1.2] House Addresses: Every owned house will get an address now. Addresses look like this: <houseid, zone, city/county>. Example: "1, Jefferson, Los Santos"
* [added in v1.2] House Keys: Instead of forcing people to write a password to enter your house(password lock still exists, don't worry) you can give people keys for your house and set your house's lock mode to Keys. (/givehousekeys, /takehousekeys, /myhousekeys) Also you can change locks from /house menu so old keys won't work anymore.
* [added in v1.3] House Selling: You can put your house up for sale and other players can buy it from you, paying the price you decided. If you were offline at the time someone bought your house, don't worry because you'll get your money once you connect and spawn.
* [added in v1.3] House Limits: You can decide how many houses a player can own by using LIMIT_PER_PLAYER define. If you set it to 0, players can buy as many houses as they want. If you set it to something else, players won't be able to buy more houses than LIMIT_PER_PLAYER's value.

Adding New Interiors/Editing Interiors:

You can add your new interior data to HouseInteriors array, or edit existing interiors from there.

Adding New Furnitures/Editing Furnitures:

You can add your new furniture data to HouseFurnitures array, or edit existing furnitures from there.

Changelog:

v1.3:
* Added house selling, you can put your houses for sale. When your house is bought by an another player, you'll receive your money. When you buy a house, most of the stuff it has(guns, furnitures) also will be yours.
* Added a house buying limiter, a player can't buy more than LIMIT_PER_PLAYER houses. Set LIMIT_PER_PLAYER to 0 if you want no limits.
* Internal changes like replacing the DIALOG_HOUSE+x format with e_dialogids enum and a little bit of code cleanup.

v1.2:
* SQL Importing is no longer needed, filterscript will create required tables if they don't exist on FilterScriptInit.
* Added /gotohouse which teleports you to house's entrance you specified ID of. (RCON only.)
* House Kicking, you can kick somebody or everybody from your house, to kick somebody use /kickfromhouse, to kick everybody use /house menu.
* House Keys, instead of forcing people to write a password to enter your house(password lock still exists, don't worry) you can give people keys for your house and set your house's lock mode to Keys. (/givehousekeys, /takehousekeys, /myhousekeys) Also you can change locks from /house menu so old keys won't work anymore.
* House Safe History, you can track your house safe activity now.
* House Addresses, every owned house will get an address now. Addresses look like this: <houseid, zone, city/county>. Example: "1, Jefferson, Los Santos"

v1.1:
* Added house visitors feature. You can see who visited your house from house menu. Visitors only gets tracked when house is not locked.
* Changed furniture buying and house guns dialogs styles. They're now using DIALOG_STYLE_TABLIST_HEADERS instead of DIALOG_STYLE_LIST.

Credits:

* Incognito for Streamer Plugin
* Y_Less for sscanf, YSI
* BlueG, maddinat0r for MySQL Plugin
* Zeex for ZCMD
* Vince for his tutorial about a great way of weapon saving


English isn't my first language, if I did any mistakes, sorry about that.

Last edited by rootcause; 06/09/2016 at 07:39 AM. Reason: mysql r40 version
rootcause is offline   Reply With Quote
Old 21/03/2015, 12:41 PM   #2
AlexBlack
High-roller
 
Join Date: Oct 2013
Location: GetPlayerPos(playerid, x, y, z);
Posts: 1,190
Reputation: 84
Default Re : Yet Another House System

Good job , keep UP !
__________________
Unique DeathMatch Gamemode for sale, PM for more infos.
Game mode DM presque complet unique disponible a vendre MP.
AlexBlack is offline   Reply With Quote
Old 21/03/2015, 01:02 PM   #3
BlackHawkTR
Big Clucker
 
Join Date: May 2012
Posts: 66
Reputation: 15
Default Re: Yet Another House System

10/10 breddy gud
BlackHawkTR is offline   Reply With Quote
Old 21/03/2015, 01:45 PM   #4
Skully82
Big Clucker
 
Skully82's Avatar
 
Join Date: Apr 2014
Location: Egypt
Posts: 169
Reputation: 22
Default Re: Yet Another House System

Nice,Useful
8/10
__________________
Playing Samp Since 2009
Skully82 is offline   Reply With Quote
Old 21/03/2015, 01:56 PM   #5
Younes44
Gangsta
 
Younes44's Avatar
 
Join Date: Oct 2013
Posts: 800
Reputation: 78
Default Re: Yet Another House System

Good job dude..
Keep it up^^
__________________
Left SA:MP, and not avalaible anymore!!
Thanks samp for awesome moments, i enjoy!! Goodbye!
ModernFreeroam: www.mf-samp.com , IP:94.23.255.30:7777
CounterTerroristUnit: www.ctu.w4f.eu , IP:87.98.243.201:6969
xSF: www.xsfserver.com , IP: 87.98.243.201:6969
Exm: www.exmserv.me , IP: exmserv.me:7777
Underground Stunting: www.ustunting.com , IP:145.239.3.225:7777

Thanks everyone,for the awesome moments,
Regards, COD Ghosts owner.
Younes44 ,YOuNeS_Dz ,WarZ ,Bryan_ , Kaneki
Younes44 is offline   Reply With Quote
Old 21/03/2015, 02:42 PM   #6
Naruto_Emilio
Banned
 
Join Date: Apr 2011
Location: North Africa
Posts: 1,555
Reputation: 365
Default Re: Yet Another House System

Good system.
Naruto_Emilio is offline   Reply With Quote
Old 21/03/2015, 03:10 PM   #7
ArchB42
Little Clucker
 
ArchB42's Avatar
 
Join Date: Feb 2015
Location: France
Posts: 48
Reputation: 9
Default Re : Yet Another House System

Cool script.
Could you please upload your sampgui file? I love the interface.
__________________
EuropeanTrucking - Made from scratch, from players, for players
Server owner & scripter
ArchB42 is offline   Reply With Quote
Old 21/03/2015, 03:14 PM   #8
rootcause
Big Clucker
 
rootcause's Avatar
 
Join Date: Feb 2015
Location: /
Posts: 115
Reputation: 191
Default Re: Re : Yet Another House System

Quote:
Originally Posted by ArchB42 View Post
Cool script.
Could you please upload your sampgui file? I love the interface.
Sure. click here
__________________
All Releases | *******
rootcause is offline   Reply With Quote
Old 21/03/2015, 03:26 PM   #9
Sellize
Gangsta
 
Sellize's Avatar
 
Join Date: Jan 2013
Location: (ง ͠° ͟ل͜ ͡°)ง fight me irl
Posts: 902
Reputation: 293
Default Re: Yet Another House System

Very well done.

+rep
__________________
dead
Sellize is offline   Reply With Quote
Old 21/03/2015, 03:34 PM   #10
krtko
Little Clucker
 
Join Date: Sep 2012
Posts: 7
Reputation: 0
Thumbs up Re: Yet Another House System

on which version?
krtko is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] v1.6e || Simple House System || 1 line = 1 house Antironix Filterscripts 1307 28/04/2016 01:22 PM
Gagi's House System's House cords problem Wahaj Scripting Help 2 03/07/2014 03:15 PM
House system , save house create Cerealguy Scripting Help 1 27/10/2013 11:34 PM
House system only loading 1 house. ricardo178 Scripting Help 8 19/02/2012 06:37 AM
GF script & house system and house cars Sexserghy Help Archive 4 27/03/2011 10:47 PM


All times are GMT. The time now is 02:00 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.