Hi,
I am currently making a mod so that i can use my wired xbox 360 contoller in gmod. I have already made it do that i can move the mouse in the spawnmenu using the left thumbstick but now i need to know how to make it actually click. I was thinking of finding out what panel you where hovering over and then just calling the DoClick function, but i can’t figure out how to get the panel i am hovering over. Any help?
Also if anyone knows a way to freeze the player client side that would also be much appreciated at the moment i am doing it sever side but i would like to be able to use it on any server. Player:Freeze() does not work even though it says it is shared on the wiki.