Forum

> > CS2D > Scripts > serveraction vs addbind/key
Forums overviewCS2D overview Scripts overviewLog in to reply

English serveraction vs addbind/key

2 replies
To the start Previous 1 Next To the start

old Re: serveraction vs addbind/key

DC
Admin Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview