[ZR] Zombie Explode

At request of https://forums.alliedmods.net/showthread.php?t=179660





Description:



Make that humans can kill zombies with knife.



This have three different versions:



first edition do:



if you attack a zombie with a knife then becomes unable to infect and then dies after X seconds



Second edition do:



if human1 knifes zombie1, after X seconds if zombie1 does not catch human1, then zombie1 dies. Even if zombie1 catchs player2 and player3 before the X seconds is up, if he doesn't catch player1, zombie1 dies.



Third edition do:



if human knifes zombie, after X seconds if zombie does not catch any human, then zombie dies





choose the one you like (only one)





Cvars:



First edition:



sm_zombiexplode_time 3.0 - Seconds that zombie will die



or



second edition:



sm_zombiexplode2_time 3.0 - Seconds that zombie have for catch to human



or



third edition:



sm_zombiexplode3_time 3.0 - Seconds that zombie have for catch any human















Attached Files




















File Type: sp


Get Plugin or
Get Source (zombie_explode.sp - 2.9 KB)


File Type: smx


zombie_explode.smx (4.5 KB)


File Type: sp


Get Plugin or
Get Source (zombie_explode2.sp - 3.4 KB)


File Type: smx


zombie_explode2.smx (4.7 KB)


File Type: sp


Get Plugin or
Get Source (zombie_explode3.sp - 3.3 KB)


File Type: smx


zombie_explode3.smx (4.7 KB)








Orignal From: [ZR] Zombie Explode

No comments

Not a single link is allowed to submit in comment :o