Getting this error when running PoliceMod 2 from Dehaan


Hi everyone,

When running the policemod2 script from Dehan I get this error when I try to open the menu - “Caught unhandled exception:
System.TypeInitializationException: The type initializer for ‘System.Windows.Forms.Screen’ threw an exception. —> System.DllNotFoundException: Unable to load DLL ‘user32.dll’: The process has no package identity. (Exception from HRESULT: 0x80073D54)
at System.Windows.Forms.UnsafeNativeMethods.GetSystemMetrics(Int32 nIndex)
at System.Windows.Forms.Screen…cctor()
— End of inner exception stack trace —
at System.Windows.Forms.Screen.get_PrimaryScreen()
at NativeUI.UIMenu.set_Visible(Boolean value)
at GeneralMenu.OnKeyDown(Object o, KeyEventArgs e)
at GTA.Script.raise_KeyDown(Object value0, KeyEventArgs value1)
at GTA.Script.MainLoop()”

I was wondering if anybody a fix for this?

Thanks, Noah


Technical support is for FiveReborn related issues. Not for mod related issues.

Moved to DEVELOPMENT - Scripting

Edit by: Boss


I can’t even start it when I press F5 the game freezes


I think of a lot of people would like to figure this one out to create servers with police role playing, etc. I certainly would…