Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 ✨
- Host: GitHub
- URL: https://github.com/nuriofernandez/go-gta-sa-memory-reader
- Owner: nuriofernandez
- Created: 2022-07-10T16:58:37.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-10T16:01:16.000Z (11 months ago)
- Last Synced: 2024-06-21T03:17:09.740Z (5 months ago)
- Topics: game-memory, grand-theft-auto, gta, gta-sa, gta3, memory-hacking
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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### 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'
```