
Originally Posted by
wizzardjanni
hello.
does anybody know a script that when you kill 2 hunter as zombie that you become hunter?
In the default zombie mod you have got a cvar for it. But it requires scr_zom_lastManStanding to be 0.
PHP Code:
scr_zom_returnkills The number of kills needed to return to being an Allied player - default: 2
http://callofduty.filefront.com/file...for_CoD2;53241
PHP Code:
//LAST MAN STANDING
if(getcvar("scr_zom_lastManStanding") == "1")
{
//attacker.score++;
if (!(thread checkRestart(self)))
{
self thread blackScreen("killed");
}
}
else
{
self thread blackScreen("killed");
attacker.killcount++;
if (attacker.killcount > GetCvarInt("scr_zom_returnkills")-1)
{
attacker thread blackScreen("return");
attacker thread movePlayer("allies",3);
wait 0.01;
thread checkRestart();
noRespawn = true;
}
}