View Single Post
ZBzibing
Senior Member
Join Date: Dec 2012
Old 11-30-2021 , 06:01   Re: [L4D] L4D Tank announce and lock door (v1.0.7, 2020-03-28)
Reply With Quote #12

Quote:
Originally Posted by Silvers View Post
"IsClientConnected(i) && IsClientInGame(i)" - There's no need to check "IsClientConnected" because "IsClientInGame" already does that.

If you want to support L4D2, the "m_zombieClass" for tank is 8 in L4D2 and 5 in L4D1. Suggest something like "g_iClassTank = g_bLeft4Dead2 ? 8 : 5;" in plugin start, then checking against that var.
Is it possible to lock the safety gate by checking that the tank is alive? If there are multiple tanks, the mods are not accurate

The author should not be able to see the program, can you help correct it?
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing is offline