Thread
:
ConsoleHook - A hook for when PrintToConsole is called
View Single Post
Author
Message
minimoney1
SourceMod Donor
Join Date: Dec 2010
11-24-2012 , 19:05 ConsoleHook - A hook for when PrintToConsole is called
#
1
Hello everyone.
Rant:
About 2 months ago, I made a bug (
bug #5495
) requesting a forward for when PrintToConsole is called, for PrintToConsole does not make a UserMsg; it calls IVEngineServer::ClientPrintf. They (psychonic + dvander) did not like the idea of modifying console messages, so they basically denied it and suggested me to make an extension instead.
So here it is!
Note: I have not compiled for Linux yet as I don't have a Linux machine, but I would love for someone who has a Linux machine to do so.
The include file lets SP developers know how to use it.
Credit goes to Impact123 for compiling this for Linux!
Impact123 has created a build system for this.
Source:
https://bitbucket.org/minimoney1/consolehook
Note: The attached Linux binary will not work with Source 2009 games.
DRIFTER HAS BEEN NICE ENOUGH TO PROVIDE US WITH A METHOD THAT USES DHOOKS TO DO THIS. THE ONLY DOWNSIDE IS IT REQUIRES A GAMEDATA THAT MAY HAVE TO BE UPDATED FOR GAME UPDATES. LOOK HERE
DOWNLOAD LINUX
Attached Files
consolehook.inc
(1.2 KB, 858 views)
consolehook.ext.dll
(78.5 KB, 849 views)
__________________
Need help? PM me or add me on Steam.
My Steam
Quote:
Originally Posted by
Rp.KryptoNite
For some reason his Plugin never worked for me ,
@credits were added
im not stealing any plugins dude its my THING
Last edited by minimoney1; 12-15-2012 at
14:57
.
minimoney1
View Public Profile
Send a private message to minimoney1
Find More Posts by minimoney1