julionib Posted May 3, 2015 Share Posted May 3, 2015 Its possible make communication between .asi scripts? Like set a value in some kind of game global variable. For example in IV .net scripthook we can use SendScriptCommand to send data to other .net scripts running. The idea is make a mods menu. Link to comment Share on other sites More sharing options...
NTAuthority Posted May 3, 2015 Share Posted May 3, 2015 dll 1: extern "C" __declspec(dllexport) void SetCake(int a){ // do whatever with 'a'}dll 2: void(*setCake)(int) = GetProcAddress(GetModuleHandle(L"dll1.asi"), "SetCake");setCake(5); kallas 1 Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
julionib Posted May 3, 2015 Author Share Posted May 3, 2015 cool, let me try Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now