AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   return (https://forums.alliedmods.net/showthread.php?t=192724)

SPT1 08-13-2012 14:09

return
 
what this does?
return;

Arkshine 08-13-2012 14:22

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

kramesa 08-13-2012 14:34

Re: return
 
And return PLUGIN_HANDLED? Whats the difference?

Exolent[jNr] 08-13-2012 14:56

Re: return
 
Quote:

Originally Posted by kramesa (Post 1770642)
And return PLUGIN_HANDLED? Whats the difference?

Just a different return value. If you don't specify a value, the value defaults to 0.

kramesa 08-13-2012 20:14

Re: return
 
Quote:

Originally Posted by Exolent[jNr] (Post 1770657)
Just a different return value. If you don't specify a value, the value defaults to 0.

Ok, thanks :3


All times are GMT -4. The time now is 05:51.

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