Raised This Month: $ Target: $400
 0% 

PLUGIN_HANDLED || PLUGIN_CONTINUE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sake
Senior Member
Join Date: Jul 2011
Old 07-20-2011 , 18:11   PLUGIN_HANDLED || PLUGIN_CONTINUE
Reply With Quote #1

Hello there,

http://www.amxmodx.org/doc/index.htm...%2Fscripts.htm

I've already read this through but I don't really get the difference when I have to use HANDLED and when to use CONTINUE. Does it even matter in most cases?

kind regards

sake
sake is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-20-2011 , 18:13   Re: PLUGIN_HANDLED || PLUGIN_CONTINUE
Reply With Quote #2

//Plugin passes through operation. Whatever called it continues.
#define PLUGIN_CONTINUE 0
//Plugin halts continued operation (plugins following in the plugins.ini won't be called).
//Whatever called it will eventually supercede.
#define PLUGIN_HANDLED 1
//Continue calling plugins but halt the operation
#define PLUGIN_HANDLED_MAIN 2
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
sake
Senior Member
Join Date: Jul 2011
Old 07-20-2011 , 18:19   Re: PLUGIN_HANDLED || PLUGIN_CONTINUE
Reply With Quote #3

Thanks.

And while I have this thread open: How can i prevent the message "Press CTRL to enter Spectator menu" from appearing?
sake is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 07-21-2011 , 08:45   Re: PLUGIN_HANDLED || PLUGIN_CONTINUE
Reply With Quote #4

Quote:
Originally Posted by sake View Post
Thanks.

And while I have this thread open: How can i prevent the message "Press CTRL to enter Spectator menu" from appearing?
You can block dhudmessage using this plugin http://forums.alliedmods.net/showthread.php?p=832880
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
sake
Senior Member
Join Date: Jul 2011
Old 07-21-2011 , 09:55   Re: PLUGIN_HANDLED || PLUGIN_CONTINUE
Reply With Quote #5

Hmmm. Doesn't seem to work under my AMXX Version. Which Version should I have?
sake is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 07-21-2011 , 10:43   Re: PLUGIN_HANDLED || PLUGIN_CONTINUE
Reply With Quote #6

That message is sent by client, it doesn't come from server, so you can't block it at serverside.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang 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 01:07.


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