Skip to content

OnMapMarkerAdd

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnMapMarkerAdd(  )
{
    Puts( "OnMapMarkerAdd works!" );
}

Location

  • BasePlayer::Server_AddMarker(BaseEntity/RPCMessage msg)
csharp
[BaseEntity.RPC_Server, BaseEntity.RPC_Server.CallsPerSecond(8uL), BaseEntity.RPC_Server.FromOwner]
public void Server_AddMarker(BaseEntity.RPCMessage msg)
{
	if (Interface.CallHook("OnMapMarkerAdd", this, MapNote.Deserialize(msg.read)) != null)
	{
		return;
	}
	msg.read.Position = 13L;
	if (this.State.pointsOfInterest == null)
//---

Released under the MIT License.