Closed techwarfare closed 4 years ago
So I added a reference to 'CitizenFX.Core.Client.dll' along side the 'CitizenFX.Core.dll' but now I don't load into the server and get no errors client or server side. The client seems to get stuck at 'Starting Game' and from the client console it seems that the client script no longer starts.
My bad was just missing a constructor I commented out. Nothing to do with having both 'CitizenFX.Core.Client.dll' and 'CitizenFX.Core.dll' in the same project.
Hey when trying to set "MenuController.MenuToggleKey = -1;" I get a an error saying "The type 'Control' is defined in an assembly that is not referenced. You must add a reference to assembly 'CitizenFX.Core.Client, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null;" Also get the same error when trying to do basically anything with the 'MenuController' class. Any idea of how to fix it? Also I have been able to get in-game before trying to add MenuAPI as a reference to the project.