AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Custom log system (https://forums.alliedmods.net/showthread.php?t=162684)

-B1ng0- 07-21-2011 16:19

Custom log system
 
Hello guys, i have a little question: It possible to make a custom log system, somthing like this.


Log file:
Quote:

[ --- 20.07.2011 --- ]
[11:50 - de_nuke] ADMIN x: banned y
[11:56 - de_dust] ADMIN x: slap y with 3 dmg
[ --- 21.07.2011 --- ]
[01:55 - de_cbble] ADMIN x: force y to quit the game
[02:10 - de_dust2] ADMIN x: shudown the server
without change the map and other, just administrators commands

Aykay 07-22-2011 03:57

Re: Custom log system
 
It's possible but I'm guessing you'd have to edit the admin.sma

-B1ng0- 07-22-2011 08:01

Re: Custom log system
 
Quote:

Originally Posted by Aykay (Post 1515829)
It's possible but I'm guessing you'd have to edit the admin.sma

why to edit admin.sma?:?:

fysiks 07-22-2011 14:58

Re: Custom log system
 
You would have to edit everywhere that a function occurs that you want logged. Most will be in admincmd.sma.


All times are GMT -4. The time now is 01:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.