text
stringlengths
0
692
Required Modules
Fakemeta
Usage
Console Commands
amx_msglog <command> [argument]
Displays help for logging engine/mod messages when no command is given
Commands:
start [msg name or id]
Starts logging given message or all if no argument
stop [msg name or id]
Stops logging given message or all if no argument
list [page]
Displays list of messages and their logging status
Cvars
amx_ml_filter [Default Value: 1]
Allows for filtering messages by entity index
Set this to the index of the entity for which you want to log messages
If this is set to 0, message logging will be done for all entities
amx_ml_logmode [Default Value: 1]
Determines where to log message information
Set this to 0 to log information to the standard AMX Mod X log file
Set this to 1 to log information to a separate file (messages.log) in the log directory
Examples
To log the DeathMsg message:
amx_msglog start DeathMsg OR amx_msglog start 83
To stop logging the DeathMsg message:
amx_msglog stop DeathMsg OR amx_msglog stop 83
To log all messages except the DeathMsg message:
amx_msglog start
amx_msglog stop DeathMsg OR amx_msglog stop 83
To log messages only sent to third player of the server:
amx_ml_filter 3
To log messages sent to all entities:
amx_ml_filter 0
/* Message Logging 1.17 by Damaged Soul
AMX Mod X Version: 1.75 and above
Supported Mods: All
This file is provided as is (no warranties).
***************
* Description *
***************
This plugin allows for the logging of any or all messages sent by the HL engine or mod (such as
DeathMsg, CurWeapon, etc) It also allows these messages to be filtered by entity.
Information that is logged includes:
- Message name
- Number of message arguments
- Message ID
- Message destination (i.e. Broadcast, One, All, etc)
- Message origin
- Entity that received the message
- Entity classname
- Entity netname
- Every argument value and type
********************
* Required Modules *
********************
Fakemeta
*********
* Usage *
*********
Console Commands:
amx_msglog <command> [argument]
- Displays help for logging engine/mod messages when no command is given
- Commands:
start [msg name or id]
- Starts logging given message or all if no argument
stop [msg name or id]
- Stops logging given message or all if no argument
list [page]
- Displays list of messages and their logging status
Cvars:
amx_ml_filter [Default Value: 1]
- Allows for filtering messages by entity index
- Set this to the index of the entity for which you want to log messages
- If this is set to 0, message logging will be done for all entities
amx_ml_logmode [Default Value: 1]
- Determines where to log message information
- Set this to 0 to log information to the standard AMX Mod X log file
- Set this to 1 to log information to a separate file (messages.log) in the log directory
Examples:
To log the DeathMsg message:
amx_msglog start DeathMsg OR amx_msglog start 83
To stop logging the DeathMsg message:
amx_msglog stop DeathMsg OR amx_msglog stop 83
To log all messages except the DeathMsg message:
amx_msglog start