mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 02:18:26 +00:00
Added better indicators for speed limit zone creation.
This commit is contained in:
parent
26dd200408
commit
f8e385fda5
@ -2095,7 +2095,7 @@ void CreateEditMenu(int client)
|
||||
FormatEx(sMenuItem, 64, "%T", "ZoneSetAdjust", client);
|
||||
menu.AddItem("adjust", sMenuItem);
|
||||
|
||||
FormatEx(sMenuItem, 64, "%T", "ZoneForceRender", client, ((gI_ZoneFlags[client] & ZF_ForceRender) > 0)? 'x':' ');
|
||||
FormatEx(sMenuItem, 64, "%T", "ZoneForceRender", client, ((gI_ZoneFlags[client] & ZF_ForceRender) > 0)? "+":"-");
|
||||
menu.AddItem("forcerender", sMenuItem);
|
||||
|
||||
if(gI_ZoneType[client] == Zone_Airaccelerate)
|
||||
@ -2106,7 +2106,16 @@ void CreateEditMenu(int client)
|
||||
|
||||
else if(gI_ZoneType[client] == Zone_CustomSpeedLimit)
|
||||
{
|
||||
FormatEx(sMenuItem, 64, "%T", "ZoneSetSpeedLimit", client, gI_ZoneData[client]);
|
||||
if(gI_ZoneData[client] == 0)
|
||||
{
|
||||
FormatEx(sMenuItem, 64, "%T", "ZoneSetSpeedLimitUnlimited", client, gI_ZoneData[client]);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
FormatEx(sMenuItem, 64, "%T", "ZoneSetSpeedLimit", client, gI_ZoneData[client]);
|
||||
}
|
||||
|
||||
menu.AddItem("datafromchat", sMenuItem);
|
||||
}
|
||||
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
}
|
||||
"ZoneForceRender"
|
||||
{
|
||||
"#format" "{1:c}"
|
||||
"#format" "{1:s}"
|
||||
"en" "[{1}] Force zone drawing"
|
||||
}
|
||||
"ZoneSetAiraccelerate"
|
||||
@ -194,6 +194,11 @@
|
||||
"#format" "{1:d}"
|
||||
"en" "Custom speed limit: {1}"
|
||||
}
|
||||
"ZoneSetSpeedLimitUnlimited"
|
||||
{
|
||||
"#format" "{1:d}"
|
||||
"en" "Custom speed limit: {1} (No Limit)"
|
||||
}
|
||||
"ZoneEnterDataChat"
|
||||
{
|
||||
"en" "Input your desired data in chat."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user