SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/06/2018, 10:06 AM   #1
GTLS
Gangsta
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 695
Reputation: 87
Default Kudos House System

Kudos House System

Come again for big fudge?
This is a House System based on BlueG's MySQL for saving. Players can Buy/Sell houses using this system. Houses are managed by House Admins which are chosen by RCON admins.

Why did I waste my time on this?
I did not. I was making a house system for my server and I thought why not share it with people on forums. It took me a few hours making this. This script could save those hours for any other scripter.

Images: https://imgur.com/a/7gzzbg8

Requirements:
  • ZCMD
  • BlueG's MySQL R41-4
  • sscanf2
  • Streamer
  • Zones Include


Download:
GitHub

Help:
All the Script Related Help is Provided on the Wiki

How to Setup the Database?
There are 2 Ways:
1> A .sql file is provided inside the download, which you can upload to your databse from PHPMyAdmin.
2>With the download, a .txt file is provided with the table code. If user doesnt wanna upload the file to PHPMyAdmin, he can use that code inside the Filterscript/GM to create the table.

Remember to find these lines and change the MySQL Database Information.
PHP Code:
//============={MySQL Defines}================
#define DB_HOST "localhost"
#define DB_USER "root"
#define DB_NAME "csrp"
#define DB_PASS ""
//============================================ 
Any other question, You can ask me here.
I Might added other features like House Vault, Rent System etc in future. Also, You can easily make Key system integrated with this script. Players can give their keys to other players. You can use PVars to do that. I havent added in the script but its not that hard to script.

CREDITS:
PHP Code:
#include <a_samp> //SAMP Team
#include <a_mysql> //BlueG - MySQL R41-4
#include <streamer> //streamer - Incognito
#include <sscanf2> //sscanf - Y_LESS, Emmet_ and maddinat0r
#include <zones> //Zones - Cueball
#include <zcmd> //Zeex 
__________________

I don't help for rep. I help cuz I was helped in the past.


California State Roleplay - X Update Now under beta testing phase. Stay Tuned.

Last edited by GTLS; 13/06/2018 at 04:39 PM.
GTLS is offline   Reply With Quote
Old 13/06/2018, 10:18 AM   #2
PhantomThief1412
Little Clucker
 
Join Date: May 2018
Posts: 5
Reputation: 4
Default Re: Kudos House System

Oh Nice Job GTLS. Your scripts are always great. Thanks for sharing. Now I will not have to waste my time scripting a house system.
PhantomThief1412 is offline   Reply With Quote
Old 13/06/2018, 10:31 AM   #3
NelsonC
Big Clucker
 
NelsonC's Avatar
 
Join Date: Oct 2017
Location: Germany
Posts: 134
Reputation: 9
Default Re: Kudos House System

Nice.
NelsonC is offline   Reply With Quote
Old 13/06/2018, 10:41 AM   #4
GTLS
Gangsta
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 695
Reputation: 87
Default Re: Kudos House System

Thanks Guys.
__________________

I don't help for rep. I help cuz I was helped in the past.


California State Roleplay - X Update Now under beta testing phase. Stay Tuned.
GTLS is offline   Reply With Quote
Old 13/06/2018, 02:55 PM   #5
RogueDrifter
High-roller
 
RogueDrifter's Avatar
 
Join Date: Dec 2017
Location: SA-MP Drifting world.
Posts: 1,497
Reputation: 325
Default Re: Kudos House System

Wasn't streamer made by incognito? small info just saying, overall decent.
__________________
Code:
I'm available to script stuff for cash PM me here or on discord @ Andy[RDZ]#0040
[Tutorial]:Anti-cheat guide ||Mini-game 101||VC/LC maps install||
Array index out of bounds


[Github]:Link [Pastebin]:Link [Forum]:Link [Server]:Link [Discord]:Link




Code:
You may only contact me through the links on my signature, if else then its an impersonating one, i am not on any other place not mentioned in my signature.
RogueDrifter is offline   Reply With Quote
Old 13/06/2018, 03:15 PM   #6
BanSilog
Big Clucker
 
BanSilog's Avatar
 
Join Date: Nov 2017
Location: @Madd Dogg's house
Posts: 62
Reputation: 7
Default Re: Kudos House System

Nice bro!
__________________
Pu$$YY
BanSilog is offline   Reply With Quote
Old 13/06/2018, 04:38 PM   #7
GTLS
Gangsta
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 695
Reputation: 87
Default Re: Kudos House System

Quote:
Originally Posted by RogueDrifter View Post
Wasn't streamer made by incognito? small info just saying, overall decent.
Oh Yeah. Sorry My Bad. Will fix it now. But I hope people will fix it inside the script too. Again Sorry.


And Thanks for Compliments.
__________________

I don't help for rep. I help cuz I was helped in the past.


California State Roleplay - X Update Now under beta testing phase. Stay Tuned.
GTLS is offline   Reply With Quote
Old 14/06/2018, 04:13 PM   #8
jasperschellekens
Gangsta
 
jasperschellekens's Avatar
 
Join Date: Dec 2016
Location: Gehenna
Posts: 660
Reputation: 43
Default Re: Kudos House System

Quote:
Originally Posted by GTLS View Post
Why did I waste my time on this?[/U][/B][/FONT]
I did not. I was making a house system for my server and I thought why not share it with people on forums. It took me a few hours making this. This script could save those hours for any other scripter.
SAMP needs more like you!
jasperschellekens is offline   Reply With Quote
Old 14/06/2018, 05:07 PM   #9
GeorgeMcReary
Big Clucker
 
Join Date: May 2015
Posts: 161
Reputation: 9
Default Re: Kudos House System

Quote:
Originally Posted by jasperschellekens View Post
SAMP needs more like you!
Exactly.

Another great help buddy. Thank you so much.


((spread some more rep before giving it back to GTLS again)) LOL forums doesnt let me rep him again..
__________________
GeorgeMcReary is offline   Reply With Quote
Old 15/06/2018, 01:02 AM   #10
MikeC1
Little Clucker
 
MikeC1's Avatar
 
Join Date: Apr 2018
Posts: 38
Reputation: 2
Default Re: Kudos House System

Cool!
__________________
MikeC1 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
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 05:06 AM.


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