Skip to content

Installation

Алексей . edited this page Mar 21, 2026 · 5 revisions

Installation

Prerequisites

Requirement Version
GTA San Andreas 1.0 US
Arizona RP client latest
SA:MP 0.3.7 R3-1
SAMPFUNCS v5.5.0 rel.22
.NET SDK 10.0 (for building from source)

Using a Release Build

  1. Download SF.asi from Releases.
  2. Copy SF.asi into your GTA San Andreas root directory (next to gta_sa.exe).
  3. Make sure SAMPFUNCS is installed — SF-Arizona loads as a SAMPFUNCS plugin.
  4. Launch the game and connect to an Arizona RP server.
  5. Type /sfs in chat to verify the module dashboard opens.

Building from Source

git clone https://github.com/AllahPower/SF-Arizona.git
cd SF-Arizona

# Debug build
dotnet build src/SF.csproj -c Release

# Publish NativeAOT single-file
dotnet publish src/SF.csproj -c Release

Output: src/bin/Release/net10.0/win-x86/publish/SF.asi

Copy the resulting SF.asi to the GTA San Andreas directory.

Project Structure

SF-Arizona/
├── src/
│   ├── SF.csproj              # Project file, NativeAOT win-x86
│   ├── Diagnostics/           # SFLog, SFLoggerProvider
│   ├── Interop/
│   │   ├── Classes/           # Native SAMP class wrappers (CChat, CDialog, etc.)
│   │   ├── Hooking/           # MinHook.NET based hook system
│   │   └── RakNet/            # RPC/packet interception, BitStreamReader
│   ├── Modules/               # Module runtime, container, and built-in modules
│   └── SF/                    # High-level managed API (SF.Chat, SF.Dialog, etc.)
└── README.md

Verifying Installation

After loading into a server:

  • A green SF-Arizona vX.X.X message appears in chat.
  • /sfs opens the module management dashboard.
  • /sfs status lists all modules with their state and load.
  • Log file sf_arz.log is created next to gta_sa.exe.

Clone this wiki locally