SA-MP Forums Archive
[FilterScript] SchurAdmin - Administration Filterscript (0.1 alpha) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SchurAdmin - Administration Filterscript (0.1 alpha) (/showthread.php?tid=252564)



SchurAdmin - Administration Filterscript (0.1 alpha) - SchurmanCQC - 01.05.2011

SCHURADMIN


Features:

* • IP autologin
* • Anti-swear
* • Timed server info printer (default timer: 20 minutes)
* • A variety of admin commands.
* • Mute system
* • Secret admin password for setting yourself as level 5 admin (highest)
* • 5 admin levels

Admin Commands:

Code:
Level 1 Commands: /kick /mute /slap /freeze /unfreeze /a /aglobal
Level 2 Commands: /goto /gethere /whois /disarm
Level 3 Commands: /explode /givemoney /fine
Level 4 Commands: /kickall /killall /healall /armourall
Level 5 Commands: /gmx /setlevel /lockserver /unlockserver
Passworded Command:

There is a passworded command, which the password could be set from inside the filterscript. The command is /makemeadmin [pass] which makes you a level 5 admin.

Q: Whats the highest admin level? - A: 5

Q: What is included in the players file? - A: Cash, Admin, Score, Skin, IP

Q: How many lines are in the script? - A: 1012

Q: Whats the command to view a-commands? - A: /acmds


Installation:
You need: ZCMD, SSCANF, DINI.

Open the script and change the HIREADMINPASSWORD to the desired one.

Put the compiled SCHURADMIN.amx into your filterscripts folder.

Add "SCHURADMIN" to your "filterscripts" line in server.cfg

Run the server. - Wait for it to shut down

Go into the scriptfiles and find config.ini.

Open config.ini and change EDITED to 1, and change the SCRIPTER, OWNER, and WEBSITE to the desired string.
(OPTIONAL NOTE; if you change VENTRILO or TEAMSPEAK to something other than 'NONE', it will appear in the server info.)

Go in game and register, then type /makemeadmin [yourpassword] to get your admin level!

Download:
ALPHA v0.1 here
ALPHA v0.2 here

BUG REPORTS:
If you find ANY bugs just post here and they will be fixed ASAP for the final version.


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - Laronic - 01.05.2011

Copied and pasted from your script... Do you see anything wrong? :P
pawn Code:
format(string, sizeof(string),"[MUTE]: %s has been muted for 20 seconds for swearing.");



Re: SchurAdmin - Administration Filterscript (0.1 alpha) - SchurmanCQC - 01.05.2011

EDIT: Oh, nevermind, I do see whats wrong now.

EDIT2: Fixed, new link updated.


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - Laronic - 01.05.2011

No i mean t i copied and pasted it :P

i think you just missed something, look at the differents

pawn Code:
//From your script
format(string, sizeof(string),"[MUTE]: %s has been muted for 20 seconds for swearing.");

//Edited
format(string, sizeof(string),"[MUTE]: %s has been muted for 20 seconds for swearing.", name);



Re: SchurAdmin - Administration Filterscript (0.1 alpha) - SchurmanCQC - 01.05.2011

Fixed.


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - byh424n - 01.05.2011

good job , man


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - SchurmanCQC - 01.05.2011

Thanks.


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - Slash01 - 02.05.2011

hey guys, uhh was wondering, could anyone add a ban command to this, also, is there a reg/login sytem with this? if not ill add my own login system to it, thanks


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - SchurmanCQC - 02.05.2011

I was an idiot back then. Removed at 2012-12-31


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - Donya - 02.05.2011

Quote:
Originally Posted by Schurman
View Post
Dumbasses these days....There IS a ban command, and there IS a reg/login. Download it and find out.
why are you flaming, I see no point in it, this is what happens when you release something. Deal with it or just don't respond, its not hard dude.

yet you put "Admin Commands:", and /ban isn't there, so he assumed it and asked.

edit: $hit isn't a swear

in your public, public timedmute(playerid) there is no return 1, players can desync sometimes when not returning one in a public

and in restart(), SendInfo()

command(slap, playerid, params[]) slaps them +y, isn't it surpose to be +z?
command(explode, playerid, params[]) the radius is to big, that will kill many players near by, try 3 or lower
command(whois, playerid, params[]) - why is the pIP variable 256? try 17 or 16


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - SchurmanCQC - 02.05.2011

...fixed.


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - Millionaire - 03.05.2011

Good Job


Re: SchurAdmin - Administration Filterscript (0.1 alpha) - gamerhead - 03.05.2011

You made this nice, im using this! Thank you.