Replaced RemoveEdict with kill entity input command.

This commit is contained in:
Richard Helgeby
2012-07-01 21:12:43 +02:00
parent c025ac9479
commit 581825829a
6 changed files with 10 additions and 10 deletions

View File

@ -786,7 +786,7 @@ InfectZombieToHuman(client, bool:respawn = false, bool:protect = false)
if (knife != -1)
{
RemovePlayerItem(client, knife);
RemoveEdict(knife);
AcceptEntityInput(knife, "Kill");
GivePlayerItem(client, "weapon_knife");
}