View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-20-2022 , 12:20   Re: [L4D2] The survivor_rescued event can't seem to be prevented
Reply With Quote #4

Like @Marttt said.

Server create (some) events and send those to player like a announcement, then events appear in client game and perhaps trigger something in client game.

You can block these announcement to clients, but it not work on every event.

Events appear when something is already happened.

------
In your example,
you can't stop server side POST event by blocking PRE hooked event.


But returning Plugin_Stop will block PRE hooked events, even from other plugins (with same event "name").
It depends in which order plugin is loaded, then it will block calls after that.

*edit So, don't use it

Last edited by Bacardi; 01-20-2022 at 12:21.
Bacardi is offline