Skip to content

Commit

Permalink
Add player armor to ignore list
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0k-z committed Oct 23, 2022
1 parent 47ae247 commit b719918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/gokz-core.sp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public Action OnNormalSound(int clients[MAXPLAYERS], int &numClients, char sampl
public void OnEntityCreated(int entity, const char[] classname)
{
// Don't react to player related entities
if (StrEqual(classname, "predicted_viewmodel")
if (StrEqual(classname, "predicted_viewmodel") || StrEqual(classname, "item_assaultsuit")
|| StrEqual(classname, "cs_bot") || StrEqual(classname, "player")
|| StrContains(classname, "weapon") != -1)
{
Expand Down

0 comments on commit b719918

Please sign in to comment.