Description
IndigenousMethodCaller
Frustrated by the complicated syntax involved in calling native functions within SHVDN? This library simplifies the process by enabling you to call native functions using strongly typed static methods. Helpful comments are included, eliminating the need for tedious searches through nativedb while coding.
To utilize this library, either download and reference the dll directly or install it using the nuget package manager.
Next, add the following line to your code's using section:
using static GTA.Native.NativeInvoker;
Now you can confidently call any native function without worrying about incorrect parameters or return types!
For example:
Entity killer = GET_PED_SOURCE_OF_DEATH(Game.Player.Character);
Dependencies:
ScriptHookVDotNet
First Upload: November 11, 2024 Last Updated: November 11, 2024
0 Comments
Join the conversation! Log In or register for an account to be able to comment.