Ulysses Stuff > General Chat & Help and Support

ULX and gm_build_fortwars

<< < (2/2)

Megiddo:
Ah, it's when you open the menu? This is due to a limitation in GMod.

Anyways, it's an easy enough fix: Open up ulx_menu_base.lua and edit line 35 and 36 to be:

--- Code: ---
gCurKey[ i ] = gKeyOffset
gCurRectKey[ i ] = gKeyOffset
--- End code ---

Then edit line 60 and 61 to be:

--- Code: --- if gCurKey[ userid ] > gMaxOptions * 2 + 6 + gKeyOffset then -- Shouldn't be anymore than two menus blending in animation ( the extra six is from the title, next, and back text )
gCurKey[ userid ] = gKeyOffset
--- End code ---

And lines 140 and 141 to be:

--- Code: --- if gCurRectKey[ userid ] > 2 + gKeyOffset then -- Only two menus should be blending together
gCurRectKey[ userid ] = gKeyOffset + 1
--- End code ---

Lastly, add this line to the start of the file:

--- Code: ---gKeyOffset = 600
--- End code ---

There you go :) If you have further conflicts just edit the offset.

piggy:
Thank you for your help ;D

--Piggy--

Navigation

[0] Message Index

[*] Previous page

Go to full version