/logs command.
#1

Hello, would anyone help me make a /logs command, which would display the last 50 lines or so of the server logs, so I can view them in game?

Thanks

Using zCMD
Reply
#2

bump.
Reply
#3

could use some help here lol
Reply
#4

Try something like this:
i dont know if it work but make a command that opens the server_log.txt

Код:
CMD:log(playerid, params[])
{
    if (PlayerInfo[playerid][pAdmin] >= 1
    {
        new string[31];
    	SendClientMessage(playerid, COLOR_LIGHTBLUE,"You are vieweing the server log");
    	format(string, sizeof(string), "server_log.txt");
    }
    else if
    {
	SendClientMessage(playerid, COLOR_LIGHTBLUE,"Only admins can use this command!");
    }
}
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)