Skip to content

Commit

Permalink
Spot Filter warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hx-w committed Jan 17, 2021
1 parent e4b6746 commit aa67e22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified plugins/csgowiki-pack.smx
Binary file not shown.
2 changes: 1 addition & 1 deletion scripting/csgowiki-pack.sp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public Plugin:myinfo = {
name = "[CSGO Wiki] Plugin-Pack",
author = "CarOL",
description = "Provide interactive method between www.csgowiki.top and game server",
version = "v1.0",
version = "v1.1.1",
url = "https://github.com/hx-w/CSGOWiki-Plugins"
};

Expand Down
2 changes: 2 additions & 0 deletions scripting/csgowiki/utility_wiki.sp
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ public FilterCollectionResponseCallback(bool success, const char[] error, System
resp_json.GetString("status", status, LENGTH_STATUS);
if (StrEqual(status, "error")) {
PrintToChat(client, "%s \x02服务器数据请求失败,可能是token无效", PREFIX);
Menu_UtilityWiki_v1(client);
}
else if (StrEqual(status, "warning")) {
PrintToChat(client, "%s \x02服务器数据请求失败,等级限制2级及以上", PREFIX);
Menu_UtilityWiki_v1(client);
}
else if (StrEqual(status, "ok")) {
g_aUtFilterCollection[client] = view_as<JSON_Array>(resp_json.GetObject("utility_collection"));
Expand Down

0 comments on commit aa67e22

Please sign in to comment.