View Single Post
MasterMind420
BANNED
Join Date: Nov 2010
Old 04-12-2021 , 11:21   Re: [L4D2] Multiple Gascan and Cola Fill [v1.0.1 | 31-January-2021]
Reply With Quote #8

Quote:
Originally Posted by Marttt View Post
May have but I don't know how to do it.
I already searched in the forum, seems not that easy (without detouring/extension/gamedata).
If someone is able to do it, I can include it in the plugin as a cvar.
maybe try changing the players collision group when pouring.
SetEntProp(client, Prop_Data, "m_CollisionGroup", 2); //Debris
SetEntProp(client, Prop_Data, "m_CollisionGroup", 5); //Player

Set it to 2 while pouring, then back to 5 for normal collision. May have to set it on the players colliding as well, so the pourer and anyone nearby wanting to pour. Haven't really messed with collision groups on players in l4d though, it may not work.
MasterMind420 is offline