diff --git a/addons/sourcemod/scripting/hextags.sp b/addons/sourcemod/scripting/hextags.sp index d9d967e..6cfc66b 100644 --- a/addons/sourcemod/scripting/hextags.sp +++ b/addons/sourcemod/scripting/hextags.sp @@ -1130,7 +1130,7 @@ public Action Timer_ForceTag(Handle timer) if (!bHasRoundEnded) { LogMessage("%L was changed by an external plugin, forcing him back to the HexTags' default one!", i, sTag); } - + CS_SetClientClanTag(i, selectedTags[i].ScoreTag); } return Plugin_Continue; @@ -1203,7 +1203,8 @@ void GetTags(int client, KeyValues kv) } Debug_Print("Setted tag: %s", tags.ScoreTag); - CS_SetClientClanTag(client, tags.ScoreTag); //Instantly load the score-tag + if (userTags[client].Length == 0) + CS_SetClientClanTag(client, tags.ScoreTag); //Instantly load the score-tag } if (StrContains(tags.ChatTag, "{rainbow}") == 0) { diff --git a/addons/sourcemod/scripting/include/hexstocks.inc b/addons/sourcemod/scripting/include/hexstocks.inc index 470346d..92499a9 100644 --- a/addons/sourcemod/scripting/include/hexstocks.inc +++ b/addons/sourcemod/scripting/include/hexstocks.inc @@ -948,8 +948,9 @@ stock bool Debug_PrintVector(float vec[3]) { #if defined DEBUG char sVector[64]; - const char[][] points = {"x", "y", "z"}; - for (int i = 0; i < sizeof(vec), i++) + char points[][] = {"x", "y", "z"}; + + for (int i = 0; i < sizeof(vec); i++) { Format(sVector, sizeof(sVector), "%s | %c: %2.f", points[i], vec[i]); }