@OrangeSR As CamxxCore said above, you can use the ScriptHookV API directly, OR if you want, there is a much more easier to work with solution(if you think scripting in .NET is ok for you) which is basically a wrapper around the ScriptHookV API:
https://github.com/crosire/scripthookvdotnet

You can look in the Wiki section and use the Getting Started tutorial to... you know... get started?