samp.directory
← Скрипты и библиотеки

pavelkalas/samp-reconnect-tool-dev

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

Инструмент★ 0обновлён июнь 2026 г.Без лицензииC++
Открыть на GitHub

В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью