[FilterScript] Yet Another House System
#1

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


Messages In This Thread
[0.3.7] Yet Another House System - by rootcause - 21.03.2015, 12:36
Re : Yet Another House System - by AlexBlack - 21.03.2015, 12:41
Re: Yet Another House System - by BlackHawkTR - 21.03.2015, 13:02
Re: Yet Another House System - by Skully82 - 21.03.2015, 13:45
Re: Yet Another House System - by Younes44 - 21.03.2015, 13:56
Re: Yet Another House System - by Naruto_Emilio - 21.03.2015, 14:42
Re : Yet Another House System - by ArchB42 - 21.03.2015, 15:10
Re: Re : Yet Another House System - by rootcause - 21.03.2015, 15:14
Re: Yet Another House System - by Sellize - 21.03.2015, 15:26
Re: Yet Another House System - by krtko - 21.03.2015, 15:34
Re: Yet Another House System - by fifa09 - 21.03.2015, 15:40
Re: Yet Another House System - by Hanz - 21.03.2015, 21:18
Re: Yet Another House System - by rootcause - 22.03.2015, 10:06
Re: Yet Another House System - by EmpireSk - 22.03.2015, 13:33
Re: Yet Another House System - by Michael B - 22.03.2015, 13:57
Re: Yet Another House System - by KingServerIRAN - 22.03.2015, 16:10
Re: Yet Another House System - by rootcause - 24.03.2015, 12:09
Re: Yet Another House System - by KingServerIRAN - 24.03.2015, 14:30
Re: Yet Another House System - by EmpireSk - 25.03.2015, 21:58
Re: Yet Another House System - by JuzDoiT - 26.03.2015, 10:28
Re: Yet Another House System - by rootcause - 28.03.2015, 10:42
Re: Yet Another House System - by Ritzy2K - 28.03.2015, 18:58
Re: Yet Another House System - by izeatfishz - 29.03.2015, 03:34
Re: Yet Another House System - by rootcause - 29.03.2015, 08:34
Re: Yet Another House System - by NNek - 29.03.2015, 08:58
Re: Yet Another House System - by Mivco - 29.03.2015, 21:04
Re: Yet Another House System - by rootcause - 02.04.2015, 21:25
Re: Yet Another House System - by MohanedZzZ - 02.04.2015, 21:39
Re: Yet Another House System - by ImperioHosting - 02.04.2015, 22:28
Re: Yet Another House System - by Karan007 - 03.04.2015, 14:57
Re: Yet Another House System - by shadowstorm - 05.04.2015, 16:43
Re: Yet Another House System - by izeatfishz - 05.04.2015, 19:51
Re: Yet Another House System - by SequenceCuz - 08.04.2015, 12:31
Re: Yet Another House System - by rootcause - 13.04.2015, 08:30
Re: Yet Another House System - by sharmarke - 14.04.2015, 02:07
Re: Yet Another House System - by izeatfishz - 14.04.2015, 14:41
Re: Yet Another House System - by izeatfishz - 14.04.2015, 14:43
Re: Yet Another House System - by Bomber07 - 30.06.2015, 15:38
Re: Yet Another House System - by samp_boy - 27.06.2016, 23:08
Re: [0.3.7] Yet Another House System - by cuc123 - 09.07.2016, 11:44
Re: Yet Another House System - by feheristi97 - 09.07.2016, 16:58
Re: Yet Another House System - by cuc123 - 09.07.2016, 18:34
Re: Yet Another House System - by kampuman - 23.07.2016, 21:36
Re: Yet Another House System - by Ahmed21 - 26.07.2016, 08:32
Re: Yet Another House System - by MartialDemonz - 31.07.2016, 02:43
Re: Yet Another House System - by morris91 - 08.08.2016, 02:37
Re: Yet Another House System - by WhiteGhost - 08.08.2016, 02:44
Re: Yet Another House System - by morris91 - 08.08.2016, 08:16
Re: Yet Another House System - by LifeIngame - 29.03.2017, 13:44
Re: Yet Another House System - by renatog - 29.03.2017, 14:09
Re: Yet Another House System - by akib - 28.04.2017, 10:00
Re: Yet Another House System - by ShaharG - 28.04.2017, 16:52
Re: Yet Another House System - by dfaria5 - 25.07.2017, 20:52
Re: Yet Another House System - by renatog - 26.07.2017, 15:02
Re: Yet Another House System - by aytaclegolas - 28.07.2017, 07:08
Re: Yet Another House System - by TurboIsHere - 28.07.2017, 14:36
Re: [0.3.7] Yet Another House System - by KushalD - 30.07.2017, 05:24
Re: Yet Another House System - by Nakul - 31.07.2017, 18:18
Re: Yet Another House System - by Derzhavin - 21.10.2017, 02:33
Re: Yet Another House System - by Derzhavin - 21.10.2017, 08:36
Re: Yet Another House System - by Derzhavin - 21.10.2017, 13:28
Re: Yet Another House System - by FrezQ - 21.10.2017, 14:18
Re: Yet Another House System - by Derzhavin - 21.10.2017, 15:23
Re: Yet Another House System - by DeepCode - 21.10.2017, 16:42
Re: Yet Another House System - by Derzhavin - 22.10.2017, 02:30
Re: Yet Another House System - by GamezCEO - 23.10.2017, 12:54
Re: Yet Another House System - by Koplan - 04.08.2018, 10:12

Forum Jump:


Users browsing this thread: 6 Guest(s)