Raised This Month: $51 Target: $400
 12% 

return


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SPT1
Senior Member
Join Date: Aug 2012
Old 08-13-2012 , 14:09   return
Reply With Quote #1

what this does?
return;
SPT1 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-13-2012 , 14:22   Re: return
Reply With Quote #2

Stop the function execution at this point, so the code after that won't be executed.
__________________

Last edited by Arkshine; 08-13-2012 at 14:23.
Arkshine is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 08-13-2012 , 14:34   Re: return
Reply With Quote #3

And return PLUGIN_HANDLED? Whats the difference?
__________________
kramesa is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-13-2012 , 14:56   Re: return
Reply With Quote #4

Quote:
Originally Posted by kramesa View Post
And return PLUGIN_HANDLED? Whats the difference?
Just a different return value. If you don't specify a value, the value defaults to 0.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 08-13-2012 , 20:14   Re: return
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Just a different return value. If you don't specify a value, the value defaults to 0.
Ok, thanks
__________________

Last edited by kramesa; 08-13-2012 at 20:14.
kramesa 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 12:00.


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