/logs command.
#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


Messages In This Thread
/logs command. - by Lambordi - 20.04.2013, 21:37
Re: /logs command. - by Lambordi - 21.04.2013, 13:13
Re: /logs command. - by Lambordi - 22.04.2013, 00:29
Re: /logs command. - by ryanhawk31 - 22.04.2013, 00:42

Forum Jump:


Users browsing this thread: 1 Guest(s)