added cs: go support to SelfMute, WeaponCleaner and voiceannounce_ex

fixed sourcebans version by request
fixed awful bug in spectate plugin
This commit is contained in:
BotoX
2016-05-19 16:12:34 +02:00
parent 8d50f9f849
commit 5ba8cae70a
8 changed files with 110 additions and 41 deletions
+2
View File
@@ -127,6 +127,8 @@ public void OnEntityDestroyed(int entity)
public void OnWeaponSpawned(int entity)
{
SDKUnhook(entity, SDKHook_Spawn, OnWeaponSpawned);
int HammerID = GetEntProp(entity, Prop_Data, "m_iHammerID");
// Should not be cleaned since it's a map spawned weapon
if(HammerID)