r634 continued.
This commit is contained in:
parent
bd4d7776c4
commit
d795604978
|
@ -684,6 +684,7 @@ InfectZombieToHuman(client, bool:respawn = false, bool:protect = false)
|
||||||
if (knife != -1)
|
if (knife != -1)
|
||||||
{
|
{
|
||||||
RemovePlayerItem(client, knife);
|
RemovePlayerItem(client, knife);
|
||||||
|
RemoveEdict(knife);
|
||||||
GivePlayerItem(client, "weapon_knife");
|
GivePlayerItem(client, "weapon_knife");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -818,6 +818,7 @@ stock WeaponsRemoveClientGrenades(client, bool:weaponsdrop)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RemovePlayerItem(client, grenade);
|
RemovePlayerItem(client, grenade);
|
||||||
|
RemoveEdict(grenade);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find next grenade.
|
// Find next grenade.
|
||||||
|
@ -847,6 +848,7 @@ stock WeaponsRefreshClientWeapon(client, WeaponsSlot:slot)
|
||||||
|
|
||||||
// Refresh weapon.
|
// Refresh weapon.
|
||||||
RemovePlayerItem(client, weaponindex);
|
RemovePlayerItem(client, weaponindex);
|
||||||
|
RemoveEdict(weaponindex);
|
||||||
GivePlayerItem(client, entityname);
|
GivePlayerItem(client, entityname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user