samp.directory
← Scripts e bibliotecas

pavelkalas/samp-reconnect-tool-dev

Fast hotkey-based reconnect tool for SA-MP that lets you instantly rejoin servers without restarting the game.

Ferramenta★ 0atualizado jun. de 2026Sem licençaC++
Abrir no GitHub

Este repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.

README.md

SA-MP Quick Reconnect Tool

Simple tool for SA-MP that allows fast reconnect to the last server using a hotkey.


Overview

When SA-MP disconnects, the client normally requires manual reconnect through the menu or a game restart.
This tool removes that step.

Press Alt + R to reconnect immediately without restarting the game.

Useful mainly for testing and development where repeated reconnects are needed.


Features

  • Hotkey reconnect (Alt + R)
  • No game restart required
  • Faster reconnect workflow during testing

Usage

  1. Inject the DLL into gta_sa.exe
  2. Start GTA San Andreas with SA-MP
  3. Connect to a server
  4. If disconnected, press Alt + R
  5. Reconnect happens immediately

Extra (development use)

The project includes a disabled function ConnectTo, which can be used to connect directly to a specific IP and port.

This is intended for cases where multiple servers are tested and switching needs to be done from code instead of the in-game menu.

The function is left in the source code but not active by default.

Example

INET_Connection connection { "127.0.0.1", 7777 };
ConnectTo(&connection);

game-toolgta-sareconnect-toolreverse-engineeringsamp

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