Forum

> > CS2D > General > 2 lua
Forums overviewCS2D overviewGeneral overviewLog in to reply

English 2 lua

10 replies
To the start Previous 1 Next To the start

old closed 2 lua

stealth_killer
User Off Offline

Quote
guys can you tell me something can i put 2 lua scripts in my server pls reply

old Re: 2 lua

Mawd
User Off Offline

Quote
in server.lua, you can dofile two lua

old Re: 2 lua

Cure Pikachu
User On Online

Quote
Yes you can. Just do this in your server.lua:
1
2
dofile("sys/lua/*filename*")
dofile("sys/lua/*filename*")
EDIT: Oops, someone beat me to it.

old Re: 2 lua

ohaz
User Off Offline

Quote
you can. Just hope that the lua scripters are good scripters and don't put a thing in the server.lua . If not, it's perfect. Just write:
dofile("sys/lua/YOURSECONDLUAFILE:lua") at the end of the file and save.

old Re: 2 lua

Spyware
Super User Off Offline

Quote
And remember that the luas have to be optimized or else you'll have a server that lags like a slut...

old Re: 2 lua

FlooD
GAME BANNED Off Offline

Quote
Al_Kazansky has written
And remember that the luas have to be optimized or else you'll have a server that lags like a slut...


lol spyware example plz?

old Re: 2 lua

Spyware
Super User Off Offline

Quote
FlooD has written
Al_Kazansky has written
And remember that the luas have to be optimized or else you'll have a server that lags like a slut...


lol spyware example plz?

RkK servers, pre-Wenn fixed them up period. Remember when they spiked like every10 seconds because Aimz downloaded some Portuguese stuff from UnrealSoftware..?
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview