command for /changename?
#9

I'm using a filterscript MellAdmin and it use Dini for saving.

This is the stock..

pawn Code:
stock DiniBanPlayer(playerid, admin[], reason[])
{
    new file[128], date[16], year, month, day;
    getdate(year, month, day);
    format(date, sizeof(date), "%d/%d/%d", day, month, year);
    format(file, sizeof(file), "/%s/%s.ini", DINI_PATH, GetName(playerid));
    dini_IntSet(file, "Status", 2);
    dini_Set(file, "BannedBy", admin);
    dini_Set(file, "BanReason", reason);
    dini_Set(file, "BanDate", date);
    Kick(player);
    return 1;
}
In the thread is says
pawn Code:
Status (0 = offline, 1 = online, 2 = banned)
If I do /unban [Exact Name]

Status=2 must change to Status=0
Reply


Messages In This Thread
command for /changename? - by .v - 25.09.2012, 10:54
Re: command for /changename? - by West X - 26.09.2012, 22:04
Re: command for /changename? - by .v - 26.09.2012, 23:53
Re: command for /changename? - by West X - 27.09.2012, 00:27
Re: command for /changename? - by .v - 27.09.2012, 00:59
Re: command for /changename? - by West X - 27.09.2012, 01:06
Re: command for /changename? - by .v - 27.09.2012, 01:17
Re: command for /changename? - by West X - 27.09.2012, 01:22
Re: command for /changename? - by .v - 27.09.2012, 01:25
Re: command for /changename? - by West X - 27.09.2012, 01:33

Forum Jump:


Users browsing this thread: 2 Guest(s)