Skip to content
Permalink
Browse files

Don't log non-instant roles

  • Loading branch information
Bara committed Oct 12, 2019
1 parent 40c7927 commit 9ce9c83ab55a71deffb64c6cb98b1c28d27d47cb
Showing with 4 additions and 1 deletion.
  1. +4 −1 addons/sourcemod/scripting/ttt/ttt_shop.sp
@@ -749,7 +749,10 @@ bool ClientBuyItem(int client, char[] item, bool menu, bool free = false)
}
}

TTT_LogString("-> [%N%s (%s) purchased an item from the shop: %s]", client, sClientID, sRole, temp_item[Long]);
if ((StrContains(temp_item[Short], "buyTRole", false) == -1) && (StrContains(temp_item[Short], "buyCTRole", false) == -1))
{
TTT_LogString("-> [%N%s (%s) purchased an item from the shop: %s]", client, sClientID, sRole, temp_item[Long]);
}
}

return true;

0 comments on commit 9ce9c83

Please sign in to comment.
You can’t perform that action at this time.