[L4D2] The survivor_rescued event can't seem to be prevented
mmsource-1.12.0-git1157-linux
sourcemod-1.11.0-git6843-linux PHP Code:
|
Re: [L4D2] The survivor_rescued event can't seem to be prevented
Usually these kind of hook just prevent the notification sometimes won't block the event.
Better give more context on what you are trying to do, and why. |
Re: [L4D2] The survivor_rescued event can't seem to be prevented
If you don't want to have any rescue room.
use stripper to filter all I guess ? PHP Code:
|
Re: [L4D2] The survivor_rescued event can't seem to be prevented
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 :D |
Re: [L4D2] The survivor_rescued event can't seem to be prevented
2 Attachment(s)
Quote:
PHP Code:
|
Re: [L4D2] The survivor_rescued event can't seem to be prevented
If you want to block the spawn, you need to detour the function for it. Blocking the event won't do that.
|
Re: [L4D2] The survivor_rescued event can't seem to be prevented
Quote:
|
Re: [L4D2] The survivor_rescued event can't seem to be prevented
Quote:
|
Re: [L4D2] The survivor_rescued event can't seem to be prevented
sorallll, Can you explain what is this topic for? I mean, XYZ, why do you want to block survivor_rescued event?
Also, why not use CTerrorPlayer::RoundRespawn, like done here. You can try natives from there. |
Re: [L4D2] The survivor_rescued event can't seem to be prevented
Quote:
|
All times are GMT -4. The time now is 01:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.