Forum

> > CS2D > Scripts > serveraction vs addbind/key
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch serveraction vs addbind/key

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: serveraction vs addbind/key

DC
Admin Off Offline

Zitieren
Yes, cs2d lua hook serveraction is causing less traffic.
cs2d lua cmd addbind needs to send the created key binding to all players and, like user Komo the Cat said, it sends a message when pressing AND when releasing a key. cs2d lua hook serveraction only sends a single message for a key press & release.

The additional traffic is relatively small when the keys aren't pressed often though. If you however bind keys like W, A, S, D it will probably cause a significant amount of extra traffic.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht