[Help] Script - Is it possible to reload scripthookvdotnet scripts via another scripthookvdotnet script?
-
Does anyone know if it possible to reload scripthookvdotnet scripts via another scripthookvdotnet script?
Thanks in advance!
-
Yes, this mod does that: https://www.gta5-mods.com/scripts/simple-script-manager
-
@Jitnaught thanks for the reply. Sorry should've worded my question better - is it possible to reload other .net scripts in my own c# script? Or force scripthookvdotnet to reload all scripts from my own script?
-
Idk what ur trying to say but if you try to say is it posible to reload scripts yes you can
-
You could ask the author of that mod, or you could decompile it (don't steal however).
-
@Jitnaught yeah I left a comment on the github repo but wasn't sure how often the owners check it. Decompiling sounds complicated, I'll give it a google, thanks!
-
A quick decompilation shows that the mod uses reflection to access private methods and variables of GTA.ScriptDomain