TFAdmin 1.0 -
[CwS]TonyFortebracci - 17.10.2012
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;
}
Re: TFAdmin 1.0 -
BlueFire_ - 17.10.2012
Not bad. Good for newbies and what are the commands for level 4
?? XD
Re: TFAdmin 1.0 -
[CwS]TonyFortebracci - 17.10.2012
There aren't xD but i create a new command for a new version of TFAdmin but Thx you
Re: TFAdmin 1.0 -
Edvin - 17.10.2012
A little bit more commands, and will be good
Re: TFAdmin 1.0 -
[CwS]TonyFortebracci - 17.10.2012
Thanks you Edvin
but I repeat , I script a new command for new version!
Re: TFAdmin 1.0 -
Zh0ro` - 17.10.2012
Not Bad, Thanks!
Re: TFAdmin 1.0 -
Skillet` - 17.10.2012
what the difference between freeze\mute and sfreeze\smute ?
Re: TFAdmin 1.0 -
-Sam_hero- - 17.10.2012
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))
Re: TFAdmin 1.0 - XProtocol - 18.10.2012
Try adding more commands it will be better then
Re: TFAdmin 1.0 -
pes2012maniac - 18.10.2012
basic admin commands
nice.
Re: TFAdmin 1.0 -
[CwS]TonyFortebracci - 18.10.2012
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;
}
Re: TFAdmin 1.0 -
Hustlah - 19.10.2012
Looks good, Looks good will help new samp servers with there admin fs
Re: TFAdmin 1.0 -
[CwS]TonyFortebracci - 19.10.2012
Thanks you Hust!