Raised This Month: $ Target: $400
 0% 

hooking pfnClientPrintf


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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