seroff

Hook Server Print

Dec 16th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include <amxmodx>
  2. #include <fakemeta>
  3.  
  4. public plugin_init() {
  5. register_plugin("Hook Server Print", "0.1", "AUTHOR");
  6. register_forward(FM_ServerPrint, "FW_ServerPrint");
  7. }
  8.  
  9. public FW_ServerPrint(const string[]) {
  10. static const szLogFile[] = "ServerPrint.log";
  11. log_to_file(szLogFile, string);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment