Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/VIP_Core.sp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <clientprefs>

#if !defined VIP_VERSION
#define VIP_VERSION "3.1.7 R"
#define VIP_VERSION "3.1.8 R"
#endif


Expand Down
6 changes: 3 additions & 3 deletions addons/sourcemod/scripting/vip/CMD.sp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public Action AddVIP_CMD(int iClient, int iArgs)
{
if (iArgs != 3)
{
ReplyToCommand(iClient, "[VIP] %t!\nSyntax: sm_addvip <#steam_id|#name|#userid> <group> <time>", "INCORRECT_USAGE");
ReplyToCommand(iClient, "[VIP] %t!\n%t sm_addvip <#steam_id|#name|#userid> <group> <time>", "INCORRECT_USAGE", "USE");
return Plugin_Handled;
}

Expand Down Expand Up @@ -126,7 +126,7 @@ public Action SetVIP_CMD(int iClient, int iArgs)
{
if (iArgs != 3)
{
ReplyToCommand(iClient, "[VIP] %t!\nSyntax: sm_setvip <#steam_id|#name|#userid> <group> <time>", "INCORRECT_USAGE");
ReplyToCommand(iClient, "[VIP] %t!\n%t sm_setvip <#steam_id|#name|#userid> <group> <time>", "INCORRECT_USAGE", "USE");
return Plugin_Handled;
}

Expand Down Expand Up @@ -193,7 +193,7 @@ public Action DelVIP_CMD(int iClient, int iArgs)
{
if (iArgs != 1)
{
ReplyToCommand(iClient, "%t!\nSyntax: sm_delvip <identity>", "INCORRECT_USAGE");
ReplyToCommand(iClient, "%t!\n%t sm_delvip <identity>", "INCORRECT_USAGE", "USE");
return Plugin_Handled;
}

Expand Down
3 changes: 2 additions & 1 deletion addons/sourcemod/scripting/vip/adminmenu/List.sp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,8 @@ public void SQL_Callback_SelectVipPlayers(Database hOwner, DBResultSet hResult,
if (hResult.RowCount == LIST_OFFSET)
{
hMenu.AddItem(NULL_STRING, "ITEMDRAW_SPACER", ITEMDRAW_SPACER);
hMenu.AddItem("more", "Показать еще");
FormatEx(SZF(szName), "%T", "SHOW_MORE", iClient);
hMenu.AddItem("more", szName);
}

hMenu.Display(iClient, MENU_TIME_FOREVER);
Expand Down
14 changes: 14 additions & 0 deletions addons/sourcemod/translations/vip_core.phrases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,20 @@
"ua" "Показати всіх"
"chi" "显示所有玩家"
}
"SHOW_MORE"
{
"en" "Show more"
"de" "Mehr anzeigen"
"fr" "Afficher plus"
"fi" "Näytä lisää"
"lv" "Rādīt vairāk"
"pt" "Mostrar mais"
"pt_p" "Mostrar mais"
"ru" "Показать ещё"
"es" "Mostrar más"
"ua" "Показати ще"
"chi" "显示更多"
}
"y."
{
"en" "y."
Expand Down
Loading