Is there a difference?
Is there a difference between:
PHP Code:
PHP Code:
|
Re: Is there a difference?
continue is used in loops, it means start the next iteration of the closest loop.
Example: Code:
The function provider will check your return value and act based on it. For instance, in most cases if you return PLUGIN_HANDLED it will block the default action. |
Re: Is there a difference?
As Seta said, there's difference :) (same post time :P)
|
Re: Is there a difference?
Alright thanks. Now I never understood the loops. So basically, when using loops such as:
PHP Code:
|
Re: Is there a difference?
No, you must put a code block inside the loop. In Pawn, an empty code block is {}
Code:
|
Re: Is there a difference?
Quote:
|
Re: Is there a difference?
continue:
Code:
return PLUGIN_HANDLED: Code:
|
| All times are GMT -4. The time now is 00:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.