View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-17-2018 , 18:37   Re: [L4D] Infected No Block On Ladder
Reply With Quote #10

haha author Silvers. Yeah that's pretty much exactly what I was thinking. Well done! Haven't tested so I hope it works but I don't see why not. Thanks

Edit: the only thing is why are you checking for tank? That would be team 3 (infected): GetEntProp(client, Prop_Send, "m_zombieClass") != 8.

Also not sure about the multiple hooks/unhooks, I don't know how SDKHooks handles that. Maybe a global bool MAXPLAYERS+1 to check when it's hooked / unhooked. I guess theres multiple ways to tackle this would need to test.
__________________

Last edited by Silvers; 05-17-2018 at 18:47.
Silvers is offline