SampSharp.GameMode 0.9.0
A framework for writing SA-MP game modes in C#.
No packages depend on SampSharp.GameMode.
- Added
Vector3.XYwhich returns aVector2with the x and y components (#299/#300) - Added
Color.Brightnessproperty (#309) - Added
Color.AddGrammaCorrection,Color.RemoveGammaCorrection,Color.Grayscalemethods (#309) - Added
blendAlphaoption toColor.Lerp,Color.DarkenandColor.Lighten(#305/#310) - Added
Timer.RunandTimer.RunOnceoverloads with anintordoubleinternal in miliseconds. (#315) - Added
BasePlayer.PickUpPickupevent (#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
NullableParamto indicate aBasePlayerorBaseVehicleargument is allowed to be null, enum values can be marked as nullable by using nullable enums likeVehicleModelType?(#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
PlayerCancelClickTextDrawevent which is called when player presses ESC while selecting textdraws,PlayerClickTextDrawis no longer called when ESC is pressed (#304/#321) - Updated
VehicleModelInfoto include seat count and a missing entry for ID 611, Utility Trailer (#302) - Updated minimum .NET Standard version to 2.0
- breaking Changed
BasePlayer.CameraTargetObjecttoBasePlayer.CameraTargetGlobalObject(#320) - breaking Changed
BasePlayer.SurfingObjecttoBasePlayer.SurfingGlobalObject(#324) - breaking Changed
BaseMode.PlayerPickUpevent to have event arguments of typePickUpPickupEventArgsand changed the sender of event from the pickup to the player (#319) - breaking Changed
Pickup.PickUpevent to have event arguments of typePickUpPickupEventArgs(#319) - Fixed
Quaternioncoordinate system not matching SA-MP coordinate system - Fixed
EditedandSelectedonGlobalObjectandPlayerObjectnot being fired (#303/#306) - Fixed
Color.FromIntegerwithColorFormat.RGBreturning a value with 0 alpha - Fixed conversion from
ColortoVector3not 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
ObjectModelenum because it was too big and might not be complete
.NET Standard 2.0
- SampSharp.Core (>= 0.9.0)
- System.ComponentModel (>= 4.3.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 |