Module Version of "Message Logging"
It will log HL and mod messages to addons\amxx\logs\msghelper.log
Install:
Put module in amxx\modules\
write
msghelper in amxx\configs\modules.ini
commands:
msghelper - Show all commands and cvars of this module
msglog_start <all or msgid or msgname> - Starts logging all or given messages
msglog_stop <all or msgid or msgname> - Stops logging all or given messages
msglog_list - List all hooked messages.
cvars:
msglog_dest_filter - Allows for filtering messages by message destination
---
0: MSG_BROADCAST
---
1: MSG_ONE
---
2: MSG_ALL
---
3: MSG_INIT
---
4: MSG_PVS
---
5: MSG_PAS
---
6: MSG_PVS_R
---
7: MSG_PAS_R
---
8: MSG_ONE_UNRELIABLE
---
9: MSG_SPEC
---
10: All (
Default)
msglog_entity_filter - Allows for filtering messages by entity index(
Default is 0)
example logged message:
Code:
message_begin(MSG_ONE, get_user_msgid("ScreenFade"), _, 1) //classname: "player" netname: ".:|:."
write_short(4) //1
write_short(0) //2
write_short(0) //3
write_byte(0) //4
write_byte(0) //5
write_byte(0) //6
write_byte(0) //7
message_end()
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>