samp.directory
← Scripts y librerías

pavelkalas/samp-reconnect-tool-dev

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

Herramienta★ 0actualizado jun 2026Sin licenciaC++
Abrir en GitHub

Este repositorio no tiene archivo de licencia. Se puede leer, pero eso por sí solo no da permiso para reutilizarlo.

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 se genera con lo que GitHub publica sobre el repositorio. samp.directory no aloja el código. Informar de un problema con esta ficha

pavelkalas/samp-reconnect-tool-dev: Herramienta de SA-MP | samp.directory