I am new here and I have a question for you guys
(C++) I will try to describe my situation with some details so that you can understand this better. This might be long(er) but it might be necessary to explain this to someone who doesn't know how this (scripthook) works
I am playing GTA 5 and there's a library file made by unofficial person called ScriptHookV.dll. It's main purpose is to enable modding, it hooks to the game and allows us (modders) to call the game's native functions, such as: VEHICLE::VEHICLE_CREATE
,
PLAYER::PLAYER_SET_WANTED_LEVEL
,
and so on. ( full list here: http://www.dev-c.com/nativedb/ )
However, this modding works in a way that you download sdk from ( http://www.dev-c.com/gtav/scripthookv/ ) and you can use sdk to make your own mod, it provides those native functions so you can use and compile it.
When it gets compiled it gets compiled with .asi extension (actually its a dll renamed to asi) and you need to place it in gta 5 main folder and when you launch the game, scripthookv.dll and other file called dsound8.dll will take care of loading that .asi file
However, as you see what I've described, it works in a way that scripthook file itself loads .asi files into the game and executes their code by itself. And what i'm trying to do is i would like to have my own program from which i can use ScriptHookV.dll 's native functions to manipulate gta 5 singleplayer, but i don't have the source code of that dll.
So I am wondering what to do now..
TL;DR: I want to manipulate GTA 5 singleplayer with functions that ScriptHookV.dll provides by using my own program, but I don't have source code of that dll