Forum

> > CS2D > General > How I Can Activate Lua to my server?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English How I Can Activate Lua to my server?

3 replies
To the start Previous 1 Next To the start

old Re: How I Can Activate Lua to my server?

DC
Admin Off Offline

Quote
you have to write scripts and load them in server.lua or you just remove the comments from the sample dofile commands to activate them.

see sys/lua/server.lua (open with a editor/notepad)

old Re: How I Can Activate Lua to my server?

chuico123
User Off Offline

Quote
sys/lua/server.lua

there will be little segments and at the botton of each segment there is a line like this

-- dofile("sys/lua/samples/example.lua")

remove the "--" in front of the dofile

there is a description in the file, just open it whit notepad
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview