An open-source SA:MP racing gamemode
- Pawn 99.5%
- Batchfile 0.5%
| includes | ||
| .gitattributes | ||
| .gitignore | ||
| build.bat | ||
| pawn.json | ||
| README.md | ||
| run.bat | ||
| sagp.pwn | ||
| schema.sql | ||
San Andreas GP
A racing and freemode gamemode for SA-MP (San Andreas Multiplayer).
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
- Clone the repository:
git clone https://github.com/msh31/san-andreas-gp.git
cd san-andreas-gp
- Install dependencies:
sampctl p ensure
-
Set up your MySQL database:
- Create a database named
sagp - Update connection details in
sagp.pwnif needed - Import the provided database schema
- Create a database named
-
Build the gamemode:
sampctl p build
- 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
