Forum

> > CS2D > Scripts > How do you use 2 LUA scripts together?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How do you use 2 LUA scripts together?

3 replies
To the start Previous 1 Next To the start

old How do you use 2 LUA scripts together?

s0ulsh0ck3r101
User Off Offline

Quote
Hi. I want to make a call of duty mode server. And I want to use "cod_gamemode.lua" with "tdm-score.lua" but im not sure how to. I tried copy and pasting the tdm score to cod gamemode but some things were missing when I tested it.

old Re: How do you use 2 LUA scripts together?

apex2d
User Off Offline

Quote
Try opening your
1
server.lua
from your sys/Lua Folder

and try adding a new line for your Second Script.
it should look like this

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