[FilterScript] [FS] bAdmin 0.8
#1

bAdmin v 0.8
by bogeyman_EST
_________________________________________________
Features
  • 46 admin commands
  • 4 levels with customizable titles
  • Fully translatable (see below)
  • MySql stat saving (not loading) for stat images etc.
  • config.ini for easy customization (see below)
  • Admin command logging
  • Rarely seen /timeban command
  • Includes English and Estonian translation
_________________________________________________
Support

Translating
  • Make a copy of english.inc in pawno\includes\bAdmin
  • Edit everything in quotes (")
    NOTE: Do not change %s and %i!
  • Save it to pawno\includes\bAdmin as yourlanguage.inc (replacing "yourlanguage" with the name of your language)
  • Change the 11th line (default "#include <bAdmin\english>") to #include <bAdmin\yourlanguage> (replacing "yourlanguage" with the name of your language)
config.ini
  • scoresave - Save score? Default: 1
  • moneysave - Save money? Default: 1
  • adminmsgs - Display admin messages? Default: 1
  • logging - Log admin commands? Default: 1
  • level#_name - Title for level #
  • mysql - Use MySql saving? Default: 0
  • mysql_# - The # for your MySql.
Installation
  • Download the package (look below)
  • Extract it to your SA-MP server installation path
  • Check if the FS went in your FS folder and the includes in your includes folder ( bAdmin requires dini.inc too).
  • Create bAdmin, bAdmin\Users and bAdmin\Timebans folders to your scriptfiles folder.
  • Add\' badmin\' as the first filterscript in server.cfg
  • Run your server once, then close it. A config has been created to scriptfiles\bAdmin
  • If needed, modify the config.
  • Now you are ready to run your server once again and have fun!
  • To get admin: register ingame, login as RCON, then type any command
_________________________________________________

Download
0.8 (newest):



Have fun,
bogey

Reply
#2

what commands
Reply
#3

Quote:
Originally Posted by RemulisLTU
what commands
Here are the commands

Code:
	if(!strcmp(cmdtext, "/ahelp", true))
	{
		SendClientMessage(playerid, COLOR_BLUE, msg_commands);
		SendMsg(playerid, COLOR_YELLOW, "%s :: /report :: /nopm :: /register :: /login ::", msg_lvl0cmds);
		if(level[playerid] >= 1)
		{
			SendMsg(playerid, COLOR_YELLOW, "%s :: /a :: /info :: /kick :: /slap :: /akill :: /announce(/ann) :: /health :: /vhlth :: /tune :: /mute ::", msg_lvl1cmds);
			SendClientMessage(playerid, COLOR_YELLOW, ":: /health :: /vhlth :: /tune :: /mute ::");
		}
		if(level[playerid] >= 2)
		{
			SendMsg(playerid, COLOR_YELLOW, "%s :: /ban :: /explode :: /gethere :: /goto :: /tele :: /jail :: ", msg_lvl2cmds);
			SendClientMessage(playerid, COLOR_YELLOW, ":: /time :: /clearchat :: /weather :: /(give)(set)money :: /(give)(set)score ::");
		}
		if(level[playerid] >= 3)
		{
			SendMsg(playerid, COLOR_YELLOW, "%s :: /timeban :: /weap :: /veh :: /fake ::", msg_lvl3cmds);
			SendClientMessage(playerid, COLOR_YELLOW, ":: /(un)freeze :: /setgreet :: /seepms :: /cage ::");
		}
		if(level[playerid] >= 4)
		{
			SendMsg(playerid, COLOR_YELLOW, "%s :: /setadmin :: /setstat :: /restart(/gmx) :: ", msg_lvl4cmds);
			SendClientMessage(playerid, COLOR_YELLOW, ":: /(re)(un)loadfs :: /gravity :: /crash :: /reloadusers ::");
		}
		SendClientMessage(playerid, COLOR_BLUE, msg_moreinfo);
		return 1;
	}
	return 0;
}
Reply
#4

For the rest nice adminscript
Reply
#5

Quote:
Originally Posted by ToD
For the rest nice adminscript
Edit your post next time, Nice script
Reply
#6

Very nice, I might use it some day :P
Reply
#7

The Timeban system is from the GM Old vs Young or how it\'s called. i have the same Timebansystem
but nice
Reply
#8

Am.. the better way is to put 2 leveles (1 for adminsitrators and 2 for moderator)Btw: nice work..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)