SampSharp is a plugin and library that allows you to write San Andreas: Multiplayer(SA-MP) gamemodes in C# or any other .NET language. SampSharp's aim is to allow you to enjoy all features of OO-programming and .NET. SampSharp uses the .NET Core which allows the plugin to run on both Windows and Linux server. For information about installing and building SampSharp, check the documentation. If you have any questions, feel free to join our Discord chat or file an issue.
The SampSharp libraries provided by the NuGet repository contains all API documentation. The documentation website is available at https://sampsharp.net/
Some example gamemodes are available here:
- GrandLarc - SA-MP default gamemode ported to C#
- RiverShell - Another SA-MP default gamemode ported to C#
Some useful S# libraries:
- Streamer - S# OO wrapper around streamer plugin.