SampSharp (S# for short) is a plugin and library that allows you to write San Andreas: Multiplayer(SA-MP) gamemodes in C# or any other .NET language. S#'s aim is to allow you to enjoy all features of OO-programming and .NET. S# uses the Mono Framework to allow linux servers to run this plugin as well. For information about installing and building S#, check the documentation. If you have any questions, join our Gitter chat, file an issue or post on our SA-MP forum post.
All feedback is welcome, file an Issue or contact me on the SA-MP forums:
S# hosts it's own NuGet Package Repository. SampSharp.GameMode and all useful S# libraries are available from this repository. Instructions on adding the repository to Visual Studio are available here. Feel free to contribute your useful S# libraries to this repository!
The SampSharp.GameMode library provided by the NuGet repository contains all available documentation. You can also view the documentation on the web via http://sampsharp.timpotze.nl/
Some example gamemodes are available here:
- Grand Larceny - SA-MP default gamemode ported to C#
- RiverShell - Another SA-MP default gamemode ported to C#
Some useful S# libraries:
- Streamer wrapper - S# OO wrapper around streamer plugin.