Raised This Month: $ Target: $400
 0% 

Solved Block event/forward default procedure


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-06-2022 , 03:10   Re: Block event/forward default procedure
Reply With Quote #5

You can use register_message to hook events as pre and block. Fakemeta/hamsandwich hooks can be blocked when hooked as pre.

However, blocking something does not guarantee things will work as you expect them to. For example, blocking DeathMsg event hooked as a message won't prevent the player from being killed as DeathMsg is merely a notification.
__________________

Last edited by HamletEagle; 01-06-2022 at 03:11.
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 11:36.


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