SA-MP Forums Archive
[FilterScript] [FS] Pocket Admin | v0.1 BETA | Not completely tested - 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] [FS] Pocket Admin | v0.1 BETA | Not completely tested (/showthread.php?tid=37114)



[FS] Pocket Admin | v0.1 BETA | Not completely tested - Zezombia - 12.05.2008

Very small admin system, for very small servers.

=======================
Command list by WeeDarr
> /ban,
> /kick,
> /freeze,
> /unfreeze,
> /mute,
> /unmute,
> /report,
> /goto,
> /ann,
> /info
=======================
Rcon config
> /seepms
=======================
Other
> /login
=======================

The /info shows:
Name
ID
Cash
Score
IP

The /login can only be numbers, changed from the top of the script when you download padmin.

Features
You need to login to padmin to use the commands.
It needs to be a valid ID.
You can't use commands on yourself (but /info).
The player must be connected.
=======================
An RCON decides if admins can or can not see PMs.
All commands go in the sever log.

Thats basically it, very simple stuff, for very simple servers.

Download:
Pastebin (.com)
MORE LINKS ADDED TOMORROW.

Please add sugestions for things needed as vital commands.
Comments are appreciated.


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - Badger(new) - 12.05.2008

hi im very very VERY new to this so is it alright to use ur thing on the server im trying to make and how do i?


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - [HiC]TheKiller - 13.05.2008

Quote:
Originally Posted by Zezombia
Very small admin system, for very small servers.

=======================
Command list by WeeDarr
> /ban,
> /kick,
> /freeze,
> /unfreeze,
> /mute,
> /unmute,
> /report,
> /goto,
> /ann,
> /info
=======================
Rcon config
> /seepms
=======================
Other
> /login
=======================

The /info shows:
Name
ID
Cash
Score
IP

The /login can only be numbers, changed from the top of the script when you download padmin.

Features
You need to login to padmin to use the commands.
It needs to be a valid ID.
You can't use commands on yourself (but /info).
The player must be connected.
=======================
An RCON decides if admins can or can not see PMs.
All commands go in the sever log.

Thats basically it, very simple stuff, for very simple servers.

Download:
Pastebin (.com)
MORE LINKS ADDED TOMORROW.

Please add sugestions for things needed as vital commands.
Comments are appreciated.
Is this your scirpt?? Why:
Quote:

Command list by WeeDarr

Anyway nice .


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - Zezombia - 29.05.2008

By that I mean that he thought up the list, not made the script :P


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - shitbird - 31.05.2008

Bugged alot? if u /kick someone, and ur name is Fr0sTy it says "Fr0sty got kicked by admin Fr0sty"...?

Code:
 	if(strcmp("/kick", cmd, true) == 0)
	{
		tmp = strtok(cmdtext, idx);
		if(PLVL[playerid] == 0) return SendClientMessage(playerid, red, "Error: You are not an admin");
		if(!strlen(tmp)) return SendClientMessage(playerid, red, "Error: You did not put in an id");
		if(strval(tmp) == playerid) return SendClientMessage(playerid, red, "Error: You can not kick yourself");
		if(IsPlayerConnected(strval(tmp)) == 0) return SendClientMessage(playerid, red, "Error: That player is not connected");
		cmdid = strval(tmp);
		format(string, sizeof(string), "%s has been kicked from the server by admin %s", victim, executer);
		SendClientMessageToAll(yellow, string);
		print(string);

		Kick(cmdid);
		return 1;
	}
anyone help please?


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - pumpkin - 23.02.2009

Quote:
Originally Posted by Mikkel
Bugged alot? if u /kick someone, and ur name is Fr0sTy it says "Fr0sty got kicked by admin Fr0sty"...?

Code:
 	if(strcmp("/kick", cmd, true) == 0)
	{
		tmp = strtok(cmdtext, idx);
		if(PLVL[playerid] == 0) return SendClientMessage(playerid, red, "Error: You are not an admin");
		if(!strlen(tmp)) return SendClientMessage(playerid, red, "Error: You did not put in an id");
		if(strval(tmp) == playerid) return SendClientMessage(playerid, red, "Error: You can not kick yourself");
		if(IsPlayerConnected(strval(tmp)) == 0) return SendClientMessage(playerid, red, "Error: That player is not connected");
		cmdid = strval(tmp);
		format(string, sizeof(string), "%s has been kicked from the server by admin %s", victim, executer);
		SendClientMessageToAll(yellow, string);
		print(string);

		Kick(cmdid);
		return 1;
	}
anyone help please?
It is whit all cmds.. it only effects for id 0


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - Synkro93 - 23.02.2009

Quote:
Originally Posted by pumpkin
It is whit all cmds.. it only effects for id 0
Why reply after almost a year?


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - [AoA]RyDeR - 25.02.2009

Nice


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - robanswe - 25.02.2009

Nice admin fs for very smal servers..


Re: [FS] Pocket Admin | v0.1 BETA | Not completely tested - [-]Marcus - 05.06.2009

Nice