AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Cannot hook ClientPrint? (https://forums.alliedmods.net/showthread.php?t=116788)

Sn!ff3r 01-26-2010 16:04

Cannot hook ClientPrint?
 
How to hook UTIL_ClientPrint function ?

Arkshine 01-26-2010 16:14

Re: Cannot hook ClientPrint?
 
= TextMsg event. So hook this event.

Sn!ff3r 01-26-2010 16:22

Re: Cannot hook ClientPrint?
 
Hm. Sorry, my description is not enough.

I want to hook all text's printed by client_print amxmodx function (UTIL_ClientPrint by metamod).

Drak 01-26-2010 19:19

Re: Cannot hook ClientPrint?
 
He's right. client_print is a wrapper for the message "TestMsg".

Exolent[jNr] 01-26-2010 19:21

Re: Cannot hook ClientPrint?
 
I think client_print sends the TextMsg event straight to the engine so it isn't possible to be hooked.

Sn!ff3r 01-27-2010 16:23

Re: Cannot hook ClientPrint?
 
del


All times are GMT -4. The time now is 07:18.

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