Skip to content

OnPhoneDialTimeout ​

Usage ​

  • Return a non-null value to override default behavior

Example Autogenerated ​

csharp
private object OnPhoneDialTimeout( PhoneController activeOtherPhoneController, PhoneController instance, BasePlayer currentPlayer )
{
    Puts( "OnPhoneDialTimeout works!" );
    return null;
}

Location ​

  • PhoneController::TimeOutDialing()
csharp
private void TimeOutDialing()
{
	if (Interface.CallHook("OnPhoneDialTimeout", activeOtherPhoneController, this, activeOtherPhoneController.currentPlayer) == null)
	{
		if (activeOtherPhoneController != null)
		{
			activeOtherPhoneController.ServerPlayAnsweringMessage(this);
		}
//---

Released under the MIT License.