samp.directory
← Scripts e bibliotecas

Saisnat/samp_loginregister

Simple MySQL login and registration system for an SA:MP server.

Gamemode★ 1atualizado jan. de 2026MITPawn
Abrir no GitHub

README.md

SA:MP MySQL Login & Register System

Features

  • Player registration and login with hash;
  • Data persistence (Money and Score saved on disconnect).
  • Secure SQL queries using mysql_format and mysql_tquery.

Requeriments:

  • SA:MP Server (0.3.7, 0.3DL or open.mp)
  • BlueG's MySQL Plugin (a_mysql). (Windows version already included in this repo)
  • MySQL Database (Localhost or Remote)

Installation:

  1. Create a database in your MySQL server;
  2. Execute the 'db.sql' file provided in this repo;
  3. Move the MySQL plugin to your plugins folder and the include to include folder.
  4. Edit the credentials in the '.pwn' file inside the folder gamemodes; (Lines 9 to 12)
  5. Compile the script and add it to your server.cfg file;
  6. Start the server.

Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página