SA-MP Forums

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 13/06/2018, 10:06 AM   #1
GTLS
Gangsta
 
GTLS's Avatar
 
Join Date: Aug 2014
Location: India
Posts: 724
Reputation: 88
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
 

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 08:12 PM.


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