#4

I'd avoid Berylliums suggestion, and use the next version down in the wiki.

Код:
if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE))
This is why the second poster defined PRESSED.

Using Berylliums method, you could flood the server everytime someone looks behind them, as with the above, and PRESSED situation it fires once.

With Berylliums, it'll spam, and will be likely to cause acklimit errors. Especially being that that key, is a common one to be using.
Reply


Messages In This Thread
MMB - by Cyboorg - 04.06.2017, 19:00
Re: MMB - by Swarn - 04.06.2017, 19:13
Re: MMB - by Beryllium - 05.06.2017, 00:40
Re: MMB - by Sew_Sumi - 05.06.2017, 22:15

Forum Jump:


Users browsing this thread: 1 Guest(s)