Small mistake
This commit is contained in:
@@ -726,7 +726,7 @@ public Action OnPropTakeDamage(int victim, int &attacker, int &inflictor, float
|
||||
if (attacker < 1 || attacker > MaxClients || !IsClientInGame(attacker))
|
||||
return Plugin_Continue;
|
||||
|
||||
if (GetClientTeam(client) == CS_TEAM_CT && GetPlayerTier_native(attacker) < g_cvPropShootTier.IntValue)
|
||||
if (GetClientTeam(attacker) == CS_TEAM_CT && GetPlayerTier_native(attacker) < g_cvPropShootTier.IntValue)
|
||||
return Plugin_Handled;
|
||||
|
||||
if (!g_cvNotifyShot.BoolValue)
|
||||
@@ -1009,7 +1009,7 @@ Action OnButtonUse(int entity, int activator, int caller, UseType type, float va
|
||||
if (activator < 1 || activator > MaxClients || !IsClientInGame(activator))
|
||||
return Plugin_Continue;
|
||||
|
||||
if (GetClientTeam(client) == CS_TEAM_CT && GetPlayerTier_native(activator) < g_cvButtonPressTier.IntValue)
|
||||
if (GetClientTeam(activator) == CS_TEAM_CT && GetPlayerTier_native(activator) < g_cvButtonPressTier.IntValue)
|
||||
return Plugin_Handled;
|
||||
|
||||
return Plugin_Continue;
|
||||
|
||||
Reference in New Issue
Block a user