Skip to content

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.

License

WLSF/SampSharp

 
 

Repository files navigation

SampSharp

Plugin Framework
Travis AppVeyor

GitHub release GitHub issues Gitter

SA-MP# is a plugin and library that allows you to write San Andreas: Multiplayer(SA-MP) gamemodes in C# and VB. SA-MP#'s aim is to allow you to enjoy all features of OO-programming and .NET. SA-MP# uses the Mono Framework to allow linux servers to run this plugin as well. For information about installing and building SA-MP#, check the wiki.

All feedback is welcome, file an Issue or contact me on the SA-MP forums:

My SA-MP profile

SA-MP# topic on SA-MP

NuGet

SA-MP# hosts it's own NuGet Package Repository. SampSharp.GameMode and all useful SA-MP# libraries are available from this repository. Instructions on adding the repository to Visual Studio are available here. Feel free to contribute your useful SA-MP# libraries to this repository!

Documation

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/

Examples

Some example gamemodes are available here:

  • Grand Larceny - SA-MP default gamemode ported to C#
  • RiverShell - Another SA-MP default gamemode ported to C#
  • NHibernate test - Since I haven't found a way to get EntityFramework to work, here is a simple example of using NHibernate together with FluentNHibernate. NHibernate is an ORM for C#.

Libraries

Some useful SA-MP# libraries:

About

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 52.5%
  • C 26.0%
  • C++ 19.8%
  • Batchfile 1.6%
  • Lua 0.1%
  • Objective-C 0.0%