コード例 #1
0
 /// <summary>
 ///     A function that can be used in <see cref="OnInitialized" /> to enable or disable the players markers,
 ///     which would normally be shown on the radar. If you want to change the marker settings at some other point in the
 ///     gamemode, have a look at <see cref="GtaPlayer.SetPlayerMarker" /> which does exactly that.
 /// </summary>
 /// <param name="mode">The mode you want to use.</param>
 public virtual void ShowPlayerMarkers(PlayerMarkersMode mode)
 {
     Native.ShowPlayerMarkers((int)mode);
 }
コード例 #2
0
 /// <summary>
 ///     A function that can be used in <see cref="OnInitialized" /> to enable or disable the players markers,
 ///     which would normally be shown on the radar. If you want to change the marker settings at some other point in the
 ///     gamemode, have a look at <see cref="BasePlayer.SetPlayerMarker" /> which does exactly that.
 /// </summary>
 /// <param name="mode">The mode you want to use.</param>
 public virtual void ShowPlayerMarkers(PlayerMarkersMode mode)
 {
     Internal.NativeShowPlayerMarkers((int) mode);
 }
コード例 #3
0
 /// <inheritdoc />
 public void ShowPlayerMarkers(PlayerMarkersMode mode)
 {
     _native.ShowPlayerMarkers((int)mode);
 }
コード例 #4
0
 /// <summary>
 ///     A function that can be used in <see cref="OnInitialized" /> to enable or disable the players markers,
 ///     which would normally be shown on the radar. If you want to change the marker settings at some other point in the
 ///     gamemode, have a look at <see cref="BasePlayer.SetPlayerMarker" /> which does exactly that.
 /// </summary>
 /// <param name="mode">The mode you want to use.</param>
 public virtual void ShowPlayerMarkers(PlayerMarkersMode mode)
 {
     Internal.ShowPlayerMarkers((int)mode);
 }
コード例 #5
0
ファイル: BaseMode.functions.cs プロジェクト: WLSF/SampSharp
 /// <summary>
 ///     A function that can be used in <see cref="OnInitialized" /> to enable or disable the players markers,
 ///     which would normally be shown on the radar. If you want to change the marker settings at some other point in the
 ///     gamemode, have a look at <see cref="GtaPlayer.SetPlayerMarker" /> which does exactly that.
 /// </summary>
 /// <param name="mode">The mode you want to use.</param>
 public virtual void ShowPlayerMarkers(PlayerMarkersMode mode)
 {
     Native.ShowPlayerMarkers((int) mode);
 }