Raised This Month: $ Target: $400
 0% 

hooking pfnClientPrintf


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
commonbullet
Veteran Member
Join Date: Oct 2005
Old 06-24-2007 , 02:54   hooking pfnClientPrintf
Reply With Quote #1

How can I properly hook ClientPrintf forwards?
Here's a frustrated attempt:

Code:
public client_printf(client, printtype, const msg[]) {     server_print("ClientPrintf: (%d) - %s", client, msg)     return FMRES_IGNORED } public plugin_init() {     register_forward(FM_ClientPrintf, "client_printf") }

Registered function is not even called; using amxmodx 1.76d

Last edited by commonbullet; 06-24-2007 at 02:57.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
VEN
Veteran Member
Join Date: Jan 2005
Old 06-24-2007 , 09:51   Re: hooking pfnClientPrintf
Reply With Quote #2

There was a bug that is already fixed. See AMBugs site for details.
VEN is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 06-24-2007 , 12:12   Re: hooking pfnClientPrintf
Reply With Quote #3

Ok, thanks.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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