An open API service indexing awesome lists of open source software.

https://github.com/mookums/sampahk

[SAMP 0.3.7] An AutoHotKey library that allows the use of native GTA:SAMP functions through the use of Windows API for memory manipulation. SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas.
https://github.com/mookums/sampahk

ahk autohotkey grand-theft-auto gta gtasa gtasandreas mod samp

Last synced: 6 months ago
JSON representation

[SAMP 0.3.7] An AutoHotKey library that allows the use of native GTA:SAMP functions through the use of Windows API for memory manipulation. SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas.

Awesome Lists containing this project

README

          

## SAMPAHK (1.1.0)

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/0ed86eaf384e4056a2b7fc1251f37ba4)](https://www.codacy.com/gh/kessec/SAMPAHK/dashboard?utm_source=github.com&utm_medium=referral&utm_content=kessec/SAMPAHK&utm_campaign=Badge_Grade)

### [CODE DOCUMENTATION](https://github.com/sampudf/SAMPAHK/wiki) - INCOMPLETE

### Synopsis
SAMPAHK is an library specifically made to be used inside of [AutoHotKey](https://www.ahkscript.org). A part of the library comes from [SAMPUDF](https://github.com/paul-phoenix/SAMP-UDF-for-AutoHotKey) made by paul-phoenix, linked above. The end goal for SAMPAHK is to be able to provide a more complete platform for SA-MP memory modding in AutoHotKey. If you have any issues with the program, please leave an issue ticket.

### SUPPORTED SAMP VERSIONS
_Currently. only [SA-MP Version 0.3.7 R1.](https://dracoblue.net/downloads/samp-client/) and Version 1 of the GTA SA Executable._

### IN ORDER FOR THIS TO WORK, YOU MUST MUST MUST BE USING [AutoHotKey](https://autohotkey.com) (32 BIT)
Do not make issues or talk about errors in 64 bit. The library will not work in 64 bit.

### USAGE (WHEN WRITING)
#### (MAKE SURE THE MOD YOU ARE WRITING IS IN THE SAM_MODS WITH SAMP.AHK)

#### Referencing the API in your script:
```autohotkey
SendMode Input
SetWorkingDir %A_ScriptDir%
#Warn
#UseHook
#NoEnv
#SingleInstance force
#include %A_ScriptDir%\SAMP.ahk
```
#### Example of script usage:
```autohotkey
SendMode Input
SetWorkingDir %A_ScriptDir%
#Warn
#UseHook
#NoEnv
#SingleInstance force
#include %A_ScriptDir%\SAMP.ahk
```