diff --git a/FixPlayerEquip/scripting/FixPlayerEquip.sp b/FixPlayerEquip/scripting/FixPlayerEquip.sp index c0337464..23a99a06 100644 --- a/FixPlayerEquip/scripting/FixPlayerEquip.sp +++ b/FixPlayerEquip/scripting/FixPlayerEquip.sp @@ -4,7 +4,6 @@ #include #include #include -#include #include // void CCSPlayer::StockPlayerAmmo( CBaseCombatWeapon *pNewWeapon ) @@ -94,6 +93,11 @@ public Action OnUse(int entity, int client) { SetEntProp(client, Prop_Send, "m_ArmorValue", 100, 1); } + else if(StrEqual(sWeapon, "item_assaultsuit", false)) + { + SetEntProp(client, Prop_Send, "m_ArmorValue", 100, 1); + SetEntProp(client, Prop_Send, "m_bHasHelmet", 1, 1); + } else { GivePlayerItem(client, sWeapon);