Native Invoker V1.0.0.1

Native Invoker V1.0.0.1

Ever felt depressed by the unintuitive syntax when trying to call a native function in SHVDN?
This library allows you to call native function via strong-typed static methods. Comment is included as well, so you no longer need to tediously search nativedb for the native information while writing code.

To use this, either download and reference the dll directly or install it via nuget package manager.

Then add this line to the using section in your code:

using static GTA.Native.NativeInvoker;

Now you’re good to go. Call any native without worrying about wrong parameter or return type!

Entity killer = GET_PED_SOURCE_OF_DEATH(Game.Player.Character);

Dependencies:
ScriptHookVDotNet

Credits:

Sardelka

Download mod

FileFile size
zip NativeInvoker615 KB

Leave a Reply

Your email address will not be published. Required fields are marked *