mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Merge branch 'master' into devel
This commit is contained in:
commit
7c6d3e14f0
@ -1025,8 +1025,8 @@ void ShowPanel(int client, int step)
|
||||
FormatEx(sPanelItem, 64, "%T", "AbortZoneCreation", client);
|
||||
pPanel.DrawItem(sPanelItem);
|
||||
|
||||
char[] sDisplay = new char[16];
|
||||
FormatEx(sDisplay, 16, "%T", "GridSnap", client, gI_GridSnap[client]);
|
||||
char[] sDisplay = new char[64];
|
||||
FormatEx(sDisplay, 64, "%T", "GridSnap", client, gI_GridSnap[client]);
|
||||
pPanel.DrawItem(sDisplay);
|
||||
|
||||
pPanel.Send(client, ZoneCreation_Handler, 600);
|
||||
@ -1508,7 +1508,10 @@ public int ZoneEdge_Handler(Menu menu, MenuAction action, int param1, int param2
|
||||
gV_Fix2[param1][iEdge] += (bIncrease? gF_Modifier[param1]:-gF_Modifier[param1]);
|
||||
}
|
||||
|
||||
Shavit_PrintToChat(param1, "%T", "ZoneEdgeChange", param1, sEdges[iEdge], gS_ChatStrings[sMessageVariable2], (bIncrease)? "increased":"decreased", gS_ChatStrings[sMessageText], gS_ChatStrings[sMessageVariable], gF_Modifier[param1], gS_ChatStrings[sMessageText]);
|
||||
char changeText[64];
|
||||
Format(changeText, sizeof(changeText), "%T", (bIncrease)? "ZoneIncreased":"ZoneDecreased", param1);
|
||||
|
||||
Shavit_PrintToChat(param1, "%T", "ZoneEdgeChange", param1, sEdges[iEdge], gS_ChatStrings[sMessageVariable2], changeText, gS_ChatStrings[sMessageText], gS_ChatStrings[sMessageVariable], gF_Modifier[param1], gS_ChatStrings[sMessageText]);
|
||||
|
||||
CreateWidthLengthMenu(param1, GetMenuSelectionPosition());
|
||||
}
|
||||
|
||||
@ -94,6 +94,10 @@
|
||||
{
|
||||
"en" "Successfully placed custom spawn!"
|
||||
}
|
||||
"ZoneDecreased"
|
||||
{
|
||||
"en" "decreased"
|
||||
}
|
||||
"ZoneEditConfirm"
|
||||
{
|
||||
"en" "Confirm?"
|
||||
@ -120,6 +124,10 @@
|
||||
"#format" "{1:s},{2:s},{3:s},{4:s},{5:s},{6:.01f},{7:s}"
|
||||
"en" "{1} edge {2}{3}{4} by {5}{6} degrees{7}."
|
||||
}
|
||||
"ZoneIncreased"
|
||||
{
|
||||
"en" "increased"
|
||||
}
|
||||
"ZoneMenuDeleteTitle"
|
||||
{
|
||||
"en" "Delete a zone:\nPressing a zone will delete it. This action CANNOT BE REVERTED!"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user