Raised This Month: $ Target: $400
 0% 

[help] Explain and difference between all return


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 12-13-2014 , 06:02   [help] Explain and difference between all return
Reply With Quote #1

PHP Code:
Explain and difference between all return 

1.return PLUGIN_HANDLED;
2.return PLUGIN_CONTINUE;
3.return;
4.return 1;
5.return 0
Thanks in advanced !!
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-13-2014 , 06:34   Re: [help] Explain and difference between all return
Reply With Quote #2

Search for pawn picture tutorial by emp.

Also, this is out of context. In general return 1 is return PLUGIN_HANDLED, 0 is continue, 2 is return PLUGIN_HANDLED_MAIN, but they can also be from fakemeta or from another module.
__________________
HamletEagle is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 12-13-2014 , 07:00   Re: [help] Explain and difference between all return
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
Search for pawn picture tutorial by emp.

Also, this is out of context. In general return 1 is return PLUGIN_HANDLED, 0 is continue, 2 is return PLUGIN_HANDLED_MAIN, but they can also be from fakemeta or from another module.
Thank you
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-13-2014 , 09:57   Re: [help] Explain and difference between all return
Reply With Quote #4

Pawn Picture Tutorial
zmd94 is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 12-13-2014 , 11:08   Re: [help] Explain and difference between all return
Reply With Quote #5

Quote:
Originally Posted by zmd94 View Post
ty
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Reply


Thread Tools
Display Modes

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 15:19.


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