Forum

> > CS2D > Scripts > How do I autoexec commands except for bind keys?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How do I autoexec commands except for bind keys?

7 replies
To the start Previous 1 Next To the start

old How do I autoexec commands except for bind keys?

DraconX
User Off Offline

Quote
I've been making a mod and i ran into a problem while editing the buy menu. I don't know how to make console commands except for bind keys automatically run when i start or load a server up.
Please tell me how to do this, thx!

old Re: How do I autoexec commands except for bind keys?

Cure Pikachu
User Off Offline

Quote
And explaining things isn't my forte.
• Open up server.lua
• In a new line, enter
parse('*console command*')
, where
*console command*
is the console command itself. The documentation in cs2d lua cmd parse should be able to explain things better.
• Repeat for every console command you want to put in there
• Save the file and attempt to start the server
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview