/SampSharp

A framework for writing game modes for SA-MP in C#. SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas.

Primary LanguageC#Apache License 2.0Apache-2.0

SampSharp

GitHub Action: Cake GitHub Action: Plugin (Linux) GitHub Action: Plugin (win32) GitHub Releases GitHub Issues

Join us on Discord

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.

Documation

The SampSharp libraries provided by the NuGet repository contains all API documentation. The documentation website is available at https://sampsharp.net/

Examples

Some example gamemodes are available here:

  • GrandLarc - SA-MP default gamemode ported to C#
  • RiverShell - Another SA-MP default gamemode ported to C#

Libraries

Some useful S# libraries:

  • Streamer - S# OO wrapper around streamer plugin.