You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So today i made a usefull thing for the base creator addon.. i made it that the players can show/hide cursor while placing the object so they can look at the object from different angles, it worked but i need to fix the gui part where the alpha is changed, when the player presses M again i need the guiAlpha to be back to its former value.
addCommandHandler( "togglecursor", function( ) showCursor( not isCursorShowing( ) ) guiSetAlpha(baseCPanel.window[1],0.20) end ) bindKey( "m", "down", "togglecursor" )
Thanks :D
The text was updated successfully, but these errors were encountered:
the cursor can be toggled on/off with the key M, so i want the GUI's alpha to be the same.. the problem now that when the player uses the bind the gui's alpha is lowered and is kept the same... i want it toggled to value 1 again.
So today i made a usefull thing for the base creator addon.. i made it that the players can show/hide cursor while placing the object so they can look at the object from different angles, it worked but i need to fix the gui part where the alpha is changed, when the player presses M again i need the guiAlpha to be back to its former value.
addCommandHandler( "togglecursor", function( ) showCursor( not isCursorShowing( ) ) guiSetAlpha(baseCPanel.window[1],0.20) end ) bindKey( "m", "down", "togglecursor" )
Thanks :D
The text was updated successfully, but these errors were encountered: