Skip to content

0xWaleed/GTA5-Native-Caller

Repository files navigation

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

..

How to use

  • Inject the PS4API.BIN whether 4.05 or 4.55
  • Reference the GTANative.dll to your project
  • Call the Natives after the connection established

Brief Examples

Initialize PS4API to pass it to the RPC.Enable(PS4API);

PS4API PS4 = new PS4API();
PS4.ConnectTarget("192.168.0.0");
PS4.AttachProcess();
RPC.Enable(PS4); // must be called after AttachProcess();

Call some natives function

Vector3 vec = ENTITY.GET_ENTITY_COORDS(PLAYER.PLAYER_PED_ID(), true);
PED.CREATE_RANDOM_PED(vec.X, vec.Y, vec.Z);
VEHICLE.EXPLODE_VEHICLE(VEHICLE.GET_LAST_DRIVEN_VEHICLE(), true, false);
VEHICLE.SET_VEHICLE_FORWARD_SPEED(VEHICLE.GET_LAST_DRIVEN_VEHICLE(), 100f);
WEAPON.SET_PED_INFINITE_AMMO_CLIP(PLAYER.PLAYER_PED_ID(), true);
TIME.SET_CLOCK_TIME(23, 59, 59);

*More can be found here 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.

RPC.Enable(PS4API, native_table_address);

Credits

  • Alexander Blade
  • 2much4u
  • Everyone

About

PS4 - GTA V native caller for desktop application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages