r634 continued.

This commit is contained in:
Greyscale 2010-07-26 14:31:56 -07:00
parent bd4d7776c4
commit d795604978
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -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);
}