Forum

> > CS2D > Scripts > Server.lua
Forums overviewCS2D overview Scripts overviewLog in to reply

English Server.lua

4 replies
To the start Previous 1 Next To the start

old Server.lua

simonchin
User Off Offline

Quote
I'm a script noob and I have some question.

How do I run two scripts at the same time?

I mean the server.lua, How?

Spoiler >


And I want to use unlimited build script.

Spoiler >


How do I run these two in the same time?

old Re: Server.lua

Suprise
BANNED Off Offline

Quote
Open server.lua
Remove everything in it.
And write these two commands.

old Re: Server.lua

EndDead
User Off Offline

Quote
user Suprise has written
Open server.lua
Remove everything in it.
And write these two commands.
...And if you are lazy, just drag them into the 'autorun' folder in sys/lua. Works if you host a server (Dofiles in server.lua will be loaded too)

old Re: Server.lua

sheeL
User Off Offline

Quote
As @user Suprise: said
You can put in server.lua (sys/lua)
or in Autorun folder to execute multiple scripts...

1
2
dofile("sys/lua/roleplay.lua")
dofile("sys/lua/unlimitedbuild.lua")
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview