Forum

> > CS2D > General > Lua scrip help
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Lua scrip help

1 reply
To the start Previous 1 Next To the start

old Lua scrip help

0DarkShadow0
User Off Offline

Quote
Hey I installed cs2d again a few weeks ago after I quit for a year. I made a bunch of lua scripts. They had some errors at first then I corrected them. I start up a server to try em out, and they didn't load. Does anyone know the reason for this? (I checked the options i had it set so it was a lua server and it was doing server.lua) help please!!

old Re: Lua scrip help

DC
Admin Off Offline

Quote
check again that cs2d cmd mp_luaserver is set to server.lua (new game > more settings)

make sure that you edited the correct server.lua in the correct folder (sys/lua/server.lua in your cs2d folder)

make sure that you saved the lua-file after changing it

put the line
1
print("server.lua loaded")
into the file, save it, start a new cs2d server and check if the console says that thing after starting the server.

btw: you should have used this thread:
http://www.unrealsoftware.de/forum_posts.php?post=120848#jn
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview