Documentation/Official SA-MP Gamemode
GAME SERVER · REFERENCE GUIDE

Official SA-MP Gamemode

A modular Pawn roleplay gamemode built for San Andreas Multiplayer, backed by MySQL and an extensive collection of gameplay systems.

PawnMySQL / MariaDBSA-MP 0.3.7
01

Overview

The gamemode is written in Pawn for the SA-MP multiplayer modification for Grand Theft Auto: San Andreas version 1.0. The primary source is documented as `gamemodes/NewCityRP.pwn`, with modular includes grouped under `gamemodes/module/`.

02

Documented versions

The supplied documentation describes a V6.x line on the `main` and `live` branches (V6.4) and a later V7 line documented at V7.01.03. The branch histories are preserved as separate development snapshots; they should not be treated as interchangeable.

03

Build environment

The README documents Windows and Linux server environments, a bundled Pawn compiler, SA-MP 0.3.7-compatible clients, and MySQL or MariaDB. VS Code build tasks and direct compiler commands are documented in the repository README.

04

System architecture

The source is organized around a main gamemode entry point and modules for server definitions, TextDraw interfaces, map objects and vehicle definitions. Supporting filterscripts cover client checks, socket communication, chatbots, camera editing, logging and NPC management.

05

Dependencies

Documented include and plugin families include streamer, sscanf, MySQL, FCNPC, anti-cheat, crash detection, SampVoice, Pawn.CMD, GPS, socket communication, SKY, ColAndreas and MapAndreas. Exact versions and redistribution rights must be verified against the actual repository before a public binary release.

06

Setup safety

Do not publish production `server.cfg`, database credentials, RCON passwords, Discord bot tokens, player data, logs or backups. Create a sanitized example configuration and rotate any credentials that may have appeared in previous commits.

SOURCE BASIS: USER-SUPPLIED PROJECT README · CONTENT SUMMARIZED FOR THE NCRP LEGACY WEBSITE.