Silver_Bullets Posted December 20, 2018 Share Posted December 20, 2018 Hello guys, I hope you're fine, I want to ask about how to convert .dll to .asi using C# Thanks Link to comment Share on other sites More sharing options...
Guest Posted December 20, 2018 Share Posted December 20, 2018 9 minutes ago, Silver_Bullets said: Hello guys, I hope you're fine, I want to ask about how to convert .dll to .asi using C# Thanks As far as I am aware, ASI files are only C++. I believe they are dll files with a different extension. One of the C++ coders would answer that better. C# uses ScriptHookVDotNet and that creates dll files. They are two different APIs, so I am fairly sure you can't just convert one to the other, you would have to re-write it in C++. Link to comment Share on other sites More sharing options...
Silver_Bullets Posted December 20, 2018 Author Share Posted December 20, 2018 1 minute ago, LeeC2202 said: As far as I am aware, ASI files are only C++. I believe they are dll files with a different extension. One of the C++ coders would answer that better. C# uses ScriptHookVDotNet and that creates dll files. They are two different APIs, so I am fairly sure you can't just convert one to the other, you would have to re-write it in C++. That's what I thought about first, and I said maybe there another way to do this. I'm creating a script for Fivem, Since fivem doesn't accept .dll files. Thanks. Link to comment Share on other sites More sharing options...
Guest Posted December 20, 2018 Share Posted December 20, 2018 1 hour ago, Silver_Bullets said: I'm creating a script for Fivem, Since fivem doesn't accept .dll files. Thanks That's really strange, because their scripting documentation is all C# based and the tutorials tell you to base your project on a class library, which is a dll file. Are they only allowed server side or something? I have never used FiveM, so I don't really know anything about it. I just found a bit of info when I searched for FiveM script mods. Link to comment Share on other sites More sharing options...
Jitnaught Posted December 21, 2018 Share Posted December 21, 2018 @LeeC2202 FiveM supports Script Hook V scripts installed on the client side, if the server allows it. @Silver_Bullets There isn't a way to automatically convert Script Hook V .NET scripts to Script Hook V. To do it manually, you would first need the source code of the .NET mod, then you'd need to rewrite that code for Script Hook V (C++). NModds 1 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