[QUESTION] NATIVEUI MODMENU LAG FIX?
-
so ive developed my own mod menu through this NativeUI template, but the menu lags like SHI***!! and it is pretty simple has only 3 buttons with simple functions , my code is clean, OnTick interval is set to 15, ive tryed 10 already , also doesnt help.. HELP??
-
The NativeUI library itself has performance issues. You could code up a menu-lite for your purposes.
-
@ikt so how exactly could i code a menu ? is there a need for nativeUI? i can't find anything online, i need a good template
-
@preto89 It never lags THAT much for me, like my AVS mod is pretty sophisticated but it still works on NativeUI, without any lag (not talking FPS drops)
-
@AHK1221 the menu itself doesnt lag, but game does
-
Moved to General Modding Discussion.
-
@preto89 The game doesn't lag for me, is what I mean. Does your code have CPU-intensive stuff? Sometimes its not the menu, but the code itself.
-
@AHK1221 no i dont think so, i have simple stuff, an item with a list of weapons when selected get that weapon, spawn cars, simple codes, no loops, spawn peds, but my on tick event is clean doesnt have any loop or animation loading or sounds , its just simple functionality, small mod
-
@preto89 Try other mods which use NativeUI. A good example is Map Editor. Also, if you can, post the code too so we can know what/if is causing it.
-
@AHK1221 here it is but is big man
https://pastebin.com/a130X6u9
-
@preto89 please check it out and tell me something
-
@AHK1221 im sorry here is organized code
https://pastebin.com/dQq8cMHJ
-
@preto89 something is wrong on your end. I just tried your code and there is little to no lag for me. What are your computer specs?
-
@AHK1221 said in [QUESTION] NATIVEUI MODMENU LAG FIX?:
at are your computer spec
Intel I7 Processor , 16gb Ram, NVIDA GTX 730 directx12, should run just fine
-
@preto89 my game has massive mods in mods folder, and massive scripts as well may it be it? but none oh them is a mod menu, i only have pc trainer besides my own
-
@AHK1221 can it be because of my ENB Graphics mod?
-
@preto89 probably. I don't know, it works for me
-
@AHK1221 my pc is full of shit maybe after some formatting it should work pretty well, the odd thing is that other modmenus do not lag
-
@preto89 by other mod menus, do you mean the ones that use NativeUI?
-
@AHK1221 yes , trainer V
-
@preto89 trainer v does not use NativeUI. It looks like NativeUI but its all done by it self.
-
@AHK1221 didnt know , thanks for reply ill see what i can do
-
That GT730 isn't gonna cut it. Why do you have a Core i7 and 16GB RAM paired with that card? Get a decent card.
NativeUI is a performance hog while it's open, and if you already struggle for performance, NativeUI isn't gonna help.