[FilterScript] T-Admin System & MySQL [Edit Version]
#1

T-Admin System & MySQL [Edit Version]

Introduction:
Nothing I'm Just Thinking This Not Good Admin System Then i Edit it with my own ideas



Код:
Changelogs:

Official Scripted By: ForeignBastard ©

*********Edit by Matt Santos AKA Team_PRO Don't Remove Credits***********************Add Me in FB Psphacker01*********

Change Log 1.2
-Back to ZCMD
-Fix MySQL
-Fix Password Hasing
-Fix Bugs

Change Log 1.1 R3 
-Added /tune Command for Admins
-Fix Bugs

Change Log 1.1 R2 
-Change from CMD [ZeeX] to CMD [******]
-Fix Bugs

Change Log 1.1 R1 
-Added Define Version
-Added Random Message
-Bug Fixed


Change Log 1.1[Note: 
-Added More Commands
* /level(current level) // To See Your Available Commands in Your Current Level [Note: No Space Example, Wrong: /level 1,  Correct /level1]
* /arules(current level) // To See Your Available Commands in Your Current Level Rules [Note: No Space Example, Wrong: /arules 1,  Correct /arules1]
-Added: Define Server and Website
-Bug Fixed

Change Log 1.0
-Initial Release by ForeignBastard ©

// Commands
/Kick
/Announce
/Bring
/Drop
/(un)Jail
/Spawn
/Ip
/Say
/(un)Freeze
/Goto
/(un)Mute
/Jetpack
/Godmode
/MegaJump
/Slay
/Explode
/(un)Ban
/Setkill
/Setdeaths
/Setscore
/Setmoney
/Setplayerbank
/(armour)Healall
/Disarm
/Setlevel [1-5]
/Tune
// If the Command Didn't Work that Means You Don't Have Right to Use It
MySQL - Saving System
ZCMD - Command Proccessor
Код:
 To set your admin level do /setlevel 1-5
Код:
Installation:
1. Copy The Tadmin.Pwn And Tadmin.Amx Into Your Filterscript Folder
2. Copy The Mysql.Dll And Sscanf.Dll To Your Plug-In Folder
3. Open Server.Cfg  Then Go To Fillterscipt Line Then Right Beside It “Tadmin” Without The “” Like This
Filterscript Tadmin
4. Now Go To Plug-In Line Then Write “Mysql” And “Sscanf “ Without “”
5. Open Samp_Server
6. You’re Done.
Contact Me If I Do Ever Wrong

Download: Github
Read me on: Github Readme
Reply
#2

Nice JoB.
Reply
#3

good job man
Reply
#4

Nice man.
Reply
#5

Good job - Keep it up.
Reply
#6

Good job!
Reply
#7

Very.
.
.
.
.
.
.
.
.
.
.
.
.
.GOOD! +REP
Reply
#8

NICE 1 even tho i didn't try it
Reply
#9

A couple of notes:
- You should add unsigned int `id` with auto increment and as a primary index to users table, and refer to the id instead of username whenever possible, as it is more efficient.
- SHA1 is not designed for hashing passwords, but is instead optimised for speed (which is a bad thing in this case). You should consider using bcrypt or Whirlpool (requires salting) instead.
- You should escape the ban reason as well, might cause (un)intentional issues otherwise
- The query on line 323 could be "SELECT NULL" instead of "SELECT *", as you're not using the loaded data at all. Avoids loading of unnecessary data.
Reply
#10

Niceee
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)