Originally Posted by Aya Supay
here the code
I just saw the new translation file.. now it is working with the playername.
It looks good so far, I'll put it on the server and let it run a bit.
I removed the obsolete player spawn part and put in Lux suggestion for cvars.
I also removed the victim check from the if clause, so we can check in case multiple smokers are around (via zspawn or other plugins)
if (i > 0 && i <= MaxClients && IsClientInGame(i) && GetClientTeam(i) == 2 && i != victim)// ignore the survivor getting smoked
if (i > 0 && i <= MaxClients && IsClientInGame(i) && GetClientTeam(i) == 2)
Your help is really appreciated guys.
I ran it for a couple days, seems to be stable on l4d1. No idea about l4d2. Mb someone can give feedback for it.