Raised This Month: $ Target: $400
 0% 

register message vs event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-20-2022 , 09:01   Re: register message vs event
Reply With Quote #5

Events are hooked as post, you can not block or alter the event.
Messages are hooked as pre, it allows you to block/alter the message.

That's all there is to it. Pick the one that does what you need.
This is not a question about efficiency or performance.
__________________

Last edited by HamletEagle; 08-20-2022 at 09:01.
HamletEagle is offline
 



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:37.


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