[FilterScript] Yet Another House System
#21

Update 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.

Notes:

- If you\'re updating from v1.0 to v1.1, only import housevisitors.sql.

- If you never used this, only import house.sql.


You can find the download link on the first post.
Reply
#22

Change the title name pls. it isnt another house system.. its the most unique and best one out of here...


suggestion - (maybe keep them in mind while updating it or somthing.)


Add house cars

add rent system

use textdraw


though this is the best one still.
Reply
#23

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 82) : error 001: expected token: ";", but found "-identifier-"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 165) : error 017: undefined symbol "Iter_Contains"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : error 017: undefined symbol "InHouse"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : warning 215: expression has no effect

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : error 001: expected token: ";", but found "]"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : error 029: invalid expression, assumed zero

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : fatal error 107: too many error messages on one line


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



6 Errors.
Reply
#24

Quote:
Originally Posted by izeatfishz
View Post
C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 82) : error 001: expected token: ";", but found "-identifier-"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 165) : error 017: undefined symbol "Iter_Contains"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : error 017: undefined symbol "InHouse"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : warning 215: expression has no effect

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : error 001: expected token: ";", but found "]"

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : error 029: invalid expression, assumed zero

C:\Users\Nathan\Desktop\k\filterscripts\house.pwn( 167) : fatal error 107: too many error messages on one line


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



6 Errors.
Looks like you don\'t have YSI\y_iterate or didn\'t include it. You can get YSI from this thread: https://sampforum.blast.hk/showthread.php?tid=321092
Reply
#25

I like the Style
Reply
#26

Could you put it in dini or y_ini...?
Reply
#27

Quote:
Originally Posted by Mivco
View Post
Could you put it in dini or y_ini...?
No, sorry.

Quote:
Originally Posted by EmpireSk
View Post
Please Car system Put into HS to a player to create a car to your house
In my opinion cars should be seperate but I might add it in the next versions.

Quote:
Originally Posted by [ND]xXZeusXx.
View Post
Change the title name pls. it isnt another house system.. its the most unique and best one out of here...


suggestion - (maybe keep them in mind while updating it or somthing.)


Add house cars

add rent system

use textdraw


though this is the best one still.
Thanks!


For your suggestions, like I said above in my opinion cars should be seperate but I might add it. Renting might get added too, I don\'t see any usage for textdraws but feel free to tell me if you have any ideas.
Reply
#28

Good job
i like the style.
+rep you deserve it
Reply
#29

Very good system.
Reply
#30

Nice job!
Reply
#31

Cool house system,Keep it up!!
Reply
#32

could you please make a dini or y_ini, i really want to learn as a newbie!
Reply
#33

why when i bought the house and exit it doesn\'t save the owner only the owner when the savehouse function get called
Reply
#34

Forums are finally back, time for another update!

Update 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"



As always, you can find the download link on the first post.
Reply
#35

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1200) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1293) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(134 : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1462) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1515) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1549) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1607) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1651) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1691) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1784) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


10 Errors.



HELP PLEASE
Reply
#36

Make y_ini
Reply
#37

Quote:
Originally Posted by sharmarke
View Post
\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1200) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1293) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(134 : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1462) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1515) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1549) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1607) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1651) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1691) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

\\psf\Home\Desktop\BGRP script\filterscripts\house.pwn(1784) : error 017: undefined symbol "DIALOG_STYLE_TABLIST_HEADERS"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase



10 Errors.




HELP PLEASE
... use 0.3.7 RC3
Reply
#38

Good Job
Reply
#39

waw epic! good job i really like your scripts so far!
Reply
#40

Quote:
Originally Posted by rootcause
View Post
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.
Hi!
How can a player to have up to 5 houses?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)