Skip to content

OnDemoRecordingStarted

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnDemoRecordingStarted( string text, BasePlayer instance )
{
    Puts( "OnDemoRecordingStarted works!" );
}

Location

  • BasePlayer::StartServerDemoRecording()
csharp
//---
				levelUrl = World.Url,
				recordedTime = DateTime.Now.ToBinary()
			});
			SendCompleteSnapshot();
			InvokeRepeating(actionMonitorServerDemoRecording, 10f, 10f);
			Interface.CallHook("OnDemoRecordingStarted", text, this);
		}
	}
}

Released under the MIT License.