Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nuriofernandez/go-gta-sa-memory-reader

A simple and beautiful API to read GTA:SA game in memory data ✨
https://github.com/nuriofernandez/go-gta-sa-memory-reader

game-memory grand-theft-auto gta gta-sa gta3 memory-hacking

Last synced: 2 days ago
JSON representation

A simple and beautiful API to read GTA:SA game in memory data ✨

Awesome Lists containing this project

README

        

# GTA SA Memory accessor

A simple and beautiful API to read GTA:SA game in memory data ✨

## Usage Example

### Code example

```go
func main() {
gtaSa := new(gtaSa.GtaSa)
gtaSa.Hook()

money := gtaSa.GetMoney()
pedLocation := gtaSa.GetPed().GetLocation()
vehicleLocation := gtaSa.GetVehicle().GetLocation()
pedStatus := gtaSa.GetPed().GetStatus()

fmt.Println("Ped status: ", pedStatus)
fmt.Println("User money: ", money)
fmt.Printf("Ped location: '%f', '%f', '%f'\n", pedLocation.X, pedLocation.Y, pedLocation.Z)
fmt.Printf("Vehicle location: '%f', '%f', '%f'\n", vehicleLocation.X, vehicleLocation.Y, vehicleLocation.Z)
}
```
### In-game screenshot

Boat Captcha resolve

### Code execution output

```bash
Trying to find a running GTA:SA instance.
Successfully hooked into a running GTA:SA instance.
Ped status: InFloor
User money: 24968
Ped location: '-2174.303467', '-428.641479', '35.335938'
Vehicle location: '-2171.551025', '-436.249969', '35.251785'
```