Raised This Month: $ Target: $400
 0% 

unregister_forward


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ex3cuTioN
Member
Join Date: May 2010
Old 07-13-2011 , 16:26   unregister_forward
Reply With Quote #1

PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN ""
#define VERSION ""
#define AUTHOR ""

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /allow""cmd1");
    
register_clcmd("say /notallow""cmd1");
}

public 
cmd1()
    
register_forward(FM_ClientUserInfoChanged"fwClientUserInfoChanged");
    
public 
cmd2()
    
unregister_forward(FM_ClientUserInfoChanged,register_forward(FM_ClientUserInfoChanged"fwClientUserInfoChanged")); 
This is not working...I mean, the unregister part.
Ex3cuTioN is offline
 



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 00:53.


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