Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou must be signed in to change notification settings

ikkentim/SampSharp

Repository files navigation

GitHub Action: dotnetGitHub Action: Plugin (Linux)GitHub Action: Plugin (win32)GitHub ReleasesGitHub Issues

Join us on Discord

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.

Documentation

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/

Examples

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

Building SampSharp

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

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp