RSSy MYGO.pl Opublikowano Kwiecień 2, 2021 o 14:26 RSSy Udostępnij Opublikowano Kwiecień 2, 2021 o 14:26 Description: Hooks infected abilities and allows plugin developers to do whatever they want such as preventing other SIs interrupt Chargers carrying their victims, stopping Hunters from stealing another SI's victim when vomited, etc. However, as useful as this plugin can be, said developers are still tasked to validate the ability's owner and the entity that it touches. These are the infected abilities that get hooked by the plugin:ability_tongue ability_vomit ability_selfdestruct (I think this is for the AI Boomers and Boomettes falling from high heights?) ability_lunge ability_spit ability_leap ability_throw ConVars:infected_ability_touch_hook_version → Version of the plugin Forwards: PHP Code: forward Action OnAbilityTouch(const char[] ability, int abilityOwner, int entity); Installation: ? *.smx goes into the plugins folder ? *.sp goes into the scripting folder (only if you want to make changes to your liking) ? *.inc goes into the include folder (same as above) ? *.txt goes into the gamedata folder (optional since the plugin automatically makes one if missing) Notes: ? L4D1 support is possible but I don't have the server binaries for it since I'm only focusing on L4D2 for the time being. Attached Files infected_ability_touch_hook.txt (380 Bytes) infected_ability_touch_hook.inc (824 Bytes) Get Plugin or Get Source (infected_ability_touch_hook.sp - 4.1 KB) infected_ability_touch_hook.smx (5.4 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi