Skip to content

OnPlayerReported

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnPlayerReported( BasePlayer basePlayer, string text5, string text4, string text, string text2, string text3 )
{
    Puts( "OnPlayerReported works!" );
}

Location

  • BasePlayer/<OnPlayerReported>d__596::MoveNext()
csharp
//---
					TargetName = text5,
					Subject = text,
					Message = message,
					Type = text3
				});
				Interface.CallHook("OnPlayerReported", basePlayer, text5, text4, text, text2, text3);
				if (string.IsNullOrEmpty(ConVar.Server.reportsServerEndpoint))
				{
					goto IL_207;
				}
				ReportType type = ReportType.Abuse;
//---

Released under the MIT License.