Log in to reply
 

.NET Mod to be accessible to other mods?



  • Is it possible to make a C# mods with accessible methods so that other mods can use it?

    Exemples:

    Mod A:
    Hunger System

    Mod B:
    Restaurant Mod

    If so, an exemple would be awesome.

    Thanks.


  • MODERATOR

    I'm no scripter, but from what I read now and then that's being done by using decorators in c#



  • There are a few ways to do it.
    One is to use decorators, which requires memory editing.
    Another is to set your functions/variables as public, which can then be used by Referencing your mod's DLL.



  • @ReNNie thanks for the reply.

    @Jitnaught I went with the public dependencies approach anyway I think it fits exactly my needs.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.