diff --git a/src/zr/infect.inc b/src/zr/infect.inc index 3585195..06df5e8 100644 --- a/src/zr/infect.inc +++ b/src/zr/infect.inc @@ -684,6 +684,7 @@ InfectZombieToHuman(client, bool:respawn = false, bool:protect = false) if (knife != -1) { RemovePlayerItem(client, knife); + RemoveEdict(knife); GivePlayerItem(client, "weapon_knife"); } diff --git a/src/zr/weapons/weapons.inc b/src/zr/weapons/weapons.inc index beb5319..fa00b47 100644 --- a/src/zr/weapons/weapons.inc +++ b/src/zr/weapons/weapons.inc @@ -818,6 +818,7 @@ stock WeaponsRemoveClientGrenades(client, bool:weaponsdrop) else { RemovePlayerItem(client, grenade); + RemoveEdict(grenade); } // Find next grenade. @@ -847,6 +848,7 @@ stock WeaponsRefreshClientWeapon(client, WeaponsSlot:slot) // Refresh weapon. RemovePlayerItem(client, weaponindex); + RemoveEdict(weaponindex); GivePlayerItem(client, entityname); }