Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork46
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
ikkentim/SampSharp
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
SampSharp is a plugin and library that allows you to write San Andreas: Multiplayer(SA-MP) gamemodes in C#. SampSharp's aim is to allow you to enjoy all features of object-oriented programming and .NET. SampSharp uses the .NET runtime 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.
The SampSharp .NET packages provided are available on NuGet.org and contains all API documentation. Additional documentation is available onhttps://sampsharp.net/ andhttps://api.sampsharp.net/
Some example gamemodes are available here:
- GrandLarc (GM) - SA-MP default gamemode "grandlarc" ported to C# using SampSharp.GameMode
- GrandLarc (ECS) - SA-MP default gamemode "grandlarc" ported to C# using SampSharp.Entities
- RiverShell (GM) - SA-MP default gamemode "rivershell" ported to C# using SampSharp.GameMode
In order to build the .NET libraries you can simply open and buildSampSharp.sln using Visual Studio 2022, or you can build it from the command line using dotnet (version 6 or newer)dotnet publish SampSharp.sln --configuration Release.
To build the plugin on Windows, buildSampSharp.Plugin.sln with Visual Studio 2022. You'll need to have the "Desktop development with C++" workload installed using Visal Studio Installer.
To build the plugin on Linux you'll at least need to have the packagesmake gcc g++ gcc-multilib g++-multilib installed. Runmake to build the plugin.
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.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
