Return.
Hello guys,
I don't know why but I still don't get PHP Code:
so I actually understand PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: Return.
nope
|
Re: Return.
I'm horrible in explaining
PHP Code:
|
Re: Return.
Quote:
Quote:
|
Re: Return.
use PLUGIN_*** when it improves readability and when it makes sense, so in amxx forwards and callbacks, because it means you want to block or not something.
Use true/false when functions are IsUserSomeThing or similar stuff that only return 0 or 1 And use values when functions are similar to get_user_team, get_user_maxspeed For fakemeta and hamsandwich hooks, use defined returns [HAM/FMRES]_[IGNORED/HANDLED/OVERRIDE/SUPERCEDE] |
| All times are GMT -4. The time now is 06:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.