An open-source SA:MP racing gamemode
  • Pawn 99.5%
  • Batchfile 0.5%
Find a file
2025-10-23 17:11:50 +02:00
includes feat/veh-cmd: add get in car command 2025-10-23 16:53:01 +02:00
.gitattributes initial commit 2025-10-12 20:17:57 +02:00
.gitignore Squash merge main into feat/vehicle-system 2025-10-23 01:14:06 +02:00
build.bat update build script 2025-10-12 21:41:03 +02:00
pawn.json Squash merge main into feat/vehicle-system 2025-10-23 01:14:06 +02:00
README.md update README with license 2025-10-21 01:10:36 +02:00
run.bat feat: add local server run script 2025-10-20 23:59:47 +02:00
sagp.pwn Merge branch 'feat/vehicle-system' 2025-10-23 17:11:50 +02:00
schema.sql fix: sql schema 2025-10-22 17:15:01 +02:00

San Andreas GP

A racing and freemode gamemode for SA-MP (San Andreas Multiplayer).

sampctl

Information

This gamemode was inspired by Need For Speed Unbound & Heat's multiplayer.
(Like NFS, the player is always inside a vehicle in 99% of cases)

Features (wip)

  • Freeroam with joinable races through invites or map markers
  • Car shop and garages for players to use.
  • Level system, like NFS Heat. (Daytime: earn money, Nightime: earn REP/XP)
  • Authentication system
  • Race statistics tracking (wins/losses & more!)

Race types

  • Drifting, with GTA Online like gameplay
  • Drag races
  • Sprint races
  • Circuit races
  • Off road races
  • Motorcycle races

Development

Prerequisites

  • sampctl - SA-MP development tool
  • MySQL server (local or remote)

Setup

  1. Clone the repository:
git clone https://github.com/msh31/san-andreas-gp.git
cd san-andreas-gp
  1. Install dependencies:
sampctl p ensure
  1. Set up your MySQL database:

    • Create a database named sagp
    • Update connection details in sagp.pwn if needed
    • Import the provided database schema
  2. Build the gamemode:

sampctl p build
  1. Run the server:
sampctl p run

Building

Windows:

sampctl p build

macOS/Linux:

sampctl build

Contributing

Pull requests are welcome! For major changes, please open an issue first.

License

This project is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License CC BY-NC 4.0