33 lines
985 B
C#
Executable File
33 lines
985 B
C#
Executable File
//-----------------------------------------------------------------------------
|
|
// Torque Game Engine
|
|
// Copyright (C) GarageGames.com, Inc.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Server Admin Commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
function SAD(%password)
|
|
{
|
|
if (%password !$= "")
|
|
commandToServer('SAD', %password);
|
|
}
|
|
|
|
function SADSetPassword(%password)
|
|
{
|
|
commandToServer('SADSetPassword', %password);
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
// Misc server commands
|
|
//----------------------------------------------------------------------------
|
|
|
|
function clientCmdSyncClock(%time)
|
|
{
|
|
// Store the base time in the hud control it will automatically increment.
|
|
if (isObject(HudClock))
|
|
HudClock.setTime(%time);
|
|
}
|
|
|