Chessnut / NutScript

A free role-play framework for Garry's Mod.
http://nutscript.rocks
MIT License
94 stars 77 forks source link

Press or Hold for Menu [1.1] #226

Closed KaiNW closed 9 years ago

KaiNW commented 9 years ago

A Thing always been disturbing me, that you have to Tap the F1 Key wen you want to open/close the Menu. Thinking about implementing Holding OR Tapping F1 to open/close menu?

rebel1324 commented 9 years ago

mmk.

rebel1324 commented 9 years ago

Menu Initialized---> Check F1 Key ---> [If F1 is Pressed for 1 Seconds since the menu loaded] --> Anchor Mode Disable ---> [if F1 is not pressed] --> Close Panel

rebel1324 commented 9 years ago

https://github.com/Chessnut/NutScript/commit/968904dd1310f84c1ffa1f5037cc7a709ae39f47