AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to get plugin's log (https://forums.alliedmods.net/showthread.php?t=195580)

wwzw 09-09-2012 05:22

How to get plugin's log
 
I want to have timely access to the log contents generated by other plug-ins, like this:
[YAPB] Connecting YaPB ... (Skill 37)
I try to use
register_logevent ("myfunction1", 1, "0 & [YAPB]")
But failed!
Please help me! Obtain additional metamod plugin log, or access to the contents of the console display.
Thanks!

NiHiLaNTh 09-09-2012 07:12

Re: How to get plugin's log
 
Maybe try hooking either plugin_log() or FM_AlertMessage.

wwzw 09-09-2012 07:42

Re: How to get plugin's log
 
Thank you ! but I test plugin_log() And FM_AlertMessage. None of them can be in other plug-ins written to the log response.


All times are GMT -4. The time now is 00:21.

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