Forum

> > CS2D > Scripts > how to use/install a Lua script
Forums overviewCS2D overview Scripts overviewLog in to reply

English how to use/install a Lua script

2 replies
To the start Previous 1 Next To the start

old how to use/install a Lua script

Jeffstray
User Off Offline

Quote
Once ive downloaded someone else's lua. What do i need to do to make the lua work in my server? for example The InF servers which i own. Where do i put it, what file? I'm sorry if this was already asked in a diffrent thread, i could not find it
PS: this is a dedicated 24/7 server idk if that changes anything
any help is very appreciated!!

old Re: how to use/install a Lua script

Homam
User Off Offline

Quote
24/7 Dedicated server? You can't change anything in it?
Well, you should add the script before you start the server.

"A little help"
1- Put the lua file into (Cs2d/sys/lua)
2- Open server "File" (Be sure it's on sys/lua!)
3- Add this line of code into Server.
1
dofile("sys/lua/NameOfTheFile.lua")

If you want to remove it, just type "--" Before "dofile".
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview