DurtyFree / GTA-SA-ScriptHook

GTA San Andreas .NET / C# ScriptHook
15 stars 6 forks source link

Could I use API directly in my app? #3

Closed MrFoxPro closed 4 years ago

MrFoxPro commented 4 years ago

I would like to use api in my winform app, is it possible?

MrFoxPro commented 4 years ago

like outside Script inheritance

DarkIrata commented 4 years ago

Hi, sorry for the late answer. The Scripthook and the script files has to placed in the corresponding directory from the gta sa root directory. You would need to make a 2 part application. The WinForms and the script which is loaded by the scripthook and let them community through any kind of protocol. (Sockets, Pipelines, etc.)

MrFoxPro commented 4 years ago

Thanks for an explanation!