Log in to reply
 

Most .dll scripts don't work with newest GTA V. Why?



  • So after I updated ScriptHook V and GTA V I thoug heverything was going to work. But it didn't most scripts stop working when GTA V loads them.

    [ERROR] Caught fatal unhandled exception:
    System.TypeInitializationException: Der Typeninitialisierer für "GTA.Native.MemoryAccess" has caused an exception. ---> System.NullReferenceException: the object reference was not set to an object instance.
    at GTA.Native.MemoryAccess..cctor()
    at GTA.Native.MemoryAccess.GetPedHandles(Vector3 position, Single radius)
    at GTA.World.GetNearbyPeds(Ped ped, Single radius)
    at Cop_Surrender.Class1.OnTick(Object sender, EventArgs e)
    at GTA.Script.raise_Tick(Object value0, EventArgs value1)
    at GTA.Script.MainLoop()

    ~~So the reasons are the GTA.Native.MemoryAccess calls, I hope that helps fixing your mods and updating them to the newest version of ScriptHook and GTA V. ~~
    I made a mistake, it works when u actually update the dotNET scriptHook, sorry!


  • MODERATOR

    You have to update ScriptHookV.NET.



  • @ikt Oh sorry I didn't put the new ScriptHookDotNET files into my GTA folder, i just downloaded them. Sorry!!!


Log in to reply
 

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