Raised This Month: $ Target: $400
 0% 

unregister_forward


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-13-2011 , 16:48   Re: unregister_forward
Reply With Quote #1

You have to get the forward pointer when you register the forward then use that to unregister it. Otherwise, it's trying to unregister a different forward.

You should learn to look in the include files for some extra information:

PHP Code:
/* Registers a forward.
 * Returns an id you can pass to unregister_forward
 */
native register_forward(_forwardType,const _function[],_post=0);

/* Unregisters a forward.
 * The registerId must be from register_forward, and
 * post/forwardtype must match what you registered the forward as.
 */
native unregister_forward(_forwardTyperegisterIdpost=0); 
__________________

Last edited by fysiks; 07-13-2011 at 16:50.
fysiks is offline
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 00:53.


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