Plugin | Framework |
---|---|
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:
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!
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#
- 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#.
Some useful SA-MP# libraries:
- Streamer wrapper - OO wrapper around streamer plugin.