Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xwal/gta5-native-caller
PS4 - GTA V native caller for desktop application
https://github.com/0xwal/gta5-native-caller
dll gta gta5 gtav library natives ps4 rpc
Last synced: 2 months ago
JSON representation
PS4 - GTA V native caller for desktop application
- Host: GitHub
- URL: https://github.com/0xwal/gta5-native-caller
- Owner: 0xwal
- Created: 2018-03-10T11:48:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-15T01:52:34.000Z (over 4 years ago)
- Last Synced: 2024-09-20T19:02:12.668Z (4 months ago)
- Topics: dll, gta, gta5, gtav, library, natives, ps4, rpc
- Language: C#
- Homepage:
- Size: 641 KB
- Stars: 15
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GTANatives
GTA 5 Library for PS4 to create desktop tools.
This library allows you to call over 2000 native functions
that can be found here [Nativedb](http://www.dev-c.com/nativedb/)
# How to use
* Inject the **[PS4API.BIN](https://github.com/BISOON/ps4-api-server)** whether 4.05 or 4.55
* Reference the **[GTANative.dll](https://github.com/BISOON/GTA5-Native-Caller/tree/master/GTANatives/bin/Release)** to your project
* Call the Natives after the connection established# Brief Examples
#### Initialize PS4API to pass it to the RPC.Enable(PS4API);
```csharp
PS4API PS4 = new PS4API();
PS4.ConnectTarget("192.168.0.0");
PS4.AttachProcess();
RPC.Enable(PS4); // must be called after AttachProcess();
```#### Call some natives function
```csharp
Vector3 vec = ENTITY.GET_ENTITY_COORDS(PLAYER.PLAYER_PED_ID(), true);
PED.CREATE_RANDOM_PED(vec.X, vec.Y, vec.Z);
```
```csharp
VEHICLE.EXPLODE_VEHICLE(VEHICLE.GET_LAST_DRIVEN_VEHICLE(), true, false);
```
```csharp
VEHICLE.SET_VEHICLE_FORWARD_SPEED(VEHICLE.GET_LAST_DRIVEN_VEHICLE(), 100f);
```
```csharp
WEAPON.SET_PED_INFINITE_AMMO_CLIP(PLAYER.PLAYER_PED_ID(), true);
```
```csharp
TIME.SET_CLOCK_TIME(23, 59, 59);
```
*More can be found here **[Natives.cs](https://github.com/BISOON/GTA5-Native-Caller/blob/master/GTANatives/Natives.cs)**# Note
For now only works on 1.0 version of GTA if you need to use this with higher update
make sure you update __Native Table Address__ by passing it to the second argument.
```csharp
RPC.Enable(PS4API, native_table_address);
```# Credits
* Alexander Blade
* 2much4u
* Everyone