I added another stock, strip_weapons, which actually fixed it, here is the stock code:
PHP Code:
stock strip_weapons(index)
{
strip_user_weapons(index)
set_pdata_int(index, OFFSET_PRIMARYWEAPON, 0)
give_item(index, "weapon_knife")
}
And the code looked after the stock:
PHP Code:
case CS_TEAM_CT:
{
give_item(i, "weapon_knife")
strip_weapons(i)
strip_user_weapons(i)
give_item(i, "weapon_knife")
give_item(i, "weapon_deagle")
give_item(i, "weapon_shield")
set_user_health(i, 100)
cs_set_user_bpammo(i, CSW_DEAGLE, 999)
}