Forum

> > CS2D > Scripts > How do you use 2 LUA scripts together?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How do you use 2 LUA scripts together?

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How do you use 2 LUA scripts together?

s0ulsh0ck3r101
User Off Offline

Zitieren
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.

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

apex2d
User Off Offline

Zitieren
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")
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht