samp.directory
← Скрипты и библиотеки

neetoons/samp-super-roleplay

A SA:MP Roleplay gamemode made by Adri1 and now by Neetoons

Игровой мод★ 12обновлён июль 2026 г.MITPawnВ архиве
Открыть на GitHub

Автор отправил этот репозиторий в архив, он больше не поддерживается.

README.md

An OPEN:MP roleplay gamemode originally written and released by Andri1, now maintained by Neetoons and contributors.

Features

Specifications & Usage

Systems

SystemsNormal UserSuper User
Jobs13
Vehicles26
Accessories110
Properties14
Objects110

Anticheat

24 cheats patched in total. Important: the "Warning" action notifies admins (not the cheater), so they can spectate. To configure anticheat in-game, be admin level 5 (owner), command is /ac.

The "Trigger" column shows how many detections within the given seconds trigger a warning or kick. For example, the "pos" cheat triggers on 3 detections within 10 seconds.

Economy Adjustment

Use the /eco command (admin level 5) to adjust in-game economy multipliers. For example, if the base vehicle price is $1,000 and the vehicle multiplier is set to 2, the price becomes $2,000.

Flake Usage (Nix)

This repository is a Nix flake. To use it:

Build the full server package

nix build
# Result is a fully-configured open.mp server in ./result

Run the server

nix run

Enter the development shell

nix develop

Inside the dev shell you'll have pawncc, YSI includes, and the formatting tools available:

cd gamemodes
pawncc -Dgamemodes -i../pawno/include -i$YSI_INCLUDE -d3 -Z "-(+" "-;+" srp.pwn

To compile the filterscript:

cd filterscripts
pawncc -Dfilterscripts -i../pawno/include -i$YSI_INCLUDE -Z "-(+" "-;+" maps.pwn

NixOS module

Import the module and enable the server:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    samp-super-roleplay.url = "github:neetoons/samp-super-roleplay";
  };

  outputs = { self, nixpkgs, samp-super-roleplay }: {
    nixosConfigurations.my-server = nixpkgs.lib.nixosSystem {
      modules = [
        samp-super-roleplay.nixosModules.default
        {
          services.samp-server = {
            enable = true;
            hostname = "My RP Server";
            port = 7777;
            database = {
              enable = true;
              password = "my-db-password";
            };
          };
        }
      ];
    };
  };
}

Key options:

OptionDefaultDescription
services.samp-server.enablefalseEnable the server service
services.samp-server.hostname"Super Roleplay"Server name shown in browser
services.samp-server.port7777Game port
services.samp-server.database.enablefalseSpin up a local MariaDB instance
services.samp-server.database.password""Database password

Development

Requirements

  • San Andreas Multiplayer (SA:MP) / OPEN.MP
  • Pawn Compiler 3.10.11
  • MySQL

Plugins

Plugin/IncludeVersion
MySQLR41-4
YSI-Includes5.10.0006
Pawn.CMD3.4.0
Pawn.Regex1.2.3
Pawn.Raknet1.6.0
Pawn.Plus1.5.1
sscanf2.15.1
streamer2.9.6
MapAndreas-

Installation

  1. Download the latest release
  2. Compile maps.pwn as a filterscript.
  3. Create a MySQL database, for example "srp".
  4. Import srp_db.sql into the MySQL database.
  5. Configure the connection details in srp_db.ini
hostname = localhost
username = root
database = srp
password = 123
auto_reconnect = false

If using XAMPP no password is needed.

Database Schema


Note

Adri1: in case someone wants to edit it, here were my ideas for future versions:

  • Businesses.
  • House garages.
  • Bank and store robberies with gangs.

pawnsamp

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью