View Single Post
  #2  
Old 09-25-2012, 06:30 AM
podvoxx podvoxx is offline
Approved Member
 
Join Date: Feb 2010
Posts: 190
Default

Quote:
Originally Posted by salmo View Post
I've tried using the 'Sending server console commands from script' example below, but the code below throws a "missing reference required error" at the line in the sub-mission script where SendServerCommand function is called

Code:
    public void SendServerCommand(string command)
    #region send a command to the game server console
    {
        GameServerDef gameServerDef = base.GamePlay as GameServerDef;
        if (gameServerDef != null)
        {
            gameServerDef.consoleInput(command);
        }
        
    }
    #endregion
http://www.sukhoi.ru/forum/showthrea...=1#post1880966

I'm very sorry, I lost this topic. If necessary, use this:

Code:
using maddox.game;
Reply With Quote