[C#] Keys Bind for C# in Scripts 696 3 Posted December 24, 2018 · Edited December 24, 2018 by thalwarus I have tried it but i have the problem, that the tick event fires every tick and not when the key is really pressed? any idea why this may happen? I tried to write this in Tick-Event: Chat.Output(Input.IsUp((int)ConsoleKey.F).ToString()); Chat.Output(Input.IsDown((int)ConsoleKey.F).ToString()); And it fires all the time :-/ True True True ...
[C#] Keys Bind for C#
in Scripts
Posted · Edited by thalwarus
I have tried it but i have the problem, that the tick event fires every tick and not when the key is really pressed? any idea why this may happen?
I tried to write this in Tick-Event:
Chat.Output(Input.IsUp((int)ConsoleKey.F).ToString());
Chat.Output(Input.IsDown((int)ConsoleKey.F).ToString());
And it fires all the time :-/
True
True
True
...