Everything posted by LMS
-
Crime Report
We can take a look, sure!
-
Help in Scripting
Sure, go ahead 🙂
-
Help in Scripting
I am happy to help you with your code, but I am not going to provide you with all the code needed for this.
-
Help in Scripting
You can check whether the entity you have is alive or dead, that should help you.
-
AmbientSpawn.SpawnFrequency is not working
Ambient.DisableAmbientGameCopSpawnBlock = true should be false, otherwise you let the game spawn cops naturally.
-
Opening Multiple Menus? (Apologies if I am over posting.)
I'd prefer to keep it on the forums.
-
Crash on startup
That should not really be the case, the platform itself is incredibly stable. Are you on the lower end of hardware specs or have any other mods installed?
-
Crash on startup
Okay, the issue is then not with LML (if you rename version.dll it gets disabled, you can also tell by the different timestamps in the log now). So something else is wrong with your game setup. Do you use a mods folder? You can also try verifying file integrity.
-
Crash on startup
Your logfiles look "correct" now at least! Can you rename version.dll in your game root folder to version1.dll and see if your game launches?
-
Opening Multiple Menus? (Apologies if I am over posting.)
The code is a bit all over the place. Your new game fiber in line 47 will probably never finish since it relies on isCloseToAnyHotel which is not global but local. Try making it a class-wide variable, that should fix it.
-
Leaving & Returning To Mission Row Causes Crash
Can you please provide your log to make sure you are getting the same crash as above? The reported one has been fixed months ago.
-
Crash on startup
Your cause is not configured to allocate as much memory as it needs, install this fix here please: https://www.gta5-mods.com/tools/heap-limit-adjuster-600-mb-of-heap
-
Fake Traffic Stops Crash
Are you getting the exact same crash? Please include your log so I can have a look.
-
Crash on startup
Could you screenshot the exact memory error issue you get?
-
C# Help. UI Ignoring Logic?
You are checking the position of all 8 hotel locations. That means you are very likely to be away from at least one of these positions at all times, hence your code is firing constantly. You could add a boolean and only show your "warning" when you are not close to any hotel. Like this: while (true) { GameFiber.Yield(); bool isCloseToAnyHotel = false; for (int index = 0; index < 8; index++) { if (Vector3.Distance2D(hotelLocation[index], Game.LocalPlayer.Character.AbovePosition) < 20 ) // Only activate if the player is close enough. { isCloseToAnyHotel = true; Game.DisplayHelp("Menu Should Be activated"); if (activeMenu == !true) { mainMenu.Visible = true; activeMenu = true; GameFiber.StartNew(delegate { while (true) { GameFiber.Yield(); _menuPool.ProcessMenus(); } }); } } } if (!isCloseToAnyHotel) { // Now only fired when you are not close to any hotel. Game.DisplayNotification("You are away from a hotel."); } }
-
help please
Do they not show in the Mod Manager? Do you have the correct GTA V folder set there?
-
How do you make a plugin?
Since most people develop callouts that's probably also most of the tutorials and code snippets you will find. But it shouldn't be too much of a problem, you can still learn from the callout code whilst creating something else. The best way to get started is to load up the game and mess around with the various RPH functions.
-
help please
LML files are not affected by GTA V updates, so chances are something else went wrong. Do you still have your LML folder in the game directory?
-
Will this PC get the job done?
You should be able to run GTA V quite well on that system. Here is a video with the same CPU a slightly weaker GPU if you want to see how it performs:
-
Suspects Surrendering During Pursuit
There is no way to make suspects surrender less often via any settings. The only way would be through our API.
-
PC Builds for LSPDFR
Apologies, the current setups can be found here: http://lcpd.fr/amazon
-
LSPDFRvsync isn't setup to setup enter the configuration menu!!
In your lspdfr folder, delete the following files: networking.dat, patterns.dat, stats.dat, suspects.ls, sync_*.ls (* can be any number). Then start the game again.
-
LSPDFRvsync isn't setup to setup enter the configuration menu!!
There are many things wrong with your setup (a lot of missing cars and peds), but none should affect sync. What is the exact problem you are having and when does it occur?
-
Looks loaded but is not
I am not 100% sure what checks are done to verify an installation, so it's probably best to bring up your issue here:
-
How do I delete lml
Just rename version.dll in your game folder to version1.dll and it will be disabled.