From 2250d0009c089356562fa153efb352dd8f55c462 Mon Sep 17 00:00:00 2001 From: Irineu Date: Mon, 28 Sep 2026 05:28:42 -0300 Subject: [PATCH] Small mistake --- PropSpawner/scripting/PropSpawner.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PropSpawner/scripting/PropSpawner.sp b/PropSpawner/scripting/PropSpawner.sp index d1031e0..666ffd2 100644 --- a/PropSpawner/scripting/PropSpawner.sp +++ b/PropSpawner/scripting/PropSpawner.sp @@ -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;