09.09.2012, 21:48
Cross Admin System V1.2 [Updated]
Release Info
This is My First Admin System... i got the Tutorial from SA-MP wiki to be honest.. the ideas from Luxorian Thanks alot to him and SA-MP Team Ofcourse There are no much Cmds but.. its Decent cmds
Change Log
Code:
V1.2 - Added /addnos and /repair V1.2 - Added Anti Cheat System V1.2 - Added IRC System V1.2 - Released V1.1 - Added Respawn Cars Command V1.1 - Added Admin Chat V1.1 - Added Player Join/Exit Messages V1.1 - Added Admin Island V1.1 - Added V.I.P Commands V1.1 - Fixed /kick Bug V1.1 - Fixed /ban Bug V1.1 - Added Some Commands V1.1 - Added Internal V.I.P System V1.1 - Added Saving Score System V1.1 - Released V1.0 - Released
1. Hashed Passwords
2. Account System
3. Save Player Stats Eg: Kills /Deaths /.. etc
4. Configurable Options
5. Anti Advertisements
6. Set your admin level or anyone's admin level from ingame just 1 command
7. Banning System
8. Announce System
9. Private Message System [ Also Configurable from Script ]
10. Registration / Login Systems (Dialog Support)
11. Saves Player Score NEW!
12. Internal V.I.P System NEW!
13. Anti Cheat System Protects the server Against:
Health Hacks
Money Hacks
Armour Hacks
Vehicle Heath Hacks
Weapons Hacks
JetPack Hacks NEW!
I am sorry its very low but as i said its my first admin system
Levels
1. Trial Admin - Level 1
2. General Admin - Level 2
3. Senior Admin - Level 3
4. Lead Admin - Level 4
5. Head Admin - Level 5
6. Main Admin - Level 10
Commands
register
login
password (to change ur password)
clearchat
pm
setarmour
sethealth
setscore
setskin
setlevel
goto
get
stats
ban
kick
freeze
unfreeze
mute
unmute
akill
blow
acar
aheli
aboat
abike
rac (respawn cars)
an (announcements)
repair
addnos
How To Use
1. Making your self an Admin
2. Editing the Configurable Settings in the Script
__________________________________________________ ______________________
1. Making yourself an Admin / V.I.P(applies to you or any one)
There are 2 ways
1. Editing the profile
2. using /setlevel command
1. Editing the Porfile:
This is how the profile looks like:
Code:
[data] Password = 98238835 Cash = 0 Admin = 10 <-------- Just Change this Kills = 0 Deaths = 0 Score = 0 V.I.P Level = 0
How to Edit the Script
Only these are configurable in the script dont play in any other thing unless you understand PAWN language well
PLEASE REFER TO THIS THREAD TO BE ABLE TO EDIT THE ANTI CHEAT SYSTEM --> Anti Cheat Pack (Full Release)
pawn Code:
//----------Configurations--------------------
#define ENABLE_PM true //Enable /Disable Pm Command
#define USE_STATSCMD true //Enable / Disable the use of /stats Command
#define ENABLE_AntiAdv true //Enable / Disable Anti Advertisements
#define ENABLE_Randoms true //Enable /Disable Random Msgs
#define READ_CMDS true // Allows Admins To Read Player Cmds
pawn Code:
//---------------Dialogs--------------------
#define DIALOG_REGISTER 5521 //change those numbers to avoid conflict with other scripts
#define DIALOG_LOGIN 5522
#define DIALOG_SUCCESS_1 5523
#define DIALOG_SUCCESS_2 5524
pawn Code:
new Randoms[][] =
{
"Visit Us at www.InsaneGamerz.arabchampions.net", //just edit the text
"This Server is one of the Best. You Will Never Get Bored",
"You Can Change / Add Random Msgs Any Time"
};
pawn Code:
//-------------------IRC----------------
//IRC OPTIONS
#define USE_IRC false // Disable / Enable Irc
// 1st Echo Bot
#define BOT_1_NICKNAME "BACON"
#define BOT_1_REALNAME "SA-MP Bot"
#define BOT_1_USERNAME "Insane-Gamerz"
// 2nd Echo Bot
#define BOT_2_NICKNAME "EGGS"
#define BOT_2_REALNAME "SA-MP Bot 2"
#define BOT_2_USERNAME "Insane-Gamerz"
//All bots password
#define IRC_BOT_PASSWORD "lmaocheese123"
// Admin Echo Bot (3rd)
#define BOT_3_NICKNAME "CHIPS"
#define BOT_3_REALNAME "SA-MP Bot 2"
#define BOT_3_USERNAME "Insane-Gamerz"
//Admin Channel password
#define IRC_ADMINCHANNEL_PASSWORD "" // self explanatory
#define IRC_SERVER "irc.mibbit.net" //irc server
#define IRC_PORT (6667) //irc port default is (6667)
#define IRC_CHANNEL "" // ur Channel
#define IRC_ADMINCHANNEL "" //Ur Admin Channel
#define MAX_BOTS (3)
1. sscanf plugin , Include File
2. Y_INI Include File
3. dutils Include File
4. lfuncs Include File
5. WhirlPool Plugin
6. IRC Plugin, Include File
Installation
1. Download The File
2. Place the includes in its place
3. put the FS in its place
4. Put the Plugins in its place
5. Go to server.cfg
6. Add CrossAdmin to the filterscripts line [it has to be the first FS]
7. Add Whirlpool to the plugins line if windows and Whirlpool.so if Linux
8. Add CrossAdmin Folder to ur script files directory and folder named Users to CrossAdmin Directory
9. Have Fun!
Bugs
None at the Moment! You ofcourse may find some but be sure to notify me to fix them
Download
CrossAdmin V1.0
CrossAdmin V1.1 [Updated]
CrossAdmin V1.2 [Updated]
Credits
1. SA-MP Wiki [Tutorials]
2. LuxorioN [Ideas from his admin script]
3. Me [For making the script]
4. Kush [Tutorial on Login/Register System]
5. HDFord [/setlevel Command]