Quote:
Originally Posted by salmo
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: