Forum

> > CS2D > Scripts > Having problems installing luas.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Having problems installing luas.

3 replies
To the start Previous 1 Next To the start

old Having problems installing luas.

cloudboys
User Off Offline

Quote
Hi guys a lot of you people know how to make a lua work properly, but I do what im suppose to do and that is reading the instructions and doing all that server stuff but it still does not work. I would really like to have a answer for this, I want to use some luas! Thats all thanks.

old Re: Having problems installing luas.

Tajifun
User Off Offline

Quote
Open "server.lua" in your lua folder and write:
1
dofile("FILEPATH")

For example
1
dofile("sys/lua/samples/gungame.lua")
to run DC's gungame sample.

old Re: Having problems installing luas.

cloudboys
User Off Offline

Quote
But what does ("FILEPATH") do? Like for example I got the PLvsNPC lua and I read the instructions and it told me to copy dofile("sys/lua/SCRIPTNAME.lua") into my server.lua folder and when it is in there it told me to change SCRIPTNAME to the file name. And then it says that it will run on the next start of your server. But it no work. But what does ("FILEPATH") do?
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview