[FilterScript] Attachements System [MySQL Version]
#1


Attachements System [MySQL Version]
This FilterScript allows player to add Attachement (also known as Toys, Clothes...) withtin the limit set in the script. Command: /OBJECTS (can be changed easily)
NOTE: *Maximum possible is 10!
The data is saved using MySQL in a table that creates automatically when you load the filterscript and start the server, and you don't have to worry about saving on Disconnect, Timers( ), Everywhen the player Adds or Edits an Attachement, it will be saved!

IMPORTANT: *You must be connecting to a MySQL database in the gamemode
*You must have a Users/Playerbase table that contains a field ID that can't be same for 2 players and never change, mostly like ID to Load/Save properly.
*This FilterScript uses MySQL R33 and above (39R-5 Recommended, download in Requirements)
*You must be connecting to a MySQL database in the gamemode

REQUIREMENTS: Download Full Package

PICTURES:






INSTALLING:
Must change:
PHP Code:
//===========CHANGES===========//
#define MYSQL_USERS_TABLE "Users"
#define MYSQL_ID_FIELDNAME "ID"
#define MYSQL_ID_INDEX 0 //It's mostly like always 0, but depends on your table!
//=============================// 
For custom settings:
PHP Code:
//=======CUSTOM SETTINGS=======//
#undef MAX_OBJECTS
#define MAX_OBJECTS 5
#define MINX 0.25
#define MINY 0.25
#define MINZ 0.25
#define MAXX 3.00
#define MAXY 3.00
#define MAXZ 3.00
//=============================// 
Compile, and Load the filterscript!

PASTBIN:
NEW VERSION

Reply


Messages In This Thread
Attachements System [MySQL Version] - by Shinja - 13.08.2016, 22:36
Re: Attachements System [MySQL Version] - by DeksoN - 13.08.2016, 23:00
Re: Attachements System [MySQL Version] - by SyS - 14.08.2016, 14:07
Re: Attachements System [MySQL Version] - by Shinja - 14.08.2016, 15:42
Re: Attachements System [MySQL Version] - by Fantje - 14.08.2016, 20:16
Re: Attachements System [MySQL Version] - by Vince - 14.08.2016, 21:07
Re: Attachements System [MySQL Version] - by Shinja - 14.08.2016, 21:40
Re: Attachements System [MySQL Version] - by justjamie - 26.08.2016, 16:22
Re: Attachements System [MySQL Version] - by Shinja - 26.08.2016, 16:39
Re: Attachements System [MySQL Version] - by justjamie - 26.08.2016, 16:42
Re: Attachements System [MySQL Version] - by Shinja - 26.08.2016, 17:28
Re: Attachements System [MySQL Version] - by Kwarde - 26.08.2016, 17:59
Re: Attachements System [MySQL Version] - by Shinja - 26.08.2016, 18:53
Re: Attachements System [MySQL Version] - by Kwarde - 26.08.2016, 22:37
Re: Attachements System [MySQL Version] - by Shinja - 27.08.2016, 00:18
Re: Attachements System [MySQL Version] - by WhiteGhost - 27.08.2016, 00:34
Re: Attachements System [MySQL Version] - by SickAttack - 27.08.2016, 01:45
Re: Attachements System [MySQL Version] - by WhiteGhost - 27.08.2016, 04:29
Re: Attachements System [MySQL Version] - by tboysamp - 01.09.2016, 02:56
Re: Attachements System [MySQL Version] - by Shinja - 01.09.2016, 15:00
Re: Attachements System [MySQL Version] - by tboysamp - 02.09.2016, 06:54
Re: Attachements System [MySQL Version] - by Shinja - 02.09.2016, 10:49
Re: Attachements System [MySQL Version] - by tboysamp - 02.09.2016, 17:30
Re: Attachements System [MySQL Version] - by Shinja - 02.09.2016, 17:32
Re: Attachements System [MySQL Version] - by AstroZ - 04.09.2016, 08:51
Re: Attachements System [MySQL Version] - by fireranger11 - 19.05.2017, 07:49
Re: Attachements System [MySQL Version] - by Astralis - 20.05.2017, 06:58
Re: Attachements System [MySQL Version] - by Kimsa - 20.05.2017, 07:06
Re: Attachements System [MySQL Version] - by Shinja - 30.07.2017, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)