SampSharp.GameMode 0.9.0

A framework for writing SA-MP game modes in C#.

No packages depend on SampSharp.GameMode.

  • Added Vector3.XY which returns a Vector2 with the x and y components (#299/#300)
  • Added Color.Brightness property (#309)
  • Added Color.AddGrammaCorrection, Color.RemoveGammaCorrection, Color.Grayscale methods (#309)
  • Added blendAlpha option to Color.Lerp, Color.Darken and Color.Lighten (#305/#310)
  • Added Timer.Run and Timer.RunOnce overloads with an int or double internal in miliseconds. (#315)
  • Added BasePlayer.PickUpPickup event (#319)
  • Added BasePlayer.CameraTargetPlayerObject (#320)
  • Added BasePlayer.SurfingPlayerObject (#324)
  • Added Server.GetServerTickRate (#295)
  • Added automatic detection for command and command group names (#273)
  • Added command parameter attribute NullableParam to indicate a BasePlayer or BaseVehicle argument is allowed to be null, enum values can be marked as nullable by using nullable enums like VehicleModelType? (#268/#290)
  • Added Server.GetWeaponName (#311)
  • Added CommandAttribute.IsGroupHelp, if this value is true, the command will run if the command group is entered by the player without a specified command in the command group
  • breaking Added PlayerCancelClickTextDraw event which is called when player presses ESC while selecting textdraws, PlayerClickTextDraw is no longer called when ESC is pressed (#304/#321)
  • Updated VehicleModelInfo to include seat count and a missing entry for ID 611, Utility Trailer (#302)
  • Updated minimum .NET Standard version to 2.0
  • breaking Changed BasePlayer.CameraTargetObject to BasePlayer.CameraTargetGlobalObject (#320)
  • breaking Changed BasePlayer.SurfingObject to BasePlayer.SurfingGlobalObject (#324)
  • breaking Changed BaseMode.PlayerPickUp event to have event arguments of type PickUpPickupEventArgs and changed the sender of event from the pickup to the player (#319)
  • breaking Changed Pickup.PickUp event to have event arguments of type PickUpPickupEventArgs (#319)
  • Fixed Quaternion coordinate system not matching SA-MP coordinate system
  • Fixed Edited and Selected on GlobalObject and PlayerObject not being fired (#303/#306)
  • Fixed Color.FromInteger with ColorFormat.RGB returning a value with 0 alpha
  • Fixed conversion from Color to Vector3 not returning decimal values
  • Fixed enum numeric values not being recognized as an command argument if an enum value name contains the numeric value (#274)
  • breaking Removed ObjectModel enum because it was too big and might not be complete

.NET Standard 2.0

Version Downloads Last updated
0.11.1 6 10/08/2026
0.11.0 6 10/07/2026
0.10.1 6 10/08/2026
0.10.0 6 10/07/2026
0.10.0-alpha2 6 10/08/2026
0.10.0-alpha1 6 10/07/2026
0.9.1 7 10/05/2026
0.9.0 4 10/10/2026
0.8.0 5 10/09/2026
0.8.0-alpha8 6 10/08/2026
0.8.0-alpha7 6 10/08/2026
0.8.0-alpha6 5 10/08/2026
0.8.0-alpha2 6 10/08/2026
0.8.0-alpha10 5 10/08/2026
0.8.0-alpha1 6 10/08/2026
0.7.6221.37952 6 10/08/2026
0.7.6133.31753-alpha 6 10/08/2026
0.7.6119.35177-alpha 5 10/08/2026
0.7.6119.33589-alpha 6 10/08/2026
0.7.6107.37493-alpha 5 10/07/2026
0.7.6107.36375-alpha 6 10/07/2026
0.7.6104.38929-alpha1 6 10/08/2026
0.7.6104.24305 6 10/08/2026
0.6.2 4 10/10/2026
0.6.1 5 10/08/2026
0.6.0 6 10/07/2026
0.5.0 6 10/08/2026
0.4.0 4 10/09/2026
0.3.1 6 10/08/2026
0.3.0.1 6 10/08/2026
0.3.0 5 10/07/2026
0.2.0 6 10/07/2026