Raised This Month: $ Target: $400
 0% 

question about functions


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-22-2010 , 20:38   Re: question about functions
Reply With Quote #1

Quote:
Originally Posted by drekes View Post
No problem, this may be usefull to other people to i think.

EDIT: Let's say i return PLUGIN_HANDLED in public checksomething(id). Will client_connect still continue then? and if so, is there a way to stop that?
Yes, it'll still continue.

To stop that, you could do something like this.

Code:
func() {     if( check_something() == PLUGIN_HANDLED )     {         return PLUGIN_HANDLED;     }     // stuff }
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ 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 14:45.


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