Forum

> > CS2D > Scripts > making bind key in lua
Forums overviewCS2D overview Scripts overviewLog in to reply

English making bind key in lua

1 reply
To the start Previous 1 Next To the start

old Re: making bind key in lua

DC
Admin Off Offline

Quote
this doesn't make much sense because Lua scripts run on the server.

so you can't bind keys of clients using Lua (it would be pretty stupid if the server would be able to change your local settings)

you can use
1
parse('bind "KEY" "COMMANDS"')
but this will only change they key bindings of the guy who is running the server (or the keys of no one if the server is dedicated)
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview