added more bus bricks

This commit is contained in:
Redo
2020-05-17 08:22:00 -05:00
parent ba94172cc8
commit 74401cd7f6
44 changed files with 78241 additions and 12 deletions

View File

@@ -12,13 +12,22 @@ function serverCmdLST(%client, %time)
{
if(%client.isAdmin || %client.isSuperAdmin)
{
%time = mClampFloat(%time, 0, 999999);
%time = mClampFloat(%time, 1, 10000);
$Pref::Server::LuaLogic::OPT_TICK_TIME = %time/1000;
messageAll('', '\c3%1\c6 has set the logic tick time to \c3%2\c6 millisecond%3.', %client.name, %time, %time == 1 ? "":"s");
lualogic_sendoptions();
}
}
function serverCmdLSM(%client, %mult){
if(%client.isAdmin || %client.isSuperAdmin){
%mult = mFloor(mClamp(%mult, 1, 1000));
$Pref::Server::LuaLogic::OPT_TICK_MULT = %mult;
messageAll('', '\c3%1\c6 has set the logic tick multiplier to \c3%2\c6.', %client.name, %mult);
lualogic_sendoptions();
}
}
function serverCmdLS(%client)
{
if(%client.isAdmin || %client.isSuperAdmin)