Raised This Month: $ Target: $400
 0% 

register_forward(FM_SetKeyValue, ...) ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bahr
Member
Join Date: Aug 2005
Old 04-13-2006 , 13:08   register_forward(FM_SetKeyValue, ...) ?
Reply With Quote #1

I cant make the register_forward(FM_SetKeyValue,..) to work; it seems to not catch the SetKeyValue() function. Am I missing something?

I have this:

Code:
public plugin_precache() {     register_forward(FM_SetKeyValue, "Hook_SetKeyValue") ... } public Hook_SetKeyValue(infobuffer[], key[], value[]) {     new fmt[256]     formatex(fmt, 255, "infobuffer ='%s', key = '%s', value = '%s'", infobuffer, key, value)     log_amx(fmt)     return FMRES_IGNORED }

I got no logging at all..

Thx
bahr is offline
Send a message via MSN to bahr
 


Thread Tools
Display Modes

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 05:06.


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