[Include] rLogs | Server logs
#9

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
I like this, especially the use of y_va, you could log all admin (any, actually) used commands with this !
Example of usage:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!IsPlayerAdmin(playerid)) return 1;
new player_name[24]; GetPlayerName(playerid, player_name, sizeof(player_name));
WriteInLog( "LogThis.log", "", "%s used %s !", player_name, cmdtext );
return 1;
}
Yes, you could log anything you want.
I'm glad you find it useful and.

I think I should make "Comment" param optional.
Reply


Messages In This Thread
rLogs | Server logs [y_va] - by Rock - 19.02.2013, 13:54
Re: rLogs | Server logs - by rVar - 19.02.2013, 14:05
Re: rLogs | Server logs - by Rock - 19.02.2013, 16:33
Re: rLogs | Server logs - by DanLore - 20.02.2013, 11:07
Re: rLogs | Server logs - by [L4T]Left4Theft - 25.02.2013, 14:29
Re: rLogs | Server logs - by Apenmeeuw - 25.02.2013, 14:32
Re: rLogs | Server logs - by sDAAw - 25.03.2013, 08:28
Re: rLogs | Server logs - by RajatPawar - 25.03.2013, 09:19
Re: rLogs | Server logs - by Rock - 25.03.2013, 11:57
Re: rLogs | Server logs - by Rock - 25.03.2013, 12:13

Forum Jump:


Users browsing this thread: 2 Guest(s)