RconCommand Log
#8

Try this
pawn Код:
new File:cmdlog;

public OnRconCommand(playerid,cmd[])
{
    new str[128];
    new Lname[24];
    GetPlayerName(playerid,Lname,24);
    format(str, sizeof(str),"%s has used the command %s", cmd[])
    cmdlog = fopen("L_CMDLogs.txt", io_append);
    fwrite(cmdlog, str);
    fclose(cmdlog);
    return 0;
}
Reply


Messages In This Thread
RconCommand Log - by BiosMarcel - 18.10.2012, 11:54
Re: RconCommand Log - by Red_Dragon. - 18.10.2012, 12:00
AW: RconCommand Log - by BiosMarcel - 18.10.2012, 12:01
Re: RconCommand Log - by Roel - 18.10.2012, 12:03
AW: RconCommand Log - by BiosMarcel - 18.10.2012, 12:04
Re: RconCommand Log - by Roel - 18.10.2012, 12:05
AW: RconCommand Log - by BiosMarcel - 18.10.2012, 12:06
Re: RconCommand Log - by Lordzy - 18.10.2012, 12:06
Re: RconCommand Log - by Roel - 18.10.2012, 12:08
AW: RconCommand Log - by BiosMarcel - 18.10.2012, 12:08

Forum Jump:


Users browsing this thread: 2 Guest(s)