Loading...
0 files liked
3 comments
0 videos
0 uploads
0 followers
  • Default

    @Daimian Yep sent you an email, thanks for the help so far

    June 29, 2020
  • Default

    @Daimian Yes, I've got the latest version of ScriptHookVDotNet. Any other suggestions?

    June 29, 2020
  • Default

    Got an issue where the script crashes as soon as I enter a vehicle. Here's the log:
    [23:45:39] [ERROR] Caught fatal unhandled exception:
    System.TypeInitializationException: The type initializer for 'GTA.Native.MemoryAccess' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at GTA.Native.MemoryAccess..cctor()
    --- End of inner exception stack trace ---
    at GTA.Native.MemoryAccess.GetPedHandles(Vector3 position, Single radius)
    at GTA.World.GetNearbyPeds(Vector3 position, Single radius)
    at PullMeOver.PullMeOverMain.FindCops() in C:\Users\Josh\code\GTAV\pullmeover\pullmeover\CopFinder.cs:line 23
    at PullMeOver.SpeedDisplay.OnTick(Object sender, EventArgs e) in C:\Users\Josh\code\GTAV\pullmeover\pullmeover\SpeedDisplay.cs:line 371
    at GTA.Script.raise_Tick(Object value0, EventArgs value1)
    at GTA.Script.MainLoop()
    [23:45:44] [ERROR] Script 'PullMeOver.SpeedDisplay' is not responding! Aborting ...
    [23:45:44] [DEBUG] Aborted script 'PullMeOver.SpeedDisplay'.
    [23:45:46] [ERROR] Caught fatal unhandled exception:
    System.TypeInitializationException: The type initializer for 'GTA.Native.MemoryAccess' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at GTA.Native.MemoryAccess..cctor()
    --- End of inner exception stack trace ---
    at GTA.Native.MemoryAccess.GetVehicleHandles(Vector3 position, Single radius)
    at GTA.World.GetNearbyVehicles(Vector3 position, Single radius)
    at PullMeOver.PullMeOverMain.RunningRedLight() in C:\Users\Josh\code\GTAV\pullmeover\pullmeover\ViolationChecker.cs:line 19
    at PullMeOver.PullMeOverMain.TrackPlayer() in C:\Users\Josh\code\GTAV\pullmeover\pullmeover\PullMeOver2.cs:line 1276
    at PullMeOver.PullMeOverMain.OnTick(Object sender, EventArgs e) in C:\Users\Josh\code\GTAV\pullmeover\pullmeover\PullMeOver2.cs:line 195
    at GTA.Script.raise_Tick(Object value0, EventArgs value1)
    at GTA.Script.MainLoop()
    [23:45:46] [ERROR] Caught fatal unhandled exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
    at PullMeOver.PullMeOverMain.EndEvent(Boolean change) in C:\Users\Josh\code\GTAV\pullmeover\pullmeover\PullMeOver2.cs:line 1012
    at PullMeOver.PullMeOverMain.OnAborted(Object sender, EventArgs e) in C:\Users\Josh\code\GTAV\pullmeover\pullmeover\PullMeOver2.cs:line 301
    at GTA.Script.raise_Aborted(Object value0, EventArgs value1)
    at GTA.Script.Abort()
    [23:45:51] [ERROR] Script 'PullMeOver.PullMeOverMain' is not responding! Aborting ...
    [23:45:51] [DEBUG] Aborted script 'PullMeOver.PullMeOverMain'.

    Expand to read the full comment
    June 28, 2020