Raised This Month: $51 Target: $400
 12% 

[L4D] No Boomer Vomit Attraction


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sades160
Junior Member
Join Date: Feb 2023
Old 03-29-2023 , 14:45   [L4D] No Boomer Vomit Attraction
Reply With Quote #1

can i have a plugin that makes no vomit attract any zombies? thanks!
Sades160 is offline
TotalChaos SourcePawner
Senior Member
Join Date: Feb 2023
Location: IN PINEAPPLE, UNDER SEA
Old 03-29-2023 , 17:23   Re: [L4D] No Boomer Vomit Attraction
Reply With Quote #2

I think L4D_OnITExpired partially works, through testing.
It removes the screen effect and the audio, but any current Common Infected that's chasing you will continue to chase you.

This is the best that I could do:
NOTE: This requires Left 4 DHooks.
Code:
public void OnPluginStart() 
{
	RegConsoleCmd("sm_unvomitme", UnVomitClient);
}

public Action UnVomitClient(int client, int args) 
{
	L4D_OnITExpired(client);
	return Plugin_Handled; 
}
I am no expert coder, not by a long shot.

Last edited by TotalChaos SourcePawner; 03-30-2023 at 10:05.
TotalChaos SourcePawner is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-29-2023 , 18:13   Re: [L4D] No Boomer Vomit Attraction
Reply With Quote #3

You just need to use this. It might block car alarms too, but test it out.

PHP Code:
Public Action L4D_OnSpawnITMob(int &amount)
{
    
amount 0;

__________________
Spirit_12 is offline
Reply



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 09:29.


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