Skip to content

OnBookmarkControlStarted

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnBookmarkControlStarted( ComputerStation instance, BasePlayer player, string text, IRemoteControllable remoteControllable )
{
    Puts( "OnBookmarkControlStarted works!" );
}

Location

  • ComputerStation::BeginControllingBookmark(BaseEntity.RPCMessage msg)
csharp
//---
		SendControlBookmarks(player);
		if (Rust.GameInfo.HasAchievements && remoteControllable.GetEnt() is CCTV_RC)
		{
			InvokeRepeating(CheckCCTVAchievement, 1f, 3f);
		}
		Interface.CallHook("OnBookmarkControlStarted", this, player, text, remoteControllable);
		InvokeRepeating(ControlCheck, 0f, 0f);
	}
}

Released under the MIT License.