#peace-maker (timer-weapons.sp plugin) =>
PHP Code:
stock RemovePlayerKnife(client)
{
new iWeapon = -1;
while((iWeapon = GetPlayerWeaponSlot(client, CS_SLOT_KNIFE)) != -1)
{
if(iWeapon > 0)
{
RemovePlayerItem(client, iWeapon);
AcceptEntityInput(iWeapon, "kill");
}
}
}