18.12.2015, 05:39
I have an txt that save multi account data per IP ( /aka cmd )
1. I want to know how can I make an auto-check if any player join my server, It will check the player IP from the txt that I mention above, and it will show a dialog to any admin onlines that this player have multi-account and show all his/her accounts that already exist.
2. I want to know how can I make a cmd that load the txt, If one of their old account was banned,t will show a dialog to any admin onlines that this player was banned before. ( Ban Evade )
By the way Im using ladmin :
1. I want to know how can I make an auto-check if any player join my server, It will check the player IP from the txt that I mention above, and it will show a dialog to any admin onlines that this player have multi-account and show all his/her accounts that already exist.
2. I want to know how can I make a cmd that load the txt, If one of their old account was banned,t will show a dialog to any admin onlines that this player was banned before. ( Ban Evade )
By the way Im using ladmin :
PHP код:
CMD:aka(playerid,params[])
{
if(PlayerInfo[playerid][Level] >= 3 || IsPlayerAdmin(playerid))
{
if(isnull(params)) return SendClientMessage(playerid, red, "USAGE : {FFFFFF}/aka [ID]");
new player1, playername[MAX_PLAYER_NAME], str[128], tmp3[50];
player1 = strval(params);
if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
{
GetPlayerIp(player1,tmp3,50);
GetPlayerName(player1, playername, sizeof(playername));
format(str,sizeof(str),"%s [%d] [%s] %s", playername, player1, tmp3, dini_Get("ladmin/config/aka.txt",tmp3));
return SendClientMessage(playerid,COLOR_PURPLE,str);
}
else return SendClientMessage(playerid, red, "Player is not connected or is yourself");
}
else return SendClientMessage(playerid,red,"Invalid Command ! Use {FFFFFF}/cmds");
}