Click or drag to resize

BasePlayerPlayCrimeReport Method

This function plays a crime report for this BasePlayer - just like in single-player when CJ commits a crime.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void PlayCrimeReport(
	BasePlayer suspect,
	int crime
)

Parameters

suspect
Type: SampSharp.GameMode.WorldBasePlayer
The suspect player which will be described in the crime report.
crime
Type: SystemInt32
The crime ID, which will be reported as a 10-code (i.e. 10-16 if 16 was passed as the crimeid).
See Also