Plugin | Framework |
---|---|
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 .Net Core 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 Slack 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 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:
- 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.