SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 09/09/2012, 09:10 AM   #1
CROSS_Hunter
Huge Clucker
 
CROSS_Hunter's Avatar
 
Join Date: Jul 2012
Location: On Earth
Posts: 316
Reputation: 17
Default Cross Admin System V1.1 [Updated](sscanf, dcmd,y_ini) No.1 Admin System

Cross Admin System V1.0


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.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
Functions of the Script
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!
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)


How To Use

1. Making your self an Admin
2. Editing the Configurable Settings in the Script
__________________________________________________ ______________________
1. Making yourself an Admin (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
2. using /setlevel command [Self explained]

How to Edit the Script

Only these are configurable in the script dont play in any other thing unless you understand PAWN language well

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

If the Dialogs Conflict with any of your script Simply:
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

The Random Messages:
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"
};

Requirments
1. sscanf plugin , Include File
2. Y_INI Include File
3. dutils Include File
4. lfuncs Include File
5. WhirlPool Plugin


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]

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]

Last edited by CROSS_Hunter; 09/09/2012 at 12:10 PM. Reason: Updated to V1.1
CROSS_Hunter is offline   Reply With Quote
Old 09/09/2012, 09:12 AM   #2
[MK]Man_Deep
Huge Clucker
 
[MK]Man_Deep's Avatar
 
Join Date: Jul 2012
Location: 666
Posts: 293
Reputation: 4
Default Re: Cross Admin System V1.0 (sscanf, dcmd,y_ini) No.1 Admin System

First Poster
Nice Rep+
[MK]Man_Deep is offline   Reply With Quote
Old 09/09/2012, 09:13 AM   #3
CROSS_Hunter
Huge Clucker
 
CROSS_Hunter's Avatar
 
Join Date: Jul 2012
Location: On Earth
Posts: 316
Reputation: 17
Default Re: Cross Admin System V1.0 (sscanf, dcmd,y_ini) No.1 Admin System

Quote:
Originally Posted by [MK]Man_Deep View Post
First Poster
Nice Rep+
Thanks Glad You Liked it
CROSS_Hunter is offline   Reply With Quote
Old 09/09/2012, 09:22 AM   #4
[MK]Man_Deep
Huge Clucker
 
[MK]Man_Deep's Avatar
 
Join Date: Jul 2012
Location: 666
Posts: 293
Reputation: 4
Default Re: Cross Admin System V1.0 (sscanf, dcmd,y_ini) No.1 Admin System

NP How many days u worked on this ?
[MK]Man_Deep is offline   Reply With Quote
Old 09/09/2012, 10:00 AM   #5
Edvin
Gangsta
 
Edvin's Avatar
 
Join Date: Dec 2010
Posts: 856
Reputation: 71
Default Re: Cross Admin System V1.0 (sscanf, dcmd,y_ini) No.1 Admin System

Why you don't use ZCMD or insteand of dcmd what is deprecated and very slow ?

Btw, good work for using: SScanf, Whirlpool and Y_INI
Edvin is offline   Reply With Quote
Old 09/09/2012, 10:40 AM   #6
CROSS_Hunter
Huge Clucker
 
CROSS_Hunter's Avatar
 
Join Date: Jul 2012
Location: On Earth
Posts: 316
Reputation: 17
Default Re: Cross Admin System V1.0 (sscanf, dcmd,y_ini) No.1 Admin System

Quote:
Originally Posted by Edvin View Post
Why you don't use ZCMD or insteand of dcmd what is deprecated and very slow ?

Btw, good work for using: SScanf, Whirlpool and Y_INI
Thanks.. and about zcmd its because i got used to dcmd i make all my scripts using dcmd and even my GM is dcmd xD
Quote:
Originally Posted by [MK]Man_Deep View Post
NP How many days u worked on this ?
2 days

EDIT: anyways i am working on v1.1 it will include V.I.P System and Player Join/Exit msgs and lots more i ll be releasing it today if i can
CROSS_Hunter 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] Login/Register using ZCMD SSCANF & Y_INI.( Admin commands + VIP System + VIP Commands! ) Zh3r0 Filterscripts 116 09/01/2015 10:57 AM
Admin system using y_ini davve95 General 1 19/04/2012 05:25 AM


All times are GMT. The time now is 09:12 PM.


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