I want a plugin that displays in-game time only when I press the TAB key. .. ..
I've probably seen all the plugins.Solved
I don't think plugins can listen for that particular key input.
I see, I can't make it in the first place. So, thank you for telling me. My dream.
Merged post
I was inspired. Can't I bind it like a Vanish plugin? The Vanish plugin will display the HUD on the screen when you press the bound key. Isn't it possible with that technology?
Hi Beetle,
binding keys is a rust system that the user needs to setup,
it can't be controlled with UMod, same with listening for key inputs.
We can't check if a specific key is pressed since this is managed on the client-side and UMod is a server-side only modification.
The only possibility would be to bind multiple actions on the same key, but again, that requires the user so make that modification.
for example, the following command sets the "TAB" key to both open the inventory, and toggles vanishing:
"bind tab inventory.toggle;chat.say Test"
But again, there's no way of knowing if he opened or closed the menu, also, the user could press the Escape key to close the menu too.
Hope this was useful!
SkyFoxCoder
ahhhhh I didn't have a brain, I heard very good information, thank you. This can be solved by using a plugin that can use commands such as / time!
thank you so mathc
Locked automatically