OnMapMarkerAdded
Usage
- No return behavior
Example Autogenerated
csharp
private void OnMapMarkerAdded( BasePlayer instance, MapNote mapNote )
{
Puts( "OnMapMarkerAdded works!" );
}
Location
- BasePlayer::Server_AddMarker(BaseEntity/RPCMessage msg)
csharp
//---
mapNote.colourIndex = this.FindUnusedPointOfInterestColour();
this.State.pointsOfInterest.Add(mapNote);
this.DirtyPlayerState();
this.SendMarkersToClient();
this.TeamUpdate();
Interface.CallHook("OnMapMarkerAdded", this, mapNote);
}