[FilterScript] TFAdmin 1.0
#1

ChangeLOG
TFAdmin Prerelase 1.0



ITALIANO
Ciao a tutti amici di Samp Forum!
Oggi vi posto la mia nuova versione del sistema admin TFAdmin1.0
Ci saranno nuovi comandi sia in RCON e in SERVER!
Comandi in server
/Kick - Livello 2
/Ban - Livello 3
/Warn - Livello 1
/SetLevel - Livello 1
/GodAdmin - RCON
/Freeze - Livello 3
/SFreeze - Livello 3
/Mute - Livello 3
/SMute - Livello 3
/Set - Livello 5 - Non disponibile
/AdminCMD=1
Comandi in RCON
SetEnLen - Settare la lingua inglese
SetItLen - Settare la lingua italiana
Funzioni
Anti Parole proibite
Anti Spam ( IP e URL )

ENGLISH
Hello to all friends of Samp Forum!
Today I post my new version of the system admin TFAdmin1.0
There will be new commands both RCON and SERVER!
Commands in server
/Kick - Level 2
/Ban - Level 3
/Warn - Level 1
/SetLevel - Level 1
/GodAdmin - RCON
/Freeze - Level 3
/SFreeze - Level 3
/Mute - Level 3
/SMute - Level 3
/Set - Level 5 - Not available
/AdminCMD = 1
Command in RCON
SetEnLen - Set English
SetItLen - Set the Italian language
Features
Anti forbidden words
Anti Spam (IP and URL)

Download CLICK

Guys in the command smute there are a problem.
Insert info[id][mute] = 1;
The command is:
Код:
CMD:mute(playerid,params[]){
    SendCMDSToAdmin(playerid,"Mute");
	if(info[playerid][livello] >= comandi[mute]){
		if(server[leanguage] == 0){
			if(sscanf(params,"u",id))return SendClientMessage(playerid,COLORE_ROSSO,"USA:/Mute ID");
			if(!IsPlayerConnected(id))return SendClientMessage(playerid,COLORE_ROSSO,"Player non connesso");
			if(info[id][mute] == 1)return SendClientMessage(playerid,COLORE_ROSSO,"Player mutato!");
			format(stringa,3000,"[AdminCMD]%s ha mutato %s",GetPlayerNameEx(playerid),GetPlayerNameEx(id));
		} else if(server[leanguage] == 1){
			if(sscanf(params,"uu",id,other))return SendClientMessage(playerid,COLORE_ROSSO,"USE:/Mute ID MINUTE");
			if(!IsPlayerConnected(id))return SendClientMessage(playerid,COLORE_ROSSO,"Player not connect");
			if(info[id][mute] == 1)return SendClientMessage(playerid,COLORE_ROSSO,"Player muted!");
			format(stringa,3000,"[AdminCMD]%s has muted %s",GetPlayerNameEx(playerid),GetPlayerNameEx(id));
		}
		SendClientMessageToAll(COLORE_GIALLO,stringa);
		info[id][mute] = 1;
	} else {
		SendLevelErrorCMDS(comandi[mute],playerid);
	}
	return 1;
}
Reply
#2

Not bad. Good for newbies and what are the commands for level 4?? XD
Reply
#3

There aren't xD but i create a new command for a new version of TFAdmin but Thx you
Reply
#4

A little bit more commands, and will be good
Reply
#5

Thanks you Edvin but I repeat , I script a new command for new version!
Reply
#6

Not Bad, Thanks!
Reply
#7

what the difference between freeze\mute and sfreeze\smute ?
Reply
#8

I've tested it, well i can't promote myself from Rcon or Scripftiles > TFAdmin > Accounts etc...
You will have to add
Код:
	if(AccInfo[playerid][LoggedIn] == 1)
	{
		if(AccInfo[playerid][Level] >= 6 || IsPlayerAdmin(playerid))
Reply
#9

Try adding more commands it will be better then
Reply
#10

basic admin commands
nice.
Reply
#11

Quote:
Originally Posted by -Sam_hero-
Посмотреть сообщение
I've tested it, well i can't promote myself from Rcon or Scripftiles > TFAdmin > Accounts etc...
You will have to add
Код:
	if(AccInfo[playerid][LoggedIn] == 1)
	{
		if(AccInfo[playerid][Level] >= 6 || IsPlayerAdmin(playerid))
Good Idea
Thx to all

Guys in the command smute there are a problem.
Insert info[id][mute] = 1;
The command is:
Код:
CMD:mute(playerid,params[]){
    SendCMDSToAdmin(playerid,"Mute");
	if(info[playerid][livello] >= comandi[mute]){
		if(server[leanguage] == 0){
			if(sscanf(params,"u",id))return SendClientMessage(playerid,COLORE_ROSSO,"USA:/Mute ID");
			if(!IsPlayerConnected(id))return SendClientMessage(playerid,COLORE_ROSSO,"Player non connesso");
			if(info[id][mute] == 1)return SendClientMessage(playerid,COLORE_ROSSO,"Player mutato!");
			format(stringa,3000,"[AdminCMD]%s ha mutato %s",GetPlayerNameEx(playerid),GetPlayerNameEx(id));
		} else if(server[leanguage] == 1){
			if(sscanf(params,"uu",id,other))return SendClientMessage(playerid,COLORE_ROSSO,"USE:/Mute ID MINUTE");
			if(!IsPlayerConnected(id))return SendClientMessage(playerid,COLORE_ROSSO,"Player not connect");
			if(info[id][mute] == 1)return SendClientMessage(playerid,COLORE_ROSSO,"Player muted!");
			format(stringa,3000,"[AdminCMD]%s has muted %s",GetPlayerNameEx(playerid),GetPlayerNameEx(id));
		}
		SendClientMessageToAll(COLORE_GIALLO,stringa);
		info[id][mute] = 1;
	} else {
		SendLevelErrorCMDS(comandi[mute],playerid);
	}
	return 1;
}
Reply
#12

Looks good, Looks good will help new samp servers with there admin fs
Reply
#13

Thanks you Hust!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)